예제 #1
0
    exit;
}
if (isset($_GET["status"])) {
    status();
    exit;
}
if (isset($_GET["tab-parameters"])) {
    popup_parameters();
    exit;
}
if (isset($_GET["tab-iptables-rules"])) {
    firewall_popup();
    exit;
}
if (isset($_GET["tab-iptables-events"])) {
    firewall_events();
    exit;
}
if (isset($_GET["InstantIpTablesInLeftMenu"])) {
    InstantIpTablesInLeftMenu();
    exit;
}
if (isset($_GET["tab-iptables-stats"])) {
    InstantIptablesStats();
    exit;
}
if (isset($_GET["instantIptables-status"])) {
    status_mysql();
    exit;
}
if (isset($_GET["ban-servers"])) {
예제 #2
0
<?php
	include_once('ressources/class.templates.inc');
	include_once('ressources/class.ldap.inc');
	include_once('ressources/class.users.menus.inc');
	include_once('ressources/class.iptables-chains.inc');
	
	

if(isset($_GET["popup"])){popup();exit;}
if(isset($_GET["status"])){status();exit;}
if(isset($_GET["tab-parameters"])){popup_parameters();exit;}
if(isset($_GET["tab-iptables-rules"])){firewall_popup();exit;}
if(isset($_GET["tab-iptables-events"])){firewall_events();exit;}
if(isset($_GET["InstantIpTablesInLeftMenu"])){InstantIpTablesInLeftMenu();exit;}
if(isset($_GET["tab-iptables-stats"])){InstantIptablesStats();exit;}


if(isset($_GET["instantIptables-status"])){status_mysql();exit;}

if(isset($_GET["ban-servers"])){ban_servers_js();exit;}
if(isset($_GET["ban-servers-popup"])){ban_servers_popup();exit;}
if(isset($_POST["ban-servers-add"])){ban_servers_save();exit;}

if(isset($_GET["EnablePostfixAutoBlock"])){save();exit;}
if(isset($_GET["BlockDenyAddWhiteList"])){echo BlockDenyWhiteList();exit;}
if(isset($_GET["AutoBlockDenyAddWhiteList"])){AutoBlockDenyAddWhiteList();exit;}
if(isset($_GET["PostfixAutoBlockDenyDelWhiteList"])){PostfixAutoBlockDenyDelWhiteList();exit;}

if(isset($_GET["PostfixAutoBlockLoadFW"])){firewall_popup();exit;}
if(isset($_GET["PostfixAutoBlockLoadFWRules"])){echo firewall_rules();exit;}
if(isset($_GET["PostfixEnableFwRule"])){PostfixEnableFwRule();exit;}