From: paul@alantec.com (G. Paul Ziemba)
Newsgroups: comp.protocols.tcp-ip,comp.sys.sun.admin,comp.security.misc,comp.unix.admin
Subject: Announcing tcpr: proxy ftp/telnet through firewall
Message-ID: <paul.738617268@alantec.alantec.com>
Date: 28 May 93 19:27:48 GMT


Tcpr was announced on the firewalls mailing list at the beginning of
the year; after a few tweaks, it seems as if it's ready for a wider
distribution. The currrent release is 1.1.5.

[From the README file]

    Tcpr is a set of perl scripts that enable you to run ftp and telnet
commands across a firewall. Forwarding takes place at the application
level, so it's easy to control.

    Tcpr consists of an inetd-type server that interprets commands, 
a relay program, and a client that talks to the server.

    The client asks the server for a relay connection to some specified
remote host at a specified TCP port number; the server invokes the relay
program and returns a proxy port number to the client. The client then
invokes telnet or ftp, telling them to connect to the relay host at the
proxy port number. The relay program then transfers data between the
client host and the remote host.

    Special handling is implemented for the FTP data connection, so
everything works properly.



Where to get it

    Tcpr is available from the following servers via anonymous ftp:

	ftp.alantec.com		pub/tcpr
	ftp.cs.umb.edu		pub/security
	ftp.psg.com		pub/unix/netware
	grasp1.univ-lyon1.fr	pub/unix/network/tcpip/security
	ftp.denet.dk		pub/misc/tcpr


Platforms

    Tcpr is known to work on SunOS 4.1. I haven't tested it on other
platforms, so I can't say if it'll work right out of the box for them.
It's all perl, but the output format of the netstat and ifconfig commands
might vary, and there isn't much flexibility in the parser for that yet.



Acknowledgements

    The tcpr package is based on a relay program written by
Kazumasa Utashiro, <utashiro@sra.co.jp>. The relay program originally
was to be invoked manually on the relay host, giving a port number which
the user then used as an argument to the ftp or telnet program.

    I modified the relay program to select an outgoing interface
based on some simple routing computations, and wrote a client and server
to automate the process.

    Many thanks to the maintainers of the ftp sites mentioned above,
listed in reverse alphabetical order (-:

	Christophe.Wolfhugel
	John P. Rouillard
	Kim H|glund
	Randy Bush

-- 
Paul Ziemba, software archaeologist: paul@alantec.com	alantec!paul
    "The reasonable man adapts himself to the world; the unreasonable one
persists in trying to adapt the world to himself. Therefore, all progress
depends on the unreasonable man." - George Bernard Shaw

