On Wed, 2014-11-12 at 14:31 +0000, Patrick Bosch wrote:
> Hello everybody
> 
> I hope I do post this in the correct mailing list.
> 
> My problem is the following:
> 
> I want to add/delete new MAC addresses to the acl without restarting
> anything. Without restarting I mean that there shouldn't be a time frame
> where no beacon frames are sent. This happened to me on an OpenWRT
> router and I want to avoid this effect.

This would be something that should be done with hostapd or whatever is
actually managing the AP mode.  It looks like the procedure here is to
update your "deny MAC" and "accept MAC" files, then issue the
hostapd_cli command "SET deny_mac_file /path/to/deny" and "SET
accept_mac_file /path/to/accept" commands, which will immediately
disconnect any clients that aren't in the ACL, without restarting
anything.

> It seems to me that iwpriv offers exactly this functionality. You can add
> a list of MAC addresses and define how they should be handled. Iw
> doesn't seem to offer this option. Is there any other way to get this
> functionality? 

iwpriv is simply a driver passthrough, it doesn't offer any
functionality other than "push this random data to the driver" in a
slightly formatted way.  The options are defined by the driver itself.
The upstream kernel wifi community is trying very hard to *not* allow
this sort of functionality, at least as it has been used in the past
with iwpriv, since almost the stuff iwpriv used to do, can be done in a
more standard way with 'iw', or should be done elsewhere
(wpa_supplicant, hostapd).

Dan

> Another question would be, if there is a way to forge management
> frames, similar to what hostapd_cli can do for deauthentication and
> disassociation frames? 
> 
> Any help is appreciated!

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to