mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-25 08:48:31 -05:00
2122fc83aa
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>
43 lines
909 B
Plaintext
43 lines
909 B
Plaintext
CREATE TABLE users(
|
|
identity TEXT PRIMARY KEY,
|
|
methods TEXT,
|
|
password TEXT,
|
|
remediation TEXT,
|
|
phase2 INTEGER,
|
|
t_c_timestamp INTEGER
|
|
);
|
|
|
|
CREATE TABLE wildcards(
|
|
identity TEXT PRIMARY KEY,
|
|
methods TEXT
|
|
);
|
|
|
|
INSERT INTO users(identity,methods,password,phase2) VALUES ('user','TTLS-MSCHAPV2','password',1);
|
|
INSERT INTO users(identity,methods,password,phase2) VALUES ('DOMAIN\mschapv2 user','TTLS-MSCHAPV2','password',1);
|
|
|
|
INSERT INTO wildcards(identity,methods) VALUES ('','TTLS,TLS');
|
|
INSERT INTO wildcards(identity,methods) VALUES ('0','AKA');
|
|
|
|
CREATE TABLE authlog(
|
|
timestamp TEXT,
|
|
session TEXT,
|
|
nas_ip TEXT,
|
|
username TEXT,
|
|
note TEXT
|
|
);
|
|
|
|
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
|
|
);
|