"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/network_inspectors/appid/appid_http_session.h" 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.

appid_http_session.h  (snort3-3.1.36.0):appid_http_session.h  (snort3-3.1.38.0)
skipping to change at line 150 skipping to change at line 150
} }
void set_rcvd_full_req_body(bool req_full_body) void set_rcvd_full_req_body(bool req_full_body)
{ {
rcvd_full_req_body = req_full_body; rcvd_full_req_body = req_full_body;
} }
bool get_rcvd_full_req_body() bool get_rcvd_full_req_body()
{ {
return rcvd_full_req_body; return rcvd_full_req_body;
} }
void set_tunnel(bool tunnel)
{
is_tunnel = tunnel;
}
bool get_tunnel()
{
return is_tunnel;
}
protected: protected:
void init_chp_match_descriptor(ChpMatchDescriptor& cmd); void init_chp_match_descriptor(ChpMatchDescriptor& cmd);
bool initial_chp_sweep(ChpMatchDescriptor&, HttpPatternMatchers&); bool initial_chp_sweep(ChpMatchDescriptor&, HttpPatternMatchers&);
void process_chp_buffers(AppidChangeBits&, HttpPatternMatchers&); void process_chp_buffers(AppidChangeBits&, HttpPatternMatchers&);
void free_chp_matches(ChpMatchDescriptor& cmd, unsigned max_matches); void free_chp_matches(ChpMatchDescriptor& cmd, unsigned max_matches);
void set_http_change_bits(AppidChangeBits& change_bits, HttpFieldIds id); void set_http_change_bits(AppidChangeBits& change_bits, HttpFieldIds id);
void set_scan_flags(HttpFieldIds id); void set_scan_flags(HttpFieldIds id);
void print_field(HttpFieldIds id, const std::string* str); void print_field(HttpFieldIds id, const std::string* str);
skipping to change at line 190 skipping to change at line 199
bool skip_simple_detect = false; bool skip_simple_detect = false;
int ptype_req_counts[NUM_HTTP_FIELDS] = { }; int ptype_req_counts[NUM_HTTP_FIELDS] = { };
int ptype_scan_counts[NUM_HTTP_FIELDS] = { }; int ptype_scan_counts[NUM_HTTP_FIELDS] = { };
const TunnelDest* tun_dest = nullptr; const TunnelDest* tun_dest = nullptr;
#if RESPONSE_CODE_PACKET_THRESHHOLD #if RESPONSE_CODE_PACKET_THRESHHOLD
unsigned response_code_packets = 0; unsigned response_code_packets = 0;
#endif #endif
uint32_t http2_stream_id = 0; uint32_t http2_stream_id = 0;
bool is_payload_processed = false; bool is_payload_processed = false;
bool rcvd_full_req_body = false; bool rcvd_full_req_body = false;
bool is_tunnel = false;
}; };
#endif #endif
 End of changes. 2 change blocks. 
0 lines changed or deleted 10 lines changed or added

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