]> git.ipfire.org Git - people/stevee/ipfire-2.x.git/commit
ids.cgi: Re-add code to save the ruleset.
authorStefan Schantl <stefan.schantl@ipfire.org>
Mon, 11 Dec 2017 07:33:36 +0000 (08:33 +0100)
committerStefan Schantl <stefan.schantl@ipfire.org>
Thu, 26 Jul 2018 09:43:05 +0000 (11:43 +0200)
commit298723b9db481a07056377278a501d4a643c7a93
tree5e48d9d7f2d276a5c972640784d9e4e1c223747e
parent0b568bb9650bfe9200d45d7a57b500747e37a73f
ids.cgi: Re-add code to save the ruleset.

The manually enabled or disabled rules by the user now will be written
to own config files, which will be used by oinkmaster to keep these rules
in the same state after a rules update has been performed.

In short words, if you adjust your ruleset, the changes will not be lost
again if you perform an update of your ruleset.

* Grabbing and storing the cgi values now in an own hash (%cgiparams)
* Introducing oinkmaster config files for enabled and disabled rules.

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