Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixed a minor vulnerability in which a malformed ASN.1 length field could ↵5.1.2rc1 | Andreas Steffen | 2014-02-14 | 1 | -0/+1 |
| | | | | cause a crash of the charon daemon if the verbose debug level 3 (raw hex dump) for the asn subsystem is enabled. | ||||
* | conf: Fix installation on FreeBSD | Tobias Brunner | 2014-02-13 | 1 | -2/+2 |
| | | | | Apparently, the -t option for install is not portable. | ||||
* | pacman.sh creates /etc/pts/dists directory if it doesn't exist yet | Andreas Steffen | 2014-02-13 | 1 | -0/+1 |
| | |||||
* | NEWS: Add strongswan.conf changes and IPComp fixes | Tobias Brunner | 2014-02-13 | 1 | -0/+24 |
| | |||||
* | conf: The use of $^ is not portable | Tobias Brunner | 2014-02-13 | 1 | -3/+6 |
| | | | | | Generating strongswan.conf.5.main in a subshell gets the file properly written to the builddir in out-of-tree builds. | ||||
* | printf-hook-glibc: printf.h on FreeBSD 10 does not include stdargs.h | Tobias Brunner | 2014-02-13 | 1 | -1/+1 |
| | |||||
* | array: Fix compilation on FreeBSD | Tobias Brunner | 2014-02-13 | 1 | -2/+2 |
| | |||||
* | Merge branch 'modular-load' | Tobias Brunner | 2014-02-12 | 270 | -2427/+4724 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Introduces a new configuration file layout. strongswan.conf is now only very simple and mainly includes the config snippets from the strongswan.d and strongswan.d/charon directories (the latter containing snippets for individual plugins). Config snippets with commented defaults are generated for all currently defined settings and are installed if they don't exist yet and the respective plugin/component is enabled. Similarly, the strongswan.conf(5) man page, which documents all these settings, is automatically generated from the same source. The config snippets are also installed in $prefix/share/strongswan so existing files can be compared to the most current defaults. As an alternative to the non-extensible charon.load option, the plugins to load can now be determined via the respective charon.plugins.<name>.load setting. This functionality is enabled by the new default strongswan.conf file (via the charon.load_modular option) and the load setting in the generated config snippets of all enabled plugins. The load setting optionally takes a numeric priority value that allows reordering the plugins (plugins with the same priority are ordered according to the default plugin order). Additionally, all settings that were formerly defined in library specific "global" sections are now application specific. For instance, instead of configuring libstrongswan.plugins.random.random and affecting charon, charon-cmd, pki, basically every application using libstrongswan, the option can now be set individually for each application (e.g. pki.plugins.random.random to affect only pki). The old options are still supported though, which actually allows to define defaults for all applications in the libstrongswan section. The libtls options are mapped to <app>.tls. The libimcv and libtnccs options are mapped to <app>.imcv and <app>.tnc, respectively (while their plugin's options are now under <app>.plugins together with all the others). Fixes #475. | ||||
| * | conf: Install config files world-readable but warn about permissions for ↵ | Tobias Brunner | 2014-02-12 | 12 | -15/+28 |
| | | | | | | | | certain options | ||||
| * | conf: Document variables and config files/dirs | Tobias Brunner | 2014-02-12 | 1 | -2/+22 |
| | | |||||
| * | Add Python and pkg-config as requirements to HACKING | Tobias Brunner | 2014-02-12 | 1 | -0/+2 |
| | | | | | | | | | | pkg-config is probably installed on most systems by default, but e.g. not on Cygwin. | ||||
| * | conf: Only install config snippets for enabled components | Tobias Brunner | 2014-02-12 | 2 | -3/+23 |
| | | |||||
| * | conf: Document options of other programs | Tobias Brunner | 2014-02-12 | 6 | -1/+68 |
| | | |||||
| * | conf: Document options of plugins in libpts | Tobias Brunner | 2014-02-12 | 5 | -0/+57 |
| | | |||||
| * | libpts: Move settings to <ns>.plugins with fallback to libimcv | Tobias Brunner | 2014-02-12 | 8 | -24/+25 |
| | | |||||
| * | conf: Document libimcv options | Tobias Brunner | 2014-02-12 | 9 | -0/+64 |
| | | |||||
| * | libimcv: Move settings to <ns>.imcv and <ns>.plugins with fallback | Tobias Brunner | 2014-02-12 | 10 | -22/+32 |
| | | |||||
| * | conf: Document libtnccs options | Tobias Brunner | 2014-02-12 | 6 | -1/+25 |
| | | |||||
| * | libtnccs: Move settings to <ns>.tnc and <ns>.plugins with fallback | Tobias Brunner | 2014-02-12 | 7 | -9/+12 |
| | | |||||
| * | attr: Silently skip over load option | Tobias Brunner | 2014-02-12 | 1 | -0/+4 |
| | | |||||
| * | Prevent 'make distcheck' from complaining about config files we leave in /etc | Tobias Brunner | 2014-02-12 | 1 | -0/+3 |
| | | |||||
| * | conf: Create automatically generated config snippets in build dir | Tobias Brunner | 2014-02-12 | 1 | -3/+8 |
| | | |||||
| * | conf: Install config snippets in /usr/share/strongswan/templates/config too | Tobias Brunner | 2014-02-12 | 1 | -0/+7 |
| | | |||||
| * | conf: Only install config snippets if they don't exist yet | Tobias Brunner | 2014-02-12 | 1 | -7/+13 |
| | | |||||
| * | conf: Move load-tester options to plugin specific file | Tobias Brunner | 2014-02-12 | 2 | -130/+133 |
| | | |||||
| * | conf: Options of all plugins documented | Tobias Brunner | 2014-02-12 | 49 | -31/+574 |
| | | | | | | | | Some options are still missing descriptions though. | ||||
| * | conf: Add logger example config | Tobias Brunner | 2014-02-12 | 4 | -50/+66 |
| | | |||||
| * | conf: Converted charon options | Tobias Brunner | 2014-02-12 | 1 | -1/+290 |
| | | |||||
| * | conf: Split strongswan.conf(5) man page and use generated snippet | Tobias Brunner | 2014-02-12 | 6 | -1782/+741 |
| | | |||||
| * | conf: Generate groff snippet for configuration options | Tobias Brunner | 2014-02-12 | 1 | -2/+6 |
| | | |||||
| * | conf: Generate strongswan.conf(5) man page in different directory | Tobias Brunner | 2014-02-12 | 5 | -3/+7 |
| | | |||||
| * | conf: Generate and install config sippets for option descriptions | Tobias Brunner | 2014-02-12 | 7 | -6/+103 |
| | | | | | | | | | | The strongswan.d directory is also created relative to the configured location of strongswan.conf. | ||||
| * | conf: Script to convert option descriptions to man page and config snippets ↵ | Tobias Brunner | 2014-02-12 | 1 | -0/+337 |
| | | | | | | | | added | ||||
| * | conf: Create /etc/strongswan.d directory and include .conf files | Tobias Brunner | 2014-02-12 | 2 | -0/+5 |
| | | |||||
| * | conf: Simplified strongswan.conf template | Tobias Brunner | 2014-02-12 | 1 | -27/+2 |
| | | |||||
| * | conf: Install strongswan.conf template from a separate directory | Tobias Brunner | 2014-02-12 | 5 | -7/+7 |
| | | |||||
| * | settings: Add support to enumerate sections and key/value pairs with fallbacks | Tobias Brunner | 2014-02-12 | 3 | -45/+187 |
| | | |||||
| * | settings: Implement subsections and key/value pairs with sorted arrays | Tobias Brunner | 2014-02-12 | 1 | -68/+74 |
| | | | | | | | | | | | | Is a bit more memory efficient (also due to lazy instantiation) and lookups for sections with lots of subsections/keys (e.g. charon.plugins) are faster. | ||||
| * | array: Add fallback for qsort_r using thread-local value | Tobias Brunner | 2014-02-12 | 4 | -3/+50 |
| | | | | | | | | Cygwin for example does not support qsort_r. | ||||
| * | plugin-loader: Optionally use load option in each plugin section to load plugins | Tobias Brunner | 2014-02-12 | 3 | -4/+153 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This now works because all plugins use the same config namespace. If <ns>.load_modular is true, the list of plugins to load is determined via the value of the <ns>.plugins.<name>.load options. Using includes the following is possible: charon { load_modular = yes plugins { include strongswan.d/charon/*.conf } } charon-cmd { load_modular = yes plugins { include strongswan.d/charon-cmd/*.conf } } Where each .conf file would contain something like: <name> { load = yes <option> = <value> } To increase the priority of individual plugins load = <priority> can be used (the default is 1). For instance, to use openssl instead of the built-in crypto plugins set in strongswan.d/charon/openssl.conf: openssl { load = 10 } If two plugins have the same priority their order in the default plugin list is preserved. Plugins not found in that list are ordered alphabetically before other plugins with the same priority. | ||||
| * | array: Add array_bsearch function | Tobias Brunner | 2014-02-12 | 3 | -0/+141 |
| | | |||||
| * | array: Add array_sort function | Tobias Brunner | 2014-02-12 | 4 | -1/+204 |
| | | |||||
| * | libcharon: Remove unused charon->name | Tobias Brunner | 2014-02-12 | 10 | -21/+13 |
| | | |||||
| * | charon-tkm: Use lib->ns instead of charon->name | Tobias Brunner | 2014-02-12 | 3 | -5/+5 |
| | | |||||
| * | libcharon: Use lib->ns instead of charon->name | Tobias Brunner | 2014-02-12 | 72 | -259/+255 |
| | | |||||
| * | libhydra: Remove unused hydra->daemon | Tobias Brunner | 2014-02-12 | 11 | -22/+12 |
| | | |||||
| * | libhydra: Use lib->ns instead of hydra->daemon | Tobias Brunner | 2014-02-12 | 10 | -30/+30 |
| | | |||||
| * | libtls: Move settings to <ns>.tls with fallback to libtls | Tobias Brunner | 2014-02-12 | 3 | -17/+21 |
| | | |||||
| * | attr-sql: Use namespace for attr-sql config, with fallback | Tobias Brunner | 2014-02-12 | 3 | -5/+12 |
| | | |||||
| * | lib: All settings use configured namespace | Tobias Brunner | 2014-02-12 | 24 | -196/+196 |
| | |