diff options
author | matteo <matteo@FreeBSD.org> | 2007-11-01 20:13:33 +0000 |
---|---|---|
committer | matteo <matteo@FreeBSD.org> | 2007-11-01 20:13:33 +0000 |
commit | feda6ab86469e58df94b48fe82ed738a1365485d (patch) | |
tree | 3f99e41b00059436eb5541b9280d6ceb7c62b968 /usr.sbin/rpc.statd/rpc.statd.8 | |
parent | 85841216d308c824f4b1a02819c83ea2d36565c6 (diff) | |
download | FreeBSD-src-feda6ab86469e58df94b48fe82ed738a1365485d.zip FreeBSD-src-feda6ab86469e58df94b48fe82ed738a1365485d.tar.gz |
Add the -h <bindip> option to rpc.statd, similar to the one in nfsd(8)
and in mountd(8)
-h bindip
Specify specific IP addresses to bind to for TCP and UDP requests.
This option may be specified multiple times. If no -h option is
specified, rpc.statd will bind to INADDR_ANY. Note that when specifying
IP addresses with -h, rpc.statd will automatically add 127.0.0.1 and if
IPv6 is enabled, ::1 to the list.
(coming for rpc.lockd too)
PR: bin/98500
MFC after: 1 week
Diffstat (limited to 'usr.sbin/rpc.statd/rpc.statd.8')
-rw-r--r-- | usr.sbin/rpc.statd/rpc.statd.8 | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/usr.sbin/rpc.statd/rpc.statd.8 b/usr.sbin/rpc.statd/rpc.statd.8 index 14d06e1..5b53ff1 100644 --- a/usr.sbin/rpc.statd/rpc.statd.8 +++ b/usr.sbin/rpc.statd/rpc.statd.8 @@ -33,7 +33,7 @@ .\" .\" $FreeBSD$ .\" -.Dd April 3, 2007 +.Dd November 1, 2007 .Dt RPC.STATD 8 .Os .Sh NAME @@ -42,6 +42,7 @@ .Sh SYNOPSIS .Nm .Op Fl d +.Op Fl h Ar bindip .Op Fl p Ar port .Sh DESCRIPTION The @@ -74,6 +75,23 @@ These messages are logged with level LOG_DEBUG and facility LOG_DAEMON. Error conditions are logged irrespective of this option, using level LOG_ERR. +.It Fl h Ar bindip +Specify specific IP addresses to bind to. +This option may be specified multiple times. +If no +.Fl h +option is specified, +.Nm +will bind to +.Dv INADDR_ANY . +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 p The .Fl p |