Subject: Re: tty driver for reverse telnet (a better explanation)
To: Scott R. Burns <Scott.Burns@Netcontech.Com>
From: Steven M. Bellovin <smb@research.att.com>
List: netbsd-users
Date: 02/24/2002 17:50:24
In message <EPEKIOIJMEHCGAPCLFPMCEDBCOAA.Scott.Burns@Netcontech.Com>, "Scott R.
Burns" writes:
>I don't think I really need a lot of control of the tty settings
>sent to the other end.
>
>The devices on the other end are not actually modems, that
>was just my example. The devices will have a fixed set of
>serial settings set on the terminal servers serial port.
>All I really need is the stream of data sent down the ip pipe
>from the tty to the terminal server.
>
>We have done this numerous times using ip sockets directly
>on the application end, but this custom application cannot be
>modified and only talks to ttys. I thought this would be a good
>solution.
>
>Is this conceivably possible ?
>
Sure, by using ptys -- they already have full termios support... As I
(thought I) said in private mail, pkgsrc/misc/pty-redir is at least
part of what you want, coupled with either telnet or netcat.
--Steve Bellovin, http://www.research.att.com/~smb
Full text of "Firewalls" book now at http://www.wilyhacker.com