Date: Wed, 14 Nov 2012 03:23:55 -0300 From: Fernando Gont <fernando@gont.com.ar> To: Dustin Wenz <dustinwenz@ebureau.com> Cc: freebsd-net@freebsd.org Subject: Re: Default ephemeral port range Message-ID: <50A338FB.9060602@gont.com.ar> 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
On 11/12/2012 02:57 PM, 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. I had produced the patch that extended the ephemeral port range in FreeBSD. My original patch extended the ephemeral port range to 1024-65535. However, it was noted that X uses ports in the range 1024-10000, and hence it was better to exclude that port range from the ephemeral port range. > The IANA recommends the range be 49152 through 65535 > (http://tools.ietf.org/html/rfc6056). IANA *used* to recommend that range. In RFC 6056 we recommend implementations to use the largest possible port range -- ideally 1024-65536. > Is there any particular reason > why net.inet.ip.portrange.first defaults to 10000? Please see above. Cheers, -- Fernando Gont e-mail: fernando@gont.com.ar || fgont@si6networks.com PGP Fingerprint: 7809 84F5 322E 45C7 F1C9 3945 96EE A9EF D076 FFF1
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50A338FB.9060602>