Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Jun 2002 22:20:32 -0700
From:      Luigi Rizzo <rizzo@icir.org>
To:        Terry Lambert <tlambert2@mindspring.com>
Cc:        Giorgos Keramidas <keramida@FreeBSD.ORG>, hackers@FreeBSD.ORG
Subject:   Re: Limiting clients per source IP address (ftpd, inetd, etc.)
Message-ID:  <20020620222032.A73450@iguana.icir.org>
In-Reply-To: <3D129CA8.EFADA4FF@mindspring.com>; from tlambert2@mindspring.com on Thu, Jun 20, 2002 at 08:25:28PM -0700
References:  <20020621000924.GA2178@hades.hell.gr> <3D129CA8.EFADA4FF@mindspring.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jun 20, 2002 at 08:25:28PM -0700, Terry Lambert wrote:
> Giorgos Keramidas wrote:
> > I've been thinking for quite some time to add per-client-IP limiting
> > to ftpd, and I had almost decided upon something like the following,
...
> Someone just did something similar for inetd (per IP per port).
> 
> The more I think about this, and the fact that there is code growing
> to do basically the same thing in every program, the more I think
> that the code to do this needs to be centralized.

in fact there is an ipfw rule which does just this:

	ipfw add allow ip from any to any limit src-addr 5

and here you go...


	cheers
	luigi


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020620222032.A73450>