While running soup today to update my standalone Security Onion sensor I noticed this snippet in the output:
Setting up securityonion-setup (20120912-0ubuntu0securityonion207) ...
/etc/nsm/pulledpork/pulledpork.conf doesn't already have Snort Community ruleset enabled.
Backing up /etc/nsm/pulledpork/pulledpork.conf to /etc/nsm/pulledpork/pulledpork.conf.20160429.
Appending the following to /etc/nsm/pulledpork/pulledpork.conf:
I use the Snort subscriber rules, which I thought the community rules were included in, so i wouldn't need the Snort community rules, is that correct? And if so does it hurt to have the entry for Snort community? Does Pulledpork de-dupe any duplicate rules?
Additionally, when I went to look at my pulledpork.conf I noticed multiple entries for Snort Community:
$ grep -v "#" /etc/nsm/pulledpork/pulledpork.conf
ignore=deleted.rules,experimental.rules,local.rules
temp_path=/tmp
rule_path=/etc/nsm/rules/downloaded.rules
local_rules=/etc/nsm/rules/local.rules
sid_msg=/etc/nsm/rules/sid-msg.map
sid_msg_version=1
sid_changelog=/var/log/nsm/sid_changes.log
sorule_path=/usr/local/lib/snort_dynamicrules/
snort_path=/usr/bin/snort
config_path=/etc/nsm/templates/snort/snort.conf
distro=Ubuntu-12-04
black_list=/usr/local/etc/snort/rules/iplists/default.blacklist
IPRVersion=/usr/local/etc/snort/rules/iplists
snort_control=/usr/local/bin/snort_control
enablesid=/etc/nsm/pulledpork/enablesid.conf
dropsid=/etc/nsm/pulledpork/dropsid.conf
disablesid=/etc/nsm/pulledpork/disablesid.conf
modifysid=/etc/nsm/pulledpork/modifysid.conf
version=0.7.0
sid_msg_version=1
It's listed twice up at the top and four times at the bottom. Is this normal? Do others have this?
Looking at the pulledpork.conf backup files it looks like they started getting added in January of this year with the change in URL from
amazonaws.com to
snort.org and then one more gets added in each backup:
$ ls -a /etc/nsm/pulledpork/
. disablesid.conf enablesid.conf pulledpork.conf pulledpork.conf.20160208 pulledpork.conf.20160423 pulledpork.conf.bak.20150424
.. dropsid.conf modifysid.conf pulledpork.conf.20160127 pulledpork.conf.20160406 pulledpork.conf.20160429
$ diff /etc/nsm/pulledpork/pulledpork.conf /etc/nsm/pulledpork/pulledpork.conf.20160429
215d214
$ diff /etc/nsm/pulledpork/pulledpork.conf /etc/nsm/pulledpork/pulledpork.conf.20160423
214,215d213
$ diff /etc/nsm/pulledpork/pulledpork.conf /etc/nsm/pulledpork/pulledpork.conf.20160406
213,215d212
$ diff /etc/nsm/pulledpork/pulledpork.conf /etc/nsm/pulledpork/pulledpork.conf.20160208
211,215d210
< sid_msg_version=1
$ diff /etc/nsm/pulledpork/pulledpork.conf /etc/nsm/pulledpork/pulledpork.conf.20160127
22c22
---
211,215d210
< sid_msg_version=1
Anyone else seeing the same thing?