Actions
Feature #2213
closedfile matching: allow generic file matching / store
Description
Currently if you want to match on all protocols Suricata supports for file matching you need a rule for each protocol:
alert http .... filename:"blah"; alert smtp .... filename:"blah"; ...
Perhaps 'alert tcp ... filename:"blah"' would be enough.
Or perhaps use 'alert file ... filename:"blah"' as a special protocol.
Updated by Andreas Herz over 7 years ago
- Assignee set to OISF Dev
- Target version set to TBD
If we want to stay consistent I would prefer alert ip so it's similiar to normal rules.
Updated by Eric Leblond about 7 years ago
This feature is also a bug as there is no warning on a rule like:
alert ip any any -> any any (msg:"guess what"; filemd5:test.md5; sid: 1; rev: 1;)
Which is a non working rule.
Updated by Victor Julien about 7 years ago
Please open a separate ticket for that.
Updated by Victor Julien about 5 years ago
- Related to Bug #2249: rule with file keyword used with ip or tcp not seen as invalid added
Updated by Philippe Antoine about 1 year ago
- Status changed from New to Closed
alert ip any any -> any any (msg:"guess what"; filemd5:test.md5; sid: 1; rev: 1;)
is working now
Actions