aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/plugins/attr_sql
Commit message (Collapse)AuthorAgeFilesLines
* Moving attr-sql plugin from libstrongswan to libhydra.Tobias Brunner2010-03-247-1989/+0
|
* Fixed ipsec pool --batch commandHeiko Hund2010-03-241-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | --batch mode has shown to be buggy in very obscure ways in the first real life tests. For example a batch file --del pool1 --replace pool2 --addresses file1 returned the error "/usr/libexec/ipsec/pool: unrecognized option '--lace'" which was gone after moving the --del behind --replace. With the patch from below applied everything works like a charm. From the info on the man page it seem to be unrelated to this problem, though: A program that scans multiple argument vectors, or rescans the same vector more than once, and wants to make use of GNU extensions such as '+' and '-' at the start of optstring, or changes the value of POSIXLY_CORRECT between scans, must reinitialize getopt() by resetting optind to 0, rather than the traditional value of 1. (Resetting to 0 forces the invocation of an internal initialization routine that rechecks POSIXLY_CORRECT and checks for GNU exten- sions in optstring.) Signed-off-by: Heiko Hund <hhund@astaro.com>
* Removed strayed code fragmentMartin Willi2010-03-191-20/+4
|
* ipsec pool --batch commandHeiko Hund2010-03-191-60/+200
| | | | | | | | Introduce the --batch command which reads several ipsec pool commands and their arguments from a file or STDIN. Useful if you need to run serveral commands atomically from a configuration daemon or likewise. Signed-off-by: Heiko Hund <hhund@astaro.com>
* ipsec pool error return statusHeiko Hund2010-03-191-49/+51
| | | | | | | Fix the error return status of the ipsec pool command. Also make --del for attributes succeed if no --server option was given. Signed-off-by: Heiko Hund <hhund@astaro.com>
* ipsec pool --replace commandHeiko Hund2010-03-191-23/+61
| | | | | | | | | Introduce the pool --replace command as an alternative to --add. Also change the current behavior of allowing duplicate pool names so that, --add with an existing name fails and --replace removes the existing pool before adding the new one. Signed-off-by: Heiko Hund <hhund@astaro.com>
* --addresses option for ipsec pool --add commandHeiko Hund2010-03-191-5/+187
| | | | | | | | | Introduce the --addresses option for --add that can be used to add a pool containing non-contiguous addresses. Additionally it allows to preclaim certain addresses for certain roadwarrior IDs. See the second chunk of the patch for a more detailed description. Signed-off-by: Heiko Hund <hhund@astaro.com>
* fix 64bit issue with time_t from databaseAndreas Steffen2010-03-101-2/+8
|
* Reverting eba28948a584b9d02474cf5d256b04b8d2adbe6a which was only necessary ↵Tobias Brunner2010-03-021-1/+0
| | | | | | | when cross-compiling the plugins for Android 2.0. With the coming monolithic build using Android.mk files this won't be necessary anymore.
* Streamlined the source file list formatting in plugin makefiles.Tobias Brunner2010-03-021-4/+6
|
* Link all enabled libstrongswan plugins into the library, link all enabled ↵Tobias Brunner2010-03-021-1/+6
| | | | charon plugins into libcharon.
* Changed plugin constructors from plugin_create to plugin_name_plugin_create.Tobias Brunner2010-03-021-1/+1
|
* Removing the plugin constructor declarations from the header files.Tobias Brunner2010-03-021-5/+0
|
* Link all plugins to libstrongswan.Tobias Brunner2010-02-251-0/+1
|
* ipsec pool manages dns and nbns serversAndreas Steffen2009-12-161-15/+298
|
* cosmeticsAndreas Steffen2009-12-161-1/+1
|
* provide attributes from SQL databaseAndreas Steffen2009-12-161-1/+21
|
* Give plugins more control of which configuration attributes to request, and ↵Martin Willi2009-11-171-1/+1
| | | | pass received attributes back to the requesting handler
* Fixed all doxygen warningsMartin Willi2009-10-222-4/+4
|
* moved .gitignore for poolAndreas Steffen2009-10-151-0/+1
|
* Migrated the lease_history option to the new libstrongswan plugin namespaceMartin Willi2009-10-151-1/+1
|
* pool should be in th gitignore listAndreas Steffen2009-10-141-148/+0
|
* pluto now supports SQL-based virtual IP poolsAndreas Steffen2009-10-142-0/+149
|
* move SQL-based pool functionality to new attr-sql libstrongswan pluginAndreas Steffen2009-10-136-0/+1330