From ba150ecc5d21f93b337a6c70e7672d776b793d8b Mon Sep 17 00:00:00 2001 From: matteo Date: Fri, 2 Nov 2007 14:51:53 +0000 Subject: Add the -h 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 --- usr.sbin/rpc.lockd/rpc.lockd.8 | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) (limited to 'usr.sbin/rpc.lockd/rpc.lockd.8') 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 -- cgit v1.1