Project

General

Profile

Actions

Bug #271

closed

Need for proper option for testing a setup

Added by Edward Fjellskål almost 14 years ago. Updated almost 13 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Affected Versions:
Effort:
Difficulty:
Label:

Description

When distributing a set of binary,configuration files and rules, it is convenient to have a way to test the setup before one actually restarts the sensor.
Something similar to snorts: snort -Tc snort.conf

The way it works today is that you do a restart->setup_fails->rollback...

Actions #1

Updated by Victor Julien over 13 years ago

  • Assignee set to Victor Julien

Will be tasked to a OISF dev.

Actions #2

Updated by Victor Julien almost 13 years ago

  • Status changed from New to Assigned
  • Assignee changed from Victor Julien to Xavier Lange
  • Target version set to 1.3beta1
  • Start date changed from 01/17/2011 to 01/28/2011
  • Estimated time set to 5.00 h

Xavier, can you pick this one up?

Actions #3

Updated by Xavier Lange almost 13 years ago

  • Status changed from Assigned to Feedback

I have a topic branch on github for this bug: https://github.com/xrl/suricata/tree/bug_271

Please review and integrate if it fits.

Actions #4

Updated by Victor Julien almost 13 years ago

I added 2 minor comments to the commits. First time I did that so I'm not sure how you get notified, which is why I notify you here :)

Actions #5

Updated by Victor Julien almost 13 years ago

Btw, something appears to be wrong. If I do "suricata -c suricata.yaml -T" I just get the "usage" output.

Actions #6

Updated by Xavier Lange almost 13 years ago

Victor, your last observation was correct. The local variable conf_test had to be added to the list of special cases where runmode is allowed to be unset.

Actions #7

Updated by Victor Julien almost 13 years ago

  • Status changed from Feedback to Closed

Branch applied, thanks Xavier!

Actions

Also available in: Atom PDF