The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* sysctl_tcp_keepalive_time
@ 2007-08-16 10:55 Simon Peter
  2007-08-16 11:23 ` sysctl_tcp_keepalive_time Jesper Juhl
  0 siblings, 1 reply; 2+ messages in thread
From: Simon Peter @ 2007-08-16 10:55 UTC (permalink / raw)
  To: linux-kernel

Hi,

is there any reason why sysctl_tcp_keepalive_time (reflected
by /proc/sys/net/ipv4/tcp_keepalive_time) is set to 7200 seconds? Is
this specified somewhere?

Thanks,
Simon

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: sysctl_tcp_keepalive_time
  2007-08-16 10:55 sysctl_tcp_keepalive_time Simon Peter
@ 2007-08-16 11:23 ` Jesper Juhl
  0 siblings, 0 replies; 2+ messages in thread
From: Jesper Juhl @ 2007-08-16 11:23 UTC (permalink / raw)
  To: Simon Peter; +Cc: linux-kernel

On 16/08/07, Simon Peter <simon.peter@gmx.de> wrote:
> Hi,
>
> is there any reason why sysctl_tcp_keepalive_time (reflected
> by /proc/sys/net/ipv4/tcp_keepalive_time) is set to 7200 seconds? Is
> this specified somewhere?
>
RFC 1122, section 4.2.3.6 - http://www.faqs.org/rfcs/rfc1122.html

"
         4.2.3.6  TCP Keep-Alives

            Implementors MAY include "keep-alives" in their TCP
            implementations, although this practice is not universally
            accepted.  If keep-alives are included, the application MUST
            be able to turn them on or off for each TCP connection, and
            they MUST default to off.

            Keep-alive packets MUST only be sent when no data or
            acknowledgement packets have been received for the
            connection within an interval.  This interval MUST be
            configurable and MUST default to no less than two hours.
"

This page may also be of interrest to you :
http://www.uic.rsu.ru/doc/inet/tcp_stevens/tcp_keep.htm

Also see "man 7 tcp"


-- 
Jesper Juhl <jesper.juhl@gmail.com>
Don't top-post  http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please      http://www.expita.com/nomime.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-08-16 11:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-16 10:55 sysctl_tcp_keepalive_time Simon Peter
2007-08-16 11:23 ` sysctl_tcp_keepalive_time Jesper Juhl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox