strongswan/src/starter
Martin Willi 19cb07b890 automake: replace INCLUDES by AM_CPPFLAGS
INCLUDES are now deprecated and throw warnings when using automake 1.13.
We now also differentiate AM_CPPFLAGS and AM_CFLAGS, where includes and
defines are passed to AM_CPPFLAGS only.
2013-07-18 14:59:19 +02:00
..
.gitignore starter: Updated gitignores after LEX/YACC change. 2011-10-10 20:07:37 +02:00
Android.mk android: Remove/filter header files from LOCAL_SRC_FILES 2013-03-20 15:24:26 +01:00
Makefile.am automake: replace INCLUDES by AM_CPPFLAGS 2013-07-18 14:59:19 +02:00
README
args.c Add a ikedscp ipsec.conf option to set DSCP value on outgoing IKE packets 2013-02-06 15:36:36 +01:00
args.h
cmp.c Pass complete port range over stroke interface for more flexibility 2013-02-21 11:52:33 +01:00
cmp.h starter: Removed all unsupported keywords. 2012-06-11 17:33:32 +02:00
confread.c starter: Make daemon name configurable 2013-03-19 15:23:45 +01:00
confread.h Merge branch 'opaque-ports' 2013-03-01 11:27:12 +01:00
files.h starter: Make daemon name configurable 2013-03-19 15:23:45 +01:00
invokecharon.c starter: Make daemon name configurable 2013-03-19 15:23:45 +01:00
invokecharon.h
ipsec-parser.h
ipsec.conf Removed deprecated options from ipsec.conf template 2012-08-24 11:52:01 +02:00
keywords.h Load any type (RSA/ECDSA) of public key via left|rightsigkey 2013-05-07 17:08:31 +02:00
keywords.txt Load any type (RSA/ECDSA) of public key via left|rightsigkey 2013-05-07 17:08:31 +02:00
klips.c Moved debug.[ch] to utils folder 2012-10-24 16:00:51 +02:00
klips.h
lexer.l
netkey.c plugin-loader: Removed unused path argument of load() method 2013-06-28 10:44:15 +02:00
netkey.h
parser.y Moved debug.[ch] to utils folder 2012-10-24 16:00:51 +02:00
starter.c starter: Make ipsec.conf path configurable via command line 2013-06-21 10:08:56 +02:00
starterstroke.c Merge branch 'opaque-ports' 2013-03-01 11:27:12 +01:00
starterstroke.h Starter unroutes removed or changed connections before loading and routing new ones 2012-10-18 14:42:11 +02:00
y.output Fixed bug at checking error code from file stat 2011-11-28 15:02:49 +01: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