From b98fe3e8ff1560b664dc0f18c7b344ad5b1aac2c Mon Sep 17 00:00:00 2001 From: Ermal Date: Tue, 8 Apr 2014 08:48:48 +0000 Subject: Get rid of the snort-old folder since its way out of usage nowdays --- config/snort-old/snort_xmlrpc_sync.php | 114 --------------------------------- 1 file changed, 114 deletions(-) delete mode 100644 config/snort-old/snort_xmlrpc_sync.php (limited to 'config/snort-old/snort_xmlrpc_sync.php') diff --git a/config/snort-old/snort_xmlrpc_sync.php b/config/snort-old/snort_xmlrpc_sync.php deleted file mode 100644 index db8b3f3e..00000000 --- a/config/snort-old/snort_xmlrpc_sync.php +++ /dev/null @@ -1,114 +0,0 @@ -setCredentials('admin', $password); - if($g['debug']) - $cli->setDebug(1); - /* send our XMLRPC message and timeout after 240 seconds */ - $resp = $cli->send($msg, "999"); - if(!$resp) { - $error = "A communications error occured while attempting Snort XMLRPC sync with {$url}:{$port}."; - log_error($error); - file_notice("sync_settings", $error, "Snort Settings Sync", ""); - } elseif($resp->faultCode()) { - $error = "An error code was received while attempting Snort XMLRPC sync with {$url}:{$port} - Code " . $resp->faultCode() . ": " . $resp->faultString(); - log_error($error); - file_notice("sync_settings", $error, "Snort Settings Sync", ""); - } else { - log_error("Snort XMLRPC sync successfully completed with {$url}:{$port}."); - } - log_error("[SNORT] snort_xmlrpc_sync.php is ending."); -} - -?> \ No newline at end of file -- cgit v1.2.3