strongswan/src/starter
Andreas Steffen f87991704e implemented PASS and DROP shunt policies 2011-06-28 19:42:54 +02:00
..
.gitignore Moved man pages for config files to a separate directory. 2010-09-10 12:01:19 +02:00
Makefile.am Removed empty man page for starter. 2011-02-07 11:39:41 +01:00
README pluto: Removed references to KLIPS from documentation, log messages and comments. 2010-09-02 19:04:24 +02:00
args.c Add a closeaction ipsec.conf keyword to configure close action 2011-06-07 12:07:21 +02:00
args.h removing svn keyword $Id$ from all files 2009-04-30 13:19:35 +00:00
cmp.c check for mark changes in ipsec update 2010-07-17 09:13:48 +02:00
cmp.h removing svn keyword $Id$ from all files 2009-04-30 13:19:35 +00:00
confread.c implemented PASS and DROP shunt policies 2011-06-28 19:42:54 +02:00
confread.h Add a closeaction ipsec.conf keyword to configure close action 2011-06-07 12:07:21 +02:00
exec.c removing svn keyword $Id$ from all files 2009-04-30 13:19:35 +00:00
exec.h removing svn keyword $Id$ from all files 2009-04-30 13:19:35 +00:00
files.h removing svn keyword $Id$ from all files 2009-04-30 13:19:35 +00:00
interfaces.c starter: Make sure interface name is null-terminated. 2011-04-19 13:48:51 +02:00
interfaces.h Complain about missing %defaultroute support only if one is actually used 2009-09-16 13:27:49 +02:00
invokecharon.c In scanf the maxmium length of %s does not include the null-terminator. 2011-04-14 18:10:27 +02:00
invokecharon.h stop strongswan if integrity check of libstrongswan or daemon fails 2009-07-17 20:33:19 +02:00
invokepluto.c removed trailing spaces ([[:space:]]+$) 2009-09-04 13:46:09 +02:00
invokepluto.h stop strongswan if integrity check of libstrongswan or daemon fails 2009-07-17 20:33:19 +02:00
ipsec.conf removed the ipsec.conf version number 2007-07-04 05:41:51 +00:00
keywords.h Add a closeaction ipsec.conf keyword to configure close action 2011-06-07 12:07:21 +02:00
keywords.txt Add a closeaction ipsec.conf keyword to configure close action 2011-06-07 12:07:21 +02:00
klips.c removed trailing spaces ([[:space:]]+$) 2009-09-04 13:46:09 +02:00
klips.h removed trailing spaces ([[:space:]]+$) 2009-09-04 13:46:09 +02:00
loglite.c LOG_AUTHPRIV is not defined on OpenSolaris. 2009-08-14 13:37:07 +02:00
netkey.c removing svn keyword $Id$ from all files 2009-04-30 13:19:35 +00:00
netkey.h removed trailing spaces ([[:space:]]+$) 2009-09-04 13:46:09 +02:00
parser.h removing svn keyword $Id$ from all files 2009-04-30 13:19:35 +00:00
parser.l fixed flex parser memory leaks in ipsec starter 2010-05-02 11:40:46 +02:00
parser.y fixed flex parser memory leaks in ipsec starter 2010-05-02 11:40:46 +02:00
starter.c Fix some warnings triggered by gcc 4.6 -Wunused-but-set-variable 2011-05-19 15:47:40 +02:00
starterstroke.c implemented PASS and DROP shunt policies 2011-06-28 19:42:54 +02:00
starterstroke.h removing svn keyword $Id$ from all files 2009-04-30 13:19:35 +00:00
starterwhack.c *** HISTORICAL MOMENT: IKEv2 becomes the default! *** 2010-10-09 20:46:55 +02:00
starterwhack.h removing svn keyword $Id$ from all files 2009-04-30 13:19:35 +00:00

README

IPsec Starter -- Version 0.2        [Contributed by Arkoon Network Security]
============================        [                http://www.arkoon.net/]

IPsec Starter is aimed to replace all the scripts which are used to
start and stop strongSwan and to do that in a quicker and a smarter way.

IPsec Starter can also reload the configuration file (kill --HUP or periodicaly)
and apply the changes.

Usage:
  starter [--debug] [--auto_update <x seconds>]
    --debug:       enable debugging output
    --no_fork:     all msg (including pluto) are sent to the console
    --auto_update: reload the config file (like kill -HUP) every x seconds
                   and determine any configuration changes

FEATURES
--------

o Load modules of the native Linux 2.6 IPsec stack

o Launch and monitor pluto

o Add, initiate, route and del connections

o Attach and detach interfaces according to config file

o kill -HUP can be used to reload the config file. New connections will be
  added, old ones will be removed and modified ones will be reloaded.
  Interfaces/Klips/Pluto will be reloaded if necessary.

o Full support of the %defaultroute wildcard parameter.

o save own pid in /var/run/starter

o Upon reloading, dynamic DNS addr will be resolved and reloaded. Use
  --auto_update to periodicaly check dynamic DNS changes.

o kill -USR1 can be used to reload all connections (delete then add and
  route/initiate)

o /var/run/dynip/xxxx can be used to use a virtual interface name in
  ipsec.conf. By example, when adsl can be ppp0, ppp1, ... :
    ipsec.conf:             interfaces="ipsec0=adsl"
  And use /etc/ppp/ip-up to create /var/run/dynip/adsl
    /var/run/dynip/adsl:    IP_PHYS=ppp0

o %auto can be used to automaticaly name the connections

o kill -TERM can be used to stop FS. pluto will be stopped.

o Can be used to start strongSwan and load lots of connections in a few
  seconds.

TODO
----

o handle wildcards in include lines -- use glob() fct
    ex: include /etc/ipsec.*.conf

o handle duplicates keywords and sections

o 'also' keyword not supported

o manually keyed connections

o IPv6

o Documentation


CHANGES
-------

o Version 0.1 -- 2002.01.14 -- First public release

o Version 0.2 -- 2002.09.04 -- Various enhancements
                               FreeS/WAN 1.98b, x509 0.9.14, algo 0.8.0

o Version 0.2d -- 2004.01.13 -- Adaptions for Openswan 1.0.0
                                by Stephan Scholz <sscholz@astaro.com>

o Version 0.2e -- 2004.10.14 -- Added support for change of interface address
                                by Stephan Scholz <sscholz@astaro.com>

o Version 0.2s -- 2005-12-02 -- Ported to strongSwan
                                by Stephan Scholz <sscholz@astaro.com>

o Version 0.2x -- 2006-01-02 -- Added missing strongSwan keywords
				Full support of the native Linux 2.6 IPsec stack
				Full support of %defaultroute
				Improved parsing of keywords using perfect hash
				function generated by gperf.
                                by Andreas Steffen <andreas.steffen@hsr.ch>

THANKS
------

o Nathan Angelacos - include fix