re-established all previous AUD level messages
This commit is contained in:
@@ -585,12 +585,12 @@ static status_t build_i(private_child_create_t *this, message_t *message)
|
|||||||
|
|
||||||
if (this->reqid)
|
if (this->reqid)
|
||||||
{
|
{
|
||||||
DBG1(DBG_IKE, "establishing CHILD_SA %s{%d}",
|
DBG0(DBG_IKE, "establishing CHILD_SA %s{%d}",
|
||||||
this->config->get_name(this->config), this->reqid);
|
this->config->get_name(this->config), this->reqid);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
DBG1(DBG_IKE, "establishing CHILD_SA %s",
|
DBG0(DBG_IKE, "establishing CHILD_SA %s",
|
||||||
this->config->get_name(this->config));
|
this->config->get_name(this->config));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -80,6 +80,7 @@ static status_t build_i(private_ike_delete_t *this, message_t *message)
|
|||||||
*/
|
*/
|
||||||
static status_t process_i(private_ike_delete_t *this, message_t *message)
|
static status_t process_i(private_ike_delete_t *this, message_t *message)
|
||||||
{
|
{
|
||||||
|
DBG0(DBG_IKE, "IKE_SA deleted");
|
||||||
/* completed, delete IKE_SA by returning FAILED */
|
/* completed, delete IKE_SA by returning FAILED */
|
||||||
return FAILED;
|
return FAILED;
|
||||||
}
|
}
|
||||||
@@ -94,7 +95,7 @@ static status_t process_r(private_ike_delete_t *this, message_t *message)
|
|||||||
DBG1(DBG_IKE, "received DELETE for IKE_SA %s[%d]",
|
DBG1(DBG_IKE, "received DELETE for IKE_SA %s[%d]",
|
||||||
this->ike_sa->get_name(this->ike_sa),
|
this->ike_sa->get_name(this->ike_sa),
|
||||||
this->ike_sa->get_unique_id(this->ike_sa));
|
this->ike_sa->get_unique_id(this->ike_sa));
|
||||||
DBG1(DBG_IKE, "deleting IKE_SA %s[%d] between %H[%D]...%H[%D]",
|
DBG0(DBG_IKE, "deleting IKE_SA %s[%d] between %H[%D]...%H[%D]",
|
||||||
this->ike_sa->get_name(this->ike_sa),
|
this->ike_sa->get_name(this->ike_sa),
|
||||||
this->ike_sa->get_unique_id(this->ike_sa),
|
this->ike_sa->get_unique_id(this->ike_sa),
|
||||||
this->ike_sa->get_my_host(this->ike_sa),
|
this->ike_sa->get_my_host(this->ike_sa),
|
||||||
@@ -123,7 +124,7 @@ static status_t process_r(private_ike_delete_t *this, message_t *message)
|
|||||||
*/
|
*/
|
||||||
static status_t build_r(private_ike_delete_t *this, message_t *message)
|
static status_t build_r(private_ike_delete_t *this, message_t *message)
|
||||||
{
|
{
|
||||||
DBG1(DBG_IKE, "IKE_SA deleted");
|
DBG0(DBG_IKE, "IKE_SA deleted");
|
||||||
|
|
||||||
if (this->simultaneous)
|
if (this->simultaneous)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -230,7 +230,7 @@ static status_t build_i(private_ike_init_t *this, message_t *message)
|
|||||||
rng_t *rng;
|
rng_t *rng;
|
||||||
|
|
||||||
this->config = this->ike_sa->get_ike_cfg(this->ike_sa);
|
this->config = this->ike_sa->get_ike_cfg(this->ike_sa);
|
||||||
DBG1(DBG_IKE, "initiating IKE_SA %s[%d] to %H",
|
DBG0(DBG_IKE, "initiating IKE_SA %s[%d] to %H",
|
||||||
this->ike_sa->get_name(this->ike_sa),
|
this->ike_sa->get_name(this->ike_sa),
|
||||||
this->ike_sa->get_unique_id(this->ike_sa),
|
this->ike_sa->get_unique_id(this->ike_sa),
|
||||||
this->ike_sa->get_other_host(this->ike_sa));
|
this->ike_sa->get_other_host(this->ike_sa));
|
||||||
@@ -296,7 +296,7 @@ static status_t process_r(private_ike_init_t *this, message_t *message)
|
|||||||
rng_t *rng;
|
rng_t *rng;
|
||||||
|
|
||||||
this->config = this->ike_sa->get_ike_cfg(this->ike_sa);
|
this->config = this->ike_sa->get_ike_cfg(this->ike_sa);
|
||||||
DBG1(DBG_IKE, "%H is initiating an IKE_SA", message->get_source(message));
|
DBG0(DBG_IKE, "%H is initiating an IKE_SA", message->get_source(message));
|
||||||
this->ike_sa->set_state(this->ike_sa, IKE_CONNECTING);
|
this->ike_sa->set_state(this->ike_sa, IKE_CONNECTING);
|
||||||
|
|
||||||
rng = lib->crypto->create_rng(lib->crypto, RNG_WEAK);
|
rng = lib->crypto->create_rng(lib->crypto, RNG_WEAK);
|
||||||
|
|||||||
Reference in New Issue
Block a user