Patch for replay error in AHDEMO mode madwifi

Jouni Malinen j
Tue Oct 30 08:12:38 PDT 2012

On Tue, Oct 30, 2012 at 03:25:37PM +0100, Kees-Jan Hermans wrote:
> Madwifi can be used to have an ad-hoc crypto mode, using WPA and no key
> management. This is, as far as I know, the only way to use
> wpa_supplicant in ad-hoc mode and have some crypto.

I do not know about madwifi limitations, but wpa_supplicant supports RSN

> Alternatives are
> ad-mode in plain-text or no ad-hoc mode at all. However, the method
> above causes replay messages to appear (and hosts not working) when a
> third host is added to the mesh. To fix this, the patch below, I
> believe, shuts down the replay check.

Out of scope for this mailing list and not really a suitable change in
general since it would break replay detection for non-IBSS cases, too.

Jouni Malinen                                            PGP id EFC895FA

More information about the Hostap mailing list