]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commit - html/cgi-bin/ids.cgi
ids.cgi: Create file for used rulefiles on first execution if not present
authorStefan Schantl <stefan.schantl@ipfire.org>
Wed, 29 Aug 2018 09:50:59 +0000 (11:50 +0200)
committerStefan Schantl <stefan.schantl@ipfire.org>
Wed, 29 Aug 2018 09:50:59 +0000 (11:50 +0200)
commit00512a5ac800205a9f46cd0936909d5c921e6643
tree61f3cedd95895ac13dde6448b7d9c8c98166695c
parent004b13b7e801c18d399740c4e9b7866c9685637c
ids.cgi: Create file for used rulefiles on first execution if not present

Create this file on first execution of the script if it does not exist yet.
This will allow suricata to imediately be started. Otherwise the ruleset has
to be downloaded and configured before this file has been created and suricata
could be launched.

Fixes #11833.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
html/cgi-bin/ids.cgi