From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jerome Petazzoni Date: Mon, 24 Dec 2001 12:17:47 +0000 Subject: RE: [LARTC] limiting bandwidth to one IP Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org > I am testing tc and company tools :-) > I am trying to limit the download from Internet to one computer. you might be interested by my bytelimit patch, so I'll do some more advertistement for it ... :-) it is a netfilter (iptables) match allowing to do traffic shaping, like the "limit" match but in bytes/second instead of packets/second. it's as simple as : iptables -A FORWARD -d 192.168.23.45 -m bytelimit --rate 10000 -j DROP this will limit 192.168.23.45 to 10000 bytes/second . every packet "out of quota" will be dropped. the patch is at http://etudiant.univ-mlv.fr/~jpetazzo/bytelimit.tgz feel free to contact me for more info/help about the patch. Jerome Petazzoni -- Whoever had created humanity had left in a major design flaw. It was its tendency to bend at the knees. (Feet of Clay) _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/