initiator now checks for private key much earlier
This commit is contained in:
+4
-3
@@ -172,19 +172,19 @@ struct db_context *ike_alg_db_new(struct connection *c, lset_t policy)
|
|||||||
|
|
||||||
if (!ike_alg_get_crypter(ealg))
|
if (!ike_alg_get_crypter(ealg))
|
||||||
{
|
{
|
||||||
DBG_log("ike_alg: ike crypter %s not present",
|
plog("ike alg: crypter %s not present",
|
||||||
enum_show(&oakley_enc_names, ealg));
|
enum_show(&oakley_enc_names, ealg));
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (!ike_alg_get_hasher(halg))
|
if (!ike_alg_get_hasher(halg))
|
||||||
{
|
{
|
||||||
DBG_log("ike_alg: ike hasher %s not present",
|
plog("ike alg: hasher %s not present",
|
||||||
enum_show(&oakley_hash_names, halg));
|
enum_show(&oakley_hash_names, halg));
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (!ike_alg_get_dh_group(modp))
|
if (!ike_alg_get_dh_group(modp))
|
||||||
{
|
{
|
||||||
DBG_log("ike_alg: ike dh group %s not present",
|
plog("ike alg: dh group %s not present",
|
||||||
enum_show(&oakley_group_names, modp));
|
enum_show(&oakley_group_names, modp));
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
@@ -197,6 +197,7 @@ struct db_context *ike_alg_db_new(struct connection *c, lset_t policy)
|
|||||||
|
|
||||||
if (key == NULL)
|
if (key == NULL)
|
||||||
{
|
{
|
||||||
|
plog("ike alg: unable to locate my private key");
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
switch (key->get_type(key))
|
switch (key->get_type(key))
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
carol::cat /var/log/auth.log::unable to locate my private key for RSA Signature::YES
|
carol::cat /var/log/auth.log::unable to locate my private key::YES
|
||||||
moon::cat /var/log/auth.log::ignoring informational payload, type AUTHENTICATION_FAILED::YES
|
carol::cat /var/log/auth.log::empty ISAKMP SA proposal to send::YES
|
||||||
moon::ipsec status::rw.*STATE_MAIN_R3.*ISAKMP SA established::NO
|
moon::ipsec status::rw.*STATE_MAIN_R3.*ISAKMP SA established::NO
|
||||||
carol::ipsec status::home.*STATE_MAIN_I4.*ISAKMP SA established::NO
|
carol::ipsec status::home.*STATE_MAIN_I4.*ISAKMP SA established::NO
|
||||||
|
|||||||
Reference in New Issue
Block a user