home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.sun.misc
- 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
- From: richard@adomcc.enet.dec.com (Richard Munn)
- Subject: NCSA telnet to SUN goes to sleep
- Message-ID: <1992Aug26.043255.3898@engage.pko.dec.com>
- Sender: richard@adomcc (Richard Munn)
- Reply-To: richard@adomcc.enet.dec.com (Richard Munn)
- Organization: Digital Equipment Corporation
- Date: Wed, 26 Aug 1992 04:32:55 GMT
- Lines: 47
-
-
- --
- I have been using a shareware package called NCSA telnet (V2.3) to run
- telnet sessions from my PC. It works very very well except in one
- instance.
-
- I have found that if I connect to any UNIX machine and leave my
- session idle for a while,then come back I can resume as you would expect.
- However, if I do the same to a SUN, I find that the
- session goes to sleep. If you keep the session active all seems to be
- ok, but left for 10-15 minutes and it's good night session.
-
- The strange thing is that if open a telnet session to the same SUN box
- again, almost immediately the first session wakes up and responds to
- everything to typed to it while the session was asleep. BTW, if I have two
- session open one to the SUn and one to another UNIX machine, if the SUN
- session goes to sleep the other one is quite OK.
-
- If I do the same from any other UNIX machine to the SUN the session stays alive
- all the time, but then again there is a lot of other IP stuff on those machines
- aprt from telnet.
-
- Looking through the source code to NCSA telnet,there is a curious
- comments in the bit of code that handles ACKs. It basically says that we
- Looking through the source code to NCSA telnet,there is a curious
- comments in the bit of code that handles ACKs. It basically says that we
- may get more ACK's than packets sent because of:
-
- "4.2's habit of sending those damn keepalive packets out everywhere."
-
- I assume it is referring to BSD 4.2. I know that NCSA telnet never
- sends out 'keepalive packets' and as far as I know, a keepalive is not
- required to keep a session open.
-
- Just to test this out, I fired off a script that pinged the PC every minute
- and sure enough, the session never went to sleep.
-
- My question then is, does anyone know if SUN-OS requires a keepalive
- packet to be sent out every so often ?
-
-
- ------------------------------------------------------------------------------
- Richard Munn
- Digital Services E-mail: richard@adomcc.dec.com
- Digital Equipment Corp. Phone: +61 8 235 7246
- Adelaide S.A. (ADO)
- ==============================================================================
-