Ok,,
This is not a snort or pfsense problem. This is a PHP issue, exactly with file_get_contents function, line 98 in /usr/local/www/snort_download_rules.php
--> $text = file_get_contents("$URL_SNORT");
I trying with a temporally "solution" using curl instead file_get_contents.
I have this on my script:
from /usr/local/www/snort_download_rules.php:
sleep(1);
$URL_SNORT="http://www.snort.org/pub-bin/downloads.cgi";
$ch = curl_init();
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_URL, $URL_SNORT);
$text = curl_exec($ch);
//$text = file_get_contents("$URL_SNORT",NULL);
echo "<script type=\"text/javascript\">\n";
echo "$('loading').style.visibility = 'hidden';\n";
Let me know if anyone have a solution for this issue please.
regards.