Add @load-sigs directive for loading signature files (addresses #551).

This commit is contained in:
Jon Siwek 2012-06-01 14:10:23 -05:00
parent c5ae071500
commit dd4dd0ca6e
12 changed files with 67 additions and 13 deletions

View file

@ -6,7 +6,8 @@
@load ./utils
# Add the magic number signatures to the core signature set.
redef signature_files += "base/protocols/http/file-ident.sig";
@load-sigs ./file-ident.sig
# Ignore the signatures used to match files
redef Signatures::ignored_ids += /^matchfile-/;