Working with a Gateway?
David Masterson (davidm@prism.kla.com)
Wed, 17 Aug 1994 14:24:07 -0700
I don't quite understand the explanation of how to use Ange-FTP with a gateway
in ange-ftp.el of GNU Emacs 19.25. This is, perhaps, because the gateway here
doesn't seem to match the description in the file. As I understand it,
Ange-FTP handles gateways by doing an rlogin and then having the gateway
handle the FTP session after which Ange-FTP will transfer the file back from
the gateway to the originating host. Our gateway, though, doesn't allow
logins for security reasons, but rather follows the following protocol (near
as I can determine):
1. Local host connects to the gateway on a special port.
2. Local host asks the gateway to set up a connection to a 'host' and tells
gateway what 'service' (FTP or Telnet) he'll be using.
3. The gateway will establish a connection to 'host' and relay the connection
through a port that the gateway tells the local host.
4. Local host then begins running the 'service' on that port as in:
$ ftp relayhost port
Our MIS department has given us a Perl script that does the above. Can
someone suggest where I should hack Ange-FTP to do the above (either by
calling the Perl script or issuing the commands directly)?
Thanks
--
==================================================================
David Masterson KLA Instruments
408-456-6836 160 Rio Robles
davidm@prism.kla.com San Jose, CA 95161
==================================================================
I only speak for myself -- it keeps me out of trouble