Hi there
I want to add a filter for all ACK bits smaller than 64 bytes for a
specific ip destination, but I get RTNETLINK answers: invalid argument.
Any idea what is wrong with the filter below:
tc filter add dev eth1 parent 1:0 prio 1 u32 \
match ip dst 196.44.35.53 \
match ip protocol 6 0xff \
match u8 0x05 0x0f at 0 \
match u16 0x0000 0xffc0 at 2 \
match u8 0x10 0xff at 33 \
flowid 1:20
Thanks,
--
Roché Compaan
Upfront Systems http://www.upfrontsystems.co.za
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Urghm, found my problem.
tc filter add dev eth1 parent 1:0 prio 1 u32 \
should have been:
tc filter add dev eth1 parent 1:0 protocol ip prio 1 u32 \
^^^^^^^^^^^
> Hi there
>
> I want to add a filter for all ACK bits smaller than 64 bytes for a
> specific ip destination, but I get RTNETLINK answers: invalid argument.
> Any idea what is wrong with the filter below:
>
> tc filter add dev eth1 parent 1:0 prio 1 u32 \
> match ip dst 196.44.35.53 \
> match ip protocol 6 0xff \
> match u8 0x05 0x0f at 0 \
> match u16 0x0000 0xffc0 at 2 \
> match u8 0x10 0xff at 33 \
> flowid 1:20
--
Roché Compaan
Upfront Systems http://www.upfrontsystems.co.za
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/