Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | 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 | |
| | | ||||||
| * | lib: Add default config fallback for configured namespace | Tobias Brunner | 2014-02-12 | 1 | -0/+3 | |
| | | | | | | | | All settings in the configured global namespace fall back to libstrongswan. | |||||
| * | unit-tests: Test how settings_t handles some invalid data | Tobias Brunner | 2014-02-12 | 1 | -0/+72 | |
| | | ||||||
| * | settings: Add method that allows to define fallback sections for other sections | Tobias Brunner | 2014-02-12 | 3 | -13/+276 | |
| | | | | | | | | | | The fallbacks are currently only used for single value lookups. Enumerators are not affected by them. | |||||
| * | settings: Make print_key() not rely on null-terminated beginning of key buffer | Tobias Brunner | 2014-02-12 | 1 | -10/+5 | |
| | | | | | | | | | | The key to print (e.g. until the next .) still has to be null-terminated. | |||||
| * | unit-tests: Add tests for includes and file loading in settings_t | Tobias Brunner | 2014-02-12 | 1 | -0/+149 | |
| | | ||||||
| * | settings: Allow empty strings in section key | Tobias Brunner | 2014-02-12 | 2 | -23/+33 | |
| | | ||||||
| * | unit-tests: Add tests for enumerators in settings_t | Tobias Brunner | 2014-02-12 | 1 | -0/+148 | |
| | | ||||||
| * | unit-tests: Add tests for setters in settings_t | Tobias Brunner | 2014-02-12 | 1 | -0/+109 | |
| | | ||||||
| * | unit-tests: Add basic tests for settings_t | Tobias Brunner | 2014-02-12 | 3 | -0/+319 | |
| | | ||||||
| * | lib: Add global config namespace | Tobias Brunner | 2014-02-12 | 38 | -41/+55 | |
|/ | ||||||
* | pool: Typo in Makefile fixed | Tobias Brunner | 2014-02-12 | 1 | -1/+1 | |
| | ||||||
* | Merge branch 'sql-install' | Tobias Brunner | 2014-02-12 | 38 | -1822/+92 | |
|\ | | | | | | | | | | | | | SQL schemas and example data (IMV) are now part of the distribution and installed in $prefix/share/strongswan. This way no extra copy is needed for the test suite and distributions can easily pack those files together with the plugins. | |||||
| * | pool: Install SQL schemas from src/pool | Tobias Brunner | 2014-02-12 | 5 | -3/+11 | |
| | | | | | | | | | | This allows us to install the schemas if either the attr-sql or sql plugin is enabled, since both use the same schema (at least in parts). | |||||
| * | sql: Set default values for some fields in addresses table | Tobias Brunner | 2014-02-12 | 2 | -6/+6 | |
| | | ||||||
| * | testing: Use installed PTS SQL schema and data instead of local copy | Tobias Brunner | 2014-02-12 | 6 | -1456/+8 | |
| | | ||||||
| * | testing: Use installed SQL schema instead of local copy | Tobias Brunner | 2014-02-12 | 25 | -334/+64 | |
| | | ||||||
| * | libimcv: Install SQL files in /usr/share/strongswan/templates/database | Tobias Brunner | 2014-02-12 | 2 | -2/+3 | |
| | | ||||||
| * | sql: Install SQL schemas in /usr/share/strongswan/templates/database | Tobias Brunner | 2014-02-12 | 1 | -0/+3 | |
| | | ||||||
| * | sql: Remove unused cred.sql snippet | Tobias Brunner | 2014-02-12 | 1 | -24/+0 | |
|/ | ||||||
* | asn1: Support dates before 1970-01-01 (i.e. when time_t gets negative) | Tobias Brunner | 2014-02-12 | 3 | -4/+29 | |
| | | | | | | On x86 we allow "overflows" around 1969/1970 but not for other dates. Fixes #509. | |||||
* | asn1: Add additional validation for parsed ASN.1 date/time values | Tobias Brunner | 2014-02-12 | 2 | -1/+20 | |
| | ||||||
* | ikev1: Fix config switching due to failed authentication during Aggressive mode | Tobias Brunner | 2014-02-12 | 1 | -3/+1 | |
| | | | | | | | The encoded ID payload gets destroyed by the authenticator, which caused a segmentation fault after the switch. Fixes #501. | |||||
* | kernel-pfroute: Don't cache route entries if installation fails | Tobias Brunner | 2014-02-12 | 1 | -2/+5 | |
| | ||||||
* | kernel-netlink: Don't cache route entries if installation fails | Tobias Brunner | 2014-02-12 | 1 | -2/+5 | |
| | | | | Fixes #500. | |||||
* | identification: Fix printing of empty RDNs on FreeBSD | Tobias Brunner | 2014-02-12 | 1 | -1/+6 | |
| | | | | On FreeBSD (null) is printed for NULL even if the precision is 0. | |||||
* | tests: Fix test for printing NULL on FreeBSD | Tobias Brunner | 2014-02-12 | 1 | -2/+13 | |
| | ||||||
* | Fixed description of ikev1/rw-ntru-psk scenario | Andreas Steffen | 2014-02-12 | 1 | -1/+1 | |
| | ||||||
* | Updated test kvm tests to Linux 3.13 kernel | Andreas Steffen | 2014-02-12 | 2 | -3/+2050 | |
| | ||||||
* | Added ikev1/net2net-ntru-cert and ikev1/rw-ntru-psk scenarios | Andreas Steffen | 2014-02-12 | 23 | -0/+302 | |
| | ||||||
* | testing: Add ssh script to distribution | Tobias Brunner | 2014-02-12 | 1 | -1/+1 | |
| | ||||||
* | unit-tests: added asn1_parser tests | Andreas Steffen | 2014-02-10 | 3 | -0/+293 | |
| | ||||||
* | unit-tests: added some more ASN.1 length tests | Andreas Steffen | 2014-02-10 | 1 | -0/+13 | |
| | ||||||
* | leak_detective: Assign return value of realloc to buf | Thomas Egerer | 2014-02-10 | 1 | -1/+1 | |
| | | | | | | | If realloc return a pointer value different from the value to be reallocated, a double free can occur in this context. Signed-off-by: Thomas Egerer <thomas.egerer@secunet.com> | |||||
* | rdrand: Provide get_features() regardless of RDRAND availability | Martin Willi | 2014-02-10 | 1 | -6/+6 | |
| | | | | | As having no get_features() raises a deprecated warning, we return no features instead. | |||||
* | rdrand: Move RDRAND detection log to level 2 | Martin Willi | 2014-02-10 | 1 | -2/+2 | |
| | | | | | When having RDRAND support, these log messages might be confusing when using pki or other tools. | |||||
* | updown: Return an empty DNS server enumerator if no IKE_SA available | Martin Willi | 2014-02-06 | 1 | -1/+1 | |
| | | | | | The one existing caller does not handle a NULL return and always expects an enumerator; and returning FALSE does not make sense anyway. | |||||
* | Merge branch 'cmd-proposals' | Martin Willi | 2014-02-06 | 5 | -6/+119 | |
|\ | | | | | | | | | | | | | Introduce --ike/esp/ah-proposal options to offer custom proposals, and requests an IPv6 virtual IP if an IPv6 --remote-ts is given. Fixes #508. | |||||
| * | charon-cmd: Request an IPv6 virtual IP if an IPv6 remote subnet given | Martin Willi | 2014-02-06 | 1 | -4/+23 | |
| | |