[LARTC] multiple ports with TC?

Linux Advanced Routing and Traffic Control

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

 



So far I'm having pretty good luck with things, but I did run into a
problem tonight.  Is is possible to match on multiple ports?  I want to
be able to do something like:

tc filter add dev eth0 protocol udp parent 1:0 prio 3 u32 match ip dport
27900-27999 0xffff flowid 1:10

Is this possible, or am I going to have to use iptables to mark the
packets and then filter on that?  I also couldn't find the part of the
doc that talked about the priority levels, is it 0-2, or 1-3?  or
something else ?


Dan




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