ICMP conntrack

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Friday 18 October 2002 11:07 am, Vincent Lim wrote:

> > > So, for ICMP requests, you have some kind of conntrack, based on ICMP
> > > sequence number. For ICMP errors, conntrack tries to associate them to
> > > an existing entry.
> >
> > ICMP sequence number ???   What's that ?
>
> Results of a ping to www.ncftpd.com :
>
> 64 bytes from ncftpd.com (209.197.102.38): icmp_seq=11055 ttl=44
> time=311.029 msec
> 64 bytes from ncftpd.com (209.197.102.38): icmp_seq=11056 ttl=44
> time=308.126 msec
> 64 bytes from ncftpd.com (209.197.102.38): icmp_seq=11057 ttl=44
> time=308.430 msec
> 64 bytes from ncftpd.com (209.197.102.38): icmp_seq=11058 ttl=44
> time=302.321 msec
>
> And the entries in conntrack related to the above is:
> icmp     1 29 src=192.168.1.229 dst=209.197.102.38 type=8 code=0
> id=59475 src=209.197.102.38 dst=192.168.1.229 type=0 code=0 id=59475
> use=1

Oh - okay - I see what you mean now.   I've just looked up the specs for ICMP 
echo request and indeed there is a sequence number in the "message-code 
specific extra information" field following the first four bytes.

Antony.

-- 

Normal people think "if it ain't broke, don't fix it".
Engineers think "if it ain't broke, it doesn't have enough features yet".



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux