[plug] re: FTP Passive mode

Simon Scott sscott at iinet.net.au
Thu Jun 5 15:47:28 WST 2003


Newbie answer: I dont even know what Passive Mode is, but I do know that if
you are passing this through some form of iptables DNAT, you need to load the
ftp module so  it can track the connection properly

Just on the off chance Im somewhere in correct area ;)



> Trying to figure out why wu-ftp does not enter into passive mode using a ftp
client.  This is the output from tethereal:
> 
> 205.060000  192.168.3.1 -> 202.72.186.53 FTP Response: 257 "/var/www/html"
is current directory.
> 205.130000 202.72.186.53 -> 192.168.0.1  FTP Request: SYST
> 205.170000  192.168.3.1 -> 202.72.186.53 FTP Response: 215 UNIX Type: L8
> 205.240000 202.72.186.53 -> 192.168.0.1  FTP Request: PASV
> 205.290000  192.168.3.1 -> 202.72.186.53 FTP Response: 227 Entering Passive
Mode (192,168,0,1,132,61)
> 205.700000  192.168.3.1 -> 202.72.186.53 FTP Response: 227 Entering Passive
Mode (192,168,0,1,132,61)
> 206.420000 202.72.186.53 -> 192.168.0.1  FTP Request: PASV
> 206.460000  192.168.3.1 -> 202.72.186.53 TCP ftp > 23654 [ACK]
Seq=3606990096 Ack=161241881 Win=5608 Len=0
> 206.540000  192.168.3.1 -> 202.72.186.53 FTP Response: 227 Entering Passive
Mode (192,168,0,1,132,61)
> 208.220000  192.168.3.1 -> 202.72.186.53 FTP Response: 227 Entering Passive
Mode (192,168,0,1,132,61)
> 208.820000 202.72.186.53 -> 192.168.0.1  FTP Request: PASV
> 
> I have the site listed in the /etc/hosts.allow file with
> inftd:202.72.186.53:ALLOW
> 
> Anyone has any idea?  On the clients ftp app they have it set for passive
mode.
> 
> Thanks
> 
> 
> Jon L. Miller, MCNE, CNS
> Director/Sr Systems Consultant
> MMT Networks Pty Ltd
> http://www.mmtnetworks.com.au
> 
> "I don't know the key to success, but the key to failure
>  is trying to please everybody." -Bill Cosby
> 



More information about the plug mailing list