[PATCH 2/4] Add "catchall" to react to all probe requests
Jouni Malinen
j
Sat Apr 25 09:16:40 PDT 2015
On Sat, Apr 25, 2015 at 05:37:32PM +0200, Stefan Tomanek wrote:
> This change adds the option "catchall" to the configuration; when set, hostap
> reacts to any probe request received by generating a matching response and
> associating the client with itself, regardless of the SSID requested by it.
> This is mainly useful for honeypot use cases, but can be extended to allow
> multiple SSIDs on a single BSS.
> hostapd/config_file.c | 2 ++
> src/ap/ap_config.h | 2 ++
> src/ap/beacon.c | 48 ++++++++++++++++++++++++++++++++++++++++++------
> src/ap/ieee802_11.c | 19 ++++++++++++++-----
Please update hostapd/hostapd.conf with documentation for the added
configuration parameter.
Taken into account how special use case this is, I think it would be
justifiable to disable this from builds by default and require
CONFIG_<something>=y to be used in hostapd/.config to enable this. This
would also make it more justifiable to bring some of the patch 1/4
changes (but probably not all) back under #ifdef without extra cost for
the more common hostapd use case.
--
Jouni Malinen PGP id EFC895FA
More information about the Hostap
mailing list