Snort mailing list archives
Re: Snort 3.0: STATIC_IPS_OPTIONS, STATIC_IPS_ACTIONS
From: Russ <rucombs () cisco com>
Date: Thu, 12 Feb 2015 10:23:47 -0500
On 2/12/15 9:07 AM, Sancho Panza wrote:
Hello, in ips_options/ips_options.c there is an array const BaseApi* ips_options[] that includes some options *always*, while others are only included if "configure" was previously run with "static-ips-actions" (#ifdef STATIC_IPS_OPTIONS). In a similar fashion, in actions/ips_actions.cc, there is an array const BaseApi* ips_actions[] that includes act_replace *always* , while other actions are only included, if STATIC_IPS_ACTIONS What's the reason for including some options always statically, even though the respective config switch is deactivated?
Some plugins are are explicitly referenced in the main code and must be built in. Ideally we would have none of those cases, and many have been eliminated, but some remain. More of those dependencies will be eliminated as we go. In any case, that applies only to legacy code. If you are adding new plugins, they can be built either way.
Many thanks Sancho ------------------------------------------------------------------------------ Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Snort-devel mailing list Snort-devel () lists sourceforge net https://lists.sourceforge.net/lists/listinfo/snort-devel Archive: http://sourceforge.net/mailarchive/forum.php?forum_name=snort-devel Please visit http://blog.snort.org for the latest news about Snort!
------------------------------------------------------------------------------ Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Snort-devel mailing list Snort-devel () lists sourceforge net https://lists.sourceforge.net/lists/listinfo/snort-devel Archive: http://sourceforge.net/mailarchive/forum.php?forum_name=snort-devel Please visit http://blog.snort.org for the latest news about Snort!
Current thread:
- Snort 3.0: STATIC_IPS_OPTIONS, STATIC_IPS_ACTIONS Sancho Panza (Feb 12)
- Re: Snort 3.0: STATIC_IPS_OPTIONS, STATIC_IPS_ACTIONS Russ (Feb 12)