"Fossies" - the Fresh Open Source Software Archive  

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

http2_headers_frame.h  (snort3-3.1.36.0):http2_headers_frame.h  (snort3-3.1.38.0)
skipping to change at line 35 skipping to change at line 35
class Field; class Field;
class Http2HpackDecoder; class Http2HpackDecoder;
class Http2StartLine; class Http2StartLine;
class Http2Frame; class Http2Frame;
class Http2Stream; class Http2Stream;
class HttpFlowData; class HttpFlowData;
class Http2HeadersFrame : public Http2Frame class Http2HeadersFrame : public Http2Frame
{ {
public: public:
void clear() override; void clear(snort::Packet*) override;
const Field& get_buf(unsigned id) override; const Field& get_buf(unsigned id) override;
uint32_t get_xtradata_mask() override { return xtradata_mask; } bool is_detection_required() const override { return false; }
bool is_detection_required() const override { return detection_required; }
#ifdef REG_TEST #ifdef REG_TEST
void print_frame(FILE* output) override; void print_frame(FILE* output) override;
#endif #endif
protected: protected:
Http2HeadersFrame(const uint8_t* header_buffer, const uint32_t header_len, Http2HeadersFrame(const uint8_t* header_buffer, const uint32_t header_len,
const uint8_t* data_buffer, const uint32_t data_len, Http2FlowData* ssn_ data, const uint8_t* data_buffer, const uint32_t data_len, Http2FlowData* ssn_ data,
HttpCommon::SourceId src_id, Http2Stream* stream); HttpCommon::SourceId src_id, Http2Stream* stream);
bool decode_headers(Http2StartLine* start_line_generator, bool trailers); bool decode_headers(Http2StartLine* start_line_generator, bool trailers);
void process_decoded_headers(HttpFlowData* http_flow, HttpCommon::SourceId h i_source_id); void process_decoded_headers(HttpFlowData* http_flow, HttpCommon::SourceId h i_source_id, snort::Packet* p);
uint8_t get_flags_mask() const override; uint8_t get_flags_mask() const override;
virtual bool in_error_state() const; virtual bool in_error_state() const;
Field http1_header; // finalized headers to be passed to htt p_inspect Field http1_header; // finalized headers to be passed to htt p_inspect
uint32_t xtradata_mask = 0;
bool detection_required = false;
Http2HpackDecoder* hpack_decoder; Http2HpackDecoder* hpack_decoder;
uint8_t hpack_headers_offset = 0; uint8_t hpack_headers_offset = 0;
}; };
#endif #endif
 End of changes. 4 change blocks. 
6 lines changed or deleted 3 lines changed or added

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