add actions after new sta authenticated

Jouni Malinen j
Sun Feb 15 04:31:39 PST 2009

On Tue, Feb 10, 2009 at 05:09:06PM +0100, Michele Bursi wrote:

> I'm working for my thesis with some network arguments. At this moment
> I would to add some code that send an arp packet to new sta associated
> and authenticated to AP. I'm using hostapd-0.5.8 . My question is:
> where is in the code the better point to add this features? I've
> quickly read eapol state machine diagram. In my network could be wpa
> or not, it's indipendent. There is a state (EAPOL STA SUCCESS I think)
> where all sta stay, indipendent to radius/wpa or nothing of this.

There is not a single good place for doing this in the current hostapd
implementation for all possible security modes.
ieee802_1x_set_sta_authorized() with authorized != 0 could cover many
cases, but it probably does not handle fully open networks or static

Jouni Malinen                                            PGP id EFC895FA

More information about the Hostap mailing list