"Fossies" - the Fresh Open Source Software Archive  

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

stream.h  (snort3-3.1.28.0):stream.h  (snort3-3.1.29.0)
skipping to change at line 183 skipping to change at line 183
static int set_snort_protocol_id_expected( static int set_snort_protocol_id_expected(
const Packet* ctrlPkt, PktType, IpProtocol, const snort::SfIp* srcIP, ui nt16_t srcPort, const Packet* ctrlPkt, PktType, IpProtocol, const snort::SfIp* srcIP, ui nt16_t srcPort,
const snort::SfIp* dstIP, uint16_t dstPort, SnortProtocolId, FlowData*, const snort::SfIp* dstIP, uint16_t dstPort, SnortProtocolId, FlowData*,
bool swap_app_direction = false, bool expect_multi = false, bool bidirec tional = false); bool swap_app_direction = false, bool expect_multi = false, bool bidirec tional = false);
// Get pointer to application data for a flow based on the lookup tuples for cases where // Get pointer to application data for a flow based on the lookup tuples for cases where
// Snort does not have an active packet that is relevant. // Snort does not have an active packet that is relevant.
static FlowData* get_flow_data( static FlowData* get_flow_data(
PktType type, IpProtocol proto, PktType type, IpProtocol proto,
const snort::SfIp* a1, uint16_t p1, const snort::SfIp* a2, uint16_t p2, const snort::SfIp* a1, uint16_t p1, const snort::SfIp* a2, uint16_t p2,
uint16_t vlanId, uint32_t mplsId, uint16_t addrSpaceId, unsigned flowdat a_id, uint16_t vlanId, uint32_t mplsId, uint32_t addrSpaceId, unsigned flowdat a_id,
int16_t ingress_group = DAQ_PKTHDR_UNKNOWN, int16_t egress_group = DAQ_P KTHDR_UNKNOWN); int16_t ingress_group = DAQ_PKTHDR_UNKNOWN, int16_t egress_group = DAQ_P KTHDR_UNKNOWN);
static FlowData* get_flow_data( static FlowData* get_flow_data(
PktType type, IpProtocol proto, PktType type, IpProtocol proto,
const snort::SfIp* a1, uint16_t p1, const snort::SfIp* a2, uint16_t p2, const snort::SfIp* a1, uint16_t p1, const snort::SfIp* a2, uint16_t p2,
uint16_t vlanId, uint32_t mplsId, unsigned flowdata_id, const DAQ_PktHdr _t&); uint16_t vlanId, uint32_t mplsId, unsigned flowdata_id, const DAQ_PktHdr _t&);
// Get pointer to application data for a flow using the FlowKey as the looku p criteria // Get pointer to application data for a flow using the FlowKey as the looku p criteria
static FlowData* get_flow_data(const FlowKey*, unsigned flowdata_id); static FlowData* get_flow_data(const FlowKey*, unsigned flowdata_id);
// Get pointer to a session flow instance for a flow based on the lookup tup les for // Get pointer to a session flow instance for a flow based on the lookup tup les for
// cases where Snort does not have an active packet that is relevant. // cases where Snort does not have an active packet that is relevant.
static Flow* get_flow( static Flow* get_flow(
PktType type, IpProtocol proto, PktType type, IpProtocol proto,
const snort::SfIp* a1, uint16_t p1, const snort::SfIp* a2, uint16_t p2, const snort::SfIp* a1, uint16_t p1, const snort::SfIp* a2, uint16_t p2,
uint16_t vlanId, uint32_t mplsId, uint16_t addrSpaceId, uint16_t vlanId, uint32_t mplsId, uint32_t addrSpaceId,
int16_t ingress_group = DAQ_PKTHDR_UNKNOWN, int16_t egress_group = DAQ_P KTHDR_UNKNOWN); int16_t ingress_group = DAQ_PKTHDR_UNKNOWN, int16_t egress_group = DAQ_P KTHDR_UNKNOWN);
static Flow* get_flow( static Flow* get_flow(
PktType type, IpProtocol proto, PktType type, IpProtocol proto,
const snort::SfIp* a1, uint16_t p1, const snort::SfIp* a2, uint16_t p2, const snort::SfIp* a1, uint16_t p1, const snort::SfIp* a2, uint16_t p2,
uint16_t vlanId, uint32_t mplsId, const DAQ_PktHdr_t&); uint16_t vlanId, uint32_t mplsId, const DAQ_PktHdr_t&);
// Delete the session if it is in the closed session state. // Delete the session if it is in the closed session state.
// Handle session block pending state // Handle session block pending state
static void check_flow_closed(Packet*); static void check_flow_closed(Packet*);
 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)