Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

TCP keepalive question

0 views
Skip to first unread message

Kurt Matthys

unread,
Sep 27, 1993, 11:28:30 AM9/27/93
to
I was in a discussion recently about keepalives and RFC1122 and we
had a question regarding keepalives and the intent of 1122.

At the bottom of page 101 it states "Consequently, if a keep-alive
mechanism is implemented it MUST NOT interpret failure to respond to
any specific probe as a dead connection". The question is: is the
intent of keepalives to abort connections to dead hosts, or is it to
abort connections to rebooted hosts or a host that has aborted its
end of the connection?

The reasoning here is that if a keepalive is sent to a rebooted
host the sender's connection will be correctly aborted. However, if
no response is received to the keepalive (either due to network
problems, dead host, or the host requires data with the keepalive)
the sender cannot know that the connection should be aborted (this is
a restatement of the obvious). One impact of the latter option is
that orphaned connections will probably be cleaned up sooner than
with the former, especially if the remote host is a PC that the user
has turned off for the night.

When 1122 used the phrase "any specific probe" was the intent that a
keepalive should abort the connection after not receiving a response
to a number of keepalives, or are keepalives never supposed to abort
the connection due to lack of response? I realize that keepalives
are a contentious issue so I am trying to find out if there is a
"correct" way to implement them.

Thanks in advance,

Kurt----------------------------------------------------------------------
Kurt Matthys
Unisys Corp Tel: (612) 635-5693
M.S. 4123 Fax: (612) 635-7523
P.O. Box 64942 email: ku...@rsvl.unisys.com
St. Paul, MN 55164 0942
----------------------------------------------------------------------

0 new messages