A pair of unix programs, runnable on AIX, Solaris, or Linux, that allow me to tunnel an incoming tcp connection over telnet session to another system.
see enclosed zip
The server side program tunnelServer (see zip) must be runnable from an unprivileged user id and cannot be a tcp server (listen at a port) - it is proxying from its stdin/stdout to the outgoing tcp connection that it initiated.
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.
I'm looking for a low cost solution to the problem. If there are existing, open source tools that can form part of it that's fine. The solution may be entirely open source. It needs to be written in C, and run on Linux and AIX and Solaris.
The tunnelServer server side code has to be in C, or in straight (not using perl modules such as IO::SOCKET etc.) [url removed, login to view] perl.
I have more flexibility for the client side code -- it could be in perl or python, or even Java
Linux, AIX, Solaris