Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 121575 - ftp will not do port mode, even when it says it is doing port mode
ftp will not do port mode, even when it says it is doing port mode
Product: Fedora
Classification: Fedora
Component: ftp (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Thomas Woerner
Ben Levenson
Depends On:
  Show dependency treegraph
Reported: 2004-04-23 09:41 EDT by Nigel Metheringham
Modified: 2007-11-30 17:10 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-06-14 10:37:53 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Nigel Metheringham 2004-04-23 09:41:14 EDT
Description of problem:

The default to passive mode is so strong that ftp client refuses
to do port mode even when told to:

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
 ftp -d -v
Connected to (
220 ATAboy2-00330138 FTP V1.0 ready
Name ( ADMIN
331 User OK, need password
230 User logged in
---> SYST
215 UNIX Type: L8
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> sendport
Use of PORT cmds off.
ftp> sendport
Use of PORT cmds on.
----------------SO we are *definitely* using PORT mode
ftp> binary
---> TYPE I
200 TYPE command OK
ftp> put ATABoy2f_5030
local: ATABoy2f_5030 remote: ATABoy2f_5030
ftp: setsockopt (ignored): Permission denied
---> PASV
----------------- The fucker just sent a PASV - wheres the PORT
----------------- command????
500 Unsupported command/option
Passive mode refused.
ftp> quit
---> QUIT
221 Goodbye

See internal commentary

Additional info:
RH9 also affected.
Comment 1 Alan Cox 2004-05-02 19:46:14 EDT
Duplicated here
Comment 2 Alan Cox 2004-06-14 10:37:53 EDT
Did some more digging

- passive and sendport are not exclusive in Berkeley ftp. "passive"
turns off passive correctly.

I thus don't believe this is a bug.

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