Skip to contentSkip to conversation

Hi, a important doubt

LARTC Juan Felipe Botero 2 participants 2 messages May 20, 2006

lore
Share & tools
lore
#1 lore raw

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

Quoted 9 lines · Juan Felipe Botero

How can i put a port range in a tcng or tc configuration

Quoted 7 lines

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????????

Quoted 4 lines

_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc