association time

Jouni Malinen j
Mon May 25 07:00:00 PDT 2009


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? And then? Allow the station to associate again immediately? Or
reject associations from it for some time (how long?)?

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).

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list