Subject: Re: Linux pseudo pty
To: Greywolf <greywolf@starwolf.com>
From: Darren Reed <darrenr@reed.wattle.id.au>
List: tech-kern
Date: 02/15/2001 20:03:55
In some email I received from Greywolf, sie wrote:
> On Thu, 15 Feb 2001, Darren Reed wrote:
> 
> # 
> # In some email I received from Greywolf, sie wrote:
> #
> # > hands all the back/forth communication to the kernel directly.  Since
> # > the ssh processing layer is not built into the kernel, sshd uses
> # > BSD-style ptys and has to remain alive and tend to the encryption.
> # 
> # You're confusing technology here.
> 
> Figures.
> 
> # The passing of data between TCP connections for telnet/rlogin and the
> # pty is possible because both "endpoints" are STREAMS in the Solaris
> # environment.  The code which actually does this is NOT trivial - RTFS.
> # For starters, there is a telnet kernel module which does all the passing
> # and what not.
> 
> I don't happen to have a convenient copy of the FS to read, or I'd go
> check that out.  Of course, Solaris has become something of an ugly
> bloated beast, even more so with the advent of 2.8.

You can sign up and d/l the source to 2.8 if you so desire, so long as
you accept their licensing requirements.  You might be surprised about
"bloat" if you actually go and read the source, etc.  They deliberately
don't engineer an installed system to run in 32MB,

Darren