From owner-freebsd-stable@FreeBSD.ORG Mon Apr 18 13:18:57 2005 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3F5B416A4CE; Mon, 18 Apr 2005 13:18:57 +0000 (GMT) Received: from lakermmtao01.cox.net (lakermmtao01.cox.net [68.230.240.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id 630A143D5D; Mon, 18 Apr 2005 13:18:56 +0000 (GMT) (envelope-from micheal@tsgincorporated.com) Received: from router.rcservers.com ([68.12.148.156]) by lakermmtao01.cox.net (InterMail vM.6.01.04.00 201-2131-118-20041027) with ESMTP <20050418131855.BAVS29182.lakermmtao01.cox.net@router.rcservers.com>; Mon, 18 Apr 2005 09:18:55 -0400 Received: from localhost (localhost.rcservers.com [127.0.0.1]) by router.rcservers.com (Postfix) with ESMTP id C9312124D3; Mon, 18 Apr 2005 08:23:27 -0500 (CDT) Received: from router.rcservers.com ([127.0.0.1]) by localhost (router.rcservers.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 22823-09; Mon, 18 Apr 2005 08:23:16 -0500 (CDT) Received: from dredster (dredster.caverns.lan [192.168.1.2]) by router.rcservers.com (Postfix) with ESMTP id 79D63124D2; Mon, 18 Apr 2005 08:23:16 -0500 (CDT) Message-ID: <026301c54419$2c1286d0$0201a8c0@dredster> From: "Micheal Patterson" To: "Didier Wiroth" , References: <3fb1734a4ac3.4263b578@etat.lu> Date: Mon, 18 Apr 2005 08:18:53 -0500 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Virus-Scanned: by AV Subsystem at router.rcservers.com cc: freebsd-stable@freebsd.org Subject: Re: tcpwrappers problem X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Apr 2005 13:18:57 -0000 ----- Original Message ----- From: "Didier Wiroth" To: Cc: Sent: Monday, April 18, 2005 6:26 AM Subject: tcpwrappers problem > Hi, > (using freebsd5.4-stable) > > I'm trying to display a ftpd banner with hosts.allow, but it doesn't > work. > > I'm using ftpd (/usr/libexec/ftpd) started through inetd. > Ined is started with standard flags: > /usr/sbin/inetd -wW -C 60 > > In hosts.allow I have: > ALL : ALL : allow > ALL : ALL : banners /usr/local/etc/banners/ > ALL : PARANOID : RFC931 20 : deny > > In /usr.../banners/ I've a banner called: ftpd and inetd and ftp etc.. > copied the banner to different names to be sure ... ;-) > > The directory is world r-x and the banners are world readable. > > When changing for example: ALL:ALL:allow to ALL:ALL:deny, ftpd > connections are blocked, so I assume the wrappers work. > > Why isn't my banner displayed? > thanks > didier > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" At first glance, I would say because you have an "ALL : ALL : allow" before you have your "ALL : ALL : banners /usr/local/etc/banners/ With that, it's never making it to the banners entry. -- Micheal Patterson Senior Communications Systems Engineer TSG Incorporated 405-917-0600 Confidentiality Notice: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.