Subject: Re: keepalive per socket settings patch
To: Christos Zoulas <christos@astron.com>
From: john heasley <heas@shrubbery.net>
List: tech-net
Date: 06/20/2007 08:29:39
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.