"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/service_inspectors/http2_inspect/http2_data_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_data_frame.h  (snort3-3.1.36.0):http2_data_frame.h  (snort3-3.1.38.0)
skipping to change at line 33 skipping to change at line 33
#include "http2_frame.h" #include "http2_frame.h"
class Http2Frame; class Http2Frame;
class Http2Stream; class Http2Stream;
class Http2DataFrame : public Http2Frame class Http2DataFrame : public Http2Frame
{ {
public: public:
~Http2DataFrame() override = default; ~Http2DataFrame() override = default;
bool valid_sequence(Http2Enums::StreamState state) override; bool valid_sequence(Http2Enums::StreamState state) override;
void analyze_http1() override; void analyze_http1(snort::Packet*) override;
void clear() override; void clear(snort::Packet*) 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; }
void update_stream_state() override; void update_stream_state() override;
friend Http2Frame* Http2Frame::new_frame(const uint8_t*, const uint32_t, con st uint8_t*, friend Http2Frame* Http2Frame::new_frame(const uint8_t*, const uint32_t, con st uint8_t*,
const uint32_t, Http2FlowData*, HttpCommon::SourceId, Http2Stream* strea m); const uint32_t, Http2FlowData*, HttpCommon::SourceId, Http2Stream* strea m);
#ifdef REG_TEST #ifdef REG_TEST
void print_frame(FILE* output) override; void print_frame(FILE* output) override;
#endif #endif
private: private:
Http2DataFrame(const uint8_t* header_buffer, const uint32_t header_len, Http2DataFrame(const uint8_t* header_buffer, const uint32_t header_len,
const uint8_t* data_buffer_, const uint32_t data_length_, Http2FlowData* ssn_data, const uint8_t* data_buffer_, const uint32_t data_length_, Http2FlowData* ssn_data,
HttpCommon::SourceId src_id, Http2Stream* stream); HttpCommon::SourceId src_id, Http2Stream* stream);
uint8_t get_flags_mask() const override; uint8_t get_flags_mask() const override;
const uint32_t data_length; const uint32_t data_length;
const uint8_t* const data_buffer; const uint8_t* const data_buffer;
uint32_t xtradata_mask = 0;
bool detection_required = false;
}; };
#endif #endif
 End of changes. 3 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)