The Javatm Telnet Application/Applet: SSH Plugin

© 1996-2000 Matthias L. Jugel and Marcus Meißner

Version 2.0 / Java 2 and 1.1.x
Available under GNU General Public License

Homepage Applet Test Download Documentation Users / Opinions

 relayd/mrelayd

All Java Applets have several security restrictions that prevent a random applet from doing damage on your computer or on the network.

Due to this reason it is not possible to open a telnet/ssh connection to any other machine then the one the applet was downloaded from (the webserver).

Sometimes your application is not running on the webserver, in these cases you need some kind of forwarder.

Any program, tool or firewall configuration that forwards connections going to a specified port on the webserver to your real targethost and port will do.

We have supplied to simple tools that establish that portforwarding.

They run on the webserver  (you will need permission from its system administrator).
 

Single Relay Demon

The first one is the single relaydemon. It can have just one targethost and -port (but it can be used by multiple users at the same time).

It is started on the webserver host by running:

./relayd <localport> <targethost> <targetport>

In the applet you only set the parameter Socket.port to <localport>. <targethost> and <targetport> are the host where the application is.

<localport> can be choosen freely and should be above 1024.
 

Multiple Relay Demon

This one allows multiple users going to multiple targets (only needed if you have more than one access point). If you have just one targethost and targetport, the single relay demon above works as well!

It is started on the webserver host by running:

./mrelayd

It listens on port 31415 by default.

In the applet you have to change the parameters:

Socket.host  to the target host you want to connect to.
Socket.port   to the target port you want to connect to.
Socket.relay  to the webserver address.
Socket.relayPort to 31415.

(Note: Both relay demons impose a security risk. Always clear their use with your administrator.)

 

Additional Programmer Documentation is available:
 
tools/relayd.c
The source of the single host relay.
tools/mrelayd.c
The source of the multi-host relay.

You can download the relay package from our download page!
 

Copyright 1996-2000 Matthias L. Jugel, Marcus Meißner
$Id: relayd.html,v 1.4 2000/09/04 11:18:15 leo Exp $