[Bug 227888] random port selection for daemons causes other daemons to fail

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun May 31 10:33:00 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227888

--- Comment #2 from Andriy Gapon <avg at FreeBSD.org> ---
Unfortunately, RPC does not have default ports. They are picked up from a
special range. It's been this way forever, AFAIK.

One "solution" is to request a fixed port for each RPC-based service if a
service provides such option.

Another solution is to play with lowlast / lowfirst sysctl-s under
net.inet.ip.portrange.

Another potential solution is to exclude all well-known ports (/etc/services)
from RPC's use.  That would automatically work for all but there can be some
challenges.

If you are curious, please see IP_PORTRANGE_LOW in the source code.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list