tcp keepalive?

Daniel Nielsen djn at daimi.au.dk
Sun Aug 10 06:51:56 PDT 2003


On Sunday 10 August 2003 15:16, Yonatan Bokovza wrote:
> > -----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

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



More information about the freebsd-questions mailing list