]> git.ipfire.org Git - ipfire-2.x.git/commit - config/cfgroot/ids-functions.pl
ids.cgi: Rework CGI logic to download a new ruleset
authorStefan Schantl <stefan.schantl@ipfire.org>
Wed, 14 Feb 2018 09:20:23 +0000 (10:20 +0100)
committerStefan Schantl <stefan.schantl@ipfire.org>
Thu, 26 Jul 2018 09:58:01 +0000 (11:58 +0200)
commit3983aebdec7489ca0ce36956307a822ecdc820fd
tree49336d791188a3909a7ab13a6578c23a5775d26c
parenta69b96d2002c14d3fe65dcf90f9731a9c631b624
ids.cgi: Rework CGI logic to download a new ruleset

* Drop function to show a notice about snort is working.
* Introduce the log_error function which is responsible for log any
  error messages. Currently it writes it to a tempory file, which will
  be read by the WUI, the message will be displayed and the temporary file
  will be released again.
* Introduce a tiny function to easily perform a reload of the generated
  webpage.

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