]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - config/cfgroot/ids-functions.pl
ids-functions.pl: Skip deleted.rules files
[people/pmueller/ipfire-2.x.git] / config / cfgroot / ids-functions.pl
index c4edd968d05f9572bf9a99c62ab6f7e710b93dd2..94dccc8ae38fb1fbf401efb2e0c9ffad7815265a 100644 (file)
@@ -547,6 +547,12 @@ sub extractruleset ($) {
                                # Skip rule files which are not located in the rules directory or archive root.
                                next unless(($packed_file =~ /^rules\//) || ($packed_file !~ /\//));
 
+                               # Skip deleted.rules.
+                               #
+                               # Mostly they have been taken out for correctness or performance reasons and therfore
+                               # it is not a great idea to enable any of them.
+                               next if($file =~ m/deleted.rules$/);
+
                                my $rulesfilename;
 
                                # Splitt the filename into chunks.