Relay
Copyright (C) Angus J. C. Duggan 1997-1998
Relay is a program primarily for debugging network clients and servers. It
forwards connections made to it on to a third party program, and can log the
messages exchanged across a connection to a file as it does so. It can also
forward connections to a telnet program, so that manual commands can be sent
to network servers.
Command line arguments are:
relay [-l[file]] [-r] port[:out] [host:port]
-l[file] Log messages to file. Normally messages are logging
in a cooked form, where binary data is replaced by
visible sequences enclosed in angle braces <>. If no
file is specified, log messages go to stdout.
-r Log messages in raw form (no translation)
port[:out] The local port on which relay will accept connections,
and the local port to which relay will bind the
outgoing connection (unbound if not specified).
host:port The remote host and port to which relay will forward
the connection. If this is not specified, relay will
wait for telnet connections and forward to those
instead. This allows you to debug servers by typing
commands directly at them.
THIS SOFTWARE COMES WITH *NO* WARRANTY, EITHER EXPRESS OR IMPLIED. USE AT
YOUR OWN RISK. THIS SOFTWARE IS UNSUPPORTED. THE AUTHOR RESERVES THE RIGHT TO
IMPLEMENT WHATEVER FEATURES HE DESIRES, AND ACKNOWLEDGES NO OBLIGATION TO
CONFORM TO ANY EXISTING OR FUTURE STANDARDS.
AJCD 30/5/97
Wrapped on 2nd October 1998 by angus@harlequin.com