"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/service_inspectors/http_inspect/http_msg_body.cc" between
snort3-3.1.36.0.tar.gz and snort3-3.1.38.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.

http_msg_body.cc  (snort3-3.1.36.0):http_msg_body.cc  (snort3-3.1.38.0)
skipping to change at line 84 skipping to change at line 84
"Published %" PRId32 " bytes of request body. last: %s\n", publish_l ength, "Published %" PRId32 " bytes of request body. last: %s\n", publish_l ength,
(last_piece ? "true" : "false")); (last_piece ? "true" : "false"));
fflush(HttpTestManager::get_output_file()); fflush(HttpTestManager::get_output_file());
} }
#endif #endif
} }
void HttpMsgBody::bookkeeping_regular_flush(uint32_t& partial_detect_length, void HttpMsgBody::bookkeeping_regular_flush(uint32_t& partial_detect_length,
uint8_t*& partial_detect_buffer, uint32_t& partial_js_detect_length, int32_t detect_length) uint8_t*& partial_detect_buffer, uint32_t& partial_js_detect_length, int32_t detect_length)
{ {
params->js_norm_param.js_norm->set_detection_depth(session_data->detect_dept
h_remaining[source_id]);
session_data->detect_depth_remaining[source_id] -= detect_length; session_data->detect_depth_remaining[source_id] -= detect_length;
partial_detect_buffer = nullptr; partial_detect_buffer = nullptr;
partial_detect_length = 0; partial_detect_length = 0;
partial_js_detect_length = 0; partial_js_detect_length = 0;
} }
void HttpMsgBody::clean_partial(uint32_t& partial_inspected_octets, uint32_t& pa rtial_detect_length, void HttpMsgBody::clean_partial(uint32_t& partial_inspected_octets, uint32_t& pa rtial_detect_length,
uint8_t*& partial_detect_buffer, uint32_t& partial_js_detect_length) uint8_t*& partial_detect_buffer, uint32_t& partial_js_detect_length)
{ {
body_octets += msg_text.length(); body_octets += msg_text.length();
 End of changes. 1 change blocks. 
3 lines changed or deleted 0 lines changed or added

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