bin/61808: [PATCH] Update RPC prgs to allow binding to specific addrs on multi-homed systems

Dave Byrne dave at strangelove.glynjones.com
Fri Jan 23 16:23:55 PST 2004


>Number:         61808
>Category:       bin
>Synopsis:       [PATCH] Update RPC prgs to allow binding to specific addrs on multi-homed systems
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jan 23 16:20:02 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Dave Byrne
>Release:        FreeBSD 4.9-STABLE
>Organization:
>Environment:
System: FreeBSD strangelove.glynjones.com 4.9-STABLE FreeBSD 4.9-STABLE #0: Mon Jan 5 13:38:16 PST 2004 dave at strangelove.glynjones.com:/usr/obj/usr/src/sys/STD-SP i386

>Description:

	Addition of -h flags to mountd(8), portmap(8), rpc.lockd(8), 
and rpc.statd(8) to allow tcp/udp binding to specific ip addresses.  
This patch allows NFS to be run over a private network on systems with 
one interface connected to a public network and another connected to a 
private network without binding to all interfaces. When the -h flag 
is specified, the programs will continue to run as-is, however will 
not bind to INADDR_ANY, but instead to 127.0.0.1 and any addresses 
specified. 

Modeled after -h flag in nfsd(8). Updates to man pages are included
in the patch.

Useful in cases where running these programs on a public 
network is not desirable in case of future bugs.  Patch has been 
tested against 4-STABLE.

>How-To-Repeat:
	
>Fix:

	Patch at: http://strangelove.glynjones.com/~dave/rpcpatches.diff


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list