|
Posted by Eirik Seim on March 12, 2007, 10:28 am
If you were Registered and logged in, you could reply and use other advanced thread options
On 12 Mar 2007 02:54:17 -0700, crowl@gmx.de wrote:
> Wondering browsing my iptable logs I see some logs which have the LEN
> properties twice.
>
> kernel: INPUT IN=ppp0 OUT= MAC= SRC=x.x.x.x DST=x.x.x.x LEN=504
> TOS=0x00 PREC=0x00 TTL=53 ID=0 DF PROTO=UDP SPT=33800 DPT=1026
> LEN=484
> kernel: INPUT IN=ppp0 OUT= MAC= SRC=x.x.x.x DST=x.x.x.x LEN=78
> TOS=0x00 PREC=0x00 TTL=115 ID=12573 PROTO=UDP SPT=1028 DPT=137 LEN=58
>
> >From netfilter documentation LEN is described as:
> Total length of IP packet in bytes
>
> For what reason is there more than one LEN counter? And also important
> to know, what is the difference (what does each each LEN mean, in
> which case is more than one LEN counter is used)?
It's iptables' somewhat awkward way of saying the IP header is
20 bytes. The first line represents an IP packet of 504 bytes
containing an UDP packet of 484 bytes. The second is an IP packet
of 78 bytes containing an UDP packet of 58 bytes.
|