View previous topic :: View next topic |
Author |
Message |
jtp755 l33t


Joined: 01 Sep 2003 Posts: 691 Location: USA
|
Posted: Sat Dec 20, 2003 6:38 pm Post subject: Pure-ftp and Passive FTP conflicts |
|
|
I had problems with passive ftp with pure-ftp like a week back and got it fixed but it seems only temporary. I have been trying to fix it for about a week now and cant get it so im posting. Sometimes i can connect and passive will work on the first time but when i switch dirs it wont work. Other times i can connect and passive wont work at all. I have the -p port#:port# set in the config and i have NAT commented out. i have also tried the unstable and i have just recently downgraded to the latest stable and it still doesnt work. Does anyone know what the problem could be or how i can fix it? I will post my config if nessaccery. TIA
If it matters i am using WS-FTP pro to connect. _________________ www.EternalFireProof.com
Registered Linux User #334610 |
|
Back to top |
|
 |
ikaro Advocate


Joined: 14 Jul 2003 Posts: 2527 Location: Denmark
|
Posted: Sun Dec 21, 2003 2:56 am Post subject: |
|
|
I use pure-ftpd too.
my setup is like this :
[router]---> [box]
10.0.0.1 <-> 10.0.0.2
etc/conf.d/pure-ftpd
Code: |
# Config file for /etc/init.d/pure-ftpd
##Comment variables out to disable its features, or change the values in it... ##
## This variable must be uncommented in order for the server to start ##
IS_CONFIGURED="yes"
## FTP Server,Port (separated by comma) ##
## If you prefer host names over IP addresses, it's your choice :
## SERVER="-S ftp.rtchat.com,21"
## IPv6 addresses are supported.
SERVER="-S 10.0.0.2,21"
#SERVER="-S 2001:730:11:36::2,21"
## Number of simultaneous connections in total, and per ip ##
MAX_CONN="-c 10"
MAX_CONN_IP="-C 4"
## Start daemonized in background ##
DAEMON="-B"
## Don't allow uploads if the partition is more full then this var ##
DISK_FULL="-k 90%"
## If your FTP server is behind a NAT box, uncomment this ##
USE_NAT="-N"
## Authentication
AUTH="-l mysql:/etc/pureftpd-mysql.conf -l unix -l puredb:/etc/pureftpd.pdb"
## Change the maximum idle time. (in minutes. default 15)
TIMEOUT="-I 15"
## Use that facility for syslog logging. It defaults to 'ftp'
## Logging can be disabled with '-f none' .
#LOG="-f facility"
## Misc. Others ##
MISC_OTHER="-A -j -R -E -X -w -H"
|
works fine here. _________________ linux: #232767 |
|
Back to top |
|
 |
jtp755 l33t


Joined: 01 Sep 2003 Posts: 691 Location: USA
|
|
Back to top |
|
 |
jtp755 l33t


Joined: 01 Sep 2003 Posts: 691 Location: USA
|
Posted: Mon Dec 22, 2003 4:12 am Post subject: |
|
|
passive ftp doesnt seem to work with your exact configuration. when i try to connect to my ftp using ws ftp i still timeout when trying to connect t the passive ftp ports. My ftp works fine. just the darn passive ftp wont work. _________________ www.EternalFireProof.com
Registered Linux User #334610 |
|
Back to top |
|
 |
ikaro Advocate


Joined: 14 Jul 2003 Posts: 2527 Location: Denmark
|
Posted: Mon Dec 22, 2003 11:07 am Post subject: |
|
|
try with another client, and you have ftp-data ports open in the firewall right ? ( or forwarded in the router )
iam using the latest version available: 1.0.16b _________________ linux: #232767 |
|
Back to top |
|
 |
UberLord Retired Dev


Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
Posted: Mon Dec 22, 2003 11:11 am Post subject: |
|
|
Some ftp clients have problems with passive ports when using SSH/TLS. Either that or they aren't using the protocol correctly - but they DO log in correctly.
The netkit-ftp client in gentoo is a good example of this.
SmartFTP for windows is another example.
lftp and FileZilla work fine though
BTW, I run ProFTPd and encountered a similar problem.
HTH |
|
Back to top |
|
 |
jtp755 l33t


Joined: 01 Sep 2003 Posts: 691 Location: USA
|
|
Back to top |
|
 |
|