Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Mar 2001 20:34:55 +0200
From:      Peter Pentchev <roam@orbitel.bg>
To:        Anil Jangity <aj@entic.net>
Cc:        freebsd-security@freebsd.org
Subject:   Re: Multiple vendors FTP denial of service
Message-ID:  <20010316203455.B8245@ringworld.oblivion.bg>
In-Reply-To: <20010316202837.C428@ringworld.oblivion.bg>; from roam@orbitel.bg on Fri, Mar 16, 2001 at 08:28:37PM %2B0200
References:  <20010315215913.A70990@mollari.cthul.hu> <Pine.BSF.4.33.0103160832130.17245-100000@mars.entic.net> <20010316202837.C428@ringworld.oblivion.bg>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Mar 16, 2001 at 08:28:37PM +0200, Peter Pentchev wrote:
[snip]
> ..or you could make an ftpd wrapper:
> 
> #!/bin/sh
> ulimit -d 10240
> exec /usr/libexec/ftpd -l

This could even do something like:

exec /usr/libexec/ftpd $*

so it passes to ftpd the arguments it got from inetd, not the hardcoded -l.

G'luck,
Peter

-- 
Do you think anybody has ever had *precisely this thought* before?

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




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