From mboxrd@z Thu Jan 1 00:00:00 1970 From: nix4me Date: Thu, 23 Dec 2004 00:13:03 +0000 Subject: Re: [LARTC] allocating b/w Message-Id: <41CA0D8F.3050909@cfl.rr.com> List-Id: References: <20041222071416.GA25105@tranquility.scriptkitchen.com> In-Reply-To: <20041222071416.GA25105@tranquility.scriptkitchen.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org Stef Coene wrote: >On Wednesday 22 December 2004 08:14, Payal Rathod wrote: > > >>Hi, >>A majority of our work inolves ftp to my clients' side over our >>slow connection. Now we need to allocate a greater b/w for this >>protocol. Is there anyway I can do it using lartc easily? >> >> >It can be done, but not so easy. Ftp traffic uses some random ports. But you >can filter ftp traffic if you use iptables to mark all ftp traffic (make sure >you match them all and not only the command traffic). That mark can be used >with the fw filter to put the traffic in a separate htb/cbq class. > >Stef > > > You can also bind ftp traffic to a known range and mark those ports with iptables. Thats how I do it. Proftpd allows you to set passive ports to a certain range. Mark _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/