aboutsummaryrefslogtreecommitdiffstats
path: root/src/radius
diff options
context:
space:
mode:
authorJouni Malinen <jouni@codeaurora.org>2019-07-31 21:02:02 (GMT)
committerJouni Malinen <j@w1.fi>2019-08-01 07:36:11 (GMT)
commit6bb11c7a405616de9a2b3af395117ebe7bdc7047 (patch)
tree18da671f57314bee1c5d7e6614b146d3722de16c /src/radius
parentc1b2365214beacd834811fad2774e03177e008ce (diff)
downloadhostap-6bb11c7a405616de9a2b3af395117ebe7bdc7047.zip
hostap-6bb11c7a405616de9a2b3af395117ebe7bdc7047.tar.gz
hostap-6bb11c7a405616de9a2b3af395117ebe7bdc7047.tar.bz2
EAP-SIM/AKA server: Allow pseudonym/fast reauth to be disabled
The new hostapd configuration option eap_sim_id can now be used to disable use of pseudonym and/or fast reauthentication with EAP-SIM, EAP-AKA, and EAP-AKA'. Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
Diffstat (limited to 'src/radius')
-rw-r--r--src/radius/radius_server.c4
-rw-r--r--src/radius/radius_server.h2
2 files changed, 6 insertions, 0 deletions
diff --git a/src/radius/radius_server.c b/src/radius/radius_server.c
index 1b605c7..70efd11 100644
--- a/src/radius/radius_server.c
+++ b/src/radius/radius_server.c
@@ -249,6 +249,8 @@ struct radius_server_data {
*/
int eap_sim_aka_result_ind;
+ int eap_sim_id;
+
/**
* tnc - Trusted Network Connect (TNC)
*
@@ -798,6 +800,7 @@ radius_server_get_new_session(struct radius_server_data *data,
eap_conf.eap_teap_auth = data->eap_teap_auth;
eap_conf.eap_teap_pac_no_inner = data->eap_teap_pac_no_inner;
eap_conf.eap_sim_aka_result_ind = data->eap_sim_aka_result_ind;
+ eap_conf.eap_sim_id = data->eap_sim_id;
eap_conf.tnc = data->tnc;
eap_conf.wps = data->wps;
eap_conf.pwd_group = data->pwd_group;
@@ -2393,6 +2396,7 @@ radius_server_init(struct radius_server_conf *conf)
data->eap_teap_pac_no_inner = conf->eap_teap_pac_no_inner;
data->get_eap_user = conf->get_eap_user;
data->eap_sim_aka_result_ind = conf->eap_sim_aka_result_ind;
+ data->eap_sim_id = conf->eap_sim_id;
data->tnc = conf->tnc;
data->wps = conf->wps;
data->pwd_group = conf->pwd_group;
diff --git a/src/radius/radius_server.h b/src/radius/radius_server.h
index 88c22db..5489694 100644
--- a/src/radius/radius_server.h
+++ b/src/radius/radius_server.h
@@ -139,6 +139,8 @@ struct radius_server_conf {
*/
int eap_sim_aka_result_ind;
+ int eap_sim_id;
+
/**
* tnc - Trusted Network Connect (TNC)
*