TRelay is a program for relaying tcp/udp traffic. It is capable of:
TRelay has a command line interpreter. Here is an example session (italic text is text that has been typed in):
unixprompt% ./trelay trelay version 1.2, Copyright 2010 Tomas Abrahamsson <tab@lysator.liu.se> trelay comes with ABSOLUTELY NO WARRANTY; for details type `show warranty'. This is free software, and you are welcome to redistribute it under certain conditions; type `show copying' for details. For help, type `help'. > start tcp-*:2222-localhost:22 {bwlimit,{56700,"bps"}} OK ==> 0 > start tcp-127.0.0.1:2244-localhost:22 OK ==> 1 > list Relays: 0 tcp-*:2222-localhost:22 {bwlimit,{56700,"bps"}} No open connections 1 tcp-127.0.0.1:2244-localhost:22 No open connections > save f OK: ok. > stopall OK. All relays stopped: stopped > list There are no running relays. > load f OK: ok. > list Relays: 2 tcp-*:2222-localhost:22 {bwlimit,{56700,"bps"}} No open connections 3 tcp-127.0.0.1:2244-localhost:22 No open connections > quit Exiting. unixprompt%
Download the latest version: trelay-1.2.tar.gz (27 kB).
TRelay is written in Erlang, so you might need to download and install a recent copy of Erlang on your machine first.
TRelay uses rebar
as build system. Unless you already have it installed, to get started,
just download the rebar self-contained escript and put it in
your $PATH
.
Tomas Abrahamsson <tab@lysator.liu.se>.
TRelay is distributed under the GNU General Public License.