Bug 252885 - Outdated values for portrange (Handbook
Summary: Outdated values for portrange (Handbook
Status: Open
Alias: None
Product: Documentation
Classification: Unclassified
Component: Documentation (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-doc (Nobody)
Depends on:
Reported: 2021-01-21 13:45 UTC by Marián Černý
Modified: 2021-01-22 07:58 UTC (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Marián Černý 2021-01-21 13:45:49 UTC
The section Network Limits > net.inet.ip.portrange.* of the Handbook seems to be outdated.

For example, it mentions:
> Most network programs use the default range which is controlled by net.inet.ip.portrange.first and net.inet.ip.portrange.last, which default to 1024 and 5000, respectively.

However, the current limits on FreeBSD 12.1 are:
net.inet.ip.portrange.first: 10000
net.inet.ip.portrange.last: 65535

So I believe the default limits have been raised since the paragraph has been written.

If that is true, (at least) the following sentence won't also be correct:
> A value of 10000, 20000 or 30000 may be reasonable.
Comment 1 Mateusz Piotrowski freebsd_committer 2021-01-21 20:30:19 UTC
Thanks for the report. I'll open it for the doc committers to take care of it.
Comment 2 Marián Černý 2021-01-22 07:58:00 UTC
Seems this bug report is a duplicate of bug #223997 - FreeBSD Handbook Section 11.11 Guidelines on net.inet.ip.portrange obselete