aboutsummaryrefslogtreecommitdiffstats
path: root/hs20
diff options
context:
space:
mode:
authorJouni Malinen <jouni@codeaurora.org>2018-12-14 13:58:13 (GMT)
committerJouni Malinen <j@w1.fi>2018-12-15 16:01:38 (GMT)
commit7bd8c76a4f8cf6b0b01ae986859481659931c793 (patch)
treea769504c7b9d2d63b2f39d8d8029b6da7d6c856e /hs20
parent79fec6a92d69654af8b90715e7fd41e49238bbfa (diff)
downloadhostap-7bd8c76a4f8cf6b0b01ae986859481659931c793.zip
hostap-7bd8c76a4f8cf6b0b01ae986859481659931c793.tar.gz
hostap-7bd8c76a4f8cf6b0b01ae986859481659931c793.tar.bz2
HS 2.0 server: RADIUS server support for SIM provisioning
This adds support for hostapd-as-RADIUS-authentication-server to request subscription remediation for SIM-based credentials. The new hostapd.conf parameter hs20_sim_provisioning_url is used to set the URL prefix for the remediation server for SIM provisioning. The random hotspot2dot0-mobile-identifier-hash value will be added to the end of this URL prefix and the same value is stored in a new SQLite database table sim_provisioning for the subscription server implementation to use. Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
Diffstat (limited to 'hs20')
-rw-r--r--hs20/server/sql.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/hs20/server/sql.txt b/hs20/server/sql.txt
index 666ef13..281a436 100644
--- a/hs20/server/sql.txt
+++ b/hs20/server/sql.txt
@@ -93,3 +93,11 @@ CREATE TABLE cert_enroll(
realm TEXT,
serialnum TEXT
);
+
+CREATE TABLE sim_provisioning(
+ mobile_identifier_hash TEXT PRIMARY KEY,
+ imsi TEXT,
+ mac_addr TEXT,
+ eap_method TEXT,
+ timestamp TEXT
+);