From owner-freebsd-current Fri Jun 4 12:31:51 1999 Delivered-To: freebsd-current@freebsd.org Received: from ns.mt.sri.com (unknown [206.127.79.91]) by hub.freebsd.org (Postfix) with ESMTP id 7DC4215461 for ; Fri, 4 Jun 1999 12:31:30 -0700 (PDT) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.8/8.8.8) with SMTP id NAA20316; Fri, 4 Jun 1999 13:31:21 -0600 (MDT) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id NAA28493; Fri, 4 Jun 1999 13:31:20 -0600 Date: Fri, 4 Jun 1999 13:31:20 -0600 Message-Id: <199906041931.NAA28493@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Poul-Henning Kamp Cc: dg@root.com, "John R. LoVerso" , current@FreeBSD.ORG Subject: Re: net.inet.tcp.always_keepalive on as default ? In-Reply-To: <5419.928524477@critter.freebsd.dk> References: <199906041824.LAA29444@implode.root.com> <5419.928524477@critter.freebsd.dk> X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > How about this then: > > net.inet.tcp.always_keepidle: 86400 /* new variable */ > net.inet.tcp.always_keepintvl: 64800 /* new variable */ > net.inet.tcp.keepidle: 14400 > net.inet.tcp.keepintvl: 150 > net.inet.tcp.always_keepalive: 1 > > This will have all sockets have keepalives, but if the program > specifically sets keepalives, it gets the shorter timeout. That's essentially what I proposed a couple days ago. Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message