All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Cédric Debarge - ACKSYS" <cedric.debarge@acksys.fr>
To: "'Jouni Malinen'" <j@w1.fi>
Cc: "'Johannes Berg'" <johannes@sipsolutions.net>,
	<linux-wireless@vger.kernel.org>
Subject: RE: TR: Clear data transit during WPA negociation in case of reassociation
Date: Fri, 26 Oct 2012 11:12:41 +0200	[thread overview]
Message-ID: <021301cdb35a$0d992020$28cb6060$@acksys.fr> (raw)
In-Reply-To: <20121025145106.GA11453@w1.fi>

Hi,

	Your patch corrects the problem !!
	No unencrypted frame observed anymore.

	Thank you very much (and Johannes too). 

Regards,

Cédric DEBARGE

-----Message d'origine-----
De : Jouni Malinen [mailto:j@w1.fi] 
Envoyé : jeudi 25 octobre 2012 16:51
À : Cédric Debarge - ACKSYS
Cc : 'Johannes Berg'; linux-wireless@vger.kernel.org
Objet : Re: TR: Clear data transit during WPA negociation in case of reassociation

On Thu, Oct 25, 2012 at 03:42:56PM +0200, Cédric Debarge - ACKSYS wrote:
> 	Please find attached the wpa_supplicant log file (it is quite big because of the EAP-TLS) you asked for.

Could you please test this with the following change in wpa_supplicant?


diff --git a/src/eapol_supp/eapol_supp_sm.c b/src/eapol_supp/eapol_supp_sm.c index 851cf49..f90fb62 100644
--- a/src/eapol_supp/eapol_supp_sm.c
+++ b/src/eapol_supp/eapol_supp_sm.c
@@ -1469,10 +1469,7 @@ void eapol_sm_notify_cached(struct eapol_sm *sm)
 	if (sm == NULL)
 		return;
 	wpa_printf(MSG_DEBUG, "EAPOL: PMKSA caching was used - skip EAPOL");
-	sm->SUPP_PAE_state = SUPP_PAE_AUTHENTICATED;
-	sm->suppPortStatus = Authorized;
-	eapol_sm_set_port_authorized(sm);
-	sm->portValid = TRUE;
+	sm->eapSuccess = TRUE;
 	eap_notify_success(sm->eap);
 	eapol_sm_step(sm);
 }


-- 
Jouni Malinen                                            PGP id EFC895FA


      reply	other threads:[~2012-10-26  9:10 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-18  7:30 TR: Clear data transit during WPA negociation in case of reassociation Cedric Debarge
2012-10-23 12:43 ` Johannes Berg
2012-10-25 13:42   ` Cédric Debarge - ACKSYS
2012-10-25 14:48     ` Johannes Berg
2012-10-25 14:51     ` Jouni Malinen
2012-10-26  9:12       ` Cédric Debarge - ACKSYS [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='021301cdb35a$0d992020$28cb6060$@acksys.fr' \
    --to=cedric.debarge@acksys.fr \
    --cc=j@w1.fi \
    --cc=johannes@sipsolutions.net \
    --cc=linux-wireless@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.