Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wifi/wpa_suuplicant: patch for wpa_supplicant security issue called KRACK #866

Merged
merged 1 commit into from
Oct 20, 2017

Conversation

pillip8282
Copy link
Contributor

@pillip8282 pillip8282 commented Oct 19, 2017

It applies KRACK patch set from Tizen patch.
It contains KRACK patch and 2.6 version up patch for adapting a KRACK patch

…RACK

It applies KRACK patch set from Tizen patch.
It contains KRACK patch and 2.6 version up patch for adapting a KRACK patch
@pillip8282 pillip8282 changed the title patch wpa_supplicant security issue experimental version wifi/wpa_suuplicant: patch for wpa_supplicant security issue called KRACK Oct 20, 2017
@juitem juitem merged commit 3a42b21 into Samsung:master Oct 20, 2017
@JunhwanPark
Copy link
Contributor

JunhwanPark commented Nov 1, 2017

Hi @pillip8282 @juitem
I want to know the source of this patch.
In the next link with the recent wpa2 patch, the above changes are not visible. Can you tell me?
https://w1.fi/security/2017-1/

@JunhwanPark
Copy link
Contributor

Oh, I found it.

commit bb598c3bdd0616f0c15e1a42e99591d8f3ff3323
Author: Ayala Beker <ayala.beker@intel.com>
Date:   Tue Feb 16 11:54:32 2016 +0200

    AP: Add support for full station state
    
    Add support for drivers that support full AP client state, i.e., can
    handle adding stations that are not associated yet. For such drivers,
    add a station after processing the authentication request, instead of
    adding it in the association response callback.
    
    Doing so is beneficial in cases where the driver cannot handle the add
    station request, in which case it is useless to perform the complete
    connection establishment.
    
    Signed-off-by: Ayala Beker <ayala.beker@intel.com>

diff --git a/src/ap/ap_drv_ops.c b/src/ap/ap_drv_ops.c
index b390450..195cb19 100644
--- a/src/ap/ap_drv_ops.c
+++ b/src/ap/ap_drv_ops.c
@@ -33,6 +33,10 @@ u32 hostapd_sta_flags_to_drv(u32 flags)
 		res |= WPA_STA_SHORT_PREAMBLE;
 	if (flags & WLAN_STA_MFP)
 		res |= WPA_STA_MFP;
+	if (flags & WLAN_STA_AUTH)
+		res |= WPA_STA_AUTHENTICATED;
+	if (flags & WLAN_STA_ASSOC)
+		res |= WPA_STA_ASSOCIATED;
 	return res;
 }

This patch was applied a year ago. Is this patch related to WPA2 issues?

@pillip8282 pillip8282 deleted the fix_wpa2_krack branch February 13, 2019 09:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants