aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd
diff options
context:
space:
mode:
authorJouni Malinen <jouni@codeaurora.org>2018-06-21 21:12:07 (GMT)
committerJouni Malinen <j@w1.fi>2018-06-22 16:37:03 (GMT)
commit2122fc83aa2cc54b7e4b7b5a11d71ccff2cc3681 (patch)
treeb8be881ff18cdd886f670bf57c7215a64cb4bc1f /hostapd
parented83029c2914bbffea3b6a83095dc3337c8ea08c (diff)
downloadhostap-2122fc83aa2cc54b7e4b7b5a11d71ccff2cc3681.zip
hostap-2122fc83aa2cc54b7e4b7b5a11d71ccff2cc3681.tar.gz
hostap-2122fc83aa2cc54b7e4b7b5a11d71ccff2cc3681.tar.bz2
RADIUS server: Add current_sessions SQLite table
This can be used to track active sessions, e.g., for the purpose of issuing RADIUS DAS commands (Disconnect-Request or CoA-Request). Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
Diffstat (limited to 'hostapd')
-rw-r--r--hostapd/hostapd.eap_user_sqlite10
1 files changed, 10 insertions, 0 deletions
diff --git a/hostapd/hostapd.eap_user_sqlite b/hostapd/hostapd.eap_user_sqlite
index fdae4e0..411b9ea 100644
--- a/hostapd/hostapd.eap_user_sqlite
+++ b/hostapd/hostapd.eap_user_sqlite
@@ -30,3 +30,13 @@ CREATE TABLE pending_tc(
mac_addr TEXT PRIMARY KEY,
identity TEXT
);
+
+CREATE TABLE current_sessions(
+ mac_addr TEXT PRIMARY KEY,
+ identity TEXT,
+ start_time TEXT,
+ nas TEXT,
+ hs20_t_c_filtering BOOLEAN,
+ waiting_coa_ack BOOLEAN,
+ coa_ack_received BOOLEAN
+);