mirror of https://github.com/OISF/suricata
file: optionally use detect tracking in pruning
When the file API is used to do content inspection (currently only smtp does this), the detection should be considered while pruning the file chunks. This patch introduces a new flag for the file API: FILE_USE_DETECT When it is used, 'FilePrune' will not remove chunks that are (partly) beyond the File::content_inspected tracker. When using this flag, it's important to realize that when the detect engine is disabled or rules are not matching, content_inspected might not get updated.pull/1943/head
parent
5aee386fa9
commit
77358a4113
Loading…
Reference in New Issue