"Fossies" - the Fresh Open Source Software Archive  

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

http_inspect.h  (snort3-3.1.36.0):http_inspect.h  (snort3-3.1.38.0)
skipping to change at line 66 skipping to change at line 66
const HttpBufferInfo& buffer_info) const; const HttpBufferInfo& buffer_info) const;
HttpCommon::SectionType get_type_expected(snort::Flow* flow, HttpCommon::Sou rceId source_id) const override; HttpCommon::SectionType get_type_expected(snort::Flow* flow, HttpCommon::Sou rceId source_id) const override;
void finish_h2_body(snort::Flow* flow, HttpCommon::SourceId source_id, HttpC ommon::H2BodyState state, void finish_h2_body(snort::Flow* flow, HttpCommon::SourceId source_id, HttpC ommon::H2BodyState state,
bool clear_partial_buffer) const override; bool clear_partial_buffer) const override;
void set_h2_body_state(snort::Flow* flow, HttpCommon::SourceId source_id, Ht tpCommon::H2BodyState state) const override; void set_h2_body_state(snort::Flow* flow, HttpCommon::SourceId source_id, Ht tpCommon::H2BodyState state) const override;
bool get_fp_buf(snort::InspectionBuffer::Type ibt, snort::Packet* p, bool get_fp_buf(snort::InspectionBuffer::Type ibt, snort::Packet* p,
snort::InspectionBuffer& b) override; snort::InspectionBuffer& b) override;
bool configure(snort::SnortConfig*) override; bool configure(snort::SnortConfig*) override;
void show(const snort::SnortConfig*) const override; void show(const snort::SnortConfig*) const override;
void eval(snort::Packet* p) override; void eval(snort::Packet* p) override;
void eval(snort::Packet* p, HttpCommon::SourceId source_id, const uint8_t* d ata, uint16_t dsize);
void clear(snort::Packet* p) override; void clear(snort::Packet* p) override;
HttpStreamSplitter* get_splitter(bool is_client_to_server) override HttpStreamSplitter* get_splitter(bool is_client_to_server) override
{ return &splitter[is_client_to_server ? HttpCommon::SRC_CLIENT : HttpCommon ::SRC_SERVER]; } { return &splitter[is_client_to_server ? HttpCommon::SRC_CLIENT : HttpCommon ::SRC_SERVER]; }
bool can_carve_files() const override bool can_carve_files() const override
{ return true; } { return true; }
bool can_start_tls() const override bool can_start_tls() const override
{ return true; } { return true; }
skipping to change at line 93 skipping to change at line 94
static int get_xtra_uri(snort::Flow*, uint8_t**, uint32_t*, uint32_t*); static int get_xtra_uri(snort::Flow*, uint8_t**, uint32_t*, uint32_t*);
static int get_xtra_host(snort::Flow*, uint8_t** buf, uint32_t* len, uint32_ t* type); static int get_xtra_host(snort::Flow*, uint8_t** buf, uint32_t* len, uint32_ t* type);
static int get_xtra_jsnorm(snort::Flow*, uint8_t**, uint32_t*, uint32_t*); static int get_xtra_jsnorm(snort::Flow*, uint8_t**, uint32_t*, uint32_t*);
private: private:
friend HttpApi; friend HttpApi;
friend HttpStreamSplitter; friend HttpStreamSplitter;
HttpStreamSplitter splitter[2] = { { true, this }, { false, this } }; HttpStreamSplitter splitter[2] = { { true, this }, { false, this } };
bool process(const uint8_t* data, const uint16_t dsize, snort::Flow* const f void process(const uint8_t* data, const uint16_t dsize, snort::Flow* const f
low, low,
HttpCommon::SourceId source_id_, bool buf_owner) const; HttpCommon::SourceId source_id_, bool buf_owner, snort::Packet* p) const
;
static HttpFlowData* http_get_flow_data(const snort::Flow* flow); static HttpFlowData* http_get_flow_data(const snort::Flow* flow);
static void http_set_flow_data(snort::Flow* flow, HttpFlowData* flow_data); static void http_set_flow_data(snort::Flow* flow, HttpFlowData* flow_data);
const HttpParaList* const params; const HttpParaList* const params;
snort::LiteralSearch::Handle* s_handle = nullptr; snort::LiteralSearch::Handle* s_handle = nullptr;
ScriptFinder* script_finder = nullptr; ScriptFinder* script_finder = nullptr;
// Registrations for "extra data" // Registrations for "extra data"
const uint32_t xtra_trueip_id; const uint32_t xtra_trueip_id;
const uint32_t xtra_uri_id; const uint32_t xtra_uri_id;
 End of changes. 2 change blocks. 
3 lines changed or deleted 5 lines changed or added

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