OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 19.1 Legacy Series »
  • [SOLVED] Edited changes to suricata.yaml do not hold in OPNsense 19.1.4-amd64
« previous next »
  • Print
Pages: [1]

Author Topic: [SOLVED] Edited changes to suricata.yaml do not hold in OPNsense 19.1.4-amd64  (Read 3171 times)

antonym

  • Newbie
  • *
  • Posts: 8
  • Karma: 1
    • View Profile
[SOLVED] Edited changes to suricata.yaml do not hold in OPNsense 19.1.4-amd64
« on: March 19, 2019, 03:07:12 am »
I am able to make changes to paramaters in suricata.yaml , and the file appears to save properly with the edits (file size changes after initially being saved with the edits), but then the file reverts back to the original form and size again (as if never edited) as soon as suricata is enabled again. I tried many variations of trying to edit this file: making the edits on the desktop, then using scp to transfer to the OPNSense router; making the edits from within the OPNSense shell (ssh) using vi. The edits made to this file just don't stick. Anyone else having this problem? Anyone know what the cause it and how to fix it?
« Last Edit: March 20, 2019, 10:19:22 pm by franco »
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 17703
  • Karma: 1615
    • View Profile
Re: Edited changes to suricata.yaml do not hold in OPNsense 19.1.4-amd64
« Reply #1 on: March 19, 2019, 07:47:53 am »
Hi antonym,

The sticky file is:

/usr/local/opnsense/service/templates/OPNsense/IDS/custom.yaml

suricata.yaml is supposed to be overwritten in order to keep a coherent configuration.


Cheers,
Franco
Logged

antonym

  • Newbie
  • *
  • Posts: 8
  • Karma: 1
    • View Profile
Re: Edited changes to suricata.yaml do not hold in OPNsense 19.1.4-amd64
« Reply #2 on: March 19, 2019, 02:06:40 pm »
Hi Franco

Thank you very much for the instruction, and quick reply. I'll do that next.

Regards
Ant
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 19.1 Legacy Series »
  • [SOLVED] Edited changes to suricata.yaml do not hold in OPNsense 19.1.4-amd64
 

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