[LARTC] allocating b/w

Peter Surda shurdeek@routehat.org
Thu, 23 Dec 2004 01:58:43 +0100


On Wed, Dec 22, 2004 at 02:14:16AM -0500, Payal Rathod wrote:
> Hi,
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?
Well, it depends on what you mean by "using lartc" :-)

> Any suggestions on this please?
There is a "helper" match in iptables that does exactly what you need. It's
already over 2 years old so I think any quite recent iptables version should
have it (1.2.11 does).

Use like

iptables -t mangle -A wherever -m helper ---helper ftp -j MARK whatever

> With warm regards,
> -Payal
Bye,

Peter Surda (Shurdeek) <shurdeek@routehat.org>, ICQ 10236103, +436505122023

-- 
               I believe the technical term is "Oops!"