- Suricata-8.x will only accept include statements in array format and not in multiple
single lines. Suricata-7.x still accepts the multiple single lines but flags up that
the format is deprecated and will be removed in suricata-8.x
- This patch adjusts the address-groups include into the array format.
- This change has been tested out on my vm and the IPS started up and from the logs you
can see that all the include files were taken on board and the derprecation message
is no longer shown.
- This change can be implemented with Suricata-7.x and will make sure that IPFire has
the include syntax that Suricata-8.x will require.
Fixes: Bug13646
Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
vars:
address-groups:
- # Include HOME_NET declaration from external file.
- include: /var/ipfire/suricata/suricata-homenet.yaml
-
- # Include DNS_SERVERS declaration from external file.
- include: /var/ipfire/suricata/suricata-dns-servers.yaml
+ include:
+ # Include HOME_NET declaration from external file.
+ - /var/ipfire/suricata/suricata-homenet.yaml
+ # Include DNS_SERVERS declaration from external file.
+ - /var/ipfire/suricata/suricata-dns-servers.yaml
EXTERNAL_NET: "any"