"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/stream/tcp/tcp_stream_session.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.

tcp_stream_session.h  (snort3-3.1.28.0):tcp_stream_session.h  (snort3-3.1.29.0)
skipping to change at line 68 skipping to change at line 68
bool set_packet_action_to_hold(snort::Packet*) override; bool set_packet_action_to_hold(snort::Packet*) override;
uint16_t get_mss(bool to_server) const; uint16_t get_mss(bool to_server) const;
uint8_t get_tcp_options_len(bool to_server) const; uint8_t get_tcp_options_len(bool to_server) const;
void reset(); void reset();
void start_proxy(); void start_proxy();
void set_packet_header_foo(const TcpSegmentDescriptor&); void set_packet_header_foo(const TcpSegmentDescriptor&);
void get_packet_header_foo(DAQ_PktHdr_t*, uint32_t dir); void get_packet_header_foo(DAQ_PktHdr_t*, const DAQ_PktHdr_t* orig, uint32_t dir);
bool can_set_no_ack(); bool can_set_no_ack();
bool set_no_ack(bool); bool set_no_ack(bool);
bool no_ack_mode_enabled() { return no_ack; } bool no_ack_mode_enabled() { return no_ack; }
virtual void update_perf_base_state(char) = 0; virtual void update_perf_base_state(char) = 0;
virtual void clear_session( virtual void clear_session(
bool free_flow_data, bool flush_segments, bool restart, snort::Packet* p = nullptr) = 0; bool free_flow_data, bool flush_segments, bool restart, snort::Packet* p = nullptr) = 0;
virtual TcpStreamTracker::TcpState get_talker_state(TcpSegmentDescriptor&) = 0; virtual TcpStreamTracker::TcpState get_talker_state(TcpSegmentDescriptor&) = 0;
virtual TcpStreamTracker::TcpState get_listener_state(TcpSegmentDescriptor&) = 0; virtual TcpStreamTracker::TcpState get_listener_state(TcpSegmentDescriptor&) = 0;
TcpStreamTracker::TcpState get_peer_state(TcpStreamTracker* me) TcpStreamTracker::TcpState get_peer_state(TcpStreamTracker* me)
{ return me == &client ? server.get_tcp_state() : client.get_tcp_state(); } { return me == &client ? server.get_tcp_state() : client.get_tcp_state(); }
skipping to change at line 121 skipping to change at line 121
TcpStreamTracker server; TcpStreamTracker server;
bool lws_init = false; bool lws_init = false;
bool tcp_init = false; bool tcp_init = false;
uint32_t pkt_action_mask = ACTION_NOTHING; uint32_t pkt_action_mask = ACTION_NOTHING;
uint8_t ecn = 0; uint8_t ecn = 0;
int32_t ingress_index = DAQ_PKTHDR_UNKNOWN; int32_t ingress_index = DAQ_PKTHDR_UNKNOWN;
int16_t ingress_group = DAQ_PKTHDR_UNKNOWN; int16_t ingress_group = DAQ_PKTHDR_UNKNOWN;
int32_t egress_index = DAQ_PKTHDR_UNKNOWN; int32_t egress_index = DAQ_PKTHDR_UNKNOWN;
int16_t egress_group = DAQ_PKTHDR_UNKNOWN; int16_t egress_group = DAQ_PKTHDR_UNKNOWN;
uint32_t daq_flags = 0; uint32_t daq_flags = 0;
uint16_t address_space_id = 0; uint32_t address_space_id = 0;
bool generate_3whs_alert = true; bool generate_3whs_alert = true;
TcpStreamConfig* tcp_config = nullptr; TcpStreamConfig* tcp_config = nullptr;
TcpEventLogger tel; TcpEventLogger tel;
bool cleaning = false; bool cleaning = false;
uint8_t held_packet_dir = SSN_DIR_NONE; uint8_t held_packet_dir = SSN_DIR_NONE;
private: private:
bool no_ack = false; bool no_ack = false;
protected: protected:
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added

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