]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
ids.cgi fix snort rules download url. core80 v2.15-core80
authorErik Kapfer <erik.kapfer@ipfire.org>
Tue, 29 Jul 2014 20:29:28 +0000 (22:29 +0200)
committerArne Fitzenreiter <arne_f@git.ipfire.org>
Tue, 29 Jul 2014 20:31:26 +0000 (22:31 +0200)
fixes: 10579

config/rootfiles/core/80/filelists/files
html/cgi-bin/ids.cgi

index a12048d7bbe4782807966529314d111db9d9b30d..cdddaac16a0e3293bef1f0d018f0d7d13a4a6627 100644 (file)
@@ -8,6 +8,7 @@ etc/rc.d/init.d/firewall
 etc/rc.d/init.d/networking/red.up/30-ddns
 etc/rc.d/init.d/rngd
 srv/web/ipfire/cgi-bin/ddns.cgi
+srv/web/ipfire/cgi-bin/ids.cgi
 srv/web/ipfire/cgi-bin/logs.cgi/firewalllogcountry.dat
 srv/web/ipfire/cgi-bin/logs.cgi/log.dat
 srv/web/ipfire/cgi-bin/netexternal.cgi
index 5a28daaedd2b5118b554b29f70429f5fc395bd5d..ff72b7894b2457754a55021124a0d78e396599b5 100644 (file)
@@ -263,11 +263,11 @@ if (-e "/etc/snort/snort.conf") {
 #######################  End added for snort rules control  #################################
 
 if ($snortsettings{'RULES'} eq 'subscripted') {
-       $url=" http://www.snort.org/sub-rules/snortrules-snapshot-2961.tar.gz/$snortsettings{'OINKCODE'}";
+       $url=" https://www.snort.org/rules/snortrules-snapshot-2961.tar.gz?oinkcode=$snortsettings{'OINKCODE'}";
 } elsif ($snortsettings{'RULES'} eq 'registered') {
-       $url=" http://www.snort.org/reg-rules/snortrules-snapshot-2960.tar.gz/$snortsettings{'OINKCODE'}";
+       $url=" https://www.snort.org/rules/snortrules-snapshot-2961.tar.gz?oinkcode=$snortsettings{'OINKCODE'}";
 } elsif ($snortsettings{'RULES'} eq 'community') {
-       $url=" http://s3.amazonaws.com/snort-org/www/rules/community/community-rules.tar.gz";
+       $url=" https://www.snort.org/rules/community";
 } else {
        $url="http://rules.emergingthreats.net/open/snort-2.9.0/emerging.rules.tar.gz";
 }