PORT command tainted by router or firewall.

Need help with FileZilla Client? Something does not work as expected? In this forum you may find an answer.

Moderator: Project members

Message
Author
gueri
500 Command not understood
Posts: 5
Joined: 2008-04-20 01:46
First name: gueri
Last name: alvarez

PORT command tainted by router or firewall.

#1 Post by gueri » 2008-04-20 05:18

Hi, my name is gueri, living in Sydney, Australia. I'm new to this forum and new to Filezilla as well, but I've installed the latest version,3.0.9.2 in my PC and trying to learn how to use it. My PC is a Dell desktop,Dimension 3000, Pentium 4, 1 GB ram. OS Windows XP, Home edition, SP3. Besides the Windows XP Firewall carry also McAffe Security Centre with its own Firewall.

I have read the FAQ. When I try to configure the FileZilla Server with Windows Firewall, I follow the instructions given in that page. I select the Exceptions tab, click on Add program, browse into C:\Program Files\FileZilla Server\ and double click on fzsftp.exe and then OK. It's the program, FileZilla FTP Cliente, not the executable file, fzsftp.exe, what is added to the exceptions list, and then I check it, and click OK.

But when I run now Filezilla's setting wizard this is its diagnostic:
Connecting to probe.filezilla-project.org
Response: 220 FZ router and firewall tester ready
USER FileZilla
Response: 331 Give any password.
PASS 3.0.9.2
Response: 230 logged on.
Checking for correct external IP address
IP 58.172.202.21 fi-bhc-cac-cb
Response: 200 OK
PREP 3706
Response: 200 Using port 3706, data token 886233492
PORT 58,172,202,21,14,122
Response: 502 Port mismatch. Tainted by router or firewall.
PORT command tainted by router or firewall.
Connection closed
Thus I do wonder whether it's McAfee's Firewall or the Windows Firewall, or both, the cause for that tainted command, or whether the cause lies with the external router.

Any help much appreciated,

gueri

User avatar
botg
Site Admin
Posts: 35508
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse

Re: PORT command tainted by router or firewall.

#2 Post by botg » 2008-04-20 08:40

Thus I do wonder whether it's McAfee's Firewall or the Windows Firewall, or both, the cause for that tainted command, or whether the cause lies with the external router.
Uninstall firewalls, plug your computer directly into the modem and everything will work.

gueri
500 Command not understood
Posts: 5
Joined: 2008-04-20 01:46
First name: gueri
Last name: alvarez

Re: PORT command tainted by router or firewall.

#3 Post by gueri » 2008-04-20 21:37

botg wrote:
Thus I do wonder whether it's McAfee's Firewall or the Windows Firewall, or both, the cause for that tainted command, or whether the cause lies with the external router.
Uninstall firewalls, plug your computer directly into the modem and everything will work.
meaning, uninstall firewalls every time I use filezilla and install them back afterwards every time again?

No, thanks. If that's the only solution available I would rather go without filezilla.

cheers!

gueri

gueri
500 Command not understood
Posts: 5
Joined: 2008-04-20 01:46
First name: gueri
Last name: alvarez

Re: PORT command tainted by router or firewall.

#4 Post by gueri » 2008-04-22 05:16

botg wrote: Uninstall firewalls, plug your computer directly into the modem and everything will work.
Hi botg, on seconds thoughts, I do realize that by uninstalling both firewalls, (my cable modem, at the time, has not a router and I'm not able to configure the firewalls), the setting wizard comes out with a successful report:
Connecting to probe.filezilla-project.org
Response: 220 FZ router and firewall tester ready
USER FileZilla
Response: 331 Give any password.
PASS 3.0.9.2
Response: 230 logged on.
Checking for correct external IP address
IP 58.172.202.21 fi-bhc-cac-cb
Response: 200 OK
PREP 1856
Response: 200 Using port 1856, data token 949586026
PORT 58,172,202,21,7,64
Response: 200 PORT command successful
LIST
Response: 150 opening data connection
Response: 200 Successful
QUIT
Response: 200 goodbye!
Connection closed
which makes me eager to continue testing Filezilla. My particular endeavour is to use Filezilla as my FTP facility to upload large files to MediaMax. Now MediaMax has launched its own MediaMax FTP Gateway to help its customers to that purpose of uploading big files, since the normal MediaMax uploader doesn't save any part of the file uploaded when it fails.

As for the guidelines from MediaMax to take advantage of Filezilla for this purpose are as follows: with the MediaMax FTP Gateway open, launch Filezilla, and enter as Host 'localhost', as Username, the same used in MediaMax, as Password, same as in MediaMax, and Port, 21. When I do that I get now the following reply:
Status: Resolving IP-Address for localhost
Status: Connecting to 127.0.0.1:21...
Error: Could not connect to server
Although at one moment I was connected and could upload the wanted file only to find out in the MediaMax FTP Gateway that it couldn't use port 21 because it was being used by another program.

I do feel that I'm closer to my goal, and any further help to achieve it would let me very much obliged,

cheers!

gueri

gueri
500 Command not understood
Posts: 5
Joined: 2008-04-20 01:46
First name: gueri
Last name: alvarez

Re: PORT command tainted by router or firewall.

#5 Post by gueri » 2008-04-22 05:50

Hi again, so sorry for my rather hapzardous and disorginazed butting in, but I do see now that I'm connected and it's trying to upload the wanted file. However it couldn't find the directory where the file it's.

The middle left panel of Filezilla shows the files contained on the Desktop, and from there I have the wanted one selected. But on the right hand side panel shows <Directory listing failed>, and when I tried to create a directory right there, it doesn't take the name I give it.
Status: Resolving IP-Address for localhost
Status: Connecting to 127.0.0.1:21...
Status: Connection established, waiting for welcome message...
Response: 220 MediaMax FTP Gateway
Command: USER gueri
Response: 331 Please enter your MediaMax password
Command: PASS *************
Response: 230 User gueri logged in
Status: Connected
Status: Retrieving directory listing...
Command: PWD
Response: 257 "/" is current directory
Command: TYPE I
Response: 200 type set
Command: PASV
Response: 227 Entering Passive Mode (127,0,0,1,4,76)
Command: LIST
Response: 150 ASCII data
Response: 550 The folder provided for list command was not found.
Error: Failed to retrieve directory listing
The file I'm trying to upload is a movie, One flew over the cuckoo's nest, and its format is .wmv.

cheers!

gueri

embrey
500 Command not understood
Posts: 2
Joined: 2009-04-29 07:03
First name: John
Last name: Embrey

Re: PORT command tainted by router or firewall.

#6 Post by embrey » 2009-04-29 07:07

I had the same error report.
I switched off the firewall but it made no difference
I ran the wizard and it said Your router or firewall has misleadingly modified the send address
Can anyone help?

User avatar
boco
Contributor
Posts: 26913
Joined: 2006-05-01 03:28
Location: Germany

Re: PORT command tainted by router or firewall.

#7 Post by boco » 2009-04-29 19:46

Nope, most of the time only removing or exchanging the router will work. I hate these smartass devices...
No support requests over PM! You will NOT get any reply!!!
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org

embrey
500 Command not understood
Posts: 2
Joined: 2009-04-29 07:03
First name: John
Last name: Embrey

Re: PORT command tainted by router or firewall.

#8 Post by embrey » 2009-04-30 05:46

But I don't use a router

palpack
500 Command not understood
Posts: 3
Joined: 2009-05-26 00:39
First name: Tim
Last name: Pal

Re: PORT command tainted by router or firewall.

#9 Post by palpack » 2009-05-26 00:46

I have the same problem on FZ client. I turned off all anti-virus and firewall. I plugged directly into my Verizon DSL modem, bypassing the wireless router, and still get the "PORT command tainted by router or firewall" message on connection wizard.

User avatar
boco
Contributor
Posts: 26913
Joined: 2006-05-01 03:28
Location: Germany

Re: PORT command tainted by router or firewall.

#10 Post by boco » 2009-05-26 07:17

embrey wrote:But I don't use a router
Are you sure? Many people have one without knowing. Several 'DSL modems' are in reality combo-devices. Example: If the package of your modem advertises an in-built firewall, then you have a router-modem combo.

Simple test: open a command line, type ipconfig. What does your computer report as IP address (IPv4)?
No support requests over PM! You will NOT get any reply!!!
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org

palpack
500 Command not understood
Posts: 3
Joined: 2009-05-26 00:39
First name: Tim
Last name: Pal

Re: PORT command tainted by router or firewall.

#11 Post by palpack » 2009-05-27 00:26

My IP is 192.168.1.46. What is the address telling us?

User avatar
boco
Contributor
Posts: 26913
Joined: 2006-05-01 03:28
Location: Germany

Re: PORT command tainted by router or firewall.

#12 Post by boco » 2009-05-27 05:50

That address is telling me you have a router or similar NAT device. 192.168.1.46 is in Class C private address range, it is invalid on the internet.

So there is a router (I guess in the modem) and it is tainting the ports (translating between inside and outside). While it can lead to problems with FTP, it does not neccessarily have to.

Most combo devices have an option called 'bridged mode'. This will bypass the router.
No support requests over PM! You will NOT get any reply!!!
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org

Shark
500 Command not understood
Posts: 2
Joined: 2009-05-28 20:29
First name: G
Last name: C

Re: PORT command tainted by router or firewall.

#13 Post by Shark » 2009-05-28 20:36

Hi there, I've tried it all but it's not working for me :(

In order I've:
opened the doors on my router (50000-50100)
Windows firewall down (also tried with setting exceptions)
Anti-virus down
Bridged the router!!
and...

I'm still getting the same "502 Port mismatch. Tainted by router or firewall" message

or, in a similar fashion, but using the Gene6 FTP:
* FTP response reading failed
* Closing connection #0

Is there any light at the end of the tunnel?
Thanks in advance to any brave heart for trying,
Shark

User avatar
boco
Contributor
Posts: 26913
Joined: 2006-05-01 03:28
Location: Germany

Re: PORT command tainted by router or firewall.

#14 Post by boco » 2009-05-28 20:42

Have you already completely read Network Configuration?
No support requests over PM! You will NOT get any reply!!!
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org

Shark
500 Command not understood
Posts: 2
Joined: 2009-05-28 20:29
First name: G
Last name: C

Re: PORT command tainted by router or firewall.

#15 Post by Shark » 2009-05-28 21:25

I guess I have? But maybe you can spread some lights on key passages whose importance I might have underestimated?
Thanks,
Shark

Post Reply