* [LARTC] Hi, a important doubt
@ 2006-05-20 22:35 Juan Felipe Botero
2006-05-20 23:17 ` Andreas Mueller
0 siblings, 1 reply; 2+ messages in thread
From: Juan Felipe Botero @ 2006-05-20 22:35 UTC (permalink / raw)
To: lartc
[-- Attachment #1.1: Type: text/plain, Size: 226 bytes --]
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????????
>
>
[-- Attachment #1.2: Type: text/html, Size: 446 bytes --]
[-- Attachment #2: Type: text/plain, Size: 143 bytes --]
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [LARTC] Hi, a important doubt 2006-05-20 22:35 [LARTC] Hi, a important doubt Juan Felipe Botero @ 2006-05-20 23:17 ` Andreas Mueller 0 siblings, 0 replies; 2+ messages in thread From: Andreas Mueller @ 2006-05-20 23:17 UTC (permalink / raw) To: lartc 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 _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-05-20 23:17 UTC | newest] Thread overview: 2+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2006-05-20 22:35 [LARTC] Hi, a important doubt Juan Felipe Botero 2006-05-20 23:17 ` Andreas Mueller
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox