[rescue] FTP Server Reccomendation?
Greg A. Woods
rescue at sunhelp.org
Sun Jun 17 16:05:44 CDT 2001
[ On Sunday, June 17, 2001 at 16:40:10 (EDT), mike dombrowski wrote: ]
> Subject: [rescue] FTP Server Reccomendation?
> Since the builtin OpenBSD FTP server does not(or at least I can't find
> out how to ) have a way to limit the maximum number of connections for
> a certain user and time periods when that user can log in I need to
> replace it. Can anybody reccomend a server that has these two features?
FTP servers are normally started by inetd. This makes it somewhat
tricky to do the kinds of limits you desire since there isn't a master
server that is listening for connections and doing all of the
authentication and authorisation.
However never fear! NetBSD ftpd can do at least part of what you want.
limit class count [file]
Limit the maximum number of concurrent connections for class to
count, with `0' meaning unlimited connections. If the limit is ex-
ceeded and file is given, display its contents to the user. If
class is ``none'' or count is not specified, disable this. If file
is a relative path, it will be searched for in /etc (which can be
overridden with -c confdir).
You can do the rest (i.e. managing time periods) with a simple crontab
entries that sym-link/hard-link/copy the appropriate ftpd.conf version
into the runtime location at the appropriate times (while recognizing
that any existing connections will use the previous configuration).
NetBSD ftpd also supports separate rate throttling for both "get" and "put".
Greg A. Woods
+1 416 218-0098 VE3TCP <gwoods at acm.org> <woods at robohack.ca>
Planix, Inc. <woods at planix.com>; Secrets of the Weird <woods at weird.com>
More information about the rescue