Home > IDS Snort rules: Loading rules
Snort IDS tips for VARs and systems integrators:
EMAIL THIS

IDS Snort rules: Loading rules

03 Apr 2007 | SearchSecurityChannel.com

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

When Snort is started, its output reveals several clues regarding the rules it recognizes.

Here we see Snort recognizing the snort.conf file as containing rules, thereby triggering IDS mode.

Mar 20 16:59:26 cel433 snort[77406]: Parsing Rules file /usr/local/etc/nsm/snort.conf

Here Snort recognizes a RULE_PATH, meaning the actual rules we're using will be found (assuming they live in the directory specified).

Mar 20 16:59:26 cel433 snort[77406]:Var 'RULE_PATH' defined, value len=17 cha
rs
Mar 20 16:59:26 cel433 snort[77406]: , value = /nsm/rules/cel433

When run in the foreground, Snort reports the number of rules loaded. This information does not appear when Snort is run as a daemon and messages are sent to /var/log/messages, as was the case with the previous message examples. The following shows Snort recognized 8352 rules when Snort is run in the foreground.

8352 Snort rules read...
8352 Option Chains linked into 680 Chain Headers

Stay tuned for a future Snort Report on rules and rule management.


Snort Report -- IDS Snort rules

 Introduction
 False positives
 Sourcefire rules
 Bleeding Edge Threats rules
 Acquiring Snort rules
 Activating Snort rules
 Loading rules

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.



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


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

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




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