sensepost / hostapd-mana

SensePost's modified hostapd for wifi attacks.
https://w1f1.net/
Other
551 stars 128 forks source link

Whitelist ACL not working #18

Closed ixty closed 6 years ago

ixty commented 7 years ago

Hello, your patch to hostapd's ACL loading to support masks broke the whitelist functionality (and probably blacklist as well, although i havent tested it).

You can fix it by changing the following code: hostapd/config_file.c:230

    hwaddr_aton("ff:ff:ff:ff:ff:ff", mask); //No mask specified to add a "no change" mask

change it to

    {
        hwaddr_aton("ff:ff:ff:ff:ff:ff", mask); //No mask specified to add a "no change" mask
        for (i=0; i<ETH_ALEN; i++)
            transform[i] = addr[i];
    }
singe commented 6 years ago

Thanks! Fixed in https://github.com/sensepost/hostapd-mana/commit/38d7a2e1d6ee174836956ebeeb01ade711273fdc