Merge in SNORT/snort3 from ~CHSHERWI/snort3:ip_counters2 to master
Squashed commit of the following:
commit
744d42e3c0424f5b49f76ce9b7e30a136fd1f1ed
Author: Chris Sherwin <chsherwi@cisco.com>
Date: Mon Jun 5 10:54:04 2023 -0400
stream ip: Fix session counters in timeout and cleanup cases
d->cleanup(tracker);
}
- ip_stats.released++;
+ if ( lws->ssn_state.session_flags & SSNFLAG_SEEN_SENDER )
+ ip_stats.released++;
+
lws->restart();
}
{
ip_stats.timeouts++;
IpSessionCleanup(flow, &tracker);
+ ip_stats.created++;
#ifdef ENABLE_EXPECTED_IP
if ( Stream::expected_flow(flow, p) )