"; echo ""; echo ""; echo "
"; echo "
"; echo ""; echo ""; echo ""; } else { /* get time stamps for comparison operations */ $date1ts = strtotime($last_ruleset_download); $date2ts = strtotime($last_ruleset_download); /* is there a newer ruleset available? */ if($date1ts > $date2ts or !$last_ruleset_download) echo ""; else echo ""; } echo ""; echo " "; echo "
"; $last_ruleset_download = $config['installedpackages']['snort']['last_ruleset_download']; $text = file_get_contents("http://www.snort.org/pub-bin/downloads.cgi"); if (preg_match_all("/.*RELEASED\: (.*)\"; if($last_update_date) echo ""; if($last_ruleset_download) echo ""; else echo ""; echo "
Last snort.org rule update:{$last_update_date}
You last updated the ruleset:{$last_ruleset_download}
You last updated the ruleset:NEVER
"; if(!$oinkid) { echo "
You must obtain an oinkid from snort.com and set its value in the Snort settings tab in order to start the download process.
Press here to start download.
Your snort rulesets are up to date.
"; echo "
"; echo "
"; include("fend.inc"); exit; } ?>
/images/misc/progress_bar.gif' width='280' height='23' name='progressbar' id='progressbar' alt='' />