From owner-freebsd-net Thu Jul 18 14:53: 2 2002 Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 79BBC37B400 for ; Thu, 18 Jul 2002 14:53:01 -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 2C05443E42 for ; Thu, 18 Jul 2002 14:53:01 -0700 (PDT) (envelope-from benjamin@dzhan.com) Received: by crimea.dzhan.com (Postfix, from userid 1001) id 2AB2222E0E; Thu, 18 Jul 2002 15:01:51 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by crimea.dzhan.com (Postfix) with ESMTP id 290B31D10D for ; Thu, 18 Jul 2002 15:01:51 -0700 (PDT) Date: Thu, 18 Jul 2002 15:01:51 -0700 (PDT) From: Benjamin Franks To: Subject: tcp SYN retries? Message-ID: <20020718150136.M46100-100000@crimea.dzhan.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@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-net" in the body of the message