Net::Snort::Parser::Rule - Perl interface to parsing snort rules
use Net::Snort::Parser::Rule;
my $parser =
Net::Snort::Parser::Rule->new(); my $rule
= $parser->parse_rule($ruletext);
Net::Snort::Parser::File is a module that provides a mechanism for parsing snort
rules, handling most of the "isms" that the snort parser forces on
application developers.
Programmers that use this module should be familar with the snort
rules format, since many requirements of the rules language are implied by
this module.
This module does not handle multiline rules. That should be handled before
passing the rule to the parser.
Brian Caswell <bmc@shmoo.com>
Report bugs to <bmc@shmoo.com>
Thanks to The Honeynet Project
Copyright (c) 2003 Brian Caswell <bmc@shmoo.com>