Bug 22655 - ftp program does not work
ftp program does not work
Product: Red Hat Linux
Classification: Retired
Component: ftp (Show other bugs)
alpha Linux
medium Severity medium
: ---
: ---
Assigned To: Bernhard Rosenkraenzer
David Lawrence
Depends On:
  Show dependency treegraph
Reported: 2000-12-21 06:04 EST by Marc Schmitt
Modified: 2007-04-18 12:30 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-02-16 23:39:50 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
New package (59.49 KB, application/octet-stream)
2001-01-21 10:34 EST, Bernhard Rosenkraenzer
no flags Details

  None (edit)
Description Marc Schmitt 2000-12-21 06:04:24 EST
Hi there

The ftp client coming with RedHat 7.0 for Alpha seems broken:

[root@test1-a26 rpm]# ftp sunsite.cnlab-switch.ch
Connected to sunsite.cnlab-switch.ch.
220 sunsite.cnlab-switch.ch FTP server ready.
Name (sunsite.cnlab-switch.ch:root): ftp
331 Guest login ok, send your complete e-mail address as password.
230- Welcome to Swiss SunSITE                 
230- ------------------------                
230- Thu Dec 21 11:57:56 2000        
230- Swiss SunSITE is located in Zurich and operated by
230- - ITA-HSR (Univ of Applied Sciences Rapperswil)
230- - SWITCH (Swiss Academic & Research Network)      
230- Sponsor: Sun Microsystems (Schweiz) AG               
230- SunSITE FTP search:
230-         http://sunsite.cnlab-switch.ch:8000/
230- DISCLAIMER: Neither cnlab, SWITCH nor Sun Microsystems are liable
230-             for any use, storage or transmission of any files stored
230-             on this archive.
230-       NOTE: ALL transfers are logged and any misuse will be acted
230- You are user 8 (max 100), connecting from test1-a26.inf.ethz.ch.
230-Please read the file README
230-  it was last modified on Fri Jan 14 08:54:55 2000 - 342 days ago
230 Guest login ok, access restrictions apply.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> dir
227 Entering Passive Mode (195,176,255,9,71,1)
ftp: connect: Connection refused
ftp> ls
227 Entering Passive Mode (195,176,255,9,191,106)
ftp: connect: Connection refused

I`ve tried several ftp servers, same effect. Those servers work fine when
using the ftp client under RedHat 7.0 for i386.

Thanks for your help.

Comment 1 Patrick Dube 2000-12-21 13:05:34 EST
It works fine in active mode.  After logging, type passive, this will desable the passive mode.
Comment 2 Patrick Dube 2000-12-21 14:34:43 EST
I just get the src rpm and compile it without any new options.  It is working!
Comment 3 Larry Fahnoe 2001-01-18 08:55:10 EST
RedHat 7.0 alpha, ftp-0.17-6, passive mode is broken as shown above.  Active mode works.  Traces show that in passive mode, the client receives and 
acks the server's Entering passive mode... message, but the client never attempts to establish the data connection.

RedHat 7.0 i386, ftp-0.17-6, passive mode does not exhibit the problem.

Comment 4 Bernhard Rosenkraenzer 2001-01-21 10:07:00 EST
Does this still happen in the version from rawhide (0.17-7) with glibc updates?
This looks suspiciously like a glibc or compiler problem if simply rebuilding
fixes it...
Comment 5 Larry Fahnoe 2001-01-21 10:25:52 EST
Ummmm....rawhide does not have ftp-0.17-7 in either the SRPMS or alpha trees.
The only version in these trees is 0.17-6.

Comment 6 Bernhard Rosenkraenzer 2001-01-21 10:34:30 EST
Created attachment 7928 [details]
New package
Comment 7 Bernhard Rosenkraenzer 2001-01-21 10:35:18 EST
Rawhide is out of sync with the tree it's built from once again...
Try the package I've attached, it's the one I was talking about.
Comment 8 Larry Fahnoe 2001-01-21 11:01:25 EST

The ftp-0.17-7.alpha.rpm you attached solves the passive mode problem.  I am
not able to test active mode due to my firewall.  These systems do have the
current glibc patches applied (2.2-12).

Comment 9 comserver 2001-02-16 23:39:04 EST
FTP on redhat 7 for intel systems does not work.
It is frustrating !!
Comment 10 comserver 2001-02-16 23:39:46 EST
FTP on redhat 7 for intel systems does not work.
It is frustrating !!
Comment 11 Bernhard Rosenkraenzer 2001-05-17 17:10:24 EDT
alpha: fixed as stated above.
intel: works perfectly for everyone else; make sure you aren't using any odd 
firewall settings.

Note You need to log in before you can comment on or make changes to this bug.