From owner-freebsd-questions Thu Jul 18 14:51:50 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E456437B400 for ; Thu, 18 Jul 2002 14:51:48 -0700 (PDT) Received: from crimea.dzhan.com (w060.z064001192.sea-wa.dsl.cnc.net [64.1.192.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5A8E543E58 for ; Thu, 18 Jul 2002 14:51:48 -0700 (PDT) (envelope-from benjamin@dzhan.com) Received: by crimea.dzhan.com (Postfix, from userid 1001) id CF31022E0E; Thu, 18 Jul 2002 15:00:47 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by crimea.dzhan.com (Postfix) with ESMTP id CB4B51D10D for ; Thu, 18 Jul 2002 15:00:47 -0700 (PDT) Date: Thu, 18 Jul 2002 15:00:47 -0700 (PDT) From: Benjamin Franks To: Subject: tcp SYN retries? Message-ID: <20020718145818.M46100-100000@crimea.dzhan.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG When I attempt to make a sock_stream connection to an IP, and DON'T receive an ACK or RST response, it seems that the system retries a finite number of times by sending additional SYN packets. There also looks to be a 3 or 6 second delay between SYN retries. After four or five, the connection fails. Is there a way I can change the interval time for SYN retries, or decrease the number of times it retries? I would imagine this would be dependent on the particular tcp/ip stack implementation of my OS. I'm using FreeBSD and would imaging some kernel sysctl variable would control this... Any ideas? Or perhaps it's a socket option? Thanks! --Ben To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message