Fixed snort sub-rules download
authorChristian Schmidt <maniacikarus@ipfire.org>
Fri, 25 Sep 2009 15:30:36 +0000 (17:30 +0200)
committerChristian Schmidt <maniacikarus@ipfire.org>
Fri, 25 Sep 2009 15:30:36 +0000 (17:30 +0200)
html/cgi-bin/ids.cgi

index d0d7578..0118783 100644 (file)
@@ -263,7 +263,7 @@ if (-e "/etc/snort/snort.conf") {
 #######################  End added for snort rules control  #################################
 
 if ($snortsettings{'RULES'} eq 'subscripted') {
-       $url="http://dl.snort.org/reg-rules/snortrules-snapshot-2.8_s.tar.gz?oink_code=$snortsettings{'OINKCODE'}";
+       $url="http://dl.snort.org/sub-rules/snortrules-snapshot-2.8_s.tar.gz?oink_code=$snortsettings{'OINKCODE'}";
        #$url="http://www.snort.org/pub-bin/oinkmaster.cgi/$snortsettings{'OINKCODE'}/snortrules-snapshot-2.8_s.tar.gz";
 } elsif ($snortsettings{'RULES'} eq 'registered') {
        $url="http://dl.snort.org/reg-rules/snortrules-snapshot-2.8.tar.gz?oink_code=$snortsettings{'OINKCODE'}";