LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Proftpd+PASV+Port21 (https://www.linuxquestions.org/questions/linux-networking-3/proftpd-pasv-port21-329276/)

Jon Doe 06-01-2005 02:47 PM

Proftpd+PASV+Port21
 
I got an odd problem.
I've set this up before with no problems but this time is different.

I have tried proftpd 1.2.10 and 1.3.0rc1 on Fedora Core 3 with SELinux disabled.
I use a standard default conf file except for the following additions:

PassivePorts 1052 1060
MasqueradeAddress my.ip.add.ress
RequireValidShell off
UseReverseDNS off
IdentLookups off

I am of course forwarding the correct ports on my router to my local IP of the FTP server.

Now,
If I put the server on a non standard port, such as 1021, this works
perfectly. It follows the rules of the line in my conf file and connects on ports 1052 through 1060.

As soon as I put the server on port 21, it chooses a random PASV port to connect on, usually very high in the 60000 range. There is no pattern, its as if it is ignoring the passiveport line but still running in PASV mode
.
I have tried moving the passiveport and masqueradeaddress lines above and below the port directive with no success. I don't see anything in the log or debug mode of interest but I would be willing to post if anyone is interested.

I have a feeling this is a known thing and I just can't seem to find the answer.
Thanks to any replies.
Cheers.


:scratch:


All times are GMT -5. The time now is 12:58 AM.