"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/service_inspectors/dce_rpc/dce_smb2.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.

dce_smb2.cc  (snort3-3.1.29.0):dce_smb2.cc  (snort3-3.1.30.0)
skipping to change at line 118 skipping to change at line 118
SMB_DEBUG(dce_smb_trace, DEFAULT_TRACE_OPTION_ID, TRACE_DEBUG_LEVEL, p, "smb 2 session created\n"); SMB_DEBUG(dce_smb_trace, DEFAULT_TRACE_OPTION_ID, TRACE_DEBUG_LEVEL, p, "smb 2 session created\n");
dce2_smb_stats.total_smb2_sessions++; dce2_smb_stats.total_smb2_sessions++;
} }
Dce2Smb2SessionData::~Dce2Smb2SessionData(void) Dce2Smb2SessionData::~Dce2Smb2SessionData(void)
{ {
session_data_mutex.lock(); session_data_mutex.lock();
for (auto it_session : connected_sessions) for (auto it_session : connected_sessions)
{ {
it_session.second->detach_flow(flow_key); it_session.second->detach_flow(flow_key);
it_session.second->set_file_context_cleaned(true);
} }
if (get_tcp_file_tracker() && !(get_tcp_file_tracker()->get_flow_state_map() .empty())) if (get_tcp_file_tracker() && !(get_tcp_file_tracker()->get_flow_state_map() .empty()))
{ {
get_tcp_file_tracker()->get_flow_state_map().erase(flow_key); get_tcp_file_tracker()->get_flow_state_map().erase(flow_key);
tcp_file_tracker = nullptr; tcp_file_tracker = nullptr;
} }
session_data_mutex.unlock(); session_data_mutex.unlock();
} }
 End of changes. 1 change blocks. 
0 lines changed or deleted 1 lines changed or added

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