Re: Hi, a important doubt

Linux Advanced Routing and Traffic Control

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

 



In tcng you can use common comparators on "if", for example:

if tcp_sport > 1000 && tcp_sport < 1200 ....

tcng translates this to several u32 matches with masks for tc use,
which is afaik the only way with tc to match a port-range.

It may be easier to do this with iptables
(although I dislike using two different interfaces for one purpose).

Andreas

Juan Felipe Botero wrote:
> How can i put a port range in a tcng or tc configuration
> >
> >Does somebody know???
> >
> >It´s important, cause i need to regulate the bandwidth from the TCP port
> >1054 until TCP port 1200, how can i do that????????
> >
> >

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

_______________________________________________
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