http_flow_data.h (snort3-3.1.29.0) | : | http_flow_data.h (snort3-3.1.30.0) | ||
---|---|---|---|---|
skipping to change at line 35 | skipping to change at line 35 | |||
#include <cstdio> | #include <cstdio> | |||
#include "flow/flow.h" | #include "flow/flow.h" | |||
#include "mime/file_mime_process.h" | #include "mime/file_mime_process.h" | |||
#include "utils/util_utf.h" | #include "utils/util_utf.h" | |||
#include "decompress/file_decomp.h" | #include "decompress/file_decomp.h" | |||
#include "http_common.h" | #include "http_common.h" | |||
#include "http_enum.h" | #include "http_enum.h" | |||
#include "http_event.h" | #include "http_event.h" | |||
#include "http_module.h" | ||||
class HttpTransaction; | class HttpTransaction; | |||
class HttpJsNorm; | class HttpJsNorm; | |||
class HttpMsgSection; | class HttpMsgSection; | |||
class HttpCutter; | class HttpCutter; | |||
class HttpQueryParser; | class HttpQueryParser; | |||
class JSIdentifierCtxBase; | class JSIdentifierCtxBase; | |||
namespace snort | namespace snort | |||
{ | { | |||
skipping to change at line 214 | skipping to change at line 215 | |||
uint32_t js_pdu_idx = 0; | uint32_t js_pdu_idx = 0; | |||
// *** HttpJsNorm | // *** HttpJsNorm | |||
JSIdentifierCtxBase* js_ident_ctx = nullptr; | JSIdentifierCtxBase* js_ident_ctx = nullptr; | |||
snort::JSNormalizer* js_normalizer = nullptr; | snort::JSNormalizer* js_normalizer = nullptr; | |||
bool js_continue = false; | bool js_continue = false; | |||
bool js_built_in_event = false; | bool js_built_in_event = false; | |||
void reset_js_pdu_idx(); | void reset_js_pdu_idx(); | |||
void reset_js_ident_ctx(); | void reset_js_ident_ctx(); | |||
snort::JSNormalizer& acquire_js_ctx(int32_t ident_depth, size_t norm_depth, | snort::JSNormalizer& acquire_js_ctx(const HttpParaList::JsNormParam& js_norm | |||
uint8_t max_template_nesting, uint32_t max_bracket_depth, uint32_t max_s | _param); | |||
cope_depth, | ||||
const std::unordered_set<std::string>& ignored_ids); | ||||
void release_js_ctx(); | void release_js_ctx(); | |||
bool is_pdu_missed(); | bool is_pdu_missed(); | |||
bool cutover_on_clear = false; | bool cutover_on_clear = false; | |||
bool ssl_search_abandoned = false; | bool ssl_search_abandoned = false; | |||
// *** HTTP/2 handling | // *** HTTP/2 handling | |||
bool for_http2 = false; | bool for_http2 = false; | |||
uint32_t h2_stream_id = 0; | uint32_t h2_stream_id = 0; | |||
HttpCommon::H2BodyState h2_body_state[2] = { HttpCommon::H2_BODY_NOT_COMPLET E, | HttpCommon::H2BodyState h2_body_state[2] = { HttpCommon::H2_BODY_NOT_COMPLET E, | |||
End of changes. 2 change blocks. | ||||
4 lines changed or deleted | 3 lines changed or added |