add actions after new sta authenticated

Jouni Malinen j at w1.fi
Sun Feb 15 07:31:39 EST 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
WEP.

-- 
Jouni Malinen                                            PGP id EFC895FA


More information about the HostAP mailing list