Re: rpcbind listen on localhost only?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux