Dear folks, I would like to limit one single tcp connection in my network to 16Kbit only, but if they generate more tcp streams, let say 10 more tcp connection, they should not more than 100Kbit as the total bandwidth delegated for this network. Please let me know how to do this ? Regards, Rio Martin. -------------------------------------------------------------------- mail2web - Check your email from the web at http://mail2web.com/ . _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Nuno Miguel Pais Fernandes
2003-May-09 13:52 UTC
Re: How to limit one single tcp connection ?
Hello There is a patch for iptables that implements max connections. See iptables patch-o-matic Nuno Fernandes On Fri, 2003-05-09 at 05:29, rio@martin.mu wrote:> Dear folks, > I would like to limit one single tcp connection in my network to 16Kbit > only, but if they generate more tcp streams, let say 10 more tcp > connection, they should not more than 100Kbit as the total bandwidth > delegated for this network. > > Please let me know how to do this ? > > Regards, > Rio Martin. > > -------------------------------------------------------------------- > mail2web - Check your email from the web at > http://mail2web.com/ . > > > _______________________________________________ > LARTC mailing list / LARTC@mailman.ds9a.nl > http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/-- Nuno Miguel Pais Fernandes <npf@eurotux.com>
On Friday 09 May 2003 06:29, rio@martin.mu wrote:> Dear folks, > I would like to limit one single tcp connection in my network to 16Kbit > only, but if they generate more tcp streams, let say 10 more tcp > connection, they should not more than 100Kbit as the total bandwidth > delegated for this network. > > Please let me know how to do this ?You can mark the packets with a u32 filter and use a policer in that filter to limit the packets. More info about policers can be found in the lartc howto. Stef -- stef.coene@docum.org "Using Linux as bandwidth manager" http://www.docum.org/ #lartc @ irc.oftc.net _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/