Bug 252885

Summary: Outdated values for portrange (Handbook 12.11.2.1)
Product: Documentation Reporter: Marián Černý <majo-bugs.freebsd.org>
Component: Books & ArticlesAssignee: freebsd-doc (Nobody) <doc>
Status: Closed DUPLICATE    
Severity: Affects Only Me CC: 0mp, pauamma
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   

Description Marián Černý 2021-01-21 13:45:49 UTC
The section 12.11.2.1 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 freebsd_triage 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
Comment 3 Pau Amma 2022-04-11 03:28:09 UTC
(In reply to Marián Černý from comment #2)
Yes, duplicate.

*** This bug has been marked as a duplicate of bug 223997 ***