1 .\" $Id: racoonctl.8,v 1.2.4.2 2005/04/18 11:10:55 manubsd Exp $
3 .\" Copyright (C) 2004 Emmanuel Dreyfus
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
36 .Nd racoon administrative control tool
46 .Op isakmp|esp|ah|ipsec
49 .Op isakmp|esp|ah|ipsec
72 operation, if ipsec-tools was configured with adminport support.
77 is done through a UNIX socket.
78 By changing the default mode and ownership
79 of the socket, you can allow non-root users to alter
81 behavior, so do that with caution.
83 The following commands are available:
88 to reload its configuration file.
89 This seems completely broken at the time this man page is written.
92 .It show-sa Op isakmp|esp|ah|ipsec
93 Dump the SA: All the SAs if no SA class is provided, or either ISAKMP SAs,
94 IPsec ESP SAs, IPsec AH SAs, or all IPsec SAs.
97 to increase verbosity.
98 .It flush-sa Op isakmp|esp|ah|ipsec
99 is used to flush all SAs if no SA class is provided, or a class of SAs,
100 either ISAKMP SAs, IPsec ESP SAs, IPsec AH SAs, or all IPsec SAs.
105 Establish an SA, either an ISAKMP SA, IPsec ESP SA, or IPsec AH SA.
108 can be used when establishing an ISAKMP SA while hybrid auth is in use.
110 will prompt you for the password associated with
112 and these credentials will be used in the Xauth exchange.
115 has the following format:
117 .It isakmp {inet|inet6} Ar src Ar dst
118 .It {esp|ah} {inet|inet6} Ar src/prefixlen/port Ar dst/prefixlen/port
125 This is a particular case of the previous command.
126 It will establish an ISAKMP SA with
128 .It delete-sa Ar saopts
129 Delete an SA, either an ISAKMP SA, IPsec ESP SA, or IPsec AH SA.
130 .It vpn-disconnect Ar vpn_gateway
131 This is a particular case of the previous command.
132 It will kill all SAs associated with
134 .It show-event Op Fl l
135 Dump all events reported by
142 to not stop once all the events have been read, but rather to loop
143 awaiting and reporting new events.
146 Command shortcuts are available:
147 .Bl -tag -width XXX -compact -offset indent
169 The command should exit with 0 on success, and non-zero on errors.
172 .Bl -tag -width 30n -compact
173 .It Pa /var/racoon/racoon.sock No or
174 .It Pa /var/run/racoon.sock
188 but remained undocumented for a while.
189 .An Emmanuel Dreyfus Aq manu@NetBSD.org