LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-01-2005, 02:47 PM   #1
Jon Doe
LQ Newbie
 
Registered: Jul 2004
Posts: 16

Rep: Reputation: 0
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.


 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
PASV mode connection error in proftpd Kerr Linux - Software 2 07-05-2004 04:27 AM
proftpd and pasv problem mrsolo Linux - Networking 3 04-16-2004 02:59 PM
pasv mode dica Linux - Networking 3 04-15-2003 09:09 AM
ProFTPD+PASV+non standard port Code_Zero Linux - Software 3 08-05-2002 03:39 PM
Iptables + PASV jrmann1999 Linux - Networking 0 11-30-2001 04:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:04 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration