<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[snort 4.1.6_27 crashing with php error]]></title><description><![CDATA[<p dir="auto">just updated the snort package, and when entering an interface's Rules page, the web server encounters an error and crashes with the following:</p>
<pre><code>Crash report begins.  Anonymous machine information:

amd64
15.0-CURRENT
FreeBSD 15.0-CURRENT #21 RELENG_2_8_1-n256095-47c932dcc0e9: Thu Aug 28 16:27:48 UTC 2025     root@pfsense-build-release-amd64-1.eng.atx.netgate.com:/var/jenkins/workspace/pfSense-CE-snapshots-2_8_1-main/obj/amd64/AupY3aTL/var/jenkins/workspace/pfSense-CE-

Crash report details:

PHP Errors:
[17-Oct-2025 14:37:36 Australia/Melbourne] PHP Parse error:  syntax error, unexpected variable "$tmp" in /usr/local/www/snort/snort_rules.php on line 181

No FreeBSD crash data found.
</code></pre>
]]></description><link>https://forum.netgate.com/topic/199054/snort-4.1.6_27-crashing-with-php-error</link><generator>RSS for Node</generator><lastBuildDate>Wed, 15 Jul 2026 20:26:38 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/199054.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 17 Oct 2025 03:46:27 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to snort 4.1.6_27 crashing with php error on Mon, 20 Oct 2025 12:20:15 GMT]]></title><description><![CDATA[<p dir="auto">yeah, it's fixed with _28</p>
]]></description><link>https://forum.netgate.com/post/1228219</link><guid isPermaLink="true">https://forum.netgate.com/post/1228219</guid><dc:creator><![CDATA[SomeoneOnTheInternet]]></dc:creator><pubDate>Mon, 20 Oct 2025 12:20:15 GMT</pubDate></item><item><title><![CDATA[Reply to snort 4.1.6_27 crashing with php error on Mon, 20 Oct 2025 12:16:39 GMT]]></title><description><![CDATA[<p dir="auto">Since there is _28 available it should be fixed:<br />
<a href="https://github.com/pfsense/FreeBSD-ports/commit/3afd280823909b850f3dc04849d6a3bc8d7659da" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/pfsense/FreeBSD-ports/commit/3afd280823909b850f3dc04849d6a3bc8d7659da</a></p>
<p dir="auto">pfSense-pkg-snort: 4.1.6_26 -&gt; 4.1.6_28 [pfSense]</p>
]]></description><link>https://forum.netgate.com/post/1228218</link><guid isPermaLink="true">https://forum.netgate.com/post/1228218</guid><dc:creator><![CDATA[slu]]></dc:creator><pubDate>Mon, 20 Oct 2025 12:16:39 GMT</pubDate></item><item><title><![CDATA[Reply to snort 4.1.6_27 crashing with php error on Sun, 19 Oct 2025 06:43:55 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/someoneontheinternet">@<bdi>SomeoneOnTheInternet</bdi></a> Same here too ...</p>
<p dir="auto"><span style="color:#ec222d">EDIT:</span></p>
<p dir="auto">for the moment (until <a class="plugin-mentions-user plugin-mentions-a" href="/user/jimp">@<bdi>jimp</bdi></a> overview the code) you can edit the /usr/local/www/snort/snort_rules.php.</p>
<p dir="auto">Go to line 178 and put a ";" (without quota) in the end of this statement:</p>
<pre><code>$currentruleset = basename($currentruleset)
</code></pre>
<p dir="auto">so it looks like this:</p>
<pre><code>$currentruleset = basename($currentruleset);
</code></pre>
<p dir="auto">Thats it.</p>
]]></description><link>https://forum.netgate.com/post/1228063</link><guid isPermaLink="true">https://forum.netgate.com/post/1228063</guid><dc:creator><![CDATA[fireodo]]></dc:creator><pubDate>Sun, 19 Oct 2025 06:43:55 GMT</pubDate></item></channel></rss>