Actions
Feature #597
closedcase insensitive fileext match
Effort:
Difficulty:
Label:
Description
alert http any any -> any any (msg:"File magic on GIF"; fileext:"GIF";sid:666; rev:1;)
- would not alert on a http downloaded file with
extension *.gif BUT it would on **.GIF (notice the upper case)
It would be beneficial if it could be made case insensitive - have the nocase keyword apply to it as well.
thanks
Updated by Victor Julien about 12 years ago
- Status changed from New to Assigned
- Assignee set to Victor Julien
- Target version set to 2.0rc2
Updated by Victor Julien about 11 years ago
- Target version changed from 2.0rc2 to 2.0beta2
Updated by Victor Julien about 11 years ago
- Target version changed from 2.0beta2 to 2.0rc1
Updated by Victor Julien almost 11 years ago
- Status changed from Assigned to Closed
- % Done changed from 0 to 100
Merged https://github.com/inliniac/suricata/pull/820 to address this.
What it does it is change the matching of fileext:"exe"; to case insensitive unconditionally. This isn't ideal, but I would prefer overhauling the fileext and filename keywords completely to act like file_data.
Updated by Victor Julien almost 11 years ago
Ticket for the overhaul idea: https://redmine.openinfosecfoundation.org/issues/1100
Actions