OPNsense Forum

English Forums => 19.1 Legacy Series => Topic started by: antonym on March 19, 2019, 03:07:12 am

Title: [SOLVED] Edited changes to suricata.yaml do not hold in OPNsense 19.1.4-amd64
Post by: antonym 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?
Title: Re: Edited changes to suricata.yaml do not hold in OPNsense 19.1.4-amd64
Post by: franco 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
Title: Re: Edited changes to suricata.yaml do not hold in OPNsense 19.1.4-amd64
Post by: antonym 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