From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Anderson O Muniz" Date: Fri, 26 Dec 2003 15:18:54 +0000 Subject: Re: [LARTC] Dynamic Ratelimiting 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 Damjan, I am working in a script to do something like that, can you post your script for us? Thanks in Advance, Anderson ----- Original Message ----- From: "Damjan" To: Cc: "David DeLauro" Sent: Tuesday, December 23, 2003 6:28 PM Subject: Re: [LARTC] Dynamic Ratelimiting > > It was workable but it was no way a good scene. After analyzing traffic, > > I thought it would have been inefficient to try and look into the data > > portion of the datagram but what I did notice about the traffic we had > > here was that the P2P machines had an unusually high number of connections. > > For out network, the number of connections was something that could > > easily be monitored. So, I've created a few scripts that used > > iptables, tc, and a sniffer that dynamically ratelimits machines(IPs). > > Very interesting, I'll look more in depth to your scripts ... do you > think it would be easy to change the decission of who to ratelimit, from > the number of connections to the bandwidth they are using? > > Something like, if this user is using 512kb for 5 minutes ratelimit him? > > -- > Damjan Georgievski > jabberID: damjan@bagra.net.mk > _______________________________________________ > LARTC mailing list / LARTC@mailman.ds9a.nl > http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/ _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/