> From: ylee @
com (Ying-Da Lee)
> To: firewalls @
COM, pjh70 @
com, ylee @
> Subject: Re: How can I use PASV?
> >The guys that put socks on our firewall say they've configured it to refuse
> >all incoming tcp connections. (I don't have personal knowledge of that though).
> If the governing router filters out incoming tcp connections to the
> firewall host, then indeed you would need to use the PASV mode for ftp.
> But that would apply to your regular ftp as well. So, if you can use
> ftp on the firewall host without PASV, you won't need that in your
> SOCKSified ftp either. Otherwise you would really need PASV mode.
> Ying-Da Lee
Well regular ftp works from the firewall, but until just a minute ago
using socks for ftp always hung on the data connection. I've got pasv
working now and everything is great! Thanks especially to Francis Dupont
and smb @
com, who understood what I was asking and were a
great help with sample code...it turned out that my only problem was
that I had to move the connect from dataconn() to initconn(), i.e. do the
connect on the data channel before the request was made on the control
These opinions are mine, and not Amdahl's (except by coincidence;).
~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~
/ | | (\ \
| Patrick J. Horgan | Amdahl Corporation | \\ Have |
| pjh70 @
com | 1250 East Arques Avenue | \\ _ Sword |
| Phone : (408)992-2779 | P.O. Box 3470 M/S 253 | \\/ Will |
| FAX : (408)773-0833 | Sunnyvale, CA 94088-3470 | _/\\ Travel |
\ | | \) /
~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~