From owner-freebsd-net@FreeBSD.ORG Thu Mar 27 07:46:52 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 764EB37B401 for ; Thu, 27 Mar 2003 07:46:52 -0800 (PST) Received: from seraph3.grc.nasa.gov (seraph3.grc.nasa.gov [128.156.10.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id BB53943F85 for ; Thu, 27 Mar 2003 07:46:51 -0800 (PST) (envelope-from fmfran@jamaica.lerc.nasa.gov) Received: from lombok-fi.lerc.nasa.gov (lombok-fi.lerc.nasa.gov [139.88.112.33]) by seraph3.grc.nasa.gov (Postfix) with ESMTP id 01D456BA4E for ; Thu, 27 Mar 2003 10:46:50 -0500 (EST) Received: from jamaica.lerc.nasa.gov (IDENT:z7//p1atBNez4LPn76b6trjVqNmddK+j@jamaica.lerc.nasa.gov [139.88.38.84]) h2RFko7h012329; Thu, 27 Mar 2003 10:46:50 -0500 (EST) Received: (from fmfran@localhost) by jamaica.lerc.nasa.gov (8.11.6/8.11.6) id h2RFkok18700; Thu, 27 Mar 2003 10:46:50 -0500 Date: Thu, 27 Mar 2003 10:46:49 -0500 From: Fran Lawas-Grodek To: Mike Silbersack Message-ID: <20030327104649.B18679@jamaica.grc.nasa.gov> References: <20030326134823.A7029@jamaica.grc.nasa.gov> <20030326130005.A2075@odysseus.silby.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20030326130005.A2075@odysseus.silby.com>; from silby@silby.com on Wed, Mar 26, 2003 at 01:02:10PM -0600 X-Spam-Status: No, hits=-19.4 required=5.0 tests=AWL,EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT, REFERENCES,REPLY_WITH_QUOTES,USER_AGENT_MUTT autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) cc: freebsd-net@freebsd.org cc: Diepchi.T.Tran@nasa.gov Subject: Re: persistent tcp connection? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Fran.Lawas-Grodek@nasa.gov List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Mar 2003 15:46:53 -0000 Silby, The "route delete" command did the trick. Thank you very much! Fran Lawas-Grodek ________________________________________________________________ Frances J. Lawas-Grodek | NASA Glenn Research Center | Fran.Lawas-Grodek@nasa.gov 21000 Brookpark Rd, MS 142-4 | phone: (216) 433-5052 Cleveland, Ohio 44135 | fax : (216) 433-8000 ________________________________________________________________ On Wed, Mar 26, 2003 at 01:02:10PM -0600, Mike Silbersack wrote: > > On Wed, 26 Mar 2003, Fran Lawas-Grodek wrote: > > > Does anyone know if there a sysctl parameter or kernel option that > > would "clear out" any memory of a previous tcp connection? We've > > played with the following sysctl parameters, and these are what > > they are currently set -- > > What you're looking for are the route metrics, stored in the routing > table. Use "netstat -nar" to see which routes have been cached. You > should be able to delete the metrics associated with a cloned route by > doing "route delete ipaddress". > > > net.inet.tcp.keepidle: 14400 > > net.inet.tcp.keepintvl: 150 > > net.inet.tcp.always_keepalive: 1 > > These would have nothing to do with what you're seeing. Keepalive only > applies to established connections which are sitting idle. As you are > disconnecting and reconnecting, only the route metrics are relevant. > > Mike "Silby" Silbersack