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@mailman.ds9a.nl
> http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc