Re: Another question (now about u32)

Linux Advanced Routing and Traffic Control

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

 



Jody,

Tryed, not working, same error:

[root@ns1 ~]# tc filter add dev eth1 parent 1:0 protocol ip prio 1 u32 match ip sport 80 0xffff flowid 1:10
RTNETLINK answers: Invalid argument
We have an error talking to the kernel

Att,

Nataniel Klug

Jody Shumaker escreveu:
On 4/4/06, Nataniel Klug <nata@xxxxxxxxxxxx> wrote:
    Hello all,

    I am trying to match some conections using u32 but I tryed this:

[root@ns1 ~]# tc filter add dev eth1 parent 1:0 protocol ip prio 1 u32
match ip src 0/0 match ip dst 0/0 match ip sport 80 0xffff flowid 1:10
RTNETLINK answers: Invalid argument
We have an error talking to the kernel
[root@ns1 ~]#


Just a quick guess, but why are you bothering with this: match ip src
0/0 match ip dst 0/0
It's very likely that is causing the invalid argument error, and
doesn't seem necassary at all.  Should at least try the more
simplified command:
tc filter add dev eth1 parent 1:0 protocol ip prio 1 u32 match ip
sport 80 0xffff flowid 1:10

- Jody

_______________________________________________
LARTC mailing list
LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

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