From nobody@FreeBSD.org  Wed Feb 15 18:31:54 2006
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id B74B716A420
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 15 Feb 2006 18:31:54 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 79EBF43D45
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 15 Feb 2006 18:31:54 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k1FIVsBn018055
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 15 Feb 2006 18:31:54 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id k1FIVsH2018054;
	Wed, 15 Feb 2006 18:31:54 GMT
	(envelope-from nobody)
Message-Id: <200602151831.k1FIVsH2018054@www.freebsd.org>
Date: Wed, 15 Feb 2006 18:31:54 GMT
From: Chris <chrcoluk@msn.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: anonymous ftp login failing with base fetch and port wget freebsd 6.0, works with 5.x and 4.x - resubmit 1st incomplete
X-Send-Pr-Version: www-2.3

>Number:         93400
>Category:       bin
>Synopsis:       anonymous ftp(1) login failing with base fetch and port wget freebsd 6.0, works with 5.x and 4.x (regression)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 15 18:40:04 GMT 2006
>Closed-Date:    Mon Jul 10 07:34:11 GMT 2006
>Last-Modified:  Mon Jul 10 07:34:11 GMT 2006
>Originator:     Chris
>Release:        6.0-p4
>Organization:
>Environment:
FreeBSD web1.xxx.info 6.0-RELEASE-p4 FreeBSD 6.0-RELEASE-p4 #1: Sun Feb 12 14:00:06 CST 2006     chris@web1.xxx.info:/usr/obj/usr/src/sys/WEB1  i386          
>Description:
make.conf

CPUTYPE?=athlon-xp
CFLAGS= -O2 -pipe -fno-strict-aliasing
COPTFLAGS= -O2 -pipe

kernel is generic plus the following options

options         IPFIREWALL
options         IPFIREWALL_VERBOSE
options         IPFIREWALL_DEFAULT_TO_ACCEPT
options         IPFIREWALL_FORWARD
options         IPDIVERT
options         IPSTEALTH
options         DUMMYNET
options         TCP_DROP_SYNFIN
options         QUOTA
options         ACCEPT_FILTER_DATA
options         ACCEPT_FILTER_HTTP
options         SC_DISABLE_REBOOT
options         DIRECTIO


Initially noticed many ports were failing on early mirrors and needed many
attempts to download distfile, eventually one port with only 2 mirrors
failed to download altogether.  Investigated by trying a manual fetch and
also added -vv twice this occured.

fetch -vv ftp://ftp.nsk.su/.3/RinetSoftware/trafshow-5.2.2.tgz
scheme:   [ftp]
user:     []
password: []
host:     [ftp.nsk.su]
port:     [0]
document: [/.3/RinetSoftware/trafshow-5.2.2.tgz]
---> ftp.nsk.su:21
looking up ftp.nsk.su
connecting to ftp.nsk.su:21
<<< fetch: ftp://ftp.nsk.su/.3/RinetSoftware/trafshow-5.2.2.tgz: Protocol error

On a freebsd 5.4 box as an example here is output

fetch -vv ftp://ftp.nsk.su/.3/RinetSoftware/trafshow-5.2.2.tgz
scheme:   [ftp]
user:     []
password: []
host:     [ftp.nsk.su]
port:     [0]
document: [/.3/RinetSoftware/trafshow-5.2.2.tgz]
---> ftp.nsk.su:21
looking up ftp.nsk.su
connecting to ftp.nsk.su:21
<<< 220 service.nsk.su FTP server (Version wu-2.4.2-academ[BETA-16](1) Sun Feb 1 16:07:51 NOVT 1998) ready.
 >>> USER anonymous
 <<< 331 Guest login ok, send your complete e-mail address as password.
 >>> PASS admin@shell1.xxx.net
 <<< 230 Guest login ok, access restrictions apply.
 >>> TYPE I
 <<< 200 Type set to I.
 >>> CWD /.3/RinetSoftware
 <<< 250 CWD command successful.
 >>> SIZE trafshow-5.2.2.tgz
 <<< 213 124191
 size: [124191]
 >>> MDTM trafshow-5.2.2.tgz
 <<< 213 20060108072010
 last modified: [2006-01-08 07:20:10]
 setting passive mode
 >>> PASV
 <<< 227 Entering Passive Mode (212,20,0,102,19,102)
 opening data connection
 initiating transfer
 >>> RETR trafshow-5.2.2.tgz
 <<< 150 Opening BINARY mode data connection for trafshow-5.2.2.tgz (124191 bytes).
 remote size / mtime: 124191 / 1136704810
 trafshow-5.2.2.tgz                             59% of  121 kB 9563  Bps^C
 fetch: transfer interrupted
 
 wget as a comparison 5.4 box
 
 wget ftp://ftp.nsk.su/.3/RinetSoftware/trafshow-5.2.2.tgz
 --17:47:55--  ftp://ftp.nsk.su/.3/RinetSoftware/trafshow-5.2.2.tgz
            => `trafshow-5.2.2.tgz'
 Resolving ftp.nsk.su... 212.20.0.102
 Connecting to ftp.nsk.su|212.20.0.102|:21... connected.
 Logging in as anonymous ... Logged in!
 ==> SYST ... done.    ==> PWD ... done.
 ==> TYPE I ... done.  ==> CWD /.3/RinetSoftware ... done.
 ==> PASV ... done.    ==> RETR trafshow-5.2.2.tgz ... done.
 Length: 124,191 (121K) (unauthoritative)
 
 100%[====================================>] 124,191        9.43K/s    ETA 00:00
 
 17:48:36 (5.44 KB/s) - `trafshow-5.2.2.tgz' saved [124191]
 
 and 6.0 box
 
 wget ftp://ftp.nsk.su/.3/RinetSoftware/trafshow-5.2.2.tgz
 --18:15:42--  ftp://ftp.nsk.su/.3/RinetSoftware/trafshow-5.2.2.tgz
            => `trafshow-5.2.2.tgz'
 Resolving ftp.nsk.su... 212.20.0.102
 Connecting to ftp.nsk.su[212.20.0.102]:21... connected.
 Logging in as anonymous ... 
 Error in server response, closing control connection.
 Retrying.
 
 the 4.11 box works same as 5.4 and is on the same network/isp as the 6.0 box.
 
>How-To-Repeat:
try and fetch/wget ftp://ftp.nsk.su/.3/RinetSoftware/trafshow-5.2.2.tgz
>Fix:
              
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: matteo 
State-Changed-When: Fri May 12 20:25:04 UTC 2006 
State-Changed-Why:  


http://www.freebsd.org/cgi/query-pr.cgi?pr=93400 

From: Maxim Konovalov <maxim@macomnet.ru>
To: Chris <chrcoluk@msn.com>
Cc: bug-followup@freebsd.org
Subject: bin/93400
Date: Mon, 12 Jun 2006 18:54:57 +0400 (MSD)

 Hi,
 
 Works for me:
 
 $ fetch -o/dev/null
 ftp://ftp.nsk.su/.3/RinetSoftware/trafshow-5.2.2.tgz
 /dev/null                                     100% of  121 kB   23 kBps
 $ uname -r
 6.0-STABLE
 
 Are you sure everything is OK with this box?
 
 -- 
 Maxim Konovalov
State-Changed-From-To: feedback->closed 
State-Changed-By: maxim 
State-Changed-When: Mon Jul 10 07:33:44 UTC 2006 
State-Changed-Why:  
Feedback timeout + can't reproduce. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=93400 
>Unformatted:
