mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-12 04:05:53 +02:00
ids.cgi fix snort rules download url.
fixes: 10579
This commit is contained in:
committed by
Arne Fitzenreiter
parent
cea4fc3aaf
commit
b3f401fba4
@@ -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
|
||||
|
||||
@@ -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";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user