From owner-freebsd-net Thu Jun 21 2: 0:15 2001 Delivered-To: freebsd-net@freebsd.org Received: from mailguard.fgan.de (mailguard.fgan.de [128.7.3.5]) by hub.freebsd.org (Postfix) with ESMTP id D21D637B401 for ; Thu, 21 Jun 2001 02:00:04 -0700 (PDT) (envelope-from leventi@fgan.de) Received: from rufsun5.ffm.fgan.de ([128.7.2.5]) by mailguard.fgan.de (8.11.2/8.11.2) with ESMTP id f5L902B23273; Thu, 21 Jun 2001 11:00:02 +0200 Received: from melle.ffm.fgan.de (melle.ffm.fgan.de [128.7.5.11]) by rufsun5.ffm.fgan.de (8.8.6/8.8.8) with ESMTP id LAA12651; Thu, 21 Jun 2001 11:00:01 +0200 (MET DST) Received: (from lev@localhost) by melle.ffm.fgan.de (8.8.8+Sun/8.8.8) id KAA05069; Thu, 21 Jun 2001 10:59:59 +0200 (MET DST) Date: Thu, 21 Jun 2001 10:59:59 +0200 (MET DST) Message-Id: <200106210859.KAA05069@melle.ffm.fgan.de> From: Anastasia Leventi-Peetz To: gunther@aurora.regenstrief.org Cc: leventi@fgan.de, users@ipv6.org, freebsd-net@freebsd.org In-reply-to: <3B30C3DF.8051A0A0@aurora.regenstrief.org> (message from Gunther Schadow on Wed, 20 Jun 2001 10:40:15 -0500) Subject: Re: ftpd-BSD and standalone Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hello Guhnter, >> ftp stream tcp6 nowait root /usr/sbin/tcpd ftpd-BSD -D -6 > >woops, tcp-wrappers (tcpd) take 'em out, they confound the >problem. ... >-D makes ftpd to become a daemon itself. This is *not* what you > want when you let inetd manage the services. So, take that -D > out. >Notice that the 6 versus 4 issue is handled by >inetd (tcp vs. tcp6) and you need one inetd.conf line for each. Having >both makes it easier to distinguish whether you have an IPv6 problem >somewhere (but do use numeric addresses for testing, to be sure you >use the right IP version You were absolutely right! For Linux SuSE 6.4 Distribution I have managed to start the ftpd-BSD (the name of daemon on the system-sorry for the confusion it has caused) by letting out -D and -6. The right way was: (in /etc/inetd.conf) ftp stream tcp6 nowait root /usr/sbin/tcpd ftpd-BSD that means with tcp wrapers (I left it so, if it hadn't work I'd try also without). For the Free-BSD system in /etc/inetd.conf ftp stream tcp6 nowait root /usr/libexec/ftpd ftpd -l I assume the problem was as you said: > Also, never use the -D option with inetd.conf; >it can't work! With -D ftpd tries to bind(2) another socket and >since it's already bound by inetd, it'll fail right away. Also, >if you use nowait in inetd and call something that doesn't handle >the connection, you'll get inetd cycling through calling ftpd >again and again. If this goes on too often, inetd figures that >it's not gonna work and shuts down the service alltogether. This >is what happened in your case. I best regards:Anastasia -- Dr. Anastasia Leventi-Peetz E-Mail: leventi@fgan.de c/o FGAN/FKIE Tel: (+49) 228/9435 593 Neuenahrer Strasse 20 Fax: (+49) 228/9435 685 D-53343 Wachtberg, Germany http://www.fgan.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message