IKEv1 XAuth: Added a "NULL" XAuth plugin which sends a hardcoded user/pass, and blindly accepts whatever user/pass is sent it. Changed the xauth_request task to use this new plugin. Add --enable-xauth-null to your configure line to build with the new plugin.

This commit is contained in:
Clavister OpenSource
2012-03-20 17:31:11 +01:00
parent 9c5366446a
commit 4394d96844
10 changed files with 363 additions and 23 deletions
@@ -98,7 +98,7 @@ METHOD(authenticator_t, process, status_t,
cp_in = (cp_payload_t *)message->get_payload(message, CONFIGURATION_V1);
xauth_method = load_method(this, XAUTH_RADIUS, 0);
xauth_method = load_method(this, XAUTH_NULL, 0);
if(xauth_method != NULL)
{