I remember reading a piece of source code, was it ftp or ftpd, where
port 20 was commented out, and a 0 was inserted instead, so the system
will create its own port.
the PORT command, as I understand it, is used when the ftp-server
establishes a data-connection to the ftp-client, with the selected port
as target address. so you don't know which port is going to be used
locally.
and second, if you have configured your firewall in a way that only
allows packets with SYN=1 out your firewall and ACK=1 into your firewall,
then you cannot use non-passive ftp-mode, since you cannot connect
through your fireall from outside. (this is what I meant with "closed"
firewall)
/herp
herp@wildsau.idv.uni-linz.ac.at
rosmanith@edvz.uni-linz.ac.at