mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-12-11 00:28:19 -05:00
73d3f88418
This extends the terms.php implementation of Hotspot 2.0 Terms and Conditions server to allow it to interact with hostapd(AS) to clear the filtering rules from the AP. After requesting hostapd to send out the CoA-Request, terms.php waits for up to 10 seconds to see whether the current_sessions table gets an update to indicate that filtering has been successfully disabled. Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
8 lines
227 B
PHP
8 lines
227 B
PHP
<?php
|
|
$osu_root = "/home/user/hs20-server";
|
|
$osu_db = "sqlite:$osu_root/AS/DB/eap_user.db";
|
|
$t_c_file = "$osu_root/terms-and-conditions";
|
|
$t_c_timestamp = 123456789;
|
|
$hostapd_ctrl = "udg:///home/user/hs20-server/AS/ctrl/as"
|
|
?>
|