Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Aug 2012 08:50:10 GMT
From:      =?UTF-8?B?0JHQvtGA0LjRgSDQodCw0LzQvtGA0L7QtNC+0LI=?= <bsam@passap.ru>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: kern/117711: [rpc] rpcbind binds to all interfaces on random ports even when using the -h flag
Message-ID:  <201208310850.q7V8oA1q062035@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/117711; it has been noted by GNATS.

From: =?UTF-8?B?0JHQvtGA0LjRgSDQodCw0LzQvtGA0L7QtNC+0LI=?=
 <bsam@passap.ru>
To: bug-followup@FreeBSD.org, slaytanic@gmail.com
Cc:  
Subject: Re: kern/117711: [rpc] rpcbind binds to all interfaces on random
 ports even when using the -h flag
Date: Fri, 31 Aug 2012 12:44:17 +0400

 % sockstat -4l | grep rpcbind
 
 % grep rpcbind /etc/rc.conf.local
 rpcbind_flags="-h 192.168.119.6"
 rpcbind_enable="YES"
 
 % sudo /etc/rc.d/rpcbind start
 Starting rpcbind.
 
 % sockstat -4l | grep rpcbind
 root     rpcbind    4265  9  udp4   127.0.0.1:111         *:*
 root     rpcbind    4265  10 udp4   192.168.119.6:111     *:*
 root     rpcbind    4265  11 udp4   *:768                 *:*
 root     rpcbind    4265  12 tcp4   127.0.0.1:111         *:*
 root     rpcbind    4265  13 tcp4   192.168.119.6:111     *:*
 
 % uname -a
 FreeBSD bsam.wart.ru 10.0-CURRENT FreeBSD 10.0-CURRENT #31 r239793: Wed 
 Aug 29 03:00:30 SAMT 2012     bsam@bsam.wart.ru:/usr/obj/usr/src/sys/BBX 
   i386
 
 -- 
 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?201208310850.q7V8oA1q062035>