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