Пример #1
0
    exit;
}
if (isset($_GET["PostfixEnableLog"])) {
    PostfixEnableLog();
    exit;
}
if (isset($_GET["compile"])) {
    PostfixAutoBlockCompile();
    exit;
}
if (isset($_GET["compileCheck"])) {
    PostfixAutoBlockCompileCheck();
    exit;
}
if (isset($_GET["DeleteSMTPIptableRule"])) {
    firewall_delete_rule();
    exit;
}
if (isset($_GET["popup-white"])) {
    popup_white();
    exit;
}
if (isset($_GET["DeleteSMTPAllIptableRules"])) {
    firewall_delete_all_rules();
    exit;
}
if (isset($_GET["PostfixAutoBlockParameters"])) {
    popup_parameters();
    exit;
}
if (isset($_GET["PostfixAutoBlockParametersSave"])) {
Пример #2
0
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;}
if(isset($_GET["PostfixEnableLog"])){PostfixEnableLog();exit;}
if(isset($_GET["compile"])){PostfixAutoBlockCompile();exit;}
if(isset($_GET["compileCheck"])){PostfixAutoBlockCompileCheck();exit;}
if(isset($_GET["DeleteSMTPIptableRule"])){firewall_delete_rule();exit;}
if(isset($_GET["popup-white"])){popup_white();exit;}
if(isset($_GET["DeleteSMTPAllIptableRules"])){firewall_delete_all_rules();exit;}
if(isset($_GET["PostfixAutoBlockParameters"])){popup_parameters();exit;}
if(isset($_GET["PostfixAutoBlockParametersSave"])){popup_parameters_save();exit;}
if(isset($_GET["DeleteAllIpTablesRules"])){DeleteAllIpTablesRules();exit;}
if(isset($_GET["InstantIptablesEventAll"])){InstantIptablesEventAll();exit;}
if(isset($_GET["EventDisableIpTables"])){EventDisableIpTables();exit;}
if(isset($_GET["firewall-rules-list"])){firewall_rules();exit;}
if(isset($_GET["CompileSSHDRules"])){CompileSSHDRules();exit;}
js();


function InstantIpTablesInLeftMenu(){
	$sock=new sockets();
	$sock->SET_INFO("InstantIpTablesInLeftMenu",$_GET["InstantIpTablesInLeftMenu"]);