-
Notifications
You must be signed in to change notification settings - Fork 2
barnyard2
Chris edited this page Mar 10, 2012
·
5 revisions
To install Barnyard2, be sure to check the Barnyard2 site for the latest details:
cd
mkdir ~/src ... if needed
cd ~/src
wget http://www.securixlive.com/download/barnyard2/barnyard2-1.9.tar.gz
tar zxvf barnyard2-1.9.tar.gz
cd barnyard2-1.9
sudo ./configure --with-mysql
make
make install
sudo cp etc/barnyard2.conf /usr/local/snort/etc
sudo mkdir /var/log/barnyard2
sudo chmod 667 /var/log/barnyard2
sudo touch /var/log/snort/barnyard2.waldo
sudo chown snort:snort /var/log/snort/barnyard2.waldo
sudo nano /usr/local/snort/etc/barnyard2.conf
sudo cp /usr/local/snort/etc/barnyard2.conf /usr/local/snort/etc/barnyard2-eth0.conf
sudo nano /usr/local/snort/etc/barnyard2-eth0.conf
mkdir /var/log/snort/eth0
chmod 667 /var/log/snort/eth0
touch /var/log/snort/eth0/barnyard2.waldo
chown snort:snort /var/log/snort/eth0/barnyard2.waldo