FTP Server Question

bob332

Banned
Jan 25, 2002
597
0
0
okay,

when i put the ftp server (serv u, win2kpro) on port 21, all is good. when i change it to another port, say 17800, i get these weird messages. here is what happens when i have it on port 21:

Resolving host name **.***.***.***...
Connecting to (**.***.***.***).
Connected to (qdslppp167.phnx.uswest.net) -> IP: **.***.***.*** PORT: 21.
Socket connected waiting for login sequence.
220 *** Server 1 Ready... ***
USER ****
331 User name okay, need password.
PASS (hidden)
230 User logged in, proceed.
SYST
215 UNIX Type: L8
FEAT
211-Extension supported
MDTM
SIZE
SITE PSWD;EXEC;SET;INDEX;ZONE;CHMOD;MSG
REST STREAM
211 End
REST 100
350 Restarting at 100. Send STORE or RETRIEVE.
REST 0
350 Restarting at 0. Send STORE or RETRIEVE.
PWD
257 "/" is current directory.
Cached directory reloaded.

all is working okay and i can see the folders on the ftp on port 21.

here is what happens when i put it on port 17800:

Resolving host name **.***.***.***...
Connecting to (**.***.***.***).
Connected to (qdslppp167.phnx.uswest.net) -> IP: **.***.***.*** PORT: 17800.
Socket connected waiting for login sequence.
220 *** Server 1 Ready... ***
USER ****
331 User name okay, need password.
PASS (hidden)
230 User logged in, proceed.
SYST
215 UNIX Type: L8
FEAT
211-Extension supported
MDTM
SIZE
SITE PSWD;EXEC;SET;INDEX;ZONE;CHMOD;MSG
REST STREAM
211 End
REST 100
350 Restarting at 100. Send STORE or RETRIEVE.
REST 0
350 Restarting at 0. Send STORE or RETRIEVE.
PWD
257 "/" is current directory.
TYPE A
200 Type set to A.
PORT 10,0,0,10,9,222
530 Only client IP address allowed for PORT command.
PASV
227 Entering Passive Mode (10,0,0,10,9,223)
Opening data connection IP: 10.0.0.10 PORT: 2527.
LIST -aL
426 Transfer aborted.
530 Only client IP address allowed to connect to PASV socket.

i have the correct ports forwarded, the firewall is set to allow the ftp server to use any port and the ftp software will allow pasv tranfers. what could be causing this? this happens on any port besides 21. please help

thanks
 

bsobel

Moderator Emeritus<br>Elite Member
Dec 9, 2001
13,346
0
0
Your port command is being restricted (good!), read this over to understand why. It's likely something you can turn off in the configuration (do you really need to run this on a nonstandard port?)

Bill
 

bob332

Banned
Jan 25, 2002
597
0
0
bill,

thanks for the info. i would like to keep if off of port 21 because that port is the default ftp and i have been getting hit quite a bit, according to my ftp logs. but i may reconsider with the info you have given me, thanks again