Matching packet size

Linux Advanced Routing and Traffic Control

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

 



Hi,

In the ACK-matching example in the LARTC-HOWTO there is a line to match
all packets smaller than 64 bytes ("match u16 0x0000 0xffc0 at 2").
This sounds logical for Ethernet-devices, but what if I use a PPP-device
(as it is shown in the example)?

The Frame-Header of PPP is significant smaller than the header of
Ethernet, does this affect the matching of the relevant packets with the
ACK-bit set?

Additional question: If I want to match packets smaller than 128 bytes,
would "match u16 0x0000 0xff80 at 2" do the thing?


Regards,
Hannes

-- 
  GnuPG Key-ID: 0x49360B78

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux