home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / unix / wizards / 4855 < prev    next >
Encoding:
Text File  |  1992-11-23  |  2.3 KB  |  50 lines

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