All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] Filtering ACK bits smaller than 64 bytes
@ 2003-03-20 12:29 =?unknown-8bit?q?Roch=C3=A9?= Compaan
  2003-03-21  6:33 ` =?unknown-8bit?q?Roch=C3=A9?= Compaan
  0 siblings, 1 reply; 2+ messages in thread
From: =?unknown-8bit?q?Roch=C3=A9?= Compaan @ 2003-03-20 12:29 UTC (permalink / raw)
  To: lartc

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/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [LARTC] Filtering ACK bits smaller than 64 bytes
  2003-03-20 12:29 [LARTC] Filtering ACK bits smaller than 64 bytes =?unknown-8bit?q?Roch=C3=A9?= Compaan
@ 2003-03-21  6:33 ` =?unknown-8bit?q?Roch=C3=A9?= Compaan
  0 siblings, 0 replies; 2+ messages in thread
From: =?unknown-8bit?q?Roch=C3=A9?= Compaan @ 2003-03-21  6:33 UTC (permalink / raw)
  To: lartc

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/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-03-21  6:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-20 12:29 [LARTC] Filtering ACK bits smaller than 64 bytes =?unknown-8bit?q?Roch=C3=A9?= Compaan
2003-03-21  6:33 ` =?unknown-8bit?q?Roch=C3=A9?= Compaan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.