1 .\" $NetBSD: racoonctl.8,v 1.13 2006/09/09 16:22:10 manu Exp $
3 .\" Id: racoonctl.8,v 1.6 2006/05/07 21:32:59 manubsd Exp
5 .\" Copyright (C) 2004 Emmanuel Dreyfus
6 .\" All rights reserved.
8 .\" Redistribution and use in source and binary forms, with or without
9 .\" modification, are permitted provided that the following conditions
11 .\" 1. Redistributions of source code must retain the above copyright
12 .\" notice, this list of conditions and the following disclaimer.
13 .\" 2. Redistributions in binary form must reproduce the above copyright
14 .\" notice, this list of conditions and the following disclaimer in the
15 .\" documentation and/or other materials provided with the distribution.
16 .\" 3. Neither the name of the project nor the names of its contributors
17 .\" may be used to endorse or promote products derived from this software
18 .\" without specific prior written permission.
20 .\" THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND
21 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
23 .\" ARE DISCLAIMED. IN NO EVENT SHALL THE PROJECT OR CONTRIBUTORS BE LIABLE
24 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
38 .Nd racoon administrative control tool
48 .Op isakmp|esp|ah|ipsec
51 .Op isakmp|esp|ah|ipsec
77 operation, if ipsec-tools was configured with adminport support.
82 is done through a UNIX socket.
83 By changing the default mode and ownership
84 of the socket, you can allow non-root users to alter
86 behavior, so do that with caution.
88 The following commands are available:
93 to reload its configuration file.
96 .It show-sa Op isakmp|esp|ah|ipsec
97 Dump the SA: All the SAs if no SA class is provided, or either ISAKMP SAs,
98 IPsec ESP SAs, IPsec AH SAs, or all IPsec SAs.
101 to increase verbosity.
102 .It flush-sa Op isakmp|esp|ah|ipsec
103 is used to flush all SAs if no SA class is provided, or a class of SAs,
104 either ISAKMP SAs, IPsec ESP SAs, IPsec AH SAs, or all IPsec SAs.
109 Establish an SA, either an ISAKMP SA, IPsec ESP SA, or IPsec AH SA.
112 can be used when establishing an ISAKMP SA while hybrid auth is in use.
114 will prompt you for the password associated with
116 and these credentials will be used in the Xauth exchange.
119 has the following format:
121 .It isakmp {inet|inet6} Ar src Ar dst
122 .It {esp|ah} {inet|inet6} Ar src/prefixlen/port Ar dst/prefixlen/port
129 This is a particular case of the previous command.
130 It will establish an ISAKMP SA with
132 .It delete-sa Ar saopts
133 Delete an SA, either an ISAKMP SA, IPsec ESP SA, or IPsec AH SA.
134 .It vpn-disconnect Ar vpn_gateway
135 This is a particular case of the previous command.
136 It will kill all SAs associated with
138 .It show-event Op Fl l
139 Dump all events reported by
146 to not stop once all the events have been read, but rather to loop
147 awaiting and reporting new events.
148 .It logout-user Ar login
149 Delete all SA established on behalf of the Xauth user
153 Command shortcuts are available:
154 .Bl -tag -width XXX -compact -offset indent
178 The command should exit with 0 on success, and non-zero on errors.
181 .Bl -tag -width 30n -compact
182 .It Pa /var/racoon/racoon.sock No or
183 .It Pa /var/run/racoon.sock
197 but remained undocumented for a while.
198 .An Emmanuel Dreyfus Aq manu@NetBSD.org