Barnyard2 Installation Linux: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
(Die Seite wurde neu angelegt: „=Vorbereitung= *apt-get install -y mysql-server libmysqlclient-dev mysql-client autoconf libtool *apt-get install libpcap-dev libprelude-dev =Edit /etc/snort/s…“) |
|||
| Zeile 15: | Zeile 15: | ||
output database log,mysql, user=snort password=snort dbname=snort host=localhost | output database log,mysql, user=snort password=snort dbname=snort host=localhost | ||
</pre> | </pre> | ||
| + | =Compile and Install Barnyard2= | ||
| + | *git clone git://github.com/firnsy/barnyard2.git | ||
| + | *cd barnyard2 | ||
| + | *./autogen.sh | ||
| + | *CFLAGS='-lpthread' | ||
Version vom 11. Oktober 2018, 09:24 Uhr
Vorbereitung
- apt-get install -y mysql-server libmysqlclient-dev mysql-client autoconf libtool
- apt-get install libpcap-dev libprelude-dev
Edit /etc/snort/snort.conf
################################################### # Step #6: Configure output plugins # For more information, see Snort Manual, Configuring Snort - Output Modules ################################################### # unified2 # Recommended for most installs # output unified2: filename merged.log, limit 128, nostamp, mpls_event_types, vlan_event_types # output unified2: filename snort.log, limit 128, nostamp, mpls_event_types, vlan_event_types output database log,mysql, user=snort password=snort dbname=snort host=localhost
Compile and Install Barnyard2
- git clone git://github.com/firnsy/barnyard2.git
- cd barnyard2
- ./autogen.sh
- CFLAGS='-lpthread'