Snort::Rule 1.07

Perl Artistic License

Snort::Rule 1.07

Snort::Rule is a Perl extension for dynamically building snort rules.


use Snort::Rule;
$rule = Snort::Rule->new(
-action => 'alert',
-proto=> 'tcp',
-src=> 'any',
-sport=> 'any',
-dir=> '->',
-dst=> '',
-dport=> '44444',

$rule->opts('msg','Test Rule"');
$rule->opts('threshold','type limit,track by_src,count 1,seconds 3600');

print $rule->string()."n";


$rule = 'alert tcp $SMTP_SERVERS any -> $EXTERNAL_NET 25 (msg:"BLEEDING-EDGE POLICY SMTP US Top Secret PROPIN"; flow:to_server,established; content:"Subject|3A|"; pcre:"/(TOPsSECRET|TS)//[sw,/-]*PROPIN[sw,/-]*(?=//(25)?X[1-9])/ism"; classtype:policy-violation; sid:2002448; rev:1;)';

$rule = Snort::Rule->new(-parse => $rule);
print $rule->string()."n";

This is a very simple snort rule object. It was developed to allow for scripted dynamic rule creation. Ideally you could dynamically take a list of bad hosts and build an array of snort rule objects from that list. Then write that list using the string() method to a snort rules file.


Download and use it now: Snort::Rule 1.07 free download

Add a review

Tell us your experience with Snort::Rule 1.07

Related programsOur Recommendations

Transliterate Belarusian Cyrillic 0.1.8

Transliterate Belarusian Cyrillic is a Firefox extension that extends your right-click context menu


sphinxcontrib-actdiag 0.4.3

sphinxcontrib-actdiag contains the actdiag Sphinx extension.Product's homepageRequirements: ·


Nautilus Extension Kill MetaMac 1.0

Nautilus Extension Kill MetaMac is a Nautilus extension for auto-deleting Mac filesystem metadata


Elisa Movie Trailers Plugin 0.1

Elisa Movie Trailers Plugin is a plugin for the Elisa Media Center. It is a community plugin


Toradora! Theme2 1

Toradora! Theme2 for Google Chrome browser that fits most resolutions.About Google ChromeGoogle


IRC::Indexer 0.06

IRC::Indexer is a set of Perl modules and utilities useful for trawling IRC networks, collecting


Motoracer From Hell 1.2

Nice motorbike stunts free game by The Racer from the Hell rushes at full


QFaxReader 0.3.1

QFaxReader project is a monochrome and color multipage .TIFF files visualisation utility designed


3dDesktop 0.2.8

3D-Desktop is an OpenGL program for switching virtual desktops in a seamless 3-dimensional manner


mpowerplayer 2.0.921

Mpowerplayer is your digital hub for mobile gaming.Play an entire library of mobile games right on


Thumbnail of Snort::Rule 1.07


3 stars

Publisher/Developer: Wes Young

Release Date: Jun 9, 2014

View Program Details

Top Downloadslast week