aboutsummaryrefslogtreecommitdiffstats
path: root/src/starter/starter.c
Commit message (Collapse)AuthorAgeFilesLines
* starter: Allow specifying the ipsec.conf location in strongswan.confShea Levy2014-10-021-1/+2
|
* stroke: Allow specifying the ipsec.secrets location in strongswan.confShea Levy2014-10-021-3/+7
|
* starter: Do not close all file descriptors after fork()Martin Willi2014-08-251-1/+0
| | | | | | | | As we use libstrongswan and expect that it still works after the fork, we can't just closefrom() all file descriptors. Watcher, for example, uses a pipe to notify FDSET changes, which must be kept open. Reverts 652ddf5ce2fad08f6569096dd56a821500cc5ba4.
* starter: Add --conftest option to test ipsec.conf syntaxTobias Brunner2014-06-191-0/+27
|
* libhydra: Remove unused hydra->daemonTobias Brunner2014-02-121-1/+1
|
* lib: Add global config namespaceTobias Brunner2014-02-121-1/+1
|
* starter: Properly refer to the ipsec script if it was renamedTobias Brunner2013-07-221-1/+1
|
* starter: Make ipsec.conf path configurable via command lineTobias Brunner2013-06-211-3/+14
|
* starter: ignore return value of sete[gu]id(), now having warn_unused_resultMartin Willi2013-06-181-5/+4
|
* starter: Make daemon name configurableAdrian-Ken Rueegsegger2013-03-191-13/+95
| | | | | | | | A daemon can be specified using the '--daemon' command line parameter. This tells starter to invoke a daemon other than 'charon'. Additionally the ipsec script uses the environment variable DAEMON_NAME to tell the starter which daemon to use.
* starter: Add --attach-gdb option to usage textAdrian-Ken Rueegsegger2013-01-221-1/+2
|
* Moved debug.[ch] to utils folderTobias Brunner2012-10-241-1/+1
|
* Starter ignores non-fatal errors when reloading configTobias Brunner2012-10-181-1/+1
|
* Starter unroutes removed or changed connections before loading and routing ↵Tobias Brunner2012-10-181-0/+8
| | | | new ones
* starter: Added --nolog option to suppress logging in starter itselfTobias Brunner2012-09-121-2/+6
| | | | Fixes #224.
* starter: Load config again when restarting charonTobias Brunner2012-09-051-0/+16
| | | | This got lost in 041e763b.
* Only load kernel plugins in starter when flushing SAD/SPD entriesTobias Brunner2012-08-161-9/+1
| | | | | | | | This avoids keeping the kernel sockets open when they are not actually needed, which could lead to resource problems (in particular with PF_KEY where all open sockets receive all messages). Fixes #217.
* Print the kind of *Swan during starter startupMartin Willi2012-06-141-1/+4
|
* starter: Remove all ties to pluto/libfreeswan.Tobias Brunner2012-06-111-4/+0
| | | | Moved some types/constants in the process.
* starter: Remove main parts of pluto support (invoke, whack).Tobias Brunner2012-06-111-162/+43
|
* starter: Drop support for %defaultroute.Tobias Brunner2012-06-111-7/+0
|
* starter: Migrated logging to libstrongswan.Tobias Brunner2012-06-111-56/+114
|
* starter: Go back to single threaded mode.Tobias Brunner2012-06-081-20/+5
| | | | | Mixing multiple threads and fork(2) wasn't a very good idea it seems. At least in some environments this caused strange side-effects.
* starter: Only handle SIGCHLD asynchronously and the rest in pselect(2).Tobias Brunner2012-06-061-8/+17
|
* starter: (De-)Initialize logging when forking.Tobias Brunner2012-06-051-0/+2
|
* starter: Changed signal handling now that starter is multi-threaded.Tobias Brunner2012-06-041-14/+56
|
* starter: Initialize thread pool so kernel events are consumed.Tobias Brunner2012-05-151-0/+9
|
* Do not ignore configs for IKEv1 in charon anymoreMartin Willi2012-03-201-12/+6
|
* starter: Use kernel interfaces to flush SAD and SPD.Tobias Brunner2011-10-211-0/+4
| | | | | This now supports platforms where neither 'ip xfrm' nor 'setkey' are available (like Android).
* starter: Load plugins specific to starter.Tobias Brunner2011-10-211-0/+8
|
* starter: INFO_FILE is not used anymore.Tobias Brunner2011-10-211-1/+0
|
* starter: Close open file descriptors after forking.Tobias Brunner2011-10-131-1/+5
| | | | | This avoids problems with Android's adb which leaves several file descriptors open when executing processes.
* starter: Only create self-signed certificate if scepclient is built.Tobias Brunner2011-10-121-38/+42
|
* starter: Check for processes with PIDs stored in pid files.Tobias Brunner2011-09-281-6/+39
|
* Fix some warnings triggered by gcc 4.6 -Wunused-but-set-variableMartin Willi2011-05-191-2/+0
|
* IKEv2 was only partially the default for connections with auto=route and ↵Tobias Brunner2011-04-271-2/+2
| | | | | | | | auto=start. Connections with auto=route and auto=start that did not have keyexchange=ikev2 explicitly specified did get added to charon, but did not get routed or started by charon.
* Warn about manual plugin load directives for pluto/charon with ↵Andreas Steffen2010-07-151-0/+16
| | | | --disable-load-warning compile option
* Revert "Warn about manual plugin load directives for pluto/charon"Martin Willi2010-07-141-11/+0
| | | | This reverts commit 5c46726d0d91db5b1fc4ea53326e73443133f22d.
* Warn about manual plugin load directives for pluto/charonMartin Willi2010-07-131-0/+11
|
* free config before exiting since library_deinit() calls leak detectiveAndreas Steffen2010-05-021-4/+3
|
* Initialize libstrongswan in starter (fixes Vstr logging).Tobias Brunner2010-04-291-0/+4
|
* removed trailing spaces ([[:space:]]+$)Martin Willi2009-09-041-7/+7
|
* use time_monotonic() instead of time() for statistics and time difference ↵Martin Willi2009-08-311-3/+3
| | | | calculations
* use SS_RC_FIRST and SS_RC_LASTAndreas Steffen2009-08-061-2/+1
|
* abort pluto or charon if initialization failsAndreas Steffen2009-08-061-2/+2
|
* stop strongswan if integrity check of libstrongswan or daemon failsAndreas Steffen2009-07-171-8/+16
|
* enforce strongSwan coding rulesAndreas Steffen2009-07-171-0/+16
|
* consistent display of strongSwan versionAndreas Steffen2009-06-131-1/+1
|
* removing svn keyword $Id$ from all filesTobias Brunner2009-04-301-2/+0
|
* merging changes from portability branch back to trunkTobias Brunner2009-04-301-3/+3
| | | | | important change for developers: %Y replaces %D to print identities!