From owner-freebsd-questions@FreeBSD.ORG Sun Aug 10 06:03:58 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F362837B401 for ; Sun, 10 Aug 2003 06:03:57 -0700 (PDT) Received: from daimi.au.dk (daimi.au.dk [130.225.16.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id BE3C943F85 for ; Sun, 10 Aug 2003 06:03:56 -0700 (PDT) (envelope-from djn@daimi.au.dk) Received: from zits (localhost [127.0.0.1]) by daimi.au.dk (8.11.7/8.11.7) with ESMTP id h7AD3r927270 for ; Sun, 10 Aug 2003 15:03:54 +0200 From: Daniel Nielsen To: freebsd-questions@freebsd.org Date: Sun, 10 Aug 2003 15:04:27 +0200 User-Agent: KMail/1.5.3 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200308101504.27854.djn@daimi.au.dk> X-Virus-Scanned: by amavisd-milter (http://www.amavis.org/) Subject: tcp keepalive? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Aug 2003 13:03:58 -0000 Hi. I'm behind a NAT (over which I have no control), And it seems to kill idle tcp connections quite fast. Is there anyway to make freeBSD 5.1 send tcp keepalives with smaller intervals? It was possible in linux with sysctl net/ipv4/tcp_keepalive_time=300... In freeBSD I have not been able to locate the equivalent option. Any help is appreciated. /Daniel -- There are no great men, only great challenges that ordinary men are forced by circumstances to meet. -- Admiral William Halsey