I modified our telnet proxy here to automatically connect certain users
to a machine while allowing other users full access to the telnet
gateways functionality. Sorry, I can't give out the code, but you
can find out which host the client is coming from by calling getpeername()
and then you can force a command in the usercmd() function of TIS
FWTK by using a sprintf(buf, "connect %s", desthost) at the beginning
rather than prompting the user for a telnet gateway command. I hope
this helps.
-------------------------------------------------
#include <std_disclaimer.h>
/* Sean Fuller <fuller @
hap .
arnold .
af .
mil> */
|
|