Subject: Re: Protecting telnet, w/o modifying client or server.
To: Richard Rauch <rkr@olib.org>
From: Stefan Schumacher <stefan@net-tex.de>
List: netbsd-help
Date: 01/25/2003 21:52:01
On Sat, 25 Jan 2003, Richard Rauch wrote:


> On Sat, Jan 25, 2003 at 12:31:23PM -0500, James K. Lowden wrote:
> > On Sat, 25 Jan 2003 05:47:28 -0600, Richard Rauch <rkr@olib.org> wrote:
> > > I'd like to take an existing telnet based system and, without changin=
g
> > > the client or server, wrap the session in some kind of encryption.
> >
> > Hi Richard,
> >
> > You're going to have to change *something* on the server, unless you
> > invent magic crypto beads that unencrypt themselves on delivery....
>
> Here, "server" as in the counterpart to "client" (software).
>
> One way that this could be done is to set up a local program and another
> on the same machine as the server software.  You would telnet to
> the localhost (parameter to your client software, not a change to
> it) and the local software wraps your message up in encryption and
> sends it to its counterpart on the machine where the server process
> lives.  The counterpart decrypts and does a localhost telnet.

You can tunnel a connection with ssh, I use it to connect to the newsserver
of my university:

$ ssh -2 -C  USER@connect6.urz.uni-magdeburg.de \
          -L 50000:news.cs.uni-magdeburg.de:119

I log into a public accessible Linuxbox via ssh and forward the News port o=
f the
newsserver to my local port 50000.

I think you can use it in a way that you setup a ssh portforward to the MUD=
 Server
listening at localhost of the server and connect a MUD-Client to the forwar=
ded port.

Or you take something like AiSSLTelnet which provides SSL encryption
(/usr/pkgsrc/security/AiSSLtelnet/)
--=20
Sch=F6n, m=F6gen die Zensoren auch verschwinden, es wird immer Leute geben,=
 die
nicht anders sind als sie. Es ist ein gro=DFer Irrtum, wenn man glaubt, da=
=DF nur
im fernen Altertum B=FCcher verbrannt und Literaten lebendigen Leibes begra=
ben
wurden. - "Kyokutei Bakin" in Ryunosuke Akutagawas "Versunkensein des Dicht=
ers"