linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* rpcbind allowed port range on linux
@ 2016-12-01 16:51 Joachim Banzhaf
  2016-12-02  0:14 ` NeilBrown
  0 siblings, 1 reply; 5+ messages in thread
From: Joachim Banzhaf @ 2016-12-01 16:51 UTC (permalink / raw)
  To: linux-nfs; +Cc: joachim.banzhaf

Hi list,

my problem is, rpcbind gave a tcp port to nlockmgr where I assumed
this port is reserved.

Now, I didn't find the spec that says which ports rpcbind is allowed
to use, but I thought it is the ephemeral ports, on linux defined with
the range in kernel configuration net.ipv4.ip_local_reserved_ports
minus exclusions from net.ipv4.ip_local_reserved_ports.

So, my questions are
1) Is my assumption about allowed ports correct?
2) If not: how can I define that range?
3) If yes: was there a fix for that since my rather old SLES 12
version rpcbind-0.2.1_rc4 (kernel 3.12.55)? I didn't find something
obvious to me in the changelog.

Bonus question: would it have been safe/possible to free up the port,
e.g. with rpcbind -d? I only found out about that option after a
reboot...

BR,
Joachim

(please keep me in cc)

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-12-02 17:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-01 16:51 rpcbind allowed port range on linux Joachim Banzhaf
2016-12-02  0:14 ` NeilBrown
2016-12-02  0:50   ` Trond Myklebust
2016-12-02  8:32     ` Joachim Banzhaf
2016-12-02 17:33       ` Joachim Banzhaf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).