"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/managers/action_manager.h" between
snort3-3.1.29.0.tar.gz and snort3-3.1.30.0.tar.gz

About: Snort 3 is a network intrusion prevention and detection system (IDS/IPS) combining the benefits of signature, protocol and anomaly-based inspection.

action_manager.h  (snort3-3.1.29.0):action_manager.h  (snort3-3.1.30.0)
skipping to change at line 43 skipping to change at line 43
struct ActionApi; struct ActionApi;
class IpsAction; class IpsAction;
struct SnortConfig; struct SnortConfig;
struct Packet; struct Packet;
} }
struct IpsPolicy; struct IpsPolicy;
//------------------------------------------------------------------------- //-------------------------------------------------------------------------
#ifdef PIGLET
struct IpsActionWrapper
{
IpsActionWrapper(const snort::ActionApi* a, snort::IpsAction* p) :
api { a }, instance { p } { }
~IpsActionWrapper()
{
if ( api && instance && api->dtor )
api->dtor(instance);
}
const snort::ActionApi* api;
snort::IpsAction* instance;
};
#endif
class ActionManager class ActionManager
{ {
public: public:
static void add_plugin(const snort::ActionApi*); static void add_plugin(const snort::ActionApi*);
static void release_plugins(); static void release_plugins();
static void dump_plugins(); static void dump_plugins();
static void new_config(snort::SnortConfig*); static void new_config(snort::SnortConfig*);
static void delete_config(snort::SnortConfig*); static void delete_config(snort::SnortConfig*);
skipping to change at line 82 skipping to change at line 65
static void initialize_policies(snort::SnortConfig*); static void initialize_policies(snort::SnortConfig*);
static std::string get_action_string(Actions::Type); static std::string get_action_string(Actions::Type);
static Actions::Type get_action_type(const char*); static Actions::Type get_action_type(const char*);
static Actions::Type get_max_action_types(); static Actions::Type get_max_action_types();
static std::string get_action_priorities(bool); static std::string get_action_priorities(bool);
static void thread_init(const snort::SnortConfig*); static void thread_init(const snort::SnortConfig*);
static void thread_reinit(const snort::SnortConfig*); static void thread_reinit(const snort::SnortConfig*);
static void thread_term(); static void thread_term();
#ifdef PIGLET
static IpsActionWrapper* instantiate(const char*, snort::Module*);
#endif
}; };
#endif #endif
 End of changes. 2 change blocks. 
21 lines changed or deleted 0 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)