Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problems with PASV on vsftpd
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Chimpen
n00b
n00b


Joined: 26 Apr 2004
Posts: 14
Location: Sweden

PostPosted: Tue Jun 08, 2004 10:14 pm    Post subject: Problems with PASV on vsftpd Reply with quote

The main server on port 21 (passive range 30000 - 30099) works as it should. It's started with xinet.d
The other server on port 1021 (passive range 30100 - 30200) I can get in using PORT but PASV fails. It's started stand alone.

I get the following using CuteFTP 5.0 XP from outside the firewall.

Code:
STATUS:>        Connecting to server.domain.com (ip = 222.22.22.222)
STATUS:>        Connected. Authenticating...
COMMAND:>       USER XXX       
               331 Please specify the password.
COMMAND:>       PASS ******** 
               230 Login successful.
STATUS:>        Login successful
COMMAND:>       TYPE I 
               200 Switching to Binary mode.
COMMAND:>       REST 100       
               350 Restart position accepted (100).
COMMAND:>       REST 0 
               350 Restart position accepted (0).
STATUS:>        This site can resume broken downloads
COMMAND:>       PWD   
               257 "/"
COMMAND:>       TYPE A 
               200 Switching to ASCII mode.
STATUS:>        Retrieving directory listing...
COMMAND:>       PASV   
               227 Entering Passive Mode (192,168,100,2,117,173)
COMMAND:>       LIST
STATUS:>        Connecting data socket...     
               425 Failed to establish connection.
ERROR:>         Failed to establish data socket
ERROR:>         File error


I found an option called "Force RFC compliant PASV mode", and when I tried it, I got the following:

Code:
STATUS:>       Connecting to server.domain.com (ip = 222.22.22.222)
STATUS:>        Connected. Authenticating...
COMMAND:>       USER XXX       
               331 Please specify the password.
COMMAND:>       PASS ******** 
               230 Login successful.
STATUS:>        Login successful
COMMAND:>       TYPE I 
               200 Switching to Binary mode.
STATUS:>        This site can resume broken downloads
COMMAND:>       PWD   
               257 "/"
COMMAND:>       TYPE A 
               200 Switching to ASCII mode.
COMMAND:>       REST 0 
               350 Restart position accepted (0).
STATUS:>        Retrieving directory listing...
COMMAND:>       PASV   
               227 Entering Passive Mode (192,168,100,2,117,231)
STATUS:>        Connecting data socket...
ERROR:>         Failed to establish data socket
COMMAND:>       LIST   
               421 Timeout.
ERROR:>         Can't initiate data transfer
STATUS:>        Retrieving directory listing...
COMMAND:>       PASV
STATUS:>        Error opening data socket


I've forwarded port 21, 1020, 1021 and 30000 - 30200 TCP to the server. Anyone have an idea what might be the problem?
_________________
"Once the rockets are up, who cares where they come down? That's not my department." - Wernher von Braun
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum