"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/pub_sub/netflow_event.h" between
snort3-3.1.31.0.tar.gz and snort3-3.1.32.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.

netflow_event.h  (snort3-3.1.31.0):netflow_event.h  (snort3-3.1.32.0)
skipping to change at line 34 skipping to change at line 34
#include "service_inspectors/netflow/netflow_headers.h" #include "service_inspectors/netflow/netflow_headers.h"
#define NETFLOW_EVENT "service_inspector.netflow" #define NETFLOW_EVENT "service_inspector.netflow"
namespace snort namespace snort
{ {
class NetflowEvent : public DataEvent class NetflowEvent : public DataEvent
{ {
public: public:
NetflowEvent(const snort::Packet* p, const NetflowSessionRecord* rec) NetflowEvent(const snort::Packet* p, const NetflowSessionRecord* rec,
: pkt(p), record(rec) { } bool cre_host, bool cre_serv, uint32_t s_id)
: pkt(p), record(rec), create_host(cre_host),
create_service(cre_serv), serviceID(s_id) { }
const Packet* get_packet() override const Packet* get_packet() override
{ return pkt; } { return pkt; }
const NetflowSessionRecord* get_record() const NetflowSessionRecord* get_record()
{ return record; } { return record; }
bool get_create_host()
{ return create_host; }
bool get_create_service()
{ return create_service; }
uint32_t get_service_id()
{ return serviceID; }
private: private:
const Packet* pkt; const Packet* pkt;
const NetflowSessionRecord* record; const NetflowSessionRecord* record;
bool create_host;
bool create_service;
uint32_t serviceID = 0;
}; };
} }
#endif #endif
 End of changes. 3 change blocks. 
2 lines changed or deleted 16 lines changed or added

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