From owner-freebsd-net Tue Jun 2 10:40:32 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA06803 for freebsd-net-outgoing; Tue, 2 Jun 1998 10:40:32 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from send1c.yahoomail.com (send1c.yahoomail.com [205.180.60.38]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id KAA06788 for ; Tue, 2 Jun 1998 10:40:17 -0700 (PDT) (envelope-from omenzel@yahoo.com) Message-ID: <19980602174132.24827.rocketmail@send1c.yahoomail.com> Received: from [209.109.228.70] by send1c; Tue, 02 Jun 1998 10:41:32 PDT Date: Tue, 2 Jun 1998 10:41:32 -0700 (PDT) From: Oliver Menzel Subject: Decreasing MSL value To: FreeBSD NET MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hello, Im considering decreasing the default MSL value so that my tcp connections exit faster from the TIME_WAIT state Would this be right way to do this? in /usr/src/sys/netinet --- tcp_timer.orig.h Tue Jun 2 13:30:40 1998 +++ tcp_timer.h Tue Jun 2 13:30:55 1998 @@ -87,7 +87,7 @@ /* * Time constants. */ -#define TCPTV_MSL ( 30*PR_SLOWHZ) /* max seg lifetime (hah!) */ +#define TCPTV_MSL ( 20*PR_SLOWHZ) /* max seg lifetime (hah!) */ #define TCPTV_SRTTBASE 0 /* base roundtrip time; if 0, no idea yet */ #define TCPTV_RTOBASE ( 3*PR_SLOWHZ) /* assumed RTO if no info */ Another words set the TCPTV_MSL to 20 seconds, thus lowering 2MSL for TIME_WAIT to 40s from 60s. TIA Oliver _________________________________________________________ DO YOU YAHOO!? Get your free @yahoo.com address at http://mail.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message