Re: [LARTC] Filtering ACK bits smaller than 64 bytes

Linux Advanced Routing and Traffic Control

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

 



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


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