mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-28 10:18:21 -05:00
4526038092
Allow hostapd RADIUS authentication server with SQLite EAP user DB to be used for testing Terms and Conditions functionality. This could be used for the HO AAA part of functionality (merging HO AAA and SP AAA into a single component to avoid separate RADIUS proxy in testing setup). A T&C server with HTTPS processing is needed to allow this to be used for full over-the-air testing. This commit adds sufficient functionality to allow hwsim test cases to cover the RADIUS server part. Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
28 lines
648 B
Plaintext
28 lines
648 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
|
|
);
|