From owner-freebsd-current@freebsd.org Fri Aug 14 22:38:11 2015 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id ADF4C9BA261 for ; Fri, 14 Aug 2015 22:38:11 +0000 (UTC) (envelope-from bsd-lists@bsdforge.com) Received: from udns.ultimatedns.net (ultimatedns.net [209.180.214.225]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 48DAC1DE2 for ; Fri, 14 Aug 2015 22:38:10 +0000 (UTC) (envelope-from bsd-lists@bsdforge.com) Received: from ultimatedns.net (localhost [127.0.0.1]) by udns.ultimatedns.net (8.14.9/8.14.9) with ESMTP id t7EMPiMC076447 for ; Fri, 14 Aug 2015 15:25:51 -0700 (PDT) (envelope-from bsd-lists@bsdforge.com) To: In-Reply-To: <20150814134533.690e2091@freyja.zeit4.iv.bundesimmobilien.de> References: <20150811074041.6700e943@freyja.zeit4.iv.bundesimmobilien.de> <20150811104451.2031fff2@freyja.zeit4.iv.bundesimmobilien.de> , <20150814134533.690e2091@freyja.zeit4.iv.bundesimmobilien.de> From: "Chris H" Subject: Re: r286615: /usr/libexec/ftpd broken! Date: Fri, 14 Aug 2015 15:25:51 -0700 Content-Type: text/plain; charset=UTF-8; format=fixed MIME-Version: 1.0 Message-id: <9e34872194decc132ce612b660d3c921@ultimatedns.net> Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Aug 2015 22:38:11 -0000 On Fri, 14 Aug 2015 13:45:33 +0200 "O. Hartmann" wrote > On Tue, 11 Aug 2015 13:18:14 +0200 > Ed Schouten wrote: > > > Hi there, > > > > 2015-08-11 10:44 GMT+02:00 O. Hartmann : > > > 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, > > I have real issues understanding FreeBSD's ftpd! > > Man page "ftpusers(5)" states, that an entry "username allow" will allow > access to ftpd. But every user listed in /etc/ftpusers is denied access, no > matter whether there is "allow" appended to the entry or not! This is > strange. Whenever I delete a user's name from that file I wish to have access > to the ftpd service, that user can login - but addig the users even as > "username allow" (no * in the file, nothing else but the initial users names) > access is denied. > > I managed so far to start the ftpd via inetd - the service running > from /etc/rc.conf is still impossible. But operations, not even a simple > "ls", are possible since the service dies ... > > Either I'm some kind of dull and do not understand this brillant peice of > software, or there is something really fishy. This may have already been answered, but... A quick examination at the top of /etc/ftpusers reveals: # $FreeBSD: ... $ # # list of users disallowed any ftp access. # read by ftpd(8). FWIW --Chris > > regards and nice weekend, > > oh > _______________________________________________ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"