[LARTC] allocating b/w

nix4me nix4me@cfl.rr.com
Wed, 22 Dec 2004 19:13:03 -0500


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