Re: [RFC] mac80211: clean up frame receive handling

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Johannes Berg <johannes@...>
Cc: linux-wireless <linux-wireless@...>, netdev <netdev@...>, Michael Wu <flamingice@...>, Tomas Winkler <tomasw@...>
Date: Friday, December 14, 2007 - 1:08 am

On Wed, Dec 12, 2007 at 07:24:04PM +0100, Johannes Berg wrote:


Is there any way for an user space application to figure out whether a
received EAPOL frame was encrypted? In theory, WPA/WPA2 Authenticators
(e.g., hostapd) should verify that the frame was encrypted if pairwise
keys are set (whereas IEEE 802.1X Authenticator accepts unencrypted
EAPOL frames).

Did you/someone already verify that the Linux bridge code does not
bridge EAPOL frames? The use of a separate interface for this removed
the need for doing such filtering based on ethertype, but with EAPOL
frames using the same netdev with other data frames, the bridge code
should filter these out (mainly the PAE group addressed ones, but if I
remember correctly, IEEE 802.1X specified all frames using EAPOL
ethertype not to be bridged).

I haven't looked into the current implementations and/or proposed
patches on for TX part, but I would assume that it is possible to select
whether an EAPOL frame will be encrypted when injecting it(?).

-- 
Jouni Malinen                                            PGP id EFC895FA
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[RFC] mac80211: clean up frame receive handling, Johannes Berg, (Wed Dec 12, 2:24 pm)
Re: [RFC] mac80211: clean up frame receive handling, Ron Rindjunsky, (Sun Dec 16, 5:28 am)
Re: [RFC] mac80211: clean up frame receive handling, Johannes Berg, (Sun Dec 16, 9:49 am)
Re: [RFC] mac80211: clean up frame receive handling, Jouni Malinen, (Fri Dec 14, 1:08 am)
Re: [RFC] mac80211: clean up frame receive handling, Johannes Berg, (Fri Dec 14, 8:13 am)
Re: [RFC] mac80211: clean up frame receive handling, John W. Linville, (Thu Dec 13, 4:49 pm)
Re: [RFC] mac80211: clean up frame receive handling, Johannes Berg, (Fri Dec 14, 8:14 am)
Re: [RFC] mac80211: clean up frame receive handling, Johannes Berg, (Thu Dec 13, 7:35 am)