Snort mailing list archives

RegisterRuleOption from 2.8.5.x to 2.8.6


From: Luis Daniel Lucio Quiroz <luis.daniel.lucio () gmail com>
Date: Mon, 26 Apr 2010 15:12:15 -0500


I have realize that new proto is now:
void RegisterRuleOption(char *, RuleOptConfigFunc, RuleOptOverrideInitFunc, 
RuleOptType, RuleOptOtnHandler);


i'm porting snortsam patch, i did have
 RegisterRuleOption("fwsam", AlertFWsamOptionInit, NULL, OPT_TYPE_ACTION);

I'm seeing that most of the plugs like the pcre set a NULL in the 4th param. 

RegisterRuleOption("pcre", SnortPcreInit, NULL, OPT_TYPE_DETECTION, NULL);

 Is that okay for snotsam? cause i dont find any example on a output-plug

Regards,

LD

------------------------------------------------------------------------------
_______________________________________________
Snort-devel mailing list
Snort-devel () lists sourceforge net
https://lists.sourceforge.net/lists/listinfo/snort-devel


Current thread: