OpenSecurityResearch/hostapd-wpe

Change the EAP type

Opened this issue · 8 comments

Hi,

There is no decent documentation explaining different options of the tool. For instance, I want to change the EAP type to MSCHAPv2 but I couldn't find how to change it. Would you please let me know how can I change the EAP type?

Same problem here, I need to switch to MSCHAPv2, but my clients can't log in.

Same "problem" here, I need to change the EAP type too. Did you find what parameter need to be changed?

I was using Kali Linux, and fixed it by getting it through apt instead of manually compiling the latest source. Maybe this will work for others too.

But what did you change in the file hostapd-wpe.conf?
I'm assuming that switching EAP type is done by an enum, but I honestly don't know which parameter I need to change.

I didn't change anything in the conf file except for SSID and interface, but it seems to be set to MSCHAPv2 by default.

Have you folks checked out the documentation of hostapd? keep in mind hostapd-wpe is not really meant to be used as an production hostapd implementation.

@holly-hacker yes it is set to MSCHAPv2 by default but I need to change it.

@brad-anton I've checked out the documentation but still don't know how to change it. Would you mind giving us an example?

You need to edit the eap user file to,change "EAP types" - Here's an example of using FAST with GTC.

https://twitter.com/W00Tock/status/1019251419310972930

(Works on a Macbook) You canthen look at hostapd-wpe's debug or wireshark to check your math. EAP-FAST or EAP-PEAP, etc...