* rpcbind listen on localhost only?
@ 2011-11-03 2:51 Jim Rees
2011-11-03 15:00 ` Chuck Lever
0 siblings, 1 reply; 2+ messages in thread
From: Jim Rees @ 2011-11-03 2:51 UTC (permalink / raw)
To: linux-nfs
How do I get rpcbind to only listen on localhost and not on INADDR_ANY,
equivalent to the "-l" option to portmap? The man page implies that
"-h 127.0.0.1" should do it, but that doesn't work.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: rpcbind listen on localhost only?
2011-11-03 2:51 rpcbind listen on localhost only? Jim Rees
@ 2011-11-03 15:00 ` Chuck Lever
0 siblings, 0 replies; 2+ messages in thread
From: Chuck Lever @ 2011-11-03 15:00 UTC (permalink / raw)
To: Jim Rees; +Cc: linux-nfs
On Nov 2, 2011, at 10:51 PM, Jim Rees wrote:
> How do I get rpcbind to only listen on localhost and not on INADDR_ANY,
> equivalent to the "-l" option to portmap? The man page implies that
> "-h 127.0.0.1" should do it, but that doesn't work.
I imagine this doesn't work because for localhost, rpcbind listens on AF_LOCAL socket /var/run/rpcbind.sock. This allows authentication of the registrand. Normally this interface isn't exposed directly to applications: they use the APIs in libtirpc (or glibc) to access the local rpcbind service.
--
Chuck Lever
chuck[dot]lever[at]oracle[dot]com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-11-03 15:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-03 2:51 rpcbind listen on localhost only? Jim Rees
2011-11-03 15:00 ` Chuck Lever
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.