Dynamic deny list check in hostapd

Silvia SH sildie6 at gmail.com
Fri Dec 4 10:09:52 PST 2015

Hi Baruch,

Thanks for your answer.
We tried the suggestion of Jouni Malinen with hostapd_cli but we are
receive a FAIL message.
We wrote ctrl_interface=/var/run/hostapd to hostapd.conf and then we
follow this process:

#sudo hostapd_cli interface our_iface
#sudo hostapd_cli
>  SET deny_mac_file /etc/hostapd.deny

What's the correct way to send a "SET deny_mac_file /etc/hostapd.deny"
to /var/run/hostapd?
Where can we find a list of all the correct commands for GET and SET methods?

Thank you,

2015-12-03 20:00 GMT+01:00 Baruch Siach <baruch at tkos.co.il>:
> Hi Silvia,
> On Thu, Dec 03, 2015 at 04:31:06PM +0100, Silvia SH wrote:
>> We have a use case where we would like to update the deny list of
>> hostapd without having to reboot hostapd, since this would affect
>> other connected users.
>> We have tried updating hostapd.deny but the running instance of
>> hostapd ignores the modifications until it is rebooted. Do you know if
>> there is any way to force hostapd to poll the hostapd.deny file
>> proactively upon a new stations trying to associate ?
>> If this functionality is not available, could anyone indicate us what
>> would be the best way in the source code to try to implement this
>> feature?
> This was discussed here a few days ago. See
> http://lists.infradead.org/pipermail/hostap/2015-November/034261.html.
> baruch
> --
>      http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
> =}------------------------------------------------ooO--U--Ooo------------{=
>    - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -

More information about the Hostap mailing list