[LARTC] Police to xxx mbit with port range

Linux Advanced Routing and Traffic Control

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

 



On Monday 11 February 2002 23:32, Mark Beck wrote:
> Oh so helpful!
>
> In the howto it only mentions how to do this on a single port basis - a=
nd I
> cant find TC documentation:
>
> # tc filter add dev eth0 protocol ip parent 10: prio 1 u32 match ip spo=
rt
> 80 0xffff flowid 10:1
>
> I assume after the 80 we have a hex mask, so would the following match
> ports 10240->10751?
>
> # tc filter add dev eth0 protocol ip parent 10: prio 1 u32 match ip spo=
rt
> 10240 0x200 flowid 10:1
Goog guess :-)  But I never tried it myself.


Stef

--=20

stef.coene@docum.org
 More QOS info : http://www.docum.org/
 Title : "Using Linux as bandwidth manager"


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