<?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] Possible flaw in ET rules and IPS Policy Security]]></title><description><![CDATA[<p dir="auto">Hey Guys,</p>
<p dir="auto">I've noticed that Snort stops working when the following rule, either by itself or with other emerging rules and on either WAN or LAN interfaces, is applied to a IPS policy 'Security':</p>
<p dir="auto"><strong>emerging-trojan.rules</strong></p>
<p dir="auto">Seems to work without any problems with other IPS Policies, i.e. Connectivity and Balanced</p>
<p dir="auto"><strong>Global Settings:</strong><br />
Snort VRT rules ENABLED<br />
Snort GPL rules ENABLED<br />
Emerging Threats ENABLED<br />
FEODO Botnut Rules ENABLED</p>
<p dir="auto"><strong>LAN Settings:</strong><br />
Block Offenders ENABLED<br />
IPS Mode LEGACY<br />
Kill States ENABLED<br />
Which IP Block BOTH</p>
<p dir="auto"><strong>LAN Categories:</strong><br />
Use IPS Policy ENABLED<br />
IPS Policy Selection SECURITY<br />
Snort GPL Rules ENABLED<br />
FEODO Botnet Rules ENABLED<br />
ET Open Rules -&gt; <strong>emerging-trojan.rules</strong></p>
<p dir="auto">It could be a security flaw as it disables Snort on that interface. Looking for some feed back before I submit as a bug.</p>
<p dir="auto">TIA.</p>
]]></description><link>https://forum.netgate.com/topic/180423/snort-possible-flaw-in-et-rules-and-ips-policy-security</link><generator>RSS for Node</generator><lastBuildDate>Sat, 06 Jun 2026 04:25:50 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/180423.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 27 May 2023 12:25:34 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to [Snort] Possible flaw in ET rules and IPS Policy Security on Sun, 28 May 2023 19:54:22 GMT]]></title><description><![CDATA[<pre><code>May 27 16:02:49 kernel pid 38637 (snort), jid 0, uid 0, was killed: failed to reclaim memory
</code></pre>
<p dir="auto"><em>May 27 16:02:49 kernel pid 38637 (snort), jid 0, uid 0, was killed: <strong>failed to reclaim memory</strong></em></p>
<p dir="auto">Can be pointed to the storage space and/or<br />
the amount of ram.</p>
]]></description><link>https://forum.netgate.com/post/1107485</link><guid isPermaLink="true">https://forum.netgate.com/post/1107485</guid><dc:creator><![CDATA[Dobby_]]></dc:creator><pubDate>Sun, 28 May 2023 19:54:22 GMT</pubDate></item><item><title><![CDATA[Reply to [Snort] Possible flaw in ET rules and IPS Policy Security on Sun, 28 May 2023 15:16:51 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/asgr71">@<bdi>ASGR71</bdi></a> said in <a href="/post/1107347">[Snort] Possible flaw in ET rules and IPS Policy Security</a>:</p>
<blockquote>
<p dir="auto">I did have Snort setup in the first paragraph, without the problem rule set, running along side pfBlocker without any problems.</p>
</blockquote>
<p dir="auto">That's asking a lot of an SG-1100 with its limited RAM.</p>
<p dir="auto">When you enable the ET-Trojans rules, what kind of error is logged in the pfSense system log when Snort crashes?</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/asgr71">@<bdi>ASGR71</bdi></a> said in <a href="/post/1107347">[Snort] Possible flaw in ET rules and IPS Policy Security</a>:</p>
<blockquote>
<p dir="auto">I'll try a factory reset in the near future and see if that makes any difference...</p>
</blockquote>
<p dir="auto">A factory reset is unlikely to make any difference with Snort. In my opinion that will be wasted effort.</p>
]]></description><link>https://forum.netgate.com/post/1107437</link><guid isPermaLink="true">https://forum.netgate.com/post/1107437</guid><dc:creator><![CDATA[bmeeks]]></dc:creator><pubDate>Sun, 28 May 2023 15:16:51 GMT</pubDate></item><item><title><![CDATA[Reply to [Snort] Possible flaw in ET rules and IPS Policy Security on Sun, 28 May 2023 04:42:27 GMT]]></title><description><![CDATA[<p dir="auto">You could have too many rules enabled, I learned the hard way you want to only use 50 percent of you memory under no loads, or else the system will start to disable things to free up memory. I use snort ET and subscriber rules with a key for the free version, and that's it plus manual et rules 3Com rules. Anymore for the 4GB memory just boggs it down.</p>
]]></description><link>https://forum.netgate.com/post/1107357</link><guid isPermaLink="true">https://forum.netgate.com/post/1107357</guid><dc:creator><![CDATA[JonathanLee]]></dc:creator><pubDate>Sun, 28 May 2023 04:42:27 GMT</pubDate></item><item><title><![CDATA[Reply to [Snort] Possible flaw in ET rules and IPS Policy Security on Sat, 27 May 2023 23:20:12 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/bmeeks">@<bdi>bmeeks</bdi></a> Thanks again B. I'm currently running 'Security' Policy with Snort VRT, Snort GPL, FEODO and 12 other ET rules sets and all is fine. Processor fluctuates between at 9 and 53% and RAM at 76%.</p>
<p dir="auto">As soon as I enable 'emerging-trojans.rules', with the above, it will eventually fail on next update/reload or manual restart.</p>
<p dir="auto">For future reference and as a process of elimination, I turned everything off except for Snort VRT to keep the IPS Policy Option and all is running OK. Processor fluctuating between 11 and 52% and RAM 68%</p>
<p dir="auto">Again, adding 'emerging-trojans.rules' to just the Snort VRT rule set results in a failure to start the interface.</p>
<p dir="auto">I did have Snort setup in the first paragraph, without the problem rule set, running along side pfBlocker without any problems.</p>
<p dir="auto">I'll try a factory reset in the near future and see if that makes any difference...</p>
]]></description><link>https://forum.netgate.com/post/1107347</link><guid isPermaLink="true">https://forum.netgate.com/post/1107347</guid><dc:creator><![CDATA[ASGR71]]></dc:creator><pubDate>Sat, 27 May 2023 23:20:12 GMT</pubDate></item><item><title><![CDATA[Reply to [Snort] Possible flaw in ET rules and IPS Policy Security on Sat, 27 May 2023 20:06:20 GMT]]></title><description><![CDATA[<p dir="auto">If you are running on an SG-1100, then my first suspicion is you are simply running out of RAM. Snort can eat a lot of memory, and the more rules you enable the more memory is required. As I mentioned, the "Security" IPS policy enables the most rules out of the policy selections. So, not really surprised that is causing you problems. Adding in those ET rules probably is the last straw that is breaking the camel's back in terms of memory usage.</p>
<p dir="auto">You need to use a lean and mean rule set on an SG-1100 due to the very limite amount of RAM.</p>
]]></description><link>https://forum.netgate.com/post/1107316</link><guid isPermaLink="true">https://forum.netgate.com/post/1107316</guid><dc:creator><![CDATA[bmeeks]]></dc:creator><pubDate>Sat, 27 May 2023 20:06:20 GMT</pubDate></item><item><title><![CDATA[Reply to [Snort] Possible flaw in ET rules and IPS Policy Security on Sat, 27 May 2023 19:43:19 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/bmeeks">@<bdi>bmeeks</bdi></a> Thanks for your reply.</p>
<p dir="auto">It's running on an 1100.</p>
<p dir="auto">This is the output from the logs...</p>
<p dir="auto">May 27 16:02:49 	php 	21847 	/tmp/snort_mvneta0.4090_startcmd.php: The command '/usr/local/bin/snort -R _9897 -D --daq pcap --daq-mode passive --treat-drop-as-alert -l /var/log/snort/snort_mvneta0.40909897 --pid-path /var/run --nolock-pidfile --no-interface-pidfile -G 9897 -c /usr/local/etc/snort/snort_9897_mvneta0.4090/snort.conf -i mvneta0.4090' returned exit code '9', the output was ''<br />
May 27 16:02:49 	kernel 		pid 38637 (snort), jid 0, uid 0, was killed: failed to reclaim memory<br />
...<br />
May 27 16:00:28 	snort 	38637 	+++++++++++++++++++++++++++++++++++++++++++++++++++<br />
May 27 16:00:28 	snort 	38637 	30643 Option Chains linked into 1413 Chain Headers<br />
May 27 16:00:28 	snort 	38637 	291 preprocessor rules<br />
May 27 16:00:28 	snort 	38637 	153 decoder rules<br />
May 27 16:00:28 	snort 	38637 	30199 detection rules<br />
May 27 16:00:28 	snort 	38637 	30643 Snort rules read<br />
May 27 16:00:12 	snort 	38637 	WARNING: /usr/local/etc/snort/snort_9897_mvneta0.4090/rules/snort.rules(507) threshold (in rule) is deprecated; use detection_filter instead.<br />
May 27 16:00:12 	snort 	38637 	Initializing rule chains...<br />
May 27 16:00:12 	snort 	38637 	+++++++++++++++++++++++++++++++++++++++++++++++++++</p>
]]></description><link>https://forum.netgate.com/post/1107314</link><guid isPermaLink="true">https://forum.netgate.com/post/1107314</guid><dc:creator><![CDATA[ASGR71]]></dc:creator><pubDate>Sat, 27 May 2023 19:43:19 GMT</pubDate></item><item><title><![CDATA[Reply to [Snort] Possible flaw in ET rules and IPS Policy Security on Sat, 27 May 2023 13:24:27 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/asgr71">@<bdi>ASGR71</bdi></a> said in <a href="/post/1107245">[Snort] Possible flaw in ET rules and IPS Policy Security</a>:</p>
<blockquote>
<p dir="auto">I've noticed that Snort stops working when the following rule</p>
</blockquote>
<p dir="auto">Which rule? You did not specify the signature ID (SID). All I see is a category name, but that category file contains many rules.</p>
<p dir="auto">What errors are you seeing in the pfSense system log when Snort quits working?</p>
<p dir="auto">What kind of hardware are you running Snort on? Using the 'Security' IPS policy loads the most rules. You might simply be running out of free RAM.</p>
]]></description><link>https://forum.netgate.com/post/1107267</link><guid isPermaLink="true">https://forum.netgate.com/post/1107267</guid><dc:creator><![CDATA[bmeeks]]></dc:creator><pubDate>Sat, 27 May 2023 13:24:27 GMT</pubDate></item></channel></rss>