Date: Sun, 5 Mar 2000 16:15:40 +0100 From: =?iso-8859-1?Q?R=E9mi_Guyomarch?= <rguyom@mail.dotcom.fr> To: Michael Hartung <hartung@zkom.de> Cc: freebsd-net@FreeBSD.ORG Subject: Re: Answer keep-alive requests Message-ID: <20000305161540.A22005@pingoo.ifn.fr> In-Reply-To: <38C23F61.853FEE66@zkom.de>; from hartung@zkom.de on Sun, Mar 05, 2000 at 12:05:05PM %2B0100 References: <38C23F61.853FEE66@zkom.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Mar 05, 2000 at 12:05:05PM +0100, Michael Hartung wrote: > Hi Folks, > > a customers hardware (fucking S7 CP from Siemens) loves to emit > keep-alive packets once a TCP-connection is established. No chance to > turn this off (Siemens doesn’t care about RFC1122). How can I force our > FreeBSD 3.4 system to answer these packets. Probably a switch in > /sys/netinet/tcp_timer.c...? Compile the kernel and everything is > fine...? If I read /usr/src/sys/netinet/tcp* correctly, you shouldn't have to do anything to answer keepalive messages. In fact keepalive messages are just 0 bytes packets which repeat the last ack sent to the peer. There is a few sysctl variables which allow you to customize the rate your system *sends* those keepalive messages, but none to answer them, because the answer is part of the normal TCP processing. Am I right ? :-) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000305161540.A22005>