Project

General

Profile

Actions

Optimization #2843

closed
JI SB

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

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

Added by Jason Ish about 7 years ago. Updated over 6 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.

VJ Updated by Victor Julien about 7 years ago Actions #1

  • Status changed from New to Assigned

VJ Updated by Victor Julien about 7 years ago Actions #2

  • Priority changed from Normal to High

SB Updated by Shivani Bhardwaj almost 7 years ago Actions #3

  • Status changed from Assigned to Feedback

VJ Updated by Victor Julien almost 7 years ago Actions #4

  • Target version changed from 5.0beta1 to 5.0rc1

SB Updated by Shivani Bhardwaj over 6 years ago Actions #6

Actions

Also available in: PDF Atom