Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Jun 2006 19:04:30 +0200 (CEST)
From:      Harald Schmalzbauer <harry@schmalzbauer.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   bin/98500: rpc.lockd(+statd) bind to any ip
Message-ID:  <200606041704.k54H4Ue8043413@cale.flintsbach.schmalzbauer.de>
Resent-Message-ID: <200606041710.k54HAHIU043473@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



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