home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.wizards
- Path: sparky!uunet!mcsun!sunic!aun.uninett.no!news.uit.no!staff.cs.uit.no!orjanr
- From: orjanr@staff.cs.uit.no (Orjan Robertsen)
- Subject: Re: Please explain...
- Keywords: Telnet, pseudo-terminals, sockets
- References: <1992Nov18.190632.13873@news.uit.no> <1992Nov20.093151.19989@thunder.mcrcim.mcgill.edu> <1ek7bvINNj50@early-bird.think.com>
- Sender: news@news.uit.no (USENET News System)
- Organization: University of Troms°
- Date: Mon, 23 Nov 1992 15:58:41 GMT
- Message-ID: <1992Nov23.155841.3387@news.uit.no>
- Lines: 37
-
- First of all, thanks to those who took the time to send replies...
-
- I have found the reason for my troubles with telnetd.
-
- As most of the replies pointed out to me, normally all the information
- forwarding between the network (socket) and the master side of the pty
- is done by telnetd.
-
- This is not the case in my system. I'm sorry I didn't include
- a description of my environment. I'm running under HP-UX 8.07, and as
- Barry Margolin says in his reply, some systems may have functionality that
- allows direct connection between two stream modules. This is what happens
- in my case. HP-UX gives the opportunity to connect the slave side of the pty
- directly to the socket. This effectivly disconnects the telnetd from any
- further communication, and explains why monitor doesn't show any telnetd
- activity.
-
- The software that takes over the forwarding is in HP-UX called NVS = Network
- Virtual Terminal via sockets (server end). This software resides whitin the
- kernel, so that scheduling overhead of telnetd isn't longer a issue.
-
- As for monitor, this is an exellent piece of software giving the oppurtunity
- to monitor most of what a machine/process is doing. My monitor wasn't broken,
- and it is very good for monotpting all kinds of I/O :-)
-
- Solution: HP-UX uses NVS to merge master pty directly with socket, therby
- bypassing the normal sosend() soreceive() routines. The software that is used
- instead of telnetd runs whithin the kernel. This speeds up telnet by getting
- rid of telnetd scheduling. This may be a vital speedup if your operating system
- is running on a terminal server with say 500 terminals....
-
- Thanks again
-
- --
- //// ╪rjan W. Robertsen |e-mail : orjanr@staff.cs.uit.no////
- ///Dept. of Computer Science, University|Home : +47-83-82897 ///
- // of Tromsoe, N-9000 TROMS╪, NORWAY |Phone/Fax: +47-83-44053/44580 //
-