From mboxrd@z Thu Jan 1 00:00:00 1970 From: David DeLauro Date: Mon, 29 Dec 2003 15:08:06 +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 On Tue, 23 Dec 2003 At 21:28 +0100, gdamjan@mail.net.mk Articulated: > > 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? Right now the scripts are just using a standard sniffer (tcpdump or tethereal) to gather information about the connections. For sure adding the ability watch bandwidth as well would be something I'm looking into adding... I haven't figured an efficient way to do it yet without parsing datagrams myself for HLEN and TOTAL LENGTH. > > -- David DeLauro Do not handicap your children by making their lives easy. - Robert Heinlein If the soul could know God without the world, the world would never have been created. - Meister Eckhart Hata ukinichukia la kweli nitakwambia - Kanga Proverb _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/