[PATCHv2] hostapd: reload bss mac files on SIGUSR2

Antonio Quartulli ordex at autistici.org
Mon Jun 11 02:59:32 EDT 2012


On Mon, Jun 11, 2012 at 08:04:08AM +0300, Baruch Siach wrote:
> Hi Antonio,
> 
> On Mon, Jun 11, 2012 at 12:44:30AM +0200, Antonio Quartulli wrote:
> > This patch allows the administrator to modify the provided MAC list for the
> > BSS ACL mechanism at runtime. In the current implementation no runtime change
> > is possible: if the MAC list is modified, hostapd has to be restart so
> > disconnecting all the current clients.
> > 
> > After manually modify the MAC files, the USR2 signal will make hostapd reload
> > them and possibly disconnect new not allowed stations.
> 
> Is there a reason not to use ctrl_iface?

mh..not really. I didn't think about that.

> It seems to me like a more natural interface than system global signal numbers.

In my mind I had the classic SIGHUP used to reload config files in general and
so I thought this was a good track.

Do you think it is better to move to ctrl_iface?

Cheers,

-- 
Antonio Quartulli

..each of us alone is worth nothing..
Ernesto "Che" Guevara
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
Url : http://lists.shmoo.com/pipermail/hostap/attachments/20120611/58a6a0a5/attachment.pgp 


More information about the HostAP mailing list