bin/98500: rpc.lockd(+statd) bind to any ip
Harald Schmalzbauer
harry at schmalzbauer.de
Sun Jun 4 10:10:26 PDT 2006
>Number: 98500
>Category: bin
>Synopsis: rpc.lockd(+statd) bind to any ip
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sun Jun 04 17:10:16 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Harald Schmalzbauer
>Release: FreeBSD 6.1-STABLE i386
>Organization:
>Environment:
System: FreeBSD cale.flintsbach.schmalzbauer.de 6.1-STABLE FreeBSD 6.1-STABLE #1: Sat Jun 3 06:46:17 CEST 2006 compilator@:/usr/obj/usr/src/sys/CALE i386
>Description:
There is no option to specify which IP address to bind to.
On systems with jails and multiple NICs one might want to have it listening
only on a single IP
>How-To-Repeat:
Use the following rc.conf setup:
nfs_server_enable="YES"
nfs_server_flags="-u -t -n 4 -h fec0::1:0:0:2:1 -h 127.0.0.1 -h ::1"
rpcbind_enable="YES"
rpcbind_flags="-h fec0::1:0:0:2:1"
rpc_lockd_enable="YES"
rpc_statd_enable="YES"
Now look at the output of netstat -a -f inet
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list