Date: Mon, 11 Feb 2002 08:17:47 +0000 From: "Francis little" <dj_oggy@hotmail.com> To: keramida@ceid.upatras.gr Cc: freebsd-hackers@freebsd.org Subject: Re: suggestion/patch for ftpd Message-ID: <F5B5Q91FeUbXD6iebGp000019ea@hotmail.com>
index | next in thread | raw e-mail
i'be been thinking of a similar idea to limit the connections from an ip...
could get the ftpd to write the ip on login to a file similar to writing the
pid file. then could search the file for the number of instances of the
connecting ip and if that is over a certian number deny the login....
also when the client loggs out would have to remove one instance of that
address....
what do you think...
francis
>From: Giorgos Keramidas <keramida@ceid.upatras.gr>
>To: Francis little <dj_oggy@hotmail.com>
>Subject: Re: suggestion/patch for ftpd
>Date: Sun, 10 Feb 2002 23:12:27 +0200
>
>On 2002-02-08 08:36, Francis little wrote:
> > Hello all,
> >
> > i have writen a patch for ftpd that alows it to limit the number of
>users
> > that log in. it currently works in daemon mode only.
> >
> > the user limit can be set with the option "-C". (it will through up an
> > error if you use this option from "inetd").
>
>This will limit the total number of users. Which is probably not what we
>want :(
>
>A way to limit per-IP-address users would be just beautiful, imho.
>I'm trying to come up with patches that will keep the list of connected
>children (address/pid) of ftpd and limit based on IP address.
>
>Anybody there interested in working together to make something like this?
>
>
>Giorgos Keramidas FreeBSD Documentation Project
>keramida@{freebsd.org,ceid.upatras.gr} http://www.FreeBSD.org/docproj/
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F5B5Q91FeUbXD6iebGp000019ea>
