strongswan/src/libstrongswan/plugins
Tobias Brunner 190a278854 plugin-loader: Optionally use load option in each plugin section to load plugins
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.
2014-02-12 14:34:33 +01:00
..
aes automake: replace INCLUDES by AM_CPPFLAGS 2013-07-18 14:59:19 +02:00
af_alg Remove HASH_PREFERRED, usages are replaced with HASH_SHA1, which is required for IKEv2 anyway 2013-10-11 15:13:25 +02:00
agent agent: Keep CAP_DAC_OVERRIDE to connect to ssh-agent socket 2014-01-23 10:08:23 +01:00
blowfish automake: replace INCLUDES by AM_CPPFLAGS 2013-07-18 14:59:19 +02:00
ccm ccm: Add missing comma in get_iv_gen method signature 2013-10-11 17:42:25 +02:00
cmac automake: replace INCLUDES by AM_CPPFLAGS 2013-07-18 14:59:19 +02:00
constraints credmgr: introduce a hook function to catch trust chain validation errors 2013-07-18 16:00:30 +02:00
ctr automake: replace INCLUDES by AM_CPPFLAGS 2013-07-18 14:59:19 +02:00
curl curl: Replace spaces in URIs with %20 2014-01-23 10:19:30 +01:00
des automake: replace INCLUDES by AM_CPPFLAGS 2013-07-18 14:59:19 +02:00
dnskey automake: replace INCLUDES by AM_CPPFLAGS 2013-07-18 14:59:19 +02:00
fips_prf automake: replace INCLUDES by AM_CPPFLAGS 2013-07-18 14:59:19 +02:00
gcm iv_gen: aead_t implementations provide an IV generator 2013-10-11 15:55:40 +02:00
gcrypt lib: All settings use configured namespace 2014-02-12 14:34:32 +01:00
gmp automake: replace INCLUDES by AM_CPPFLAGS 2013-07-18 14:59:19 +02:00
hmac automake: replace INCLUDES by AM_CPPFLAGS 2013-07-18 14:59:19 +02:00
keychain keychain: be less verbose when loading certificates 2013-07-31 11:41:16 +02:00
ldap automake: replace INCLUDES by AM_CPPFLAGS 2013-07-18 14:59:19 +02:00
md4 automake: replace INCLUDES by AM_CPPFLAGS 2013-07-18 14:59:19 +02:00
md5 automake: replace INCLUDES by AM_CPPFLAGS 2013-07-18 14:59:19 +02:00
mysql database: Add support for serializable transactions 2013-10-11 15:29:10 +02:00
nonce automake: replace INCLUDES by AM_CPPFLAGS 2013-07-18 14:59:19 +02:00
ntru lib: All settings use configured namespace 2014-02-12 14:34:32 +01:00
openssl lib: All settings use configured namespace 2014-02-12 14:34:32 +01:00
padlock automake: replace INCLUDES by AM_CPPFLAGS 2013-07-18 14:59:19 +02:00
pem pem: Use chunk_map() instead of non-portable mmap() 2014-01-23 15:55:33 +01:00
pgp automake: replace INCLUDES by AM_CPPFLAGS 2013-07-18 14:59:19 +02:00
pkcs1 automake: replace INCLUDES by AM_CPPFLAGS 2013-07-18 14:59:19 +02:00
pkcs7 automake: replace INCLUDES by AM_CPPFLAGS 2013-07-18 14:59:19 +02:00
pkcs8 automake: replace INCLUDES by AM_CPPFLAGS 2013-07-18 14:59:19 +02:00
pkcs11 lib: All settings use configured namespace 2014-02-12 14:34:32 +01:00
pkcs12 automake: replace INCLUDES by AM_CPPFLAGS 2013-07-18 14:59:19 +02:00
pubkey automake: replace INCLUDES by AM_CPPFLAGS 2013-07-18 14:59:19 +02:00
random lib: All settings use configured namespace 2014-02-12 14:34:32 +01:00
rc2 automake: replace INCLUDES by AM_CPPFLAGS 2013-07-18 14:59:19 +02:00
rdrand rdrand: Provide get_features() regardless of RDRAND availability 2014-02-10 11:22:16 +01:00
revocation credmgr: introduce a hook function to catch trust chain validation errors 2013-07-18 16:00:30 +02:00
sha1 automake: replace INCLUDES by AM_CPPFLAGS 2013-07-18 14:59:19 +02:00
sha2 automake: replace INCLUDES by AM_CPPFLAGS 2013-07-18 14:59:19 +02:00
soup automake: replace INCLUDES by AM_CPPFLAGS 2013-07-18 14:59:19 +02:00
sqlite database: Add support for serializable transactions 2013-10-11 15:29:10 +02:00
sshkey pki: Replace BUILD_FROM_FD with passing a chunk via BUILD_BLOB 2013-10-23 17:20:39 +02:00
test_vectors automake: replace INCLUDES by AM_CPPFLAGS 2013-07-18 14:59:19 +02:00
unbound lib: All settings use configured namespace 2014-02-12 14:34:32 +01:00
x509 lib: All settings use configured namespace 2014-02-12 14:34:32 +01:00
xcbc automake: replace INCLUDES by AM_CPPFLAGS 2013-07-18 14:59:19 +02:00
plugin.h Added support for plugin features 2011-10-14 10:05:44 +02:00
plugin_feature.c plugin-feature: Add feature for DNSSEC-enabled resolvers 2013-06-11 11:18:18 +02:00
plugin_feature.h plugin-feature: Added helper function to extend arrays of plugin features 2013-06-11 11:18:18 +02:00
plugin_loader.c plugin-loader: Optionally use load option in each plugin section to load plugins 2014-02-12 14:34:33 +01:00
plugin_loader.h plugin-loader: Optionally use load option in each plugin section to load plugins 2014-02-12 14:34:33 +01:00