1 .\" $KAME: dhcp6ctl.8,v 1.4 2005/05/03 06:25:48 jinmei Exp $
3 .\" Copyright (C) 2004 WIDE Project.
4 .\" All rights reserved.
6 .\" Redistribution and use in source and binary forms, with or without
7 .\" modification, are permitted provided that the following conditions
9 .\" 1. Redistributions of source code must retain the above copyright
10 .\" notice, this list of conditions and the following disclaimer.
11 .\" 2. Redistributions in binary form must reproduce the above copyright
12 .\" notice, this list of conditions and the following disclaimer in the
13 .\" documentation and/or other materials provided with the distribution.
14 .\" 3. Neither the name of the project nor the names of its contributors
15 .\" may be used to endorse or promote products derived from this software
16 .\" without specific prior written permission.
18 .\" THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND
19 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
20 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
21 .\" ARE DISCLAIMED. IN NO EVENT SHALL THE PROJECT OR CONTRIBUTORS BE LIABLE
22 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
23 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
24 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
25 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
26 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
27 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
35 .Nd DHCPv6 client and server control utility
47 controls the operation of a DHCPv6 process,
52 a DHCPv6 client or a server.
56 The type of the process can also be specified explicitly by the
63 communicates with the DHCPv6 process over a TCP connection,
64 sending commands authenticated with digital signatures.
66 the only supported authentication algorithm is
68 which uses a shared secret on each end of the connection.
70 Command line options are as below:
71 .Bl -tag -width indent
74 Control a DHCPv6 client.
75 This option is exclusive with the
79 Control a DHCPv6 server.
80 This option is exclusive with the
86 to provide the shared secret to communicate with the process.
87 The default file name used when unspecified is
88 .Pa /usr/local/etc/dhcp6cctlkey
91 .Pa /usr/local/etc/dhcp6sctlkey
97 as the listening port of the process.
98 The default port number used when unspecified is 5546 for a client,
99 and 5547 for a server.
103 as the listening address of the process.
104 The default address used when unspecified is ::1.
108 Since the operation available with the
111 the communication between the command and
115 must be authenticated.
116 The supported algorithm for authentication is HMAC-MD5,
117 which requires a shared secret,
118 and the secret is stored in the key file.
119 The key file must consist of a single line, in which the secret value
120 is written in the form of BASE-64 encoding.
125 specifies a single control operation.
126 Supported commands are as follows:
128 .Bl -tag -width Ds -compact
132 This command specifies the process to reload the configuration file.
133 Existing bindings, if any, are intact.
135 .Ic remove Ar arguments
137 This command is only applicable to a server.
138 This specifies the server to remove a run-time object
142 Currently, the only possible object is one particular IA_NA or IA_PD
143 binding, which is specified as
144 .Ql Ic binding IA Ic IA_NA Ar IAID Ar DUID
146 .Ql Ic binding IA Ic IA_PD Ar IAID Ar DUID
149 is a decimal number specifying the IAID of the IA,
152 is a DHCP Unique Identifier of the binding.
155 is the same as that specified in
158 .Ic start Ic interface Ar ifname
160 This command is only applicable to a client.
161 It tells the client to release the current configuration information
162 (if any) on the interface
164 and restart the DHCPv6 configuration process on the interface.
166 .Ic stop Ic interface Ar ifname
168 This command is only applicable to a client.
169 It tells the client to release the current configuration information
170 (if any) on the interface
172 Any timer running for the interface will be stopped,
173 and no more DHCPv6 messages will be sent on the interface.
174 The configuration process can later be restarted by the
180 This command stops the specified process.
181 If the process is a client, it will release all configuration
182 information (if any) and exits.
186 .Bl -tag -width /usr/local/etc/dhcp6cctlkey -compact
187 .It Pa /usr/local/etc/dhcp6cctlkey
188 is the default key file to communicate with a client.
189 .It Pa /usr/local/etc/dhcp6sctlkey
190 is the default key file to communicate with a server.
200 command first appeared in WIDE/KAME IPv6 protocol stack kit.