From owner-freebsd-net Wed Oct 10 10:47: 2 2001 Delivered-To: freebsd-net@freebsd.org Received: from silby.com (cb34181-a.mdsn1.wi.home.com [24.14.173.39]) by hub.freebsd.org (Postfix) with ESMTP id 6780737B40A for ; Wed, 10 Oct 2001 10:46:59 -0700 (PDT) Received: (qmail 23817 invoked by uid 1000); 10 Oct 2001 17:46:58 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 10 Oct 2001 17:46:58 -0000 Date: Wed, 10 Oct 2001 12:46:58 -0500 (CDT) From: Mike Silbersack To: Nguyen-Tuong Long Le Cc: Alex Rousskov , Subject: Re: Connect(2) problem In-Reply-To: Message-ID: <20011010124421.E23388-100000@achilles.silby.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 On Wed, 10 Oct 2001, Nguyen-Tuong Long Le wrote: > Hello Alex, > > Thanks very much for your reply! > > Just our of curiosity, what is the use of > net.inet.ip.portrange.hifirst and net.inet.ip.portrange.hilast ? > > Thanks, > Long hifirst and hilast represent the range of ports that we should be using for outbound connections. If you need more ephemeral ports, change .first and .last to equal the corresponding hi values. For more background, read one of Stevens's books. (This is mentioned in UNIX network programming volume 1, I'd assume the tcp books cover it as well.) Mike "Silby" Silbersack To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message