Opened 11 years ago

Closed 11 years ago

Last modified 6 years ago

#3985 closed Bug report (rejected)

Entering PASV when account is Active

Reported by: robert Owned by:
Priority: normal Component: FileZilla Client
Keywords: Cc:
Component version: Operating system type: Windows
Operating system version: Windows XP SP2 + 2GB ram + Intel Core 2 Duo Conroe

Description (last modified by Tim Kosse)

I have an FTP account that can only be accessed using active FTP, but Filezilla enters PASV anyway.

Here are the account parameters:

host:entertainment-northwest.com
port:21
username and password withheld

servertype: default, autodetect
no bypass proxy
default local directory and default remote directory blank
no adjust server timezone

transfer settings / mode: active
no limit number of simultaneous connections

charset autodetect

This is a windows server running ftp service (lunarpages).

My hardware/software setup is follows:

  • Panda antivirus/firewall, applicable ports open, can connect to PASV ftp with no problems, filezilla set to inbound/outbound
  • windows xp sp2, intel core 2 duo conroe, 2gb ram, sata boot drive, sata optical, raid5 storage
  • network route:
    1. Intel(R) 82566DC Gigabit Network Connection, obtain IP address & DNS automatically
    2. D-Link DGS-2208 gigabit switch, unmanaged, no configuration, no dhcp or other features
    3. LinksKey LKR-604 broadband router, provides DHCP, ip address 192.168.0.1, WAN port to cable modem
    4. Motorola surfboard modem, SB5101

Status: Resolving address of entertainment-northwest.com
Status: Connecting to 74.50.25.62:21...
Status: Connection established, waiting for welcome message...
Response: 220 Microsoft FTP Service
Command: USER enter40
Response: 331 Password required for enter40.
Command: PASS *
Response: 230 User enter40 logged in.
Command: SYST
Response: 215 Windows_NT
Command: FEAT
Response: 211-Extended features supported:
Response: SIZE
Response: MDTM
Response: 211 END
Status: Connected
Status: Retrieving directory listing...
Command: PWD
Response: 257 "/" is current directory.
Command: TYPE I
Response: 200 Type set to I.
Command: PORT 192,168,0,101,12,32
Response: 500 Invalid PORT Command.
Command: PASV
Response: 227 Entering Passive Mode (74,50,25,62,225,55).
Command: LIST
Response: 425 Can't open data connection.
Error: Failed to retrieve directory listing

Change History (4)

comment:1 Changed 11 years ago by robert

I should mention applicable program settings here:

FTP: active, fallback to other transfer mode on failure

Active mode: ask operating system

Passive: fall back

FTP Proxy: none

comment:2 Changed 11 years ago by Tim Kosse

Description: modified (diff)
Resolution: rejected
Status: newclosed

You need to configure active mode properly, read http://wiki.filezilla-project.org/Network_Configuration

Also give this guide to the server administrator, only a stupid administrator disables passive mode.

comment:3 Changed 11 years ago by robert

Resolution: rejected
Status: closedreopened

When I use http://ip.filezilla.org/ip.php, I receive 127.0.0.1 as my address, probably because I have two levels of DHCP at my office, the outermost provided by the Motorola, and the innermost provided by the LinksKey. The motorola is very limited and only provides one DHCP address, this is the reason why there is a separate broadband router here. Altogether, there are about 9 computers hooked up to the switch and router.

The basic premise remains: Filezilla seems to have a bug which causes it to only use PASV even though active is specified.

comment:4 Changed 11 years ago by Tim Kosse

Resolution: rejected
Status: reopenedclosed

Read the article I linked. I have serious doubts your network is configured properly to forward FTP through two NAT devices.

The resolver address only returns 127.0.0.1 for programs other than FileZilla.

Active mode: ask operating system

You cannot use that behind NAT, you'd know that if you had read the article I had linked.

Note: See TracTickets for help on using tickets.