hostapd wired 802.1x is broken

Bug #947668 reported by Steve Atwell
26
This bug affects 4 people
Affects Status Importance Assigned to Milestone
hostapd (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

hostapd 1:0.7.3-4ubuntu1 on Precise doesn't work for 802.1x wired auth. Using the attached config for 802.1x wired with integrated EAP server, I get the following error when a wired client tries to authenticate:

Data frame from unknown STA f0:de:f1:66:4f:29 - adding a new STA
  New STA
eth1: STA f0:de:f1:66:4f:29 IEEE 802.1X: start authentication
EAP: Server state machine created
IEEE 802.1X: f0:de:f1:66:4f:29 BE_AUTH entering state IDLE
IEEE 802.1X: f0:de:f1:66:4f:29 CTRL_DIR entering state FORCE_BOTH
IEEE 802.1X: 46 bytes from f0:de:f1:66:4f:29
IEEE 802.1X data frame from not associated STA

The "data frame from not associated STA" indicates that hostapd got traffic from the client and it expects the client to be associated with the wireless AP. However, this is wired, not wireless, so there's no AP association at all.

This was fixed upstream in http://hostap.epitest.fi/gitweb/gitweb.cgi?p=hostap.git;a=commit;h=bf689a40

Tags: patch
Revision history for this message
Steve Atwell (satwell) wrote :
Revision history for this message
Steve Atwell (satwell) wrote :

The attached patch fixes the issue. A wired 802.1x client can successfully authenticate.

This patch is based on the git commit referenced in the bug description.

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "wired_eapol.patch" of this bug report has been identified as being a patch. The ubuntu-reviewers team has been subscribed to the bug report so that they can review the patch. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-reviewers team please also unsubscribe the team from this bug report.

[This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]

tags: added: patch
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in hostapd (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.