Need help finding out why Barnyard2 doesnt take snort logs and put them in a mysql database -
ok using ubuntu 32 bit , running snort can see u2 logs barnyard2 not appear reading these files nothing sql database.
so how can test this? command use run barnyard2 . "/barnyard2-install/bin/barnyard2 -c /etc/snort/barnyard2.conf -d /var/log/snort -f .u2. -w /var/log/snort/barnyard2.waldo"
which see no waldo file there yeah im newbie need learn stuff somehow.
for snort type service snort start. im running root , when check mysql database empyty. can write barnyards readings file?
is there place might have answers seek? there way test stuff?
also u2spewfoo doesnt appear snort.
if configure snort.conf ( log unified2) , barnyard.conf (to connect mysql)correctly, try following command run snort , barnyard correctly , work well:
to run snort:
snort -vde --daq-dir=/usr/local/lib/daq/ --daq ipq -q -c /etc/snort/snort.conf -l /var/log/snort -m 022 to run barnyard:
/usr/local/bin/barnyard2 -c /etc/snort/barnyard2.conf -d /var/log/snort -f snort.log -w /var/log/snort/barnyard.waldo notice1: change "/usr/local/bin" , other path barnyard , snort installation path.
notice2: if did not install ipq module ( enable during configuring daq) delete "--daq ipd -q" , @ end, can use many guideline , manual run snort , barnyard, of them can found in snort.org
Comments
Post a Comment