Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Nov 2012 12:32:13 +0700
From:      Eugene Grosbein <eugen@grosbein.net>
To:        Dustin Wenz <dustinwenz@ebureau.com>
Cc:        freebsd-net@freebsd.org, Colin O'Keeffe <cokeeffe@gmail.com>
Subject:   Re: Default ephemeral port range
Message-ID:  <50A32CDD.5000109@grosbein.net>
In-Reply-To: <2EEDF65D-C235-48A7-9464-82475C26E9DD@ebureau.com>
References:  <87A2D317-77BA-4641-979D-0AE43247D99E@ebureau.com> <95686CBD-5A11-48BD-A556-5133F537C82E@gmail.com> <2EEDF65D-C235-48A7-9464-82475C26E9DD@ebureau.com>

next in thread | previous in thread | raw e-mail | index | archive | help
14.11.2012 04:48, Dustin Wenz пишет:
> Thanks for the information;
> 
> It would seem that when I invoke the connect() system call, it picks a client port in the portrange.first-last range and not necessarily in portrange.hifirst-hilast. Is this expected behavior, or a bug in connect()?

Please read ip(4) manual page on IP_PORTRANGE. You can choose one of three ranges
for your socket (default range, low and high).

Eugene Grosbein




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50A32CDD.5000109>