Does WPA-NONE for ad hoc mode work?

Charles Gordon digigordo at gmail.com
Fri Jun 12 09:25:15 EDT 2009


It turns out that I was confusing the different ad hoc modes.  The one
described by section 5.8.2.3 of the 802.11spec is actually WPA-PSK,
which is not yet supported by wpa_supplicant.  Apparently, WPA-NONE is
still supported by wpa_supplicant.

Hope I didn't confuse anyone.


On Thu, Jun 11, 2009 at 4:38 PM, Barkle<barkle at gmx.net> wrote:
> Charles Gordon schrieb:
>>
>> Hi,
>>
>> Can someone tell me if the wpa_supplicant really supports WPA-NONE key
>> management for ad hoc mode?  I'm trying to get it to work in an
>> embedded device.  I'm starting to wonder if this mode of operation is
>> really supported by the wpa_supplicant.  Section 5.8.2.3 of the 802.11
>> 2007 specification says that stations should perform a 4-step key
>> exchange with each other.  I can see code in wpa_supplicant to receive
>> and process messages 1 and 3, and to send messages 2 and 4, but not
>> the other way around.  This is fine if you are exchanging keys with an
>> AP, but in an IBSS, the device has to be able to function as both a
>> client and a server, and it appears that the wpa_supplicant code only
>> operates as a client.
>>
>
> On my station it it works. Here is the wpa_supplicant.conf:
>
> # IBSS/ad-hoc network with WPA-None/TKIP.
> network={
>  ssid="Dummy_drum"
>  mode=1
>  proto=WPA
>  key_mgmt=WPA-NONE
>  pairwise=CCMP
>  group=CCMP
>  psk=0123456789012345678901234567890123456789012345678901234567890123
> }
>
>> Perhaps I misunderstand the spec, or I'm not looking at the right
>> place in the code.  Does anyone know if the wpa_supplicant really
>> supports this mode of operation?  The mode of operation I'm referring
>> to is where the stations are in an IBSS and are configured to use
>> WPA-NONE key managment with AES or TKIP encryption.  There is a
>> preshared key, but the stations mung it around a bit to improve
>> security, hence the need for the 4-step key exchange.
>>
>> --- Charles
>> _______________________________________________
>> HostAP mailing list
>> HostAP at lists.shmoo.com
>> http://lists.shmoo.com/mailman/listinfo/hostap
>>
>>
>
>


More information about the HostAP mailing list