Skip to contentSkip to conversation

Matching packet size

LARTC Hannes Ebner 1 participant 1 message Jul 24, 2002

lore
Share & tools
lore
#0 lore raw

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

Signature · 5 lines
  GnuPG Key-ID: 0x49360B78

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/