tcpbroker 1.1 review

Download
by rbytes.net on

Tcpbroker does TCP port forwarding with a twist: it connects two incoming sockets together

License: GPL (GNU General Public License)
File size: 0K
Developer: Dr. Tom
0 stars award from rbytes.net

Tcpbroker does TCP port forwarding with a twist: it connects two incoming sockets together. Tcpbroker allows you to telnet out from behind a firewall to another system also behind a firewall via a proxy host running the broker.

The regular version does SRP authentication, and so needs a special client, brokerclient. brokerclient just connects to the remote port and begins the client side authentication. After that it just passes data through. The default username is "broker" and the passphrase is "nakaniau" (Japanese for "meet in the middle"). The passphrase can be set with tphrase from the libtinysrp distribution system.

The tinysrp protocol currently doesn't do synchronization, so the broker's authentication code is slightly more complicated than one function call... But the broker needs to do synchronization anyway to determine which end of the connection to authenticate. Client synchronization is necessary when going through a proxy, where there is a preamble of commands to the proxy/gateway server, and the proxy can return arbitrary junk. Currently, the preamble is hardcoded (off by default); see the comments in brokerclient.c.

tcpbroker 1.1 keywords