[9.1-PRERELEASE r239793] rpcbind does not hornor -h flag

Борис Самородов bsam at passap.ru
Wed Aug 29 10:57:45 UTC 2012


Hi List,


Seems that rpcbind bind to all UDP interfaces (mind "udp4 *:940" at the
last command):
-----
% uname -a
FreeBSD uni.wart.ru 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #7 r239793: 
Wed Aug 29 04:07:03 SAMT 2012 
bsam at uni.wart.ru:/usr/obj/usr/src/sys/UNI  i386

% sockstat -4l | grep rpc

% grep rpcbind /etc/rc.conf.local
rpcbind_flags="-h 192.168.119.252"

% sudo /etc/rc.d/rpcbind onestart
Starting rpcbind.

% sockstat -4l | grep rpc
root     rpcbind    7713  9  udp4   127.0.0.1:111         *:*
root     rpcbind    7713  10 udp4   192.168.119.252:111   *:*
root     rpcbind    7713  11 udp4   *:940                 *:*
root     rpcbind    7713  12 tcp4   127.0.0.1:111         *:*
root     rpcbind    7713  13 tcp4   192.168.119.252:111   *:*
-----

-- 
WBR, Boris Samorodov (bsam)
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve


More information about the freebsd-stable mailing list