From owner-freebsd-questions Fri Aug 28 14:02:22 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA20891 for freebsd-questions-outgoing; Fri, 28 Aug 1998 14:02:22 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from ha1.rdc1.ab.wave.home.com (ha1.rdc1.ab.wave.home.com [24.64.2.50]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA20788 for ; Fri, 28 Aug 1998 14:02:06 -0700 (PDT) (envelope-from jnkam@home.com) Received: from home.com ([24.64.37.96]) by ha1.rdc1.ab.wave.home.com (Post.Office MTA v3.5 release 217 ID# 1-1U40000L0S0V35) with ESMTP id com for ; Thu, 27 Aug 1998 00:59:57 -0700 Message-ID: <35E511F7.1F2F279@home.com> Date: Thu, 27 Aug 1998 01:59:53 -0600 From: Jeremy Kam X-Mailer: Mozilla 4.06 [en] (X11; I; FreeBSD 2.2.7-RELEASE i386) MIME-Version: 1.0 To: questions@FreeBSD.ORG Subject: Ftpd problems when using tcpwrappers. Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Please reply to jnkam@home.com Hello, I'm have setup tcpwrappers on this machine, and it is working correctly for all inetd daemons except for the ftpd. When a user attempts to login to the ftp they aren't asked to supply a name or password, and when you try to use any ftp commands, such as ls, it tells you "Not connected." If you try to login using 'user', it tells you "Not connected." The following documents this sequence, with the name of the server removed for security purposes: % ftp Connected to . This ftp request has been logged. ftp> ls Not connected. ftp> user Not connected. ftp> If I try to open at the ftp> prompt I get the same sequence of events, and never am able to login. If I setup the ftp to be non-wrapped this problem does not occur. However, a non-wrapped server does not provide the information I want to know, such was when a user logs in and where from. A non-wrapped version also prevents me from denying hosts. The following is how the ftpd appears in my inetd.conf: #ftp stream tcp nowait root /usr/libexec/ftpd ftpd -l ftp stream tcp nowait root /usr/local/libexec/tcpd ftpd -l The top line is the non-wrapped which works correctly. The second line is the wrapped which causes the sequence listed above. The wrappers DO work with all other daemons, just not with the ftpd. I have also tried another ftpd from the ports with the same results. If you can help me please e-mail me at jnkam@home.com instead of posting to the list. Thanks in advance, Jeremy Kam To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message