NAME
SYNOPSIS
reload-config
show-schedule
show-sa
flush-sa
delete-sa
establish-sa
vpn-connect
vpn-disconnect
show-event
DESCRIPTION
is used to control
racoon(8)
operation, if ipsec-tools was configured with adminport support.
Communication between
and
racoon(8)
is done through a UNIX socket.
By changing the default mode and ownership
of the socket, you can allow non-root users to alter
racoon(8)
behavior, so do that with caution.
The following commands are available:
- reload-config
This should cause
racoon(8)
to reload its configuration file.
This seems completely broken at the time this man page is written.
- show-schedule
Unknown command.
- isakmp|esp|ah|ipsec
Dump the SA: All the SAs if no SA class is provided, or either ISAKMP SAs,
IPsec ESP SAs, IPsec AH SAs, or all IPsec SAs.
Use
to increase verbosity.
- isakmp|esp|ah|ipsec
is used to flush all SAs if no SA class is provided, or a class of SAs,
either ISAKMP SAs, IPsec ESP SAs, IPsec AH SAs, or all IPsec SAs.
- establish-sa
Establish an SA, either an ISAKMP SA, IPsec ESP SA, or IPsec AH SA.
The optional
can be used when establishing an ISAKMP SA while hybrid auth is in use.
will prompt you for the password associated with
and these credentials will be used in the Xauth exchange.
has the following format:
- dst
- dst/prefixlen/port
{icmp|tcp|udp|any}
vpn-connect
This is a particular case of the previous command.
It will establish an ISAKMP SA with
saopts
Delete an SA, either an ISAKMP SA, IPsec ESP SA, or IPsec AH SA.
vpn_gateway
This is a particular case of the previous command.
It will kill all SAs associated with
l
Dump all events reported by
racoon(8)
then quit.
The
flag causes
to not stop once all the events have been read, but rather to loop
awaiting and reporting new events.
Command shortcuts are available:
- rc
reload-config
- ss
show-sa
- sc
show-schedule
- fs
flush-sa
- ds
delete-sa
- es
establish-sa
- vc
vpn-connect
- vd
vpn-disconnect
- se
show-event
RETURN VALUES
The command should exit with 0 on success, and non-zero on errors.
FILES
- or
- /var/run/racoon.sock
racoon(8)
control socket.
SEE ALSO
HISTORY
Once was
c kmpstat
in the KAME project.
It turned into
but remained undocumented for a while.
wrote this man page.