aircrack-ng / rtl8812au

RTL8812AU/21AU and RTL8814AU driver with monitor mode and frame injection
GNU General Public License v2.0
3.4k stars 749 forks source link

Driver doesn't support mac address filtering with accept lists #401

Open sdack opened 4 years ago

sdack commented 4 years ago

The driver supports the opposite - deny lists - but not accept lists.

When hostapd is configured with macaddr_acl=0 and a deny-file then it works and bad devices with known mac addresses can be denied access. With macaddr_acl=1 and an accept-file does it fail and "hostapd -d" reports an unconfigured control interface.

As far as I have tracked the issue should this get handled in the driver, meaning, the driver has to read the macaddr_acl flag and then use the list of mac addresses accordingly.

Having only the ability to deny known mac addresses is pretty much useless, because one obviously first has to know the mac address of an intruder and any mac address filtering of unknown devices (or with randomised mac addresses) isn't possible.

cedricbambooza commented 3 years ago

pls consider closing the issue, when it's solved by now :)