I have setup wu-ftpd 2.6.2.8 on my machine, non-passive mode works
great, but passive mode is not working. I have setup the ftpaccess
with the correct external IP address and a range of ports (which I
have opened in my router). When someone logs in and issues any
command in passive mode the client just sits there. If I telnet to
the T1 address
and use the FTP port and issue the PASV command, it just sits
there forever (I think it may eventualy come back with some kind
of 425 error).

(telnet 64.6.181.158 21)
230 User wbemuser logged in. Access restrictions apply.
TYPE I
200 Type set to I.
PASV

it just sits there after issueing the PASV command.

Now if I telnet to the internal ip addy on the FTP port, things
seem to work better. I issue the PASV command and I get the 227
response. If I then try to telnet to the ip and port specified in
the 227 response I get an error about port theft:

first telnet session (telnet 192.168.1.36 21):
230 User wbemuser logged in. Access restrictions apply.
TYPE I
200 Type set to I.
PASV
227 Entering Passive Mode (64,6,181,158,74,235)
NLST

In another telnet session I do:

telnet 64.6.181.158 19179

This connection is closed immediatly and in the first telnet
session I get

"425 Possible PASV port theft, cannot open data connection."

which I expect (and implies that I have the ports open in the
router correctly?).

In the router I have port 21 open as well as a range (19000-21000)
for the passive ports (specified in the ftpaccess file).

Anyway have any thoughts on what I could have done wrong?

thank you
-Jim  




 
                   


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to