[CentOS] GUI FTP

John R Pierce pierce at hogranch.com
Mon Sep 29 16:29:41 UTC 2008


Gopinath Achari wrote:
> PASV
> 227 Entering Passive Mode (192,168,1,40,233,89)
> PORT 192,168,1,40,233,89
> 500 Illegal PORT command.


**I didn't think you used a PORT command when doing a PASV transfer, the 
address and port was given by the SERVER in the 227 response to the 
PASV.****  However, **that appears to be a perfectly legitimate PORT 
command.    192.168.1.40 is the IP, (233,89) is the port in  a split 
decimal notation (233*256 + 89 == **59737, so its port 59737).    **
**

Is there any NAT translation going on between the client and the 
server?   FTP and NAT is messy at best.

btw, the log session you sent shows no signs of an 'upload', just a 
directory listing.
**


More information about the CentOS mailing list