"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/service_inspectors/http_inspect/http_stream_splitter.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_stream_splitter.h  (snort3-3.1.36.0):http_stream_splitter.h  (snort3-3.1.38.0)
skipping to change at line 42 skipping to change at line 42
class HttpStreamSplitter : public HttpStreamSplitterBase class HttpStreamSplitter : public HttpStreamSplitterBase
{ {
public: public:
HttpStreamSplitter(bool is_client_to_server, HttpInspect* my_inspector_) : HttpStreamSplitter(bool is_client_to_server, HttpInspect* my_inspector_) :
HttpStreamSplitterBase(is_client_to_server), HttpStreamSplitterBase(is_client_to_server),
my_inspector(my_inspector_), my_inspector(my_inspector_),
source_id(is_client_to_server ? HttpCommon::SRC_CLIENT : HttpCommon::SRC _SERVER) {} source_id(is_client_to_server ? HttpCommon::SRC_CLIENT : HttpCommon::SRC _SERVER) {}
Status scan(snort::Packet* pkt, const uint8_t* data, uint32_t length, uint32 _t not_used, Status scan(snort::Packet* pkt, const uint8_t* data, uint32_t length, uint32 _t not_used,
uint32_t* flush_offset) override; uint32_t* flush_offset) override;
Status scan(snort::Flow* flow, const uint8_t* data, uint32_t length, uint32_ t* flush_offset);
const snort::StreamBuffer reassemble(snort::Flow* flow, unsigned total, unsi gned, const const snort::StreamBuffer reassemble(snort::Flow* flow, unsigned total, unsi gned, const
uint8_t* data, unsigned len, uint32_t flags, unsigned& copied) override; uint8_t* data, unsigned len, uint32_t flags, unsigned& copied) override;
bool finish(snort::Flow* flow) override; bool finish(snort::Flow* flow) override;
void prep_partial_flush(snort::Flow* flow, uint32_t num_flush) override; void prep_partial_flush(snort::Flow* flow, uint32_t num_flush) override;
bool is_paf() override { return true; } bool is_paf() override { return true; }
static StreamSplitter::Status status_value(StreamSplitter::Status ret_val, b ool http2 = false); static StreamSplitter::Status status_value(StreamSplitter::Status ret_val, b ool http2 = false);
// FIXIT-M should return actual packet buffer size // FIXIT-M should return actual packet buffer size
unsigned max(snort::Flow*) override { return HttpEnums::MAX_OCTETS; } unsigned max(snort::Flow*) override { return HttpEnums::MAX_OCTETS; }
void go_away() override {} void go_away() override {}
 End of changes. 1 change blocks. 
0 lines changed or deleted 1 lines changed or added

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