From owner-freebsd-questions@FreeBSD.ORG Sun Aug 10 06:17:54 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 0A04037B401 for ; Sun, 10 Aug 2003 06:17:54 -0700 (PDT) Received: from void.xpert.com (mailhost.xpert.com [199.203.132.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2C68743F3F for ; Sun, 10 Aug 2003 06:17:48 -0700 (PDT) (envelope-from Yonatan@xpert.com) Received: from void.xpert.com (localhost [127.0.0.1]) by void.xpert.com (8.12.8/8.12.8) with ESMTP id h7ADWufQ016896 for ; Sun, 10 Aug 2003 16:32:56 +0300 Received: from EXCHANGE.xpert.com (exchange.xpert.com [199.203.132.135]) by void.xpert.com (8.12.8/8.12.8) with ESMTP id h7ADWun9016891 for ; Sun, 10 Aug 2003 16:32:56 +0300 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.0.6375.0 Date: Sun, 10 Aug 2003 16:16:57 +0300 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: tcp keepalive? Thread-Index: AcNfP9IFRg9+dbssS/+MoUzZDBg+3AAAlyfw From: "Yonatan Bokovza" To: Subject: RE: 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:17:54 -0000 > -----Original Message----- > From: Daniel Nielsen [mailto:djn@daimi.au.dk] > Sent: Sunday, August 10, 2003 16:04 > To: freebsd-questions@freebsd.org > Subject: tcp keepalive? >=20 >=20 > Hi. >=20 > I'm behind a NAT (over which I have no control), And it seems=20 > to kill idle tcp=20 > connections quite fast. Is there anyway to make freeBSD 5.1 send tcp=20 > keepalives with smaller intervals? >=20 > It was possible in linux with sysctl=20 > net/ipv4/tcp_keepalive_time=3D300... > In freeBSD I have not been able to locate the equivalent=20 > option. Any help is=20 > appreciated. net.inet.tcp.keepintvl more info at src/sys/netinet/tcp_timer.c=20