association time

Fernando fbernal
Tue Jun 2 02:14:09 PDT 2009

Jouni Malinen escribi?:
> On Thu, May 21, 2009 at 05:36:54PM +0200, Fernando wrote:
>> Is possible to configure hostapd to allow an station to be only 
>> associated X time?
> What exactly do you mean with that? To disassociate a station after X
> seconds regardless of whether it uses the connection to transmit data or
> not?
Yes, for example, if the station is 10 seconds connect disassociate it.
>  And then? Allow the station to associate again immediately? Or
> reject associations from it for some time (how long?)?
Reject associations for example for 120 seconds.

There is some mechanism to carry out it?
> There is currently couple of mechanisms related to timing out the
> association. Neither of these may not meet your exact expectation, but
> at least they are likely to do something similar.
> ap_max_inactivity parameter in hostapd.conf can be used to define a
> station inactivity limit (see hostapd.conf for more details). When using
> a RADIUS authentication server, Session-Timeout attribute can be used to
> set up a limit for the duration of the session. Both of these allow the
> station to try to associate again (which, in case of RADIUS
> authentication, could be denied by the RADIUS server).

More information about the Hostap mailing list