Re: tcp keepalive?

2003-08-14 Thread Daniel Nielsen
On Sunday 10 August 2003 15:16, Yonatan Bokovza wrote:
> > -Original Message-
> > From: Daniel Nielsen [mailto:[EMAIL PROTECTED]
> > Sent: Sunday, August 10, 2003 16:04
> > To: [EMAIL PROTECTED]
> > 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

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: tcp keepalive?

2003-08-10 Thread Yonatan Bokovza
> -Original Message-
> From: Daniel Nielsen [mailto:[EMAIL PROTECTED]
> Sent: Sunday, August 10, 2003 16:04
> To: [EMAIL PROTECTED]
> 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 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"