get FTP to lie about PORT?

From: Robert Helmer (robert@roberthelmer.com)
Date: Mon Dec 08 2003 - 18:29:01 EST


Hello,

I'm trying to connect to an IIS FTP server on a non-standard port
from a Solaris 8 SPARC machine behind a Cisco PIX firewall.

Passive mode does not seem to work at all, from any hosts I've tried.
I tested from a Linux box at a seperate location, if I allow the
IIS machine through the Linux box's firewall, then I can make an
active FTP connection. So far so good.

However, the Sun box has an internal IP address, whereas the Sun
machine doesn't. So, when I run ftp in debug mode, I'm seeing :

---> PORT 10,10,10,2,184,66
500 Invalid PORT Command.

Where the Sun box's IP is "10.10.10.2". I've tried using "quote" and
scripting out the raw FTP commands, but it's a hassle. Is there a way
to get FTP to lie about the PORT? Alternatively, any other way around
this?

Thanks,
Rob
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:27:39 EDT