summaryrefslogtreecommitdiff
path: root/usr.sbin/rtsold/rtsold.8
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/rtsold/rtsold.8')
-rw-r--r--usr.sbin/rtsold/rtsold.833
1 files changed, 31 insertions, 2 deletions
diff --git a/usr.sbin/rtsold/rtsold.8 b/usr.sbin/rtsold/rtsold.8
index d474db78618..d2a79b0d7fe 100644
--- a/usr.sbin/rtsold/rtsold.8
+++ b/usr.sbin/rtsold/rtsold.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: rtsold.8,v 1.24 2007/05/31 19:20:29 jmc Exp $
+.\" $OpenBSD: rtsold.8,v 1.25 2008/06/10 04:49:11 reyk Exp $
.\" $KAME: rtsold.8,v 1.17 2001/07/09 22:30:37 itojun Exp $
.\"
.\" Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -28,7 +28,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: May 31 2007 $
+.Dd $Mdocdate: June 10 2008 $
.Dt RTSOLD 8
.Os
.\"
@@ -39,6 +39,7 @@
.Sh SYNOPSIS
.Nm rtsold
.Op Fl 1DdFfm
+.Op Fl O Ar script-name
.Ar interface ...
.Nm rtsold
.Op Fl 1DdFfm
@@ -46,6 +47,7 @@
.Pp
.Nm rtsol
.Op Fl DdF
+.Op Fl O Ar script-name
.Ar interface ...
.Nm rtsol
.Op Fl DdF
@@ -138,6 +140,20 @@ When sending a Router Solicitation on an interface,
includes a Source Link-layer address option if the interface
has a link-layer address.
.Pp
+.Nm
+manages a per-interface parameter to detect if a separate protocol is
+needed for configuration parameters other than host's addresses.
+At the invocation time, the flag is FALSE, and becomes TRUE when the
+daemon receives a router advertisement with the Other Configuration
+flag being set.
+A script file can be specified to deal with the case
+.Pq see below .
+When
+.Nm
+start resending router solicitation messages by one of the conditions
+events, the daemon resets the parameter because the event may indicate
+a change on the attached link.
+.Pp
Upon receipt of signal
.Dv SIGUSR1 ,
.Nm
@@ -199,6 +215,19 @@ Moreover, if the option is specified,
periodically sends Router Solicitation on an interface that does not support
.Dv SIOCGIFMEDIA
ioctl.
+.It Fl O Ar script-name
+Specifies a supplement script file to handle the Other Configuration
+flag of the router advertisement.
+When the flag changes from FALSE to TRUE,
+.Nm
+will invoke
+.Ar script-name
+with a single argument of the receiving interface name, expecting the
+script will then start a protocol for the other configuration.
+.Ar script-name
+must be the absolute path from root to the script file, be a regular
+file, and be created by the same owner who runs
+.Nm .
.El
.Pp
.Ex -std rtsold