Project

General

Profile

Actions

Bug #841

closed

hostapd doesn't work with spoofed MAC (but should be able to)

Added by Erik Fonnesbeck over 13 years ago. Updated over 13 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Wireless
Target version:
-
Start date:
08/23/2010
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.0
Affected Architecture:

Description

When using hostapd, on hostapd startup it reads the wrong type of MAC, causing authentication of clients to fail if using a spoofed MAC on the AP. By the names ifconfig uses, it only works when ether matches bssid. bssid is determined when the interface is created and cannot be changed.

Before the bug was fixed that caused it to read the MAC from the wrong interface (the parent instead of the clone), I had performed tests on this by changing ether on the clone and doing tests with changing ether on the parent, directly affecting the value that hostapd receives, regardless of the clone's settings. Through this test I discovered that authentication of clients through hostapd always worked if the value it read at startup matched bssid of the clone, regardless of the setting of ether on the clone.

Currently the only way for hostapd to read a value matching bssid when it starts is to have ether match bssid.


Files

eth_get_bssid.patch (1.53 KB) eth_get_bssid.patch Erik Fonnesbeck, 12/02/2010 12:39 AM
Actions

Also available in: Atom PDF