On Thu, May 9, 2013 at 3:20 PM, Bill Green <
green...@gmail.com> wrote:
> Just for fun, I recreated the DB, restarted with just one snort / BY2
> process, and the signature table still had duplicates
>
That's funky stuff.
I did a test running two simultaneous instances running in daemonized
mode using two different sensor_id with empty signature information
and I can't reproduce, using your map files.
mysql> SELECT * FROM (SELECT count(*) AS a,sig_sid,sig_gid FROM
signature WHERE sig_gid <> 1 group by sig_sid,sig_gid) as tq WHERE
tq.a>1;
Empty set (0.10 sec)
mysql> select * from sensor;
+-----+--------------+-----------+--------+--------+----------+----------+
| sid | hostname | interface | filter | detail | encoding | last_cid |
+-----+--------------+-----------+--------+--------+----------+----------+
| 1 | tho:eth0aeex | eth0aeex | NULL | 1 | 0 | 308142 |
| 2 | tho:eth0affx | eth0affx | NULL | 1 | 0 | 1 |
+-----+--------------+-----------+--------+--------+----------+----------+
2 rows in set (0.02 sec)
mysql> SELECT * FROM (SELECT count(*) AS a,sig_sid,sig_gid FROM
signature WHERE sig_gid <> 1 group by sig_sid,sig_gid) as tq WHERE
tq.a>1;
Empty set (0.28 sec)
binf@SINGULAR:/tmp$ ps -adefl | grep barn
1 R binf 31782 1 17 80 0 - 42146 - 15:20 ?
00:00:54 /home/binf/213Release/Comp/src/barnyard2 -c
../../SIDV2/test/barnyard2.conf -d ../../SIDV2/test/log/ -l
../../SIDV2/test/log/ -f snort.log -D
1 R binf 31784 1 18 80 0 - 42151 - 15:20 ?
00:00:53 /home/binf/213Release/Comp/src/barnyard2 -c
../../SIDV2/test/barnyard2-2.conf -d ../../SIDV2/test/log/ -l
../../SIDV2/test/log/ -f snort.log -D
Im trying to see what could be producing that.