From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Mueller Date: Sat, 20 May 2006 23:17:01 +0000 Subject: Re: [LARTC] Hi, a important doubt Message-Id: <20060520231701.GA4047@lintera> List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: lartc@vger.kernel.org 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=B4s important, cause i need to regulate the bandwidth from the TCP po= rt > >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