Snort mailing list archives

Snort 3.0: STATIC_IPS_OPTIONS, STATIC_IPS_ACTIONS


From: Sancho Panza <sancho () posteo de>
Date: Thu, 12 Feb 2015 15:07:06 +0100

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?

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!


Current thread: