Date: Sun, 10 Aug 2003 15:52:26 +0200 From: Daniel Nielsen <djn@daimi.au.dk> To: freebsd-questions@freebsd.org Subject: Re: tcp keepalive? Message-ID: <200308101552.26600.djn@daimi.au.dk> In-Reply-To: <C2DC75EEA405354AA9C03EF5CB8CDE089AAA66@exchange.xpert.com> References: <C2DC75EEA405354AA9C03EF5CB8CDE089AAA66@exchange.xpert.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sunday 10 August 2003 15:16, Yonatan Bokovza wrote: > > -----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? > > > > > > 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. > > net.inet.tcp.keepintvl > > more info at src/sys/netinet/tcp_timer.c That did the job. Thanks /Daniel -- There are no great men, only great challenges that ordinary men are forced by circumstances to meet. -- Admiral William Halsey
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200308101552.26600.djn>