Re: [LARTC] Problems with tc filter (getting packets into a CBQ)

Linux Advanced Routing and Traffic Control

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

 



> tc filter add dev eth0 parent 1:0 protocol ip prio 1 \
> 	u32 match ip sport 119 0xffff flowid 1:100 \
>
>
> But no traffic shows up.... (A simple telnet news.giganews.com 119 to
> test):
So you start a telnet from news.giganews.com to your test system?  Then you 
should match dport 119.  Otherwise I'm wrong :) and the filter is ok.
 
> I've also tried marking packets in iptables and using tc to filter those
> packets into both flowid and classid 1:100 to no avail.
Marking with iptables and using the fw filter, works fine for me.  You can 
find some working examples on www.docum.org.

Stef

-- 

stef.coene@xxxxxxxxx
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.openprojects.net


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