Date: Fri, 23 Jan 2004 16:13:26 -0800 From: Dave Byrne <dave@strangelove.glynjones.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: bin/61808: [PATCH] Update RPC prgs to allow binding to specific addrs on multi-homed systems Message-ID: <E1AkBQU-000GWK-S8@strangelove.glynjones.com> Resent-Message-ID: <200401240020.i0O0K3Xo075805@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1AkBQU-000GWK-S8>