Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Aug 2012 14:57:42 +0400
From:      =?UTF-8?B?0JHQvtGA0LjRgSDQodCw0LzQvtGA0L7QtNC+0LI=?= <bsam@passap.ru>
To:        freebsd-stable@FreeBSD.org
Subject:   [9.1-PRERELEASE r239793] rpcbind does not hornor -h flag
Message-ID:  <503DF5A6.6030902@passap.ru>

next in thread | raw e-mail | index | archive | help
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@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?503DF5A6.6030902>