2012-11-20 17:47:47 -05:00
|
|
|
CREATE TABLE users(
|
|
|
|
identity TEXT PRIMARY KEY,
|
|
|
|
methods TEXT,
|
|
|
|
password TEXT,
|
2012-11-21 10:04:21 -05:00
|
|
|
remediation TEXT,
|
2018-04-25 17:57:44 -04:00
|
|
|
phase2 INTEGER,
|
|
|
|
t_c_timestamp INTEGER
|
2012-11-20 17:47:47 -05:00
|
|
|
);
|
|
|
|
|
|
|
|
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');
|
2014-02-28 07:11:13 -05:00
|
|
|
|
|
|
|
CREATE TABLE authlog(
|
|
|
|
timestamp TEXT,
|
|
|
|
session TEXT,
|
|
|
|
nas_ip TEXT,
|
|
|
|
username TEXT,
|
|
|
|
note TEXT
|
|
|
|
);
|
2018-04-30 13:07:55 -04:00
|
|
|
|
|
|
|
CREATE TABLE pending_tc(
|
|
|
|
mac_addr TEXT PRIMARY KEY,
|
|
|
|
identity TEXT
|
|
|
|
);
|
2018-06-21 17:12:07 -04:00
|
|
|
|
|
|
|
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
|
|
|
|
);
|