Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 May 2020 10:33:00 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 227888] random port selection for daemons causes other daemons to fail
Message-ID:  <bug-227888-227-wO3YphoT8a@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-227888-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-227888-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D227888

--- Comment #2 from Andriy Gapon <avg@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/service=
s)
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.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-227888-227-wO3YphoT8a>