From owner-freebsd-bugs Tue Nov 19 1:10: 8 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7A86337B404 for ; Tue, 19 Nov 2002 01:10:05 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id B9ADC43E97 for ; Tue, 19 Nov 2002 01:10:04 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id gAJ9A4x3030921 for ; Tue, 19 Nov 2002 01:10:04 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id gAJ9A4Ir030920; Tue, 19 Nov 2002 01:10:04 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1C4EC37B401 for ; Tue, 19 Nov 2002 01:08:48 -0800 (PST) Received: from fortress.intercom.net.ua (fortress.intercom.net.ua [195.13.40.132]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7217643EA3 for ; Tue, 19 Nov 2002 01:08:46 -0800 (PST) (envelope-from chd@fortress.intercom.net.ua) Received: from fortress.intercom.net.ua (localhost [127.0.0.1]) by fortress.intercom.net.ua (8.12.6/8.12.3/chd) with ESMTP id gAJ98dKe017919 for ; Tue, 19 Nov 2002 11:08:41 +0200 (EET) (envelope-from chd@fortress.intercom.net.ua) Received: (from root@localhost) by fortress.intercom.net.ua (8.12.6/8.12.3/Submit) id gAJ98bwH017918; Tue, 19 Nov 2002 11:08:37 +0200 (EET) (envelope-from chd) Message-Id: <200211190908.gAJ98bwH017918@fortress.intercom.net.ua> Date: Tue, 19 Nov 2002 11:08:37 +0200 (EET) From: Dmitry Cherkasov Reply-To: Dmitry Cherkasov To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: bin/45472: ftphosts causes ftpd failure Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 45472 >Category: bin >Synopsis: ftphosts causes ftpd failure >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Nov 19 01:10:02 PST 2002 >Closed-Date: >Last-Modified: >Originator: Dmitry Cherkasov >Release: FreeBSD 4.7-RELEASE-p2 i386 >Organization: ISP Intercom >Environment: System: FreeBSD fortress.intercom.net.ua 4.7-RELEASE-p2 FreeBSD 4.7-RELEASE-p2 #0: Mon Nov 18 21:14:12 EET 2002 chd@fortress.intercom.net.ua:/usr/src/sys/compile/Fortress i386 >Description: If any not empty file /etc/ftphosts is present, and hostname is not 127.0.0.1 or localhost, ftpd dumps core. If /etc/ftphosts is empty or absent, ftpd operates normally. No any dependance upon ftpd or inetd command-line options or /etc/hosts.allow contents have been noticed. >How-To-Repeat: 1) build FreeBSD 4.7-RELEASE-p2 i386 2) allow starting ftpd in /etc/inetd.conf, (re)start inetd 3) remove /etc/ftphosts if it is present 4) connect to ftp port, for example: ftp see that there are no problems 5) create /etc/ftphosts with any not empty contents according to ftpd(8), for example: ftp 6) connect to ftpd -- see that service is not available 7) substitude the contents in /etc/ftphosts with th following line: 127.0.0.1 ftp see ftpd operating normally again. >Fix: Workaround: downgrade to 4.7-RELEASE-p1 >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message