<?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 Bug: HOME_NET line being mis-written. Comma at string end.]]></title><description><![CDATA[<p dir="auto">In /usr/local/etc/snort.conf, we have a line like so:</p>
<p dir="auto">var HOME_NET [CIDR,CIDR,CIDR]</p>
<p dir="auto">The problem is that the module writes the line out like this:</p>
<p dir="auto">var HOME_NET [CIDR,CIDR,CIDR,]</p>
<p dir="auto">I have to keep going in and manually removing the last comma.  It's probably just a loop that appends a comma after each entry.  Any way we can clean that up?</p>
<p dir="auto">Also, it appears that snort is somwhat picky, and wants larger network entries towards the beginning, and individual addresses at the end.  I know, it sounds dumb, but for some reason I have to manually sort the list so that /24's go first, /29's, then /32's, otherwise addresses fail to be whitelisted.  I don't get it….</p>
]]></description><link>https://forum.netgate.com/topic/3216/snort-bug-home_net-line-being-mis-written-comma-at-string-end</link><generator>RSS for Node</generator><lastBuildDate>Sat, 14 Nov 2026 02:26:01 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/3216.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 24 Jan 2007 19:25:35 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Snort Bug: HOME_NET line being mis-written. Comma at string end. on Sun, 28 Jan 2007 17:35:59 GMT]]></title><description><![CDATA[<p dir="auto">Bug opened, but closed.  Thanks for that. :)  Now if only I could figure out why /var/db/whitelist winds up being such a mess for me. :(  It doesn't work right at all unless I manually clean it up after each reboot.  It appears to keep dumping duplicates into the file, and unless I sort network large to small, it's no good.</p>
<p dir="auto">That, and I have a network, x.x.x.0/24 for I have in /var/db/whitelist, but snort keeps adding x.x.x.11 to the blocklist.  Unless I put x.x.x.11/32 in there as well, it keeps getting blocked.</p>
]]></description><link>https://forum.netgate.com/post/148183</link><guid isPermaLink="true">https://forum.netgate.com/post/148183</guid><dc:creator><![CDATA[Numbski]]></dc:creator><pubDate>Sun, 28 Jan 2007 17:35:59 GMT</pubDate></item><item><title><![CDATA[Reply to Snort Bug: HOME_NET line being mis-written. Comma at string end. on Wed, 24 Jan 2007 22:59:39 GMT]]></title><description><![CDATA[<p dir="auto">Is this related? : http://forum.pfsense.org/index.php/topic,3390.0.html</p>
]]></description><link>https://forum.netgate.com/post/147962</link><guid isPermaLink="true">https://forum.netgate.com/post/147962</guid><dc:creator><![CDATA[PC_Arcade]]></dc:creator><pubDate>Wed, 24 Jan 2007 22:59:39 GMT</pubDate></item><item><title><![CDATA[Reply to Snort Bug: HOME_NET line being mis-written. Comma at string end. on Wed, 24 Jan 2007 20:55:17 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/numbski" aria-label="Profile: Numbski">@<bdi>Numbski</bdi></a>:</p>
<blockquote>
<p dir="auto">UPDATE:  Does snort2c even recognize CIDR notation?  Per the web site and man page, it expects just plain old IP's, not IP/mask.  Ruh roh.</p>
</blockquote>
<p dir="auto">I am using CIDR blocks on my setup.  My Vonage connection stopped working after updating Snort on 1/22/07.  When I checked the firewall logs, it showed Snort was blocking all UDP connections from Vonage IPs.  I added the two Vonage CIDR blocks, pulled from an ARIN search of the IP's, to Snort's whitelist and it starting working again.</p>
<p dir="auto">I'm using pfSense snapshot 1-22-2007, if that matters.</p>
]]></description><link>https://forum.netgate.com/post/147945</link><guid isPermaLink="true">https://forum.netgate.com/post/147945</guid><dc:creator><![CDATA[wyckedone]]></dc:creator><pubDate>Wed, 24 Jan 2007 20:55:17 GMT</pubDate></item><item><title><![CDATA[Reply to Snort Bug: HOME_NET line being mis-written. Comma at string end. on Wed, 24 Jan 2007 20:42:05 GMT]]></title><description><![CDATA[<p dir="auto">Hrm.  Please open a bug report at cvstrac.pfsense.com</p>
<p dir="auto">Thanks!</p>
]]></description><link>https://forum.netgate.com/post/147944</link><guid isPermaLink="true">https://forum.netgate.com/post/147944</guid><dc:creator><![CDATA[sullrich]]></dc:creator><pubDate>Wed, 24 Jan 2007 20:42:05 GMT</pubDate></item><item><title><![CDATA[Reply to Snort Bug: HOME_NET line being mis-written. Comma at string end. on Wed, 24 Jan 2007 20:27:55 GMT]]></title><description><![CDATA[<p dir="auto">My mistake.  The whitelist sorting problem occurs in /var/db/whitellist, not in HOME_NET.  Still a problem, just told you the wrong place.  Ooops.</p>
<p dir="auto">UPDATE:  Does snort2c even recognize CIDR notation?  Per the web site and man page, it expects just plain old IP's, not IP/mask.  Ruh roh.</p>
]]></description><link>https://forum.netgate.com/post/147941</link><guid isPermaLink="true">https://forum.netgate.com/post/147941</guid><dc:creator><![CDATA[Numbski]]></dc:creator><pubDate>Wed, 24 Jan 2007 20:27:55 GMT</pubDate></item></channel></rss>