Date: Mon, 12 Nov 2012 18:49:17 +0000 From: Colin O'Keeffe <cokeeffe@gmail.com> To: Dustin Wenz <dustinwenz@ebureau.com> Cc: freebsd-net@freebsd.org Subject: Re: Default ephemeral port range Message-ID: <95686CBD-5A11-48BD-A556-5133F537C82E@gmail.com> In-Reply-To: <87A2D317-77BA-4641-979D-0AE43247D99E@ebureau.com> References: <87A2D317-77BA-4641-979D-0AE43247D99E@ebureau.com>
next in thread | previous in thread | raw e-mail | index | archive | help
8.1 through 9.1RC will use net.inet.ip.portrange.hifirst (49152) to = .hilast (65535) for ephemeral ports as far as I'm aware. = net.inet.ip.portrange.first to .last are just a reference to available = port numbers as per RFC6056 Correct me if I'm wrong but netinet/in_pcb.c:490 indicates this is the = case. -Colin On 12 Nov 2012, at 17:57, Dustin Wenz wrote: > I'm trying to determine why the default ephemeral port range appears = to be 10000 through 65535 in at least 8.1 through 9.1RC. Documentation = regarding the lower bound on the range seems inconsistent. The FreeBSD = website (http://wiki.freebsd.org/SystemTuning) suggests that = net.inet.ip.portrange.first defaults to 49152, which I don't believe is = accurate. >=20 > The IANA recommends the range be 49152 through 65535 = (http://tools.ietf.org/html/rfc6056). Is there any particular reason why = net.inet.ip.portrange.first defaults to 10000? >=20 > - .Dustin >=20 > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?95686CBD-5A11-48BD-A556-5133F537C82E>