[RFC PATCH] fix MAC address spoofing issues

Maxim Levitsky maximlevitsky
Fri Oct 21 12:49:19 PDT 2011

On Fri, 2010-11-19 at 15:52 -0600, Dan Williams wrote:
> This patch is from Jirka Klimes, developed to fix various issues when
> spoofing MAC addresses.  Does this approach look workable?  If you have
> specific questions about the issues he encountered I'm sure he could
> elaborate.  But part of the problem was that if the MAC address gets
> changed without removing and re-adding the interface to the supplicant,
> it gets some upper-layer stuff wrong.  But removing and re-adding is a
> pretty heavy operation that we don't want to do often.  In a more
> dynamic environment you may want to spoof a MAC on one wifi network but
> not on another, and in that case a managed like NM just switches the MAC
> address of the interface (while the interface is in the disconnected
> state) and then tells the supplicant to connect.
> Thoughts?
> Dan
I just run into the issue this patch supposed to fix.
Any update on this?

Best regards,
        Maxim Levitsky

Visit my blog: http://maximlevitsky.wordpress.com
Warning: Above blog contains rants.

More information about the Hostap mailing list