> Gary Mills wrote:
> 
> > Yes, I agree, although that's not part of this RFE.
>  It's actually
> not too bad to set the timeout system-wide because
>  it's still
> only used if the service sets the corresponding
>  socket option.
> 
> Note that the keepalive interval can be changed on a
> per
> socket basis.  See tcp(7P).

Yes, there are actually two options in /usr/include/netinet/tcp.h:

#define TCP_KEEPALIVE_THRESHOLD         0x16
#define TCP_KEEPALIVE_ABORT_THRESHOLD   0x17

I have a wrapper for telnetd and rlogind in inetd that sets SO_KEEPALIVE
for Solaris 9 and Solaris 10.  I was wondering how I had overlooked those
other options that set the interval.  They aren't there!  They are in snv_121
of course.  This is a problem if we want this change to inetd to be applied
to Solaris 10.
-- 
This message posted from opensolaris.org
_______________________________________________
networking-discuss mailing list
[email protected]

Reply via email to