kern/117711: [rpc] rpcbind binds to all interfaces on random ports even when using the -h flag

Борис Самородов bsam at passap.ru
Fri Aug 31 08:50:11 UTC 2012


The following reply was made to PR kern/117711; it has been noted by GNATS.

From: =?UTF-8?B?0JHQvtGA0LjRgSDQodCw0LzQvtGA0L7QtNC+0LI=?=
 <bsam at passap.ru>
To: bug-followup at FreeBSD.org, slaytanic at 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 at bsam.wart.ru:/usr/obj/usr/src/sys/BBX 
   i386
 
 -- 
 WBR, Boris Samorodov (bsam)
 FreeBSD Committer, http://www.FreeBSD.org The Power To Serve


More information about the freebsd-bugs mailing list