Install Snort Intrusion Detection & Prevention System for Linux

Linux/Unix Add comments

Installing Snort

Snort is a widely deployed open source intrusion detection and prevention system. You can download and install the source packages from the snort website

wget http://path/to/snort-2.8.1.tar.gz
tar zxf snort-2.8.1.tar.gz
cd snort-2.8.1
./configure
make
make install

ERROR! Libpcap library/headers (libpcap.a (or .so)/pcap.h)
not found, go get it from http://www.tcpdump.org
or use the –with-libpcap-* options, if you have it installed
in unusual place. Also check if your libpcap depends on another
shared library that may be installed in an unusual place

To fix:
yum install libpcap libpcap-devel

After that you have to copy  <snort-2.8.1>/etc/snort.conf to /etc/snort/snort.conf. Then edit the settings of snort. Later download the rules and copy under rules folder.

mkdir /etc/snort/snort.conf
mkdir /etc/snort/rules

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • BlinkList
  • blogmarks
  • del.icio.us
  • digg
  • feedmelinks
  • Furl
  • Fleck
  • MyShare
  • NewsVine
  • Netscape
  • Slashdot
  • Spurl
  • StumbleUpon
  • Taggly
  • Technorati
  • Wists
  • YahooMyWeb

Leave a Reply

WP Theme & Icons by N.Design Studio
Entries RSS Comments RSS Login