[LARTC] CBQ: U32 selector question : filtering all the port > a value

Linux Advanced Routing and Traffic Control

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

 



Hi all,

I saw that the u32 selector can match a PATTERN so I can use it to
filter on a port value like :

tc filter add dev eth0 parent 10;10 protocol ip prio 100 u32 match ip
sport 0x0014 0xffff flowid 10:100

(filter on the ftp-data (20) source port)

But is there a method to filter all the source ports > 40000 for example
?


regards,
------------------------------------------------
Franck BALAZOT (fbalazot@xxxxxxx)
AETA.COM
361, Avenue du Général De Gaulle
92140 CLAMART
FRANCE
Tél:01.41.36.12.93
------------------------------------------------





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