"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/flow/test/flow_test.cc" 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.

flow_test.cc  (snort3-3.1.29.0):flow_test.cc  (snort3-3.1.30.0)
skipping to change at line 26 skipping to change at line 26
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
//-------------------------------------------------------------------------- //--------------------------------------------------------------------------
// flow_test.cc author Prajwal Srinivas <psreenat@cisco.com> // flow_test.cc author Prajwal Srinivas <psreenat@cisco.com>
// unit test main // unit test main
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include "config.h" #include "config.h"
#endif #endif
#include "detection/context_switcher.h"
#include "detection/detection_engine.h" #include "detection/detection_engine.h"
#include "flow/flow.h" #include "flow/flow.h"
#include "flow/flow_stash.h" #include "flow/flow_stash.h"
#include "flow/ha.h" #include "flow/ha.h"
#include "framework/inspector.h" #include "framework/inspector.h"
#include "framework/data_bus.h" #include "framework/data_bus.h"
#include "main/analyzer.h"
#include "main/policy.h" #include "main/policy.h"
#include "main/snort_config.h" #include "main/snort_config.h"
#include "protocols/ip.h" #include "protocols/ip.h"
#include "protocols/layer.h" #include "protocols/layer.h"
#include "protocols/packet.h" #include "protocols/packet.h"
#include <CppUTest/CommandLineTestRunner.h> #include <CppUTest/CommandLineTestRunner.h>
#include <CppUTest/TestHarness.h> #include <CppUTest/TestHarness.h>
using namespace snort; using namespace snort;
skipping to change at line 77 skipping to change at line 79
{ {
NetworkPolicy* get_network_policy() { return nullptr; } NetworkPolicy* get_network_policy() { return nullptr; }
InspectionPolicy* get_inspection_policy() { return nullptr; } InspectionPolicy* get_inspection_policy() { return nullptr; }
IpsPolicy* get_ips_policy() { return nullptr; } IpsPolicy* get_ips_policy() { return nullptr; }
void set_network_policy(NetworkPolicy*) { } void set_network_policy(NetworkPolicy*) { }
void set_inspection_policy(InspectionPolicy*) { } void set_inspection_policy(InspectionPolicy*) { }
void set_ips_policy(IpsPolicy*) { } void set_ips_policy(IpsPolicy*) { }
unsigned SnortConfig::get_thread_reload_id() { return 0; } unsigned SnortConfig::get_thread_reload_id() { return 0; }
} }
Packet* DetectionEngine::set_next_packet(Packet*, Flow*) { return nullptr; } Packet* DetectionEngine::set_next_packet(const Packet*, Flow*) { return nullptr; }
ContextSwitcher* Analyzer::get_switcher() { return nullptr; }
snort::IpsContext* ContextSwitcher::get_context() const { return nullptr; }
IpsContext* DetectionEngine::get_context() { return nullptr; } IpsContext* DetectionEngine::get_context() { return nullptr; }
DetectionEngine::DetectionEngine() = default; DetectionEngine::DetectionEngine() = default;
DetectionEngine::~DetectionEngine() = default; DetectionEngine::~DetectionEngine() = default;
bool layer::set_outer_ip_api(const Packet* const, ip::IpApi&, int8_t&) bool layer::set_outer_ip_api(const Packet* const, ip::IpApi&, int8_t&)
{ return false; } { return false; }
uint8_t ip::IpApi::ttl() const { return 0; } uint8_t ip::IpApi::ttl() const { return 0; }
 End of changes. 4 change blocks. 
1 lines changed or deleted 5 lines changed or added

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