|
NAMEParse::Snort::Strict - Parse Snort rules with validation of the rules DESCRIPTIONParse Snort rules with validation regarding rule action, protocol and direction. Look at Parse::Snort for more usage detail, as this is a subclass of it. SYNOPSIS use Parse::Snort::Strict;
use Try::Tiny;
my $rule = Parse::Snort::Strict->new();
try {
$rule->parse($text);
}
catch {
warn "Unable to parse rule: $_";
};
METHODSactionYou can only have the following actions
protoYou can only have the following protocols: directionYou can Only have the following directions
|