Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Oct 2001 12:46:58 -0500 (CDT)
From:      Mike Silbersack <silby@silby.com>
To:        Nguyen-Tuong Long Le <le@cs.unc.edu>
Cc:        Alex Rousskov <rousskov@measurement-factory.com>, <freebsd-net@FreeBSD.ORG>
Subject:   Re: Connect(2) problem
Message-ID:  <20011010124421.E23388-100000@achilles.silby.com>
In-Reply-To: <Pine.LNX.4.32.0110101315580.959-100000@le-cs.cs.unc.edu>

next in thread | previous in thread | raw e-mail | index | archive | help

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011010124421.E23388-100000>