From owner-freebsd-ports Tue Jan 18 11: 0: 8 2000 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id D77C114CEC for ; Tue, 18 Jan 2000 11:00:03 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id LAA12349; Tue, 18 Jan 2000 11:00:03 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from des.follo.net (des.follo.net [195.204.143.216]) by hub.freebsd.org (Postfix) with ESMTP id 1B55E14E03 for ; Tue, 18 Jan 2000 10:50:10 -0800 (PST) (envelope-from des@des.follo.net) Received: (from root@localhost) by des.follo.net (8.9.3/8.9.3) id TAA55306; Tue, 18 Jan 2000 19:49:56 +0100 (CET) (envelope-from des) Message-Id: <200001181849.TAA55306@des.follo.net> Date: Tue, 18 Jan 2000 19:49:56 +0100 (CET) From: Dag-Erling Smørgrav Reply-To: des@yes.no To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/16183: wu-ftpd "feature" breaks FTP clients Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 16183 >Category: ports >Synopsis: wu-ftpd "feature" breaks FTP clients >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Jan 18 11:00:02 PST 2000 >Closed-Date: >Last-Modified: >Originator: Dag-Erling Smørgrav >Release: FreeBSD 4.0-CURRENT i386 >Organization: Yes Interactive >Environment: ports-current. >Description: wu-ftpd 2.6.0 and newer do not list directories in the output from the NLST command. While this is strictly not a bug according to RFC959 (and the developers claim it is in fact the correct interpretation), it is radically differs from historical behavior and is a major break of POLA. Many FTP clients, including the FreeBSD, NetBSD and Solaris FTP clients, fail in various ways when confronted with wu-ftpd. FreeBSD and NetBSD will perform normally except for file name completion, whereas Solaris totally fails to list files in response to the "ls" command. >How-To-Repeat: Connect to any FTP server running wu-ftpd 2.6.0 or newer, issue the NLST command, compare the output with that of STAT. >Fix: Add the following patch in ports/wu-ftpd/patches: --- src/ftpd.c.orig Tue Jan 18 19:35:30 2000 +++ src/ftpd.c Tue Jan 18 19:38:50 2000 @@ -6346,7 +6346,6 @@ } goto globfree; } - if ((st.st_mode & S_IFMT) != S_IFDIR) { if (dout == NULL) { dout = dataconn("file list", (off_t) - 1, "w"); if (dout == NULL) @@ -6369,7 +6368,6 @@ byte_count_out++; } #endif - } } if (dout != NULL) { >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message