racoonctl --- racoon administrative control tool


     racoonctl [opts] reload-config
     racoonctl [opts] show-schedule
     racoonctl [opts] show-sa [isakmp|esp|ah|ipsec]
     racoonctl [opts] get-sa-cert [inet|inet6] src dst
     racoonctl [opts] flush-sa [isakmp|esp|ah|ipsec]
     racoonctl [opts] delete-sa saopts
     racoonctl [opts] establish-sa [-w] [-n remoteconf] [-u identity] saopts
     racoonctl [opts] vpn-connect [-u identity] vpn_gateway
     racoonctl [opts] vpn-disconnect vpn_gateway
     racoonctl [opts] show-event
     racoonctl [opts] logout-user login


     racoonctl is used to control racoon(8) operation, if ipsec-tools was
     configured with adminport support.  Communication between racoonctl 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 general options are available:

     -d      Debug mode.  Hexdump sent admin port commands.

     -l      Increase verbosity.  Mainly for show-sa command.

     -s socket
         Specify unix socket name used to connecting racoon.

     The following commands are available:

         This should cause racoon(8) to reload its configuration file.

         Unknown command.

     show-sa [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
         -l to increase verbosity.

     get-sa-cert [inet|inet6] src dst
         Output the raw certificate that was used to authenticate the
         phase 1 matching src and dst.

     flush-sa [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 [-w] [-n remoteconf] [-u username] saopts
         Establish an SA, either an ISAKMP SA, IPsec ESP SA, or IPsec AH
         SA.  The optional -u username can be used when establishing an
         ISAKMP SA while hybrid auth is in use.  The exact remote block to
         use can be specified with -n remoteconf.  racoonctl will prompt
         you for the password associated with username and these
         credentials will be used in the Xauth exchange.

         Specifying -w will make racoonctl wait until the SA is actually
         established or an error occurs.

         saopts has the following format:

         isakmp {inet|inet6} src dst

         {esp|ah} {inet|inet6} src/prefixlen/port dst/prefixlen/port

     vpn-connect [-u username] vpn_gateway
         This is a particular case of the previous command.  It will
         establish an ISAKMP SA with vpn_gateway.

     delete-sa saopts
         Delete an SA, either an ISAKMP SA, IPsec ESP SA, or IPsec AH SA.

     vpn-disconnect vpn_gateway
         This is a particular case of the previous command.  It will kill
         all SAs associated with vpn_gateway.

         Listen for all events reported by racoon(8).

     logout-user login
         Delete all SA established on behalf of the Xauth user login.

     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
       lu   logout-user


     The command should exit with 0 on success, and non-zero on errors.


     /var/racoon/racoon.sock or
     /var/run/racoon.sock            racoon(8) control socket.


     ipsec(4), racoon(8)


     Once was kmpstat in the KAME project.  It turned into racoonctl but
     remained undocumented for a while.  Emmanuel Dreyfus manu@NetBSD.org
     wrote this man page.


Personal Opportunity - Free software gives you access to billions of dollars of software at no cost. Use this software for your business, personal use or to develop a profitable skill. Access to source code provides access to a level of capabilities/information that companies protect though copyrights. Open source is a core component of the Internet and it is available to you. Leverage the billions of dollars in resources and capabilities to build a career, establish a business or change the world. The potential is endless for those who understand the opportunity.

Business Opportunity - Goldman Sachs, IBM and countless large corporations are leveraging open source to reduce costs, develop products and increase their bottom lines. Learn what these companies know about open source and how open source can give you the advantage.

Free Software

Free Software provides computer programs and capabilities at no cost but more importantly, it provides the freedom to run, edit, contribute to, and share the software. The importance of free software is a matter of access, not price. Software at no cost is a benefit but ownership rights to the software and source code is far more significant.

Free Office Software - The Libre Office suite provides top desktop productivity tools for free. This includes, a word processor, spreadsheet, presentation engine, drawing and flowcharting, database and math applications. Libre Office is available for Linux or Windows.

Free Books

The Free Books Library is a collection of thousands of the most popular public domain books in an online readable format. The collection includes great classical literature and more recent works where the U.S. copyright has expired. These books are yours to read and use without restrictions.

Source Code - Want to change a program or know how it works? Open Source provides the source code for its programs so that anyone can use, modify or learn how to write those programs themselves. Visit the GNU source code repositories to download the source.


Study at Harvard, Stanford or MIT - Open edX provides free online courses from Harvard, MIT, Columbia, UC Berkeley and other top Universities. Hundreds of courses for almost all major subjects and course levels. Open edx also offers some paid courses and selected certifications.

Linux Manual Pages - A man or manual page is a form of software documentation found on Linux/Unix operating systems. Topics covered include computer programs (including library and system calls), formal standards and conventions, and even abstract concepts.