Stefan Schantl
cde7cab264
convert-snort: Check and convert snort user and group.
...
Fixes #12102 .
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org >
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org >
2020-01-03 21:15:11 +00:00
Stefan Schantl
bb2696da35
convert-snort: Generate DNS servers file.
...
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org >
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org >
2019-11-13 19:14:03 +00:00
Stefan Schantl
f1add9a8dd
convert-snort: Adjust code to use changed modify_sids_file function.
...
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org >
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2019-06-05 12:42:00 +01:00
Stefan Schantl
25d424387e
convert-snort: Fix ownership of the generated homenet file.
...
Fixes #12059 .
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org >
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2019-04-23 20:54:54 +01:00
Stefan Schantl
ee82349a0e
convert-snort: Re-order steps at end of script
...
This will ensure that the whole IDS is configured property, if
no or an empty snort config file is present.
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org >
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2019-04-08 21:15:35 +01:00
Stefan Schantl
e4bc9b8b6f
convert-snort: Fix logic for detecting enough free disk space.
...
The subfunction only will return something if the check fails - so the logic
of the if statement was wrong set and the downloader only was called if
this check failed and to less diskspace would be available.
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org >
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2019-04-08 21:15:35 +01:00
Stefan Schantl
cc636c4741
convert-snort: Try to download ruleset if none is present.
...
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org >
2019-02-22 10:04:27 +01:00
Stefan Schantl
5d7d8749dc
convert-snort: Set correct ownership after modify_sids_file has been generated.
...
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org >
2019-02-18 13:33:41 +01:00
Stefan Schantl
78690361ab
convert-snort: Always create directory and filelayout
...
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org >
2019-02-14 12:37:13 +01:00
Stefan Schantl
b09c13f1b6
convert-snort: Call subfunction to change ownership of rulestarball
...
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org >
2019-02-14 12:15:41 +01:00
Stefan Schantl
36e69d34b1
convert-snort: Use set_ownership() from ids-functions.pl
...
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org >
2019-01-29 09:05:29 +01:00
Stefan Schantl
5b0b4182a8
convert-snort: Settings converter from snort to suricata
...
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org >
2019-01-22 15:36:00 +01:00