Bug#457095: nfs-common: statd still cannot restrict its listening address
Package: nfs-common
Version: 1:1.2.2-4
Refreshing an old bug report: Binding the listening address still
doesn't work, but now the manpage tells that it should work.
Manpage rpc.statd(8) tells:
-n, --name ipaddr | hostname
Specifies the bind address used for RPC listener sockets. The
ipaddr form can be expressed as either an IPv4 or an IPv6 pre-
sentation address. If this option is not specified, rpc.statd
uses a wildcard address as the transport bind address.
This string is also passed to the sm-notify command to be used
as the source address from which to send reboot notification
requests. See sm-notify(8) for details.
but for me it doesn't work:
~# netstat -anp|grep statd
~# ifconfig | grep 192.168.1.1
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
~# /sbin/rpc.statd -n 192.168.1.1
~# netstat -anp|grep statd
tcp 0 0 0.0.0.0:41191 0.0.0.0:* LISTEN 4456/rpc.statd
udp 0 0 0.0.0.0:816 0.0.0.0:* 4456/rpc.statd
udp 0 0 0.0.0.0:56320 0.0.0.0:* 4456/rpc.statd
unix 2 [ ] DGRAM 13564 4456/rpc.statd
Sven
Reply to: