diff options
author | matteo <matteo@FreeBSD.org> | 2007-11-02 14:51:53 +0000 |
---|---|---|
committer | matteo <matteo@FreeBSD.org> | 2007-11-02 14:51:53 +0000 |
commit | ba150ecc5d21f93b337a6c70e7672d776b793d8b (patch) | |
tree | ab9d4aa5e63475c464660a9be25d790a0dd32166 /usr.sbin/rpc.lockd/rpc.lockd.8 | |
parent | ecd0890251dda8b629abdd6516230e72a983a682 (diff) | |
download | FreeBSD-src-ba150ecc5d21f93b337a6c70e7672d776b793d8b.zip FreeBSD-src-ba150ecc5d21f93b337a6c70e7672d776b793d8b.tar.gz |
Add the -h <bindip> option to rpc.lockd, similar to the one in
nfsd(8), in mountd(8), and in rpc.statd(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.lockd will bind to INADDR_ANY. Note that when specifying
IP addresses with -h, rpc.lockd will automatically add 127.0.0.1 and
if IPv6 is enabled, ::1 to the list.
PR: bin/98500
MFC after: 1 week
Diffstat (limited to 'usr.sbin/rpc.lockd/rpc.lockd.8')
-rw-r--r-- | usr.sbin/rpc.lockd/rpc.lockd.8 | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/usr.sbin/rpc.lockd/rpc.lockd.8 b/usr.sbin/rpc.lockd/rpc.lockd.8 index 0b5d348..4fabe5d 100644 --- a/usr.sbin/rpc.lockd/rpc.lockd.8 +++ b/usr.sbin/rpc.lockd/rpc.lockd.8 @@ -33,7 +33,7 @@ .\" .\" $FreeBSD$ .\" -.Dd April 3, 2007 +.Dd November 2, 2007 .Dt RPC.LOCKD 8 .Os .Sh NAME @@ -43,6 +43,7 @@ .Nm .Op Fl d Ar debug_level .Op Fl g Ar grace period +.Op Fl h Ar bindip .Op Fl p Ar port .Sh DESCRIPTION The @@ -84,6 +85,23 @@ During the grace period only accepts requests from hosts which are reinitialising locks which existed before the server restart. Default is 30 seconds. +.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 |