tcp keepalive?

Yonatan Bokovza Yonatan at xpert.com
Sun Aug 10 06:17:54 PDT 2003


> -----Original Message-----
> From: Daniel Nielsen [mailto:djn at daimi.au.dk]
> Sent: Sunday, August 10, 2003 16:04
> To: freebsd-questions at 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 


More information about the freebsd-questions mailing list