summaryrefslogtreecommitdiffstats
path: root/usr.sbin/rpcbind/rpcbind.8
diff options
context:
space:
mode:
authoralfred <alfred@FreeBSD.org>2002-07-11 16:19:43 +0000
committeralfred <alfred@FreeBSD.org>2002-07-11 16:19:43 +0000
commitd96c3f211e59bdb210800c68cf8304a6c22163dd (patch)
tree2cb4082bd99caf2a7d0b6244305de54212adc25c /usr.sbin/rpcbind/rpcbind.8
parent95a384b19a653fc2ef1e9750b77f9694c1565e0d (diff)
downloadFreeBSD-src-d96c3f211e59bdb210800c68cf8304a6c22163dd.zip
FreeBSD-src-d96c3f211e59bdb210800c68cf8304a6c22163dd.tar.gz
Add -h option to rpcbind, used to specify what address to bind to for
UDP requests. Submitted by: mbr
Diffstat (limited to 'usr.sbin/rpcbind/rpcbind.8')
-rw-r--r--usr.sbin/rpcbind/rpcbind.823
1 files changed, 23 insertions, 0 deletions
diff --git a/usr.sbin/rpcbind/rpcbind.8 b/usr.sbin/rpcbind/rpcbind.8
index 1ea7096..42d0579 100644
--- a/usr.sbin/rpcbind/rpcbind.8
+++ b/usr.sbin/rpcbind/rpcbind.8
@@ -72,6 +72,29 @@ will not fork when it starts, will print additional information
during operation, and will abort on certain errors.
With this option, the name-to-address translation consistency
checks are shown in detail.
+.It Fl h
+Specify specific IP addresses to bind to for UDP requests.
+This option
+may be specified multiple times and is typically necessary when running
+on a multi-homed host.
+If no
+.Fl h
+option is specified,
+.Nm
+will bind to
+.Dv INADDR_ANY ,
+which could lead to problems on a multi-homed host due to
+.Nm
+returning a UDP packet from a different IP address than it was
+sent to.
+Note that when specifying IP addresses with
+.Fl h ,
+.Nm
+will automatically add
+.Li 127.0.0.1
+and if IPv6 is enabled,
+.Li ::1
+to the list.
.It Fl i
.Dq Insecure
mode.
OpenPOWER on IntegriCloud