Tobias Brunner
10c4f4e1fd
libhydra: Remove unused hydra->daemon
2014-02-12 14:34:32 +01:00
Tobias Brunner
34d3bfcf14
lib: Add global config namespace
2014-02-12 14:34:31 +01:00
Tobias Brunner
11ac36b016
conftest: Don't load plugins incrementally
...
This is not supported by the plugin loader, so we simply combine the
plugin lists and load them all at once.
2013-09-13 11:44:04 +02:00
Tobias Brunner
b18a531715
plugin-loader: Removed unused path argument of load() method
...
Multiple additional search paths can be added with the add_path()
method.
2013-06-28 10:44:15 +02:00
Tobias Brunner
607f8e9906
plugin-loader: Add method to print loaded plugins on a given log level
2013-06-21 15:17:53 +02:00
Thomas Klute
13c177852f
conftest: Add support for time_format and ike_name options in log sections
...
Both options are well supported for normal operation but were completely
ignored by conftest, which used hard coded defaults. File options are
still missing but could be added in a similar way.
2013-01-08 11:12:44 +01:00
Thomas Klute
b78698f755
conftest: Fix log level settings for stdout
...
This patch fixes bug #272 ("conftest ignores log settings for stdout").
http://wiki.strongswan.org/issues/272
According to the documentation of add_logger in src/libcharon/bus/bus.h,
the relevant log levels of a logger are registered with the logging
subsystem when adding the logger. If the log levels change later, the
logger must be re-added to propagate the new settings. In conftest.c,
the stdout logger is initialized and added before reading the logging
settings, but wasn't re-added after reading the settings.
2013-01-08 11:12:10 +01:00
Tobias Brunner
d35d669180
Make syslog and file loggers configurable at runtime
2012-10-18 14:42:10 +02:00
Tobias Brunner
18a8893e8e
Store loggers in conftest separately, not on charon
2012-10-18 14:42:10 +02:00
Tobias Brunner
a05f3b2021
Make sure first argument is an int when using %.*s to print e.g. chunks
2012-09-28 18:01:49 +02:00
Martin Willi
71c41410fc
Initialize conftest with the same plugins as charon
2012-07-16 14:53:37 +02:00
Martin Willi
172fdf8bd1
Update conftest to use splitted listener/logger interfaces
2012-07-16 14:53:37 +02:00
Tobias Brunner
18758e3d2e
Store the name of the binary using libcharon to enable specific settings.
2012-05-03 13:57:04 +02:00
Martin Willi
32973044b0
Added a merge option to optionally reload files instead of merging them
2011-04-15 10:07:13 +02:00
Tobias Brunner
84545f6e7c
Some typos fixed.
2011-02-07 11:39:41 +01:00
Martin Willi
97d30f0010
Added support for OCSP responder URIs to conftest
2011-01-05 16:46:07 +01:00
Martin Willi
968e5e665b
Added support for CDPs to conftest
2011-01-05 16:46:06 +01:00
Martin Willi
dbec133eb8
Added support for custom file loggers, loglevel settings
2011-01-05 16:46:06 +01:00
Martin Willi
98ef286580
Merge test config into suite config, instead of having two distinct configs
2011-01-05 16:46:04 +01:00
Martin Willi
48ef001133
Accept a suffix to differentiate x509, crl, ecdsa and rsa files
2011-01-05 16:45:59 +01:00
Martin Willi
c7f7a0ba06
Use strncaseeq instead of strncasecmp
2011-01-05 16:45:59 +01:00
Martin Willi
9a99b745c0
Preload plugins configured in tests
2011-01-05 16:45:49 +01:00
Martin Willi
90994a8a5c
Support loading of certificate revocation lists
2011-01-05 16:45:46 +01:00
Martin Willi
2712b113c7
Prefer test specific over suite specific configuration
2011-01-05 16:45:45 +01:00
Martin Willi
a784c9e030
Specify the type of the certificate to load, currently X509 only
2011-01-05 16:45:43 +01:00
Martin Willi
a60b892841
Support hook suffixes to use the same hook multiple times
2011-01-05 16:45:42 +01:00
Martin Willi
b70abdac2b
Fixed loading of credentials using a relative path
2011-01-05 16:45:42 +01:00
Martin Willi
3b3e5c0de5
Fix segfault if config not found
2011-01-05 16:45:41 +01:00
Martin Willi
73a3013f7c
Read actions from test config, delayed execution
2011-01-05 16:45:41 +01:00
Martin Willi
3f759bb75b
Load private keys from suite and test configs
2011-01-05 16:45:40 +01:00
Martin Willi
a13c1d649f
Load certificates from both, suite and test config
2011-01-05 16:45:40 +01:00
Martin Willi
d1041fa463
Load test and suite specific connection configurations
2011-01-05 16:45:40 +01:00
Martin Willi
f452a5a1f8
Load hooks based on listener dynamically
2011-01-05 16:45:40 +01:00
Martin Willi
b318e0ab57
Load certificates from global suite configuration file
2011-01-05 16:45:40 +01:00
Martin Willi
e78ec86d27
Added a Suite B conftest utility skeleton using libcharon
2011-01-05 16:45:40 +01:00