OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • Intrusion Detection and Prevention »
  • 21.7.3 custom rules lost with upgrade - FIXED
« previous next »
  • Print
Pages: [1]

Author Topic: 21.7.3 custom rules lost with upgrade - FIXED  (Read 2569 times)

nzkiwi68

  • Full Member
  • ***
  • Posts: 182
  • Karma: 20
    • View Profile
21.7.3 custom rules lost with upgrade - FIXED
« 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.

« Last Edit: September 30, 2021, 10:06:36 pm by nzkiwi68 »
Logged

nzkiwi68

  • Full Member
  • ***
  • Posts: 182
  • Karma: 20
    • View Profile
Re: 21.7.3 custom rules lost with upgrade - FIXED
« Reply #1 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]
&
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • Intrusion Detection and Prevention »
  • 21.7.3 custom rules lost with upgrade - FIXED
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2