On Wednesday 19 November 2003 01:33, Guido van Rooij wrote:
> No, that does not matter. Apparently there is a bug in the current code,
> or we are overlooking somthing here. If you can reproduce the above,
> please send the output of tcpdump -nx of a session that exibits this
> behaviour.
Note that the reporting host, i.e the source address of ICMP unreachable
is different from the host we sent the packet to. In one case it is even
a private IP, 10.0.0.1! (Misconfigured network?). But the ICMP payload
does contain the required information. Could this be the problem that
the state code does not recognise it?
The tcpdump output is as follows; the ipfilter log entry is given in
each case.
23:07:28.492669 61.1.249.74.65521 > 210.64.5.21.80: S 779137825:779137825(0)
win 16384 <mss 1460,nop,wscale 0,nop,nop,timestamp 0 0>
4500 003c 00ad 0000 4006 6c6e 3d01 f94a
d240 0515 fff1 0050 2e70 b321 0000 0000
a002 4000 1b93 0000 0204 05b4 0103 0300
0101 080a 0000 0000 0000 0000 6700 001c
23:07:42.126954 10.0.0.1 > 61.1.249.74: icmp: host 210.64.5.21 unreachable
4500 0038 3d26 0000 ec01 5152 0a00 0001
3d01 f94a 0301 1b17 0000 0000 4500 0050
00d1 0000 2906 834a 3d01 f94a d240 0515
fff1 0050 2e70 b321 0a53 6572
The corresponding log enty:
19/11/2003 23:07:42.127010 ppp0 @0:3 p 10.0.0.1 -> 61.1.249.74 PR icmp len 20
56 icmp unreach/host for 61.1.249.74,65521 - 210.64.5.21,80 PR tcp len 20 80
IN
Another example:
23:07:53.254641 61.1.249.74.65513 > 210.8.100.52.80: S
1754459611:1754459611(0) win 16384 <mss 1460,nop,wscale 0,nop,nop,timestamp 0
0>
4500 003c 0155 0000 4006 0cdf 3d01 f94a
d208 6434 ffe9 0050 6892 eddb 0000 0000
a002 4000 47d7 0000 0204 05b4 0103 0300
0101 080a 0000 0000 0000 0000 0001 c00c
23:08:06.152759 203.63.113.66 > 61.1.249.74: icmp: host 210.8.100.52
unreachable- admin prohibited filter
4500 0038 26d1 0000 e601 3b26 cb3f 7142
3d01 f94a 030d a64a 0000 0000 4500 003c
017b 0000 2d06 1fb9 3d01 f94a d208 6434
ffe9 0050 6892 eddb 6376 735f
The corresponding log entry:
19/11/2003 23:08:06.152826 ppp0 @0:3 p 203.63.113.66 -> 61.1.249.74 PR icmp
len 20 56 icmp unreach/admin_prohibit for 61.1.249.74,65513 - 210.8.100.52,80
PR tcp len 20 60 IN
Ram Chandar
--