Project

General

Profile

Actions

Optimization #2848

closed

Rule reload when run with -s or -S arguments

Added by Andreas Herz over 5 years ago. Updated about 5 years ago.

Status:
Closed
Priority:
Low
Assignee:
Target version:
Effort:
low
Difficulty:
low
Label:

Description

Live rule reload doesn't trigger while running suricata with -s or -S.

Actions #1

Updated by Andreas Herz over 5 years ago

  • Status changed from New to Assigned
  • Assignee changed from OISF Dev to Andreas Herz
  • Priority changed from Normal to Low
  • Effort set to low
  • Difficulty set to low

If sig_file is set we don't even register the SignalHandlerSigusr2 and thus we never run into the case that sigusr2_count will be > 0 and will never print the warning message "Live rule reload not possible if -s or -S option used at runtime.". So first question, why don't we support this? And if we don't want to support it should we still register the handler to print the warnings?

Actions #2

Updated by Victor Julien over 5 years ago

It's just not implemented. There is no reason it can't be implemented though.

Actions #4

Updated by Victor Julien about 5 years ago

  • Target version changed from TBD to 5.0rc1
Actions

Also available in: Atom PDF