]> git.ipfire.org Git - thirdparty/hostap.git/commit - hostapd/config_file.c
Add MSK dump mechanism into hostapd RADIUS server for testing
authorJouni Malinen <j@w1.fi>
Thu, 8 Dec 2011 22:15:04 +0000 (00:15 +0200)
committerJouni Malinen <j@w1.fi>
Thu, 8 Dec 2011 22:15:04 +0000 (00:15 +0200)
commit505a36941ef559e7f911102b593d9f0c0ff29fb1
tree933084aff8007eaa2076bce4b0a7a113ca2cf5e0
parent219fd441fde553aa1667f190f68dc2a64ea818fd
Add MSK dump mechanism into hostapd RADIUS server for testing

Testing code can now be enabled in the hostapd RADIUS server to dump
each derived MSK into a text file (e.g., to be used as an input to
wlantest). This functionality is not included in the default build
and can be enabled by adding the following line to hostapd/.config:
CFLAGS += -DCONFIG_RADIUS_TEST

The MSK dump file is specified with dump_msk_file parameter in
hostapd.conf (path to the dump file). If this variable is not set,
MSK dump mechanism is not enabled at run time.

Signed-hostap: Jouni Malinen <j@w1.fi>
hostapd/config_file.c
src/ap/ap_config.c
src/ap/ap_config.h
src/ap/authsrv.c
src/radius/radius_server.c
src/radius/radius_server.h