misc/93399: anonymous ftp login failing with base fetch and port wget freebsd 6.0, works with 5.x and 4.x

Chris chrcoluk at msn.com
Wed Feb 15 10:30:06 PST 2006


>Number:         93399
>Category:       misc
>Synopsis:       anonymous ftp login failing with base fetch and port wget freebsd 6.0, works with 5.x and 4.x
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 15 18:30:05 GMT 2006
>Closed-Date:
>Last-Modified:
>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 at web1.xxx.info:/usr/obj/usr/src/sys/WEB1  i386          
>Description:
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.
>How-To-Repeat:
try and fetch/wget ftp://ftp.nsk.su/.3/RinetSoftware/trafshow-5.2.2.tgz
>Fix:
              
>Release-Note:
>Audit-Trail:
>Unformatted:
 >>> USER anonymous
 <<< 331 Guest login ok, send your complete e-mail address as password.
 >>> PASS admin at 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.
 


More information about the freebsd-bugs mailing list