Site Map - skip to main content

Hacker Public Radio

Your ideas, projects, opinions - podcasted.

New episodes every weekday Monday through Friday.
This page was generated by The HPR Robot at

127 :: Getting Started With Snort

<< First, < Previous, , Latest >>

Hosted by Silver on 2006-07-23 is flagged as Explicit and is released under a CC-BY-NC-SA license.

Listen in mp3 format. Play now:

Duration: 00:03:09

Listen in mp3 format.


Snort is included with SuSE but not Red Hat. If you need it (or you want to upgrade), download the source distribution from and unpack it:

$ tar xvpzf snort-*.tar.gz

Then compile it:

$ cd `ls -d snort-* | head -1`
$ ./configure
$ make

and install the binary and manpage as root:

# make install

Next, create a logging directory. It should not be publicly readable, since it will contain potentially sensitive data:

# mkdir -p -m go-rwx /var/log/snort

Finally, install the configuration files and rules database:

# mkdir -p /usr/local/share/rules
# cp etc/* rules/*.rules /usr/local/share/rules