Default ephemeral port range
Fernando Gont
fernando at gont.com.ar
Wed Nov 14 07:06:55 UTC 2012
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 at gont.com.ar || fgont at si6networks.com
PGP Fingerprint: 7809 84F5 322E 45C7 F1C9 3945 96EE A9EF D076 FFF1
More information about the freebsd-net
mailing list