https://redmine.pfsense.org/https://redmine.pfsense.org/favicon.ico?16780521162022-07-03T16:14:20ZpfSense bugtrackerpfSense Packages - Bug #13333: PHP error when saving Suricata rulesetshttps://redmine.pfsense.org/issues/13333?journal_id=620672022-07-03T16:14:20ZBill Meeks
<ul></ul><p>Can you add a little more detail for this statement: " <em>This was triggered when existing rules were auto-enabled by SID Mgmt</em> "? When you say "existing rules", does that mean the same SID values were already enabled elsewhere in the GUI and the SID Mgmt settings are matching the same SIDs and attempting to enable them again? Just checking to make sure I am correctly understanding "existing rules" in the context of this bug report.</p>
<p>Thanks!<br />Bill</p> pfSense Packages - Bug #13333: PHP error when saving Suricata rulesetshttps://redmine.pfsense.org/issues/13333?journal_id=620682022-07-03T18:42:53ZMarcos M
<ul></ul><p>It happened a while ago as you can tell from the timestamp, unfortunately I don't remember the exact details to reproduce it. By existing rules, I mean the rulesets/categories e.g. <code>emerging-bocc.rules</code>. They had been already enabled by SID Mgmt, and using the Select All button and saving (iirc) would trigger it. I tried to reproduce it today and couldn't, but from what I can tell, the code hasn't been updated to deal with it. Hence I don't believe it's fixed and there should likely be some safeguard against it.</p> pfSense Packages - Bug #13333: PHP error when saving Suricata rulesetshttps://redmine.pfsense.org/issues/13333?journal_id=620722022-07-04T10:32:52ZBill Meeks
<ul></ul><p>Marcos Mendoza wrote in <a href="#note-2">#note-2</a>:</p>
<blockquote>
<p>It happened a while ago as you can tell from the timestamp, unfortunately I don't remember the exact details to reproduce it. By existing rules, I mean the rulesets/categories e.g. <code>emerging-bocc.rules</code>. They had been already enabled by SID Mgmt, and using the Select All button and saving (iirc) would trigger it. I tried to reproduce it today and couldn't, but from what I can tell, the code hasn't been updated to deal with it. Hence I don't believe it's fixed and there should likely be some safeguard against it.</p>
</blockquote>
<p>Thanks. That helps me isolate the potential trigger area of the code. I've added this to my own internal bug tracking as well and will look into it some more.</p> pfSense Packages - Bug #13333: PHP error when saving Suricata rulesetshttps://redmine.pfsense.org/issues/13333?journal_id=621802022-07-13T18:20:41ZBill Meeks
<ul></ul><p>This issue has been addressed in the new <em>pfSense-pkg-suricata-6.0.6</em> update. Pull request posted here: <a class="external" href="https://github.com/pfsense/FreeBSD-ports/pull/1179">https://github.com/pfsense/FreeBSD-ports/pull/1179</a>.</p> pfSense Packages - Bug #13333: PHP error when saving Suricata rulesetshttps://redmine.pfsense.org/issues/13333?journal_id=621842022-07-14T08:30:32ZBill Meeks
<ul></ul><p>The pull request has been merged to correct this issue and it can be marked "Resolved".</p> pfSense Packages - Bug #13333: PHP error when saving Suricata rulesetshttps://redmine.pfsense.org/issues/13333?journal_id=649322023-01-01T15:04:04ZMarcos M
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Resolved</i></li></ul>