"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.28.0.tar.gz and snort3-3.1.29.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.28.0):http_inspect.h  (snort3-3.1.29.0)
skipping to change at line 35 skipping to change at line 35
//------------------------------------------------------------------------- //-------------------------------------------------------------------------
#include "framework/cursor.h" #include "framework/cursor.h"
#include "helpers/literal_search.h" #include "helpers/literal_search.h"
#include "log/messages.h" #include "log/messages.h"
#include "http_buffer_info.h" #include "http_buffer_info.h"
#include "http_common.h" #include "http_common.h"
#include "http_enum.h" #include "http_enum.h"
#include "http_field.h" #include "http_field.h"
#include "http_inspect_base.h"
#include "http_module.h" #include "http_module.h"
#include "http_msg_section.h"
#include "http_stream_splitter.h" #include "http_stream_splitter.h"
class HttpApi; class HttpApi;
class HttpParam; class HttpParam;
class HttpInspect : public snort::Inspector class HttpInspect : public HttpInspectBase
{ {
public: public:
HttpInspect(const HttpParaList* params_); HttpInspect(const HttpParaList* params_);
~HttpInspect() override { delete params; delete script_finder; } ~HttpInspect() override;
bool get_buf(snort::InspectionBuffer::Type ibt, snort::Packet* p, bool get_buf(snort::InspectionBuffer::Type ibt, snort::Packet* p,
snort::InspectionBuffer& b) override; snort::InspectionBuffer& b) override;
bool get_buf(unsigned id, snort::Packet* p, snort::InspectionBuffer& b) over ride; bool get_buf(unsigned id, snort::Packet* p, snort::InspectionBuffer& b) over ride;
const Field& http_get_buf(snort::Packet* p, const HttpBufferInfo& buffer_inf o) const; const Field& http_get_buf(snort::Packet* p, const HttpBufferInfo& buffer_inf o) const;
const Field& http_get_param_buf(Cursor& c, snort::Packet* p, const Field& http_get_param_buf(Cursor& c, snort::Packet* p,
const HttpParam& param) const; const HttpParam& param) const;
int32_t http_get_num_headers(snort::Packet* p, const HttpBufferInfo& buffer_ info) const; int32_t http_get_num_headers(snort::Packet* p, const HttpBufferInfo& buffer_ info) const;
HttpEnums::VersionId http_get_version_id(snort::Packet* p, HttpEnums::VersionId http_get_version_id(snort::Packet* p,
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;
void finish_h2_body(snort::Flow* flow, HttpCommon::SourceId source_id, HttpC
ommon::H2BodyState state,
bool clear_partial_buffer) 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 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]; }
 End of changes. 5 change blocks. 
3 lines changed or deleted 10 lines changed or added

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