home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / sun / misc / 3923 < prev    next >
Encoding:
Text File  |  1992-08-25  |  2.5 KB  |  59 lines

  1. Newsgroups: comp.sys.sun.misc
  2. Path: sparky!uunet!haven.umd.edu!darwin.sura.net!mips!mips!decwrl!deccrl!news.crl.dec.com!pa.dec.com!engage.pko.dec.com!adomcc!richard
  3. From: richard@adomcc.enet.dec.com (Richard Munn)
  4. Subject: NCSA telnet to SUN goes to sleep
  5. Message-ID: <1992Aug26.043255.3898@engage.pko.dec.com>
  6. Sender: richard@adomcc (Richard Munn)
  7. Reply-To: richard@adomcc.enet.dec.com (Richard Munn)
  8. Organization: Digital Equipment Corporation
  9. Date: Wed, 26 Aug 1992 04:32:55 GMT
  10. Lines: 47
  11.  
  12.  
  13. --
  14. I have been using a shareware package called NCSA telnet (V2.3) to run
  15. telnet sessions from my PC. It works very very well except in one 
  16. instance.
  17.     
  18. I have found that if I connect to any UNIX machine and leave my
  19. session idle for a while,then come back I can resume as you would expect.
  20. However, if I do the same to a SUN, I find that the
  21. session goes to sleep. If you keep the session active all seems to be
  22. ok, but left for 10-15 minutes and it's good night session.
  23.             
  24. The strange thing is that if open a telnet session to the same SUN box
  25. again, almost immediately the first session wakes up and responds to
  26. everything to typed to it while the session was asleep. BTW, if I have two
  27. session open one to the SUn and one to another UNIX machine, if the SUN
  28. session goes to sleep the other one is quite OK.
  29.         
  30. If I do the same from any other UNIX machine to the SUN the session stays alive
  31. all the time, but then again there is a lot of other IP stuff on those machines
  32. aprt from telnet.
  33.     
  34. Looking through the source code to NCSA telnet,there is a curious
  35. comments in the bit of code that handles ACKs. It basically says that we
  36. Looking through the source code to NCSA telnet,there is a curious
  37. comments in the bit of code that handles ACKs. It basically says that we
  38. may get more ACK's than packets sent because of:
  39.  
  40. "4.2's habit of sending those damn keepalive packets out everywhere."
  41.              
  42. I assume it is referring to BSD 4.2. I know that NCSA telnet never
  43. sends out 'keepalive packets' and as far as I know, a keepalive is not
  44. required to keep a session open.
  45.  
  46. Just to test this out, I fired off a script that pinged the PC every minute
  47. and sure enough, the session never went to sleep.
  48.         
  49. My question then is, does anyone know if SUN-OS requires a keepalive
  50. packet to be sent out every so often ?
  51.  
  52.  
  53. ------------------------------------------------------------------------------
  54. Richard Munn
  55. Digital Services            E-mail: richard@adomcc.dec.com
  56. Digital Equipment Corp.            Phone: +61 8 235 7246
  57. Adelaide S.A. (ADO)        
  58. ==============================================================================
  59.