Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Nov 1997 09:30:01 -0800 (PST)
From:      Dave Chapeskie <dchapes@golden.net>
To:        freebsd-bugs
Subject:   Re: bin/5109: patch to ftpd, new option to limit number of ftpd sessions
Message-ID:  <199711231730.JAA20026@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/5109; it has been noted by GNATS.

From: Dave Chapeskie <dchapes@golden.net>
To: Joerg Wunsch <joerg_wunsch@uriah.heep.sax.de>
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: bin/5109: patch to ftpd, new option to limit number of ftpd sessions
Date: Sun, 23 Nov 1997 12:28:23 -0500

 On Sun, Nov 23, 1997 at 01:42:37PM +0100, J Wunsch wrote:
 > Instead of inventing a bunch of commandline options for each resource
 > limit,
 
 I only needed this one.  :-)
 
 > did you consider using login.conf, and making ftpd using the user
 > "ftp"'s login class for anonymous access (and i think that's what you
 > actually want)?  This would IMHO constitute a better approach.
 
 Do you mean just setting maxproc and letting the fork fail?  If so that's
 evil cause the client gets no useful information on why the connection
 failed.
 
 At any rate, I did my change in 5 minutes and it works for me.  If you
 want to spend more time to do something better go ahead.  If you think
 my change is an ugly hack then don't commit it (and add a more detailed
 description of what you mean to the gnats PR so the next person that
 wants this can do it "right").
 
 Cheers,
 -- 
 Dave Chapeskie, DDM Consulting
 E-Mail: dchapes@ddm.on.ca



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