Subject: Re: keepalive per socket settings patch
To: None <tech-net@netbsd.org>
From: Christos Zoulas <christos@astron.com>
List: tech-net
Date: 06/20/2007 15:38:23
In article <20070620152939.GH7043@shrubbery.net>,
john heasley  <heas@shrubbery.net> wrote:
>Wed, Jun 20, 2007 at 02:34:48PM +0000, Christos Zoulas:
>> >I would suggest 30 seconds as the minimum settable value, or maybe 15.
>> 
>> I would think that even 5 seconds is acceptable.
>
>If it were being used by something like a routing protocol, in lieu of a
>home-grown keep-alive implementation, even 5 seconds (40s for the timeout
>with default keepcnt) is rather long.
>
>If there is concern about user-provoked DOS, apply a sysctl-able floor on
>the interval.

Thanks for all the feedback. I just committed the code and I allow everything
> 0.

christos