OPNsense Forum

English Forums => Intrusion Detection and Prevention => Topic started by: nzkiwi68 on September 30, 2021, 09:06:24 pm

Title: 21.7.3 custom rules lost with upgrade - FIXED
Post by: nzkiwi68 on September 30, 2021, 09:06:24 pm
My custom-rules.xml was working fine.

After upgrade, my custom-rules.xml is still present in
Code: [Select]
/usr/local/opnsense/scripts/suricata/metadata/rules/custom-rules.xml but it's no longer appearing in the GUI:

Services > Intrusion Detection > Administration > Download

Interestingly it's still in the policy section.

It looks like the 21.7.3 upgrade to suricata 6.0.3_2 has lost the ability to load custom.xml rules.

Title: Re: 21.7.3 custom rules lost with upgrade - FIXED
Post by: nzkiwi68 on September 30, 2021, 09:51:12 pm
Oh no!

My fault. I forgot, you must escape any amersands in the URL for parsing.

Ampersand:
Code: [Select]
& must be replaced with
Code: [Select]
&