I am not sure if this should go on the developers forum or in the general one, my apologies if this is the wrong forum. For the record, I'm running stock kamikaze 8.09.1 (brcm-2.4) on a WRT54GL.
My question is, is there a way of being notified programmatically when a client associates (or tries to associate) to my access point? I have been browsing through the forums or documentation, and could not find any (answered) reference to this particular issue. The logs on the router do not show anything when a client associates (they do show the DHCP requests and replies handled by dnsmasq, but I am looking for a more general way of handling the association). My intention is to be able to "react" (for example logging the associated client attempt, or executing some actions depending on its MAC) to that events.
On a related issue, which is the daemon or component responsible for handling the association of the clients in this case (brcm-2.4)? In other setups it seems that the handling of associating and authentication is done by hostapd, but it does not seem to be the case. It also seems that hostapd might be able to provide the "notification" feature I need, or at least the documentation on the configuration file [1] seems to hint so: in any case, any indication or comment would be much appreciated.
Best regards, and thanks in advance!
[1] http://hostap.epitest.fi/gitweb/gitweb. … stapd.conf
(Last edited by diego.misc on 11 Nov 2009, 18:53)