I installed core 168 on a new system and therefore checked the functionality.
|20:37:20|suricata: |This is Suricata version 5.0.9 RELEASE running in SYSTEM mode|
|---|---|---|
|20:37:20|suricata: |CPUs/cores online: 4|
|20:37:20|suricata: |HTTP memcap: 268435456|
|20:37:20|suricata: |Enabling fail-open on queue|
|20:37:20|suricata: |NFQ running in REPEAT mode with mark 2147483648/2147483648|
|20:37:20|suricata: |dropped the caps for main thread|
|20:37:20|suricata: |fast output device (regular) initialized: fast.log|
|20:37:20|suricata: |Packets will start being processed before signatures are active.|
|20:37:20|suricata: |binding this thread 0 to queue '0'|
|20:37:20|suricata: |setting queue length to 4096|
|20:37:20|suricata: |setting nfnl bufsize to 6144000|
|20:37:20|suricata: |NFQ running in 'workers' runmode, will not use mutex.|
|20:37:20|suricata: |fail-open mode should be set on queue|
|20:37:20|suricata: |binding this thread 1 to queue '1'|
|20:37:20|suricata: |setting queue length to 4096|
|20:37:20|suricata: |setting nfnl bufsize to 6144000|
|20:37:20|suricata: |NFQ running in 'workers' runmode, will not use mutex.|
|20:37:20|suricata: |fail-open mode should be set on queue|
|20:37:20|suricata: |binding this thread 2 to queue '2'|
|20:37:20|suricata: |setting queue length to 4096|
|20:37:20|suricata: |setting nfnl bufsize to 6144000|
|20:37:20|suricata: |NFQ running in 'workers' runmode, will not use mutex.|
|20:37:20|suricata: |fail-open mode should be set on queue|
|20:37:20|suricata: |binding this thread 3 to queue '3'|
|20:37:20|suricata: |setting queue length to 4096|
|20:37:20|suricata: |setting nfnl bufsize to 6144000|
|20:37:20|suricata: |NFQ running in 'workers' runmode, will not use mutex.|
|20:37:20|suricata: |fail-open mode should be set on queue|
|20:37:20|suricata: |all 4 packet processing threads, 2 management threads initialized, engine starte d.|
|20:37:20|suricata: |rule reload starting|
|20:37:20|suricata: |Including configuration file /var/ipfire/suricata/suricata-homenet.yaml.|
|20:37:20|suricata: |Including configuration file /var/ipfire/suricata/suricata-dns-servers.yaml.|
|20:37:20|suricata: |Including configuration file /var/ipfire/suricata/suricata-http-ports.yaml.|
|20:37:20|suricata: |Including configuration file /var/ipfire/suricata/suricata-used-rulesfiles.yaml.|
|20:37:20|suricata: |[ERRCODE: SC_ERR_INVALID_ARGUMENT(13)] - Invalid rule-files configuration sectio n: expected a list of filenames.|
|20:37:20|suricata: |No signatures supplied.|
|20:37:21|suricata: |cleaning up signature grouping structure... complete|
|20:37:21|suricata: |rule reload complete|
|20:37:21|suricata: |Signature(s) loaded, Detect thread(s) activated.|
|20:39:01|suricata: |rule reload starting|
|20:39:01|suricata: |Including configuration file /var/ipfire/suricata/suricata-homenet.yaml.|
|20:39:01|suricata: |Including configuration file /var/ipfire/suricata/suricata-dns-servers.yaml.|
|20:39:01|suricata: |Including configuration file /var/ipfire/suricata/suricata-http-ports.yaml.|
|20:39:01|suricata: |Including configuration file /var/ipfire/suricata/suricata-used-rulesfiles.yaml.|
|20:39:01|suricata: |[ERRCODE: SC_ERR_INVALID_ARGUMENT(13)] - Invalid rule-files configuration sectio n: expected a list of filenames.|
|20:39:01|suricata: |No signatures supplied.|
|20:39:01|suricata: |cleaning up signature grouping structure... complete|
|20:39:01|suricata: |rule reload complete|
I tried two different rule-sets and it always fails to load them and therefore doesnât work at all.
Donât ask me why I havenât tried and checked it before.
I unchecked/disabled the rule and checked/enabled it again. I checked the ruleset and this time it was not empty anymore (I actually didnât know that it was empty before).
That was the point. Iâve created a standard configuration for ipfire thatâs used to be restored (as backup) on new installations. So did I with this new setup. IPS is enabled on red with this ruleset. When I restored my default config, the ruleset was there and checked as active. But suricata came up with this error. So I removed and added the ruleset multiple times, but never checked the rules within this ruleset. However even checked as active, the ruleset was empty. So I checked and unchecked the ruleset. After that the rules appeared, but were not checked as supposed to be (in the backup). I checked some rules and restarted suricata.
Tataa! Now it works again. So something went wrong with the restore of the backup for suricata or thereâs something wrong with the restoration of suricata in principal. That checkbox issue is not new to me. Iâve encountered that problem in the past with the webproxy. However in the meanwhile this has been fixed .
Iâm getting still warnings as in previous builds, so nothing new, but I still wonder and since it looks like I donât speak the programmers language I have no idea whatâs that supposed to mean and if itâs important and should be checked/solved.
12:59:07
suricata:
rule reload starting
12:59:07
suricata:
Including configuration file /var/ipfire/suricata/suricata-homenet.yaml.
12:59:07
suricata:
Including configuration file /var/ipfire/suricata/suricata-dns-servers.yaml.
12:59:07
suricata:
Including configuration file /var/ipfire/suricata/suricata-http-ports.yaml.
12:59:07
suricata:
Including configuration file /var/ipfire/suricata/suricata-used-rulesfiles.yaml.
Do you update this backup after every core update. IPS was modified significantly recently with multiple providers etc and maybe there is a problem if a backup from an older version of IPS is being restored.
The error lines about the FLOWBITS are from some broken rules from the ruleset provider. Suricate skips those rules, so they do not harm the system and shows those notifications instead.
Sadly this issue/messages only can be solved by fixing the rules upstream on the provider side.
Yes I have a separate ipfire installation (uSD card) for my Raspberry Pi 4B that is only for testing of new core updates (actually there was not much testing in the past because the update cycles are too short for me). After not having found any major problems I create a backup of this installation and use it for new installations + www.ipfire.org - Migrate to new hardware
OK thanks for the info. As long as itâs not significant and canât be fixed by myself, thereâs no work to do.