diff options
author | ume <ume@FreeBSD.org> | 2003-08-08 16:42:37 +0000 |
---|---|---|
committer | ume <ume@FreeBSD.org> | 2003-08-08 16:42:37 +0000 |
commit | 02ba92cc973152efd707c7e8e1c3b17091ddb26e (patch) | |
tree | 099a5ddb0139b1572c5cc2a9d1f4dc52af700a65 /usr.sbin/rtsold/rtsold.8 | |
parent | 52b4a696e076a7e2fb7dd05bd2f6feec997189cd (diff) | |
download | FreeBSD-src-02ba92cc973152efd707c7e8e1c3b17091ddb26e.zip FreeBSD-src-02ba92cc973152efd707c7e8e1c3b17091ddb26e.tar.gz |
Process the "O bit."
If the value of OtherConfigFlag changes from FALSE to TRUE, the
host should invoke the stateful autoconfiguration protocol,
requesting information.
[RFC 2462 Section 5.5.3]
Obtained from: KAME
MFC after: 1 week
Diffstat (limited to 'usr.sbin/rtsold/rtsold.8')
-rw-r--r-- | usr.sbin/rtsold/rtsold.8 | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/usr.sbin/rtsold/rtsold.8 b/usr.sbin/rtsold/rtsold.8 index e72bb6a..a365637 100644 --- a/usr.sbin/rtsold/rtsold.8 +++ b/usr.sbin/rtsold/rtsold.8 @@ -40,15 +40,19 @@ .Sh SYNOPSIS .Nm .Op Fl dDfm1 +.Op Fl O Ar script-name .Ar interface ... .Nm .Op Fl dDfm1 +.Op Fl O Ar script-name .Fl a .Nm rtsol .Op Fl dD +.Op Fl O Ar script-name .Ar interface ... .Nm rtsol .Op Fl dD +.Op Fl O Ar script-name .Fl a .\" .Sh DESCRIPTION @@ -128,6 +132,21 @@ When sending a Router Solicitation on an interface, .Nm includes a Source Link-layer address option if the interface has a link-layer address. +.Lp +.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 OtherConfig 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 , @@ -178,6 +197,20 @@ Transmit Router Solicitation packets until at least one valid Router Advertisement packet has arrived on each .Ar interface , then exit. +.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 .Sh DIAGNOSTICS .Ex -std rtsold rtsol |