Home > Installing Snort: Installation
Snort IDS tips for VARs and systems integrators:
EMAIL THIS LICENSING & REPRINTS

Installing Snort: Installation

29 Dec 2006 | SearchSecurityChannel.com

Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   

These examples use FreeBSD, although any Unix-like system will behave similarly. Because installing Snort on a Windows platform does not provide the same degree of flexibility and simplicity, I suggest following this article using your favorite Unix-like operating system.

Many operating systems (including FreeBSD) provide precompiled Snort packages, or frameworks for building Snort from source (like the FreeBSD ports tree). I recommend installing Snort from source code if at all possible. Snort is not the sort of program one should allow to be automatically updated using package management tools, due to the features added and/or removed with each new version.

First, install the Perl Compatible Regular Express (PCRE) library. In this example we use a precompiled FreeBSD package; this does not affect our plans to compile Snort from source.

freebsd61-generic:/root# pkg_add -r pcre

Next, create a directory to hold Snort. I suggest create a dedicated directory to facilitate maintaining multiple versions of Snort. For example, this method allows installing Snort 2.6.1 in its own directory, leaving the option to separately install and test Snort 2.6.2 when available.

freebsd61-generic:/root# mkdir -p /usr/local/snort-2.6.1

Now retrieve and extract the Snort archive.

We are ready to see what options Snort supports at compile-time. I've selected a few that are relevant to this article. It's important to realize that Snort offers dozens of options, which we can try invoking in future tests.

We need to install Snort into a specified directory, and we also want dynamic plugins.

With Snort installed, we can check what has appeared in our directory.

We can test Sort by executing the snort binary with the -V flag.

Snort provides extensive help via the --help (not -h) switch.

freebsd61-generic:/usr/local/snort-2.6.1# bin/snort --help

Snort also offers a manual page. To read it, we need to tell the man program where to look using the -M switch.


Snort: Fundamentals and installation tips for the channel

 Introduction
 Installation
 Sniffer mode
 Packet logger mode
 Intrusion detection mode
 Conclusion

About the author
Richard Bejtlich is founder of TaoSecurity, author of several books on network security monitoring, including Extrusion Detection: Security Monitoring for Internal Intrusions, and operator of the TaoSecurity blog (taosecurity.blogspot.com).



Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary


HomeTopicsITKnowledge ExchangeTipsMultimediaWhite PapersBlogsEvents
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Reprints  |  Site Map




All Rights Reserved, Copyright 2006 - 2008, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts