r286615: /usr/libexec/ftpd broken!

O. Hartmann ohartman at zedat.fu-berlin.de
Tue Aug 18 05:16:03 UTC 2015


On Tue, 11 Aug 2015 13:18:14 +0200
Ed Schouten <ed at nuxi.nl> wrote:

> Hi there,
> 
> 2015-08-11 10:44 GMT+02:00 O. Hartmann <ohartman at zedat.fu-berlin.de>:
> > ftpd starts sometimes, sporadically, and dies somewhere in the process.
> > Connections to the ftpd aren't possible. Sockstat doesn't even show up a
> > TCP/IP socket (21, ftp/tcp) where the daemon is supposed to listen for
> > incoming connection - I see only udp4 (connecting to
> > local_unbound/127.0.0.1:53). This is strange ...
> 
> That's annoying. We should fix that.
> 
> I recently made some changes to shutdown(2), but a grep reveals that
> ftpd doesn't call that function anywhere. Phew! The last changes made
> to ftpd are related to libxo. Adding marcel@, just to be sure.
> 
> In the meantime, could you maybe run truss(8) over ftpd and send us the
> output?
> 
> Thanks,

Hello every thing is all right!

Port security/heimdal installs its own ftpd with its appropriate manpages.
Whenever I read the manpage, I got this heimdal-installed one and so, the whole
configuration for FreeBSD's own ftpd daemon was bullshit according to the
heimdal's version. especially the missing option "-D" (necessary for FreeBSD's
ftpd going into daemon mode) and much more crucial, -a, which reflects the IP
address listening on for FreeBSD's ftpd and for heimdal's one reflecting the
authentication method (-a plain for plaintext). 

So, this maybe for the record. I guess in rare caeses others could run into
this trap, too.

Regards and thanks for the patience,

Oliver


More information about the freebsd-current mailing list