Project

General

Profile

Actions

Optimization #2843

closed

suricatact/filestore/prune: check that directory is a filestore directory before removing files

Added by Jason Ish over 5 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
High
Target version:
Effort:
Difficulty:
Label:

Description

Currently the filestore prune command will attempt to prune whatever directory it is given. I think some simple validation should be done. This could be as simple as looking for the directories "00", "ff" and "tmp" as these are all expected to exist in a filestore directory created by suricata.

Actions #1

Updated by Victor Julien over 5 years ago

  • Status changed from New to Assigned
Actions #2

Updated by Victor Julien about 5 years ago

  • Priority changed from Normal to High
Actions #3

Updated by Shivani Bhardwaj about 5 years ago

  • Status changed from Assigned to Feedback
Actions #4

Updated by Victor Julien about 5 years ago

  • Target version changed from 5.0beta1 to 5.0rc1
Actions

Also available in: Atom PDF