Stefan Schantl
9b53f65107
convert-ids-multiple-providers: Set correct ownership for default rules
...
file.
Otherwise the file would belong to root and is not write-able by the
WUI.
Fixes #12759 .
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org >
2022-01-08 16:16:47 +01:00
Stefan Schantl
9cfcc7e546
convert-ids-multiple-providers: Do not try to set ownership for file
...
which is not longer used.
Fixes #12758 .
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org >
2022-01-08 16:00:28 +01:00
Stefan Schantl
302420ad4a
convert-ids-multiple-providers: Fix setting ownership for the main
...
oinkmaster provider includes file.
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org >
2021-12-19 13:23:44 +01:00
Stefan Schantl
a2964e14f8
convert-ids-multiple-providers: Proper open the oinkmaster providers
...
sids file for writing.
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org >
2021-12-19 13:23:44 +01:00
Stefan Schantl
c0727f8b45
convert-ids-multiple-providers: Fix typo which tried to load the wrong
...
lib.
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org >
2021-12-19 13:23:44 +01:00
Stefan Schantl
cd13dbc544
convert-ids-multiple-providers: Remove old used rulefiles file.
...
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org >
2021-12-19 13:23:44 +01:00
Stefan Schantl
f901c7401c
convert-ids-multiple-providers: Always remove old enabled / disabled
...
sids files.
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org >
2021-12-19 13:23:44 +01:00
Stefan Schantl
17b9a1581c
convert-ids-multiple-providers: Restart suricata afterwards.
...
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org >
2021-12-19 13:23:44 +01:00
Stefan Schantl
77b373d620
IDS: Add convert-ids-multiple-provider script.
...
This converter does all the magic to convert any suricata
based IPFire version to work with the new multiple providers
IDS.
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org >
2021-12-19 13:23:44 +01:00