From 101775ca237e99eefae35d623e214edb01f1963e Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Mon, 4 Aug 2008 22:12:54 +0000 Subject: Pretend we are Mozilla so that we can communicate with snort.org. --- packages/snort/snort_download_rules.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/snort/snort_download_rules.php b/packages/snort/snort_download_rules.php index e69aa8d1..8d9f7e54 100644 --- a/packages/snort/snort_download_rules.php +++ b/packages/snort/snort_download_rules.php @@ -95,6 +95,7 @@ include("head.inc"); echo "\n"; ob_flush(); sleep(1); + ini_set('user_agent','Mozilla/4.0 (compatible; MSIE 6.0)'); $text = file_get_contents("http://www.snort.org/pub-bin/downloads.cgi"); echo "