"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/network_inspectors/appid/test/appid_discovery_test.cc" between
snort3-3.1.28.0.tar.gz and snort3-3.1.29.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.

appid_discovery_test.cc  (snort3-3.1.28.0):appid_discovery_test.cc  (snort3-3.1.29.0)
skipping to change at line 145 skipping to change at line 145
mock().actualCall("publish"); mock().actualCall("publish");
} }
// Stubs for matchers // Stubs for matchers
static HttpPatternMatchers* http_matchers; static HttpPatternMatchers* http_matchers;
DnsPatternMatchers::~DnsPatternMatchers() = default; DnsPatternMatchers::~DnsPatternMatchers() = default;
EveCaPatternMatchers::~EveCaPatternMatchers() = default; EveCaPatternMatchers::~EveCaPatternMatchers() = default;
HttpPatternMatchers::~HttpPatternMatchers() = default; HttpPatternMatchers::~HttpPatternMatchers() = default;
SipPatternMatchers::~SipPatternMatchers() = default; SipPatternMatchers::~SipPatternMatchers() = default;
SslPatternMatchers::~SslPatternMatchers() = default; SslPatternMatchers::~SslPatternMatchers() = default;
AlpnPatternMatchers::~AlpnPatternMatchers() = default;
void ApplicationDescriptor::set_id(const Packet&, AppIdSession&, AppidSessionDir ection, AppId, AppidChangeBits&) { } void ApplicationDescriptor::set_id(const Packet&, AppIdSession&, AppidSessionDir ection, AppId, AppidChangeBits&) { }
void ApplicationDescriptor::set_id(AppId app_id){my_id = app_id;} void ApplicationDescriptor::set_id(AppId app_id){my_id = app_id;}
void ServiceAppDescriptor::set_id(AppId app_id, OdpContext& odp_ctxt) void ServiceAppDescriptor::set_id(AppId app_id, OdpContext& odp_ctxt)
{ {
set_id(app_id); set_id(app_id);
deferred = odp_ctxt.get_app_info_mgr().get_app_info_flags(app_id, APPINFO_FL AG_DEFER); deferred = odp_ctxt.get_app_info_mgr().get_app_info_flags(app_id, APPINFO_FL AG_DEFER);
} }
void ServiceAppDescriptor::set_port_service_id(AppId){} void ServiceAppDescriptor::set_port_service_id(AppId){}
void ClientAppDescriptor::update_user(AppId, const char*, AppidChangeBits&){} void ClientAppDescriptor::update_user(AppId, const char*, AppidChangeBits&){}
skipping to change at line 281 skipping to change at line 282
{ {
return false; return false;
} }
// Stubs for misc items // Stubs for misc items
HostPortVal* HostPortCache::find(const SfIp*, uint16_t, IpProtocol, const OdpCon text&) HostPortVal* HostPortCache::find(const SfIp*, uint16_t, IpProtocol, const OdpCon text&)
{ {
return nullptr; return nullptr;
} }
void AppIdServiceState::check_reset(AppIdSession&, const SfIp*, uint16_t, void AppIdServiceState::check_reset(AppIdSession&, const SfIp*, uint16_t,
int16_t, uint16_t) {} int16_t, uint32_t) {}
bool do_tp_discovery(ThirdPartyAppIdContext& , AppIdSession&, IpProtocol, bool do_tp_discovery(ThirdPartyAppIdContext& , AppIdSession&, IpProtocol,
Packet*, AppidSessionDirection&, AppidChangeBits&) Packet*, AppidSessionDirection&, AppidChangeBits&)
{ {
return true; return true;
} }
TPLibHandler* TPLibHandler::self = nullptr; TPLibHandler* TPLibHandler::self = nullptr;
THREAD_LOCAL AppIdStats appid_stats; THREAD_LOCAL AppIdStats appid_stats;
THREAD_LOCAL AppIdDebug* appidDebug = nullptr; THREAD_LOCAL AppIdDebug* appidDebug = nullptr;
void AppIdDebug::activate(const Flow*, const AppIdSession*, bool) { active = fal se; } void AppIdDebug::activate(const Flow*, const AppIdSession*, bool) { active = fal se; }
 End of changes. 2 change blocks. 
1 lines changed or deleted 2 lines changed or added

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