Skip to contentSkip to conversation

eapol_version=1 required for OS X clients?

DISCUSSION Eric Volker 2 participants 3 messages Jan 19, 2010

lore
Share & tools
lore
#0 lore raw

I am in the process of setting up a AP using Ubuntu 9.10, a Broadcom BCM4318 and hostapd. I've run into an issue getting OS X clients to associate with the access point. Once I had configured hostapd.conf correctly, Windows and Linux clients were able to associate with the AP and use it as a router. OS X clients, however, would not associate and I'd see messages in the log that said "Deassociated due to inactivity." After wrestling with that for a few days, I found a reference to someone setting the EAP version to 1 to allow his iBook to connect. Sure enough, setting eapol_version=1 in hostapd.conf resolved the issue and allowed all OS X clients to connect (including a Leopard laptop, a Snow Leopard iMac and an iPhone 3G.) However, this brings up several questions:

Is EAP version 1 secure?

In light of this issue, why is version 2 default? Is there any way to negotiate the version level? Which version do off-the-shelf consumer routers use?

Based on the comments in hostapd.conf, EAP only seems to be used for 802.1X authentication. I'm using WPA/WPA2 (wpa=3) Personal authentication, so why does the EAP version matter?

Why is an OS as recent as Snow Leopard (10.6) using a protocol version that the hostapd.conf comments imply is outdated?

Thanks,

Eric Volker

#1 lore raw
Quoted 1 line · Eric Volker

Is EAP version 1 secure?

It is not EAP version; it is EAPOL version.. In practice, there is no difference in how hostapd behaves as far as version 1 and 2 are concerned apart from the value in the header.

Quoted 3 lines

In light of this issue, why is version 2 default? Is there any way to negotiate the version level? Which version do off-the-shelf consumer routers use?

hostapd is implemented based on 802.1X-2004 and version 2 and as such, version number 2 is the correct value to use. I would expect off-the-shelf consumer products use a mix of both version 1 and 2. I haven't checked this lately, but version 2 started showing up years ago in many devices.

IEEE 802.1X-2004 (and already the earlier -2001 version) described version negotiation mechanism for EAPOL. There are some implementations that did not do this correctly and had problems when -2004 was introduced (over fixe years ago!).

Quoted 3 lines

Based on the comments in hostapd.conf, EAP only seems to be used for 802.1X authentication. I'm using WPA/WPA2 (wpa=3) Personal authentication, so why does the EAP version matter?

Because it is not "EAP version", but "EAPOL version" and WPA/WPA2-Personal uses EAPOL frames.

Quoted 2 lines

Why is an OS as recent as Snow Leopard (10.6) using a protocol version that the hostapd.conf comments imply is outdated?

It would be fine to use protocol version 1, but the real question here is why does it not implement IEEE 802.1X version negotiation correctly.. Anyway, I do not think I've seen this with OS X tests myself (both 10.4 and 10.6), but do not remember details.. In other words, this could be an issue in a component (just the driver?) and not the generic supplicant in the OS.

Signature · 1 line
Jouni Malinen                                            PGP id EFC895FA
#2 lore raw

Thanks for the informative response. Please see below for more...

Quoted 7 lines · Jouni Malinen
Quoted 1 line · Eric Volker

Is EAP version 1 secure?

It is not EAP version; it is EAPOL version.. In practice, there is no difference in how hostapd behaves as far as version 1 and 2 are concerned apart from the value in the header.

Thanks for clarifying that.

Quoted 26 lines
Quoted 4 lines

In light of this issue, why is version 2 default? Is there any way to negotiate the version level? Which version do off-the-shelf consumer routers use?

hostapd is implemented based on 802.1X-2004 and version 2 and as such, version number 2 is the correct value to use. I would expect off-the-shelf consumer products use a mix of both version 1 and 2. I haven't checked this lately, but version 2 started showing up years ago in many devices.

IEEE 802.1X-2004 (and already the earlier -2001 version) described version negotiation mechanism for EAPOL. There are some implementations that did not do this correctly and had problems when -2004 was introduced (over fixe years ago!).

Quoted 3 lines

Based on the comments in hostapd.conf, EAP only seems to be used for 802.1X authentication. I'm using WPA/WPA2 (wpa=3) Personal authentication, so why does the EAP version matter?

Because it is not "EAP version", but "EAPOL version" and WPA/WPA2-Personal uses EAPOL frames.

Quoted 2 lines

Why is an OS as recent as Snow Leopard (10.6) using a protocol version that the hostapd.conf comments imply is outdated?

Quoted 6 lines

It would be fine to use protocol version 1, but the real question here is why does it not implement IEEE 802.1X version negotiation correctly.. Anyway, I do not think I've seen this with OS X tests myself (both 10.4 and 10.6), but do not remember details.. In other words, this could be an issue in a component (just the driver?) and not the generic supplicant in the OS.

Is it possible that I set something incorrectly in hostapd.conf that is causing interaction problems between OS X and EAPOL v2? I played with several options before finding a combination that would work. Perhaps it would be best to start with a clean hostapd.conf or even a clean install of Ubuntu. I did try three different OS X clients with different hardware, and they all failed to connect with EAPOL v2.

Here is the link that prompted me to try v1:

http://list.voyage.hk/pipermail/voyage-linux/2006-March/000748.html

That user specified EAP, not EAPOL but I think he may have been confused, as I was.

I don't know if it's related, but I'm also experiencing an issue where the AP stops working after an undetermined period of time. It stops beaconing and previously associated clients can no longer connect. I'll save that issue for a new email.

Thanks,

Eric Volker

Quoted 3 lines
Signature · 2 lines
-- 
Jouni Malinen                                            PGP id EFC895FA