diff options
author | Martin Willi <martin@revosec.ch> | 2010-07-13 14:43:45 +0200 |
---|---|---|
committer | Martin Willi <martin@revosec.ch> | 2010-07-13 14:43:45 +0200 |
commit | 5c46726d0d91db5b1fc4ea53326e73443133f22d (patch) | |
tree | 3ad03b76030ae1efe5620e343829441654eed9f7 /src/starter | |
parent | 15d9904406cb8b1ce13a5d69bbd1e8707d62a118 (diff) | |
download | strongswan-5c46726d0d91db5b1fc4ea53326e73443133f22d.tar.bz2 strongswan-5c46726d0d91db5b1fc4ea53326e73443133f22d.tar.xz |
Warn about manual plugin load directives for pluto/charon
Diffstat (limited to 'src/starter')
-rw-r--r-- | src/starter/starter.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/starter/starter.c b/src/starter/starter.c index 50ef9c07b..49ca0c2ad 100644 --- a/src/starter/starter.c +++ b/src/starter/starter.c @@ -300,6 +300,17 @@ int main (int argc, char **argv) plog("Starting strongSwan "VERSION" IPsec [starter]..."); + if (lib->settings->get_bool(lib->settings, "starter.load_warning", TRUE)) + { + if (lib->settings->get_str(lib->settings, "charon.load", NULL) || + lib->settings->get_str(lib->settings, "pluto.load", NULL)) + { + plog("!! Your strongswan.conf contains manual plugin load options for"); + plog("!! pluto and/or charon. This is not recommended, see"); + plog("!! http://wiki.strongswan.org/projects/strongswan/wiki/PluginLoad"); + } + } + /* verify that we can start */ if (getuid() != 0) { |