[15692] in bugtraq
Re: ftpd and setproctitle()
daemon@ATHENA.MIT.EDU (Adam McKenna)
Mon Jul 10 01:47:54 2000
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Message-ID: <20000707183247.T4451@flounder.net>
Date: Fri, 7 Jul 2000 18:32:47 -0400
Reply-To: Adam McKenna <adam@FLOUNDER.NET>
From: Adam McKenna <adam@FLOUNDER.NET>
To: BUGTRAQ@SECURITYFOCUS.COM
In-Reply-To: <20000707120152.A549@rajpur.iagora.es>; from espel@IAGORA.NET on
Fri, Jul 07, 2000 at 12:01:52PM +0200
On Fri, Jul 07, 2000 at 12:01:52PM +0200, Roger Espel Llima wrote:
> Theo de Raadt wrote:
> > Well, while everyone is talking about setproctitle affecting wuftpd,
> > I should probably note that it even affects the OpenBSD ftpd. In fact,
> > looking around, it looks like it might affect everyone's ftpd.
>
> Curiously enough, this bug didn't affect the Linux port of the OpenBSD
> ftpd (http://freshmeat.net/appindex/1999/10/09/939509389.html), because
> it doesn't #define HASSETPROCTITLE.
The debian port compiles with -DHASSETPROCTITLE in the Makefile. I was able
to recompile mine without it.
adam@athlon:~/src/linux-ftpd-0.11/ftpd$ grep -i setproc Makefile
$(CC) $(CFLAGS) -DHASSETPROCTITLE $< -c
$(OBJS): extern.h ../support/daemon.h ../support/setproctitle.h
--Adam