Home
last modified time | relevance | path

Searched refs:ignore_direction (Results 1 – 18 of 18) sorted by relevance

/dports/security/snort3/snort3-3.1.19.0/src/main/test/
H A Ddistill_verdict_test.cc101 flow.ssn_state.ignore_direction = SSN_DIR_NONE; in TEST()
117 flow.ssn_state.ignore_direction = SSN_DIR_NONE; in TEST()
132 flow.ssn_state.ignore_direction = SSN_DIR_NONE; in TEST()
147 flow.ssn_state.ignore_direction = SSN_DIR_BOTH; in TEST()
162 flow.ssn_state.ignore_direction = SSN_DIR_NONE; in TEST()
/dports/security/snort3/snort3-3.1.19.0/src/flow/
H A Dflow.h154 char ignore_direction; member
245 { return ssn_state.ignore_direction; } in get_ignore_direction()
247 int set_ignore_direction(char ignore_direction) in set_ignore_direction() argument
249 ssn_state.ignore_direction = ignore_direction; in set_ignore_direction()
250 return ssn_state.ignore_direction; in set_ignore_direction()
H A Dflow.cc229 ssn_state.ignore_direction = 0; in restart()
H A Dflow_control.cc552 flow->ssn_state.ignore_direction = ignore; in check_expected_flow()
/dports/security/snort/snort-2.9.18/src/preprocessors/Stream6/
H A Dsnort_stream_ip.c156 scb->ha_state.ignore_direction = 0; in IpSessionCleanup()
344 … ((p->packet_flags & PKT_FROM_SERVER) && (scb->ha_state.ignore_direction & SSN_DIR_FROM_CLIENT)) || in IgnoreSession()
345 … ((p->packet_flags & PKT_FROM_CLIENT) && (scb->ha_state.ignore_direction & SSN_DIR_FROM_SERVER)) ) in IgnoreSession()
371 scb->ha_state.ignore_direction = ignore; in CheckExpectedSession()
H A Dsnort_stream_udp.c416 scb->ha_state.ignore_direction = 0; in UdpSessionCleanup()
695 scb->ha_state.ignore_direction = ignore; in ProcessUdp()
708 …if (((p->packet_flags & PKT_FROM_SERVER) && (scb->ha_state.ignore_direction & SSN_DIR_FROM_CLIENT)… in ProcessUdp()
709 … ((p->packet_flags & PKT_FROM_CLIENT) && (scb->ha_state.ignore_direction & SSN_DIR_FROM_SERVER))) in ProcessUdp()
H A Dsnort_stream_tcp.c5328 scb->ha_state.ignore_direction = 0; in TcpSessionClear()
5401 if (tcpssn->client.seglist && !(scb->ha_state.ignore_direction & SSN_DIR_FROM_SERVER) ) in FlushQueuedSegs()
5490 if (tcpssn->server.seglist && !(scb->ha_state.ignore_direction & SSN_DIR_FROM_CLIENT) ) in FlushQueuedSegs()
8758 scb->ha_state.ignore_direction = ignore; in DisableInspection()
9201 …if (((p->packet_flags & PKT_FROM_SERVER) && (scb->ha_state.ignore_direction & SSN_DIR_FROM_CLIENT)… in ProcessTcp()
9202 … ((p->packet_flags & PKT_FROM_CLIENT) && (scb->ha_state.ignore_direction & SSN_DIR_FROM_SERVER))) in ProcessTcp()
12118 scb->ha_state.ignore_direction |= srod->direction; in s5TcpStreamReassembleRuleOptionEval()
/dports/security/snort3/snort3-3.1.19.0/src/stream/base/
H A Dstream_ha.cc193 if( old_state->ignore_direction != cur_state->ignore_direction ) in update_flags()
200 if( cur_state->ignore_direction == SSN_DIR_BOTH ) in update_flags()
/dports/security/snort3/snort3-3.1.19.0/src/stream/
H A Dstream.cc264 flow->ssn_state.ignore_direction = dir; in stop_inspection()
271 if (flow->ssn_state.ignore_direction & SSN_DIR_FROM_CLIENT) in stop_inspection()
274 if (flow->ssn_state.ignore_direction & SSN_DIR_FROM_SERVER) in stop_inspection()
618 (flow->ssn_state.ignore_direction & SSN_DIR_FROM_CLIENT)) || in ignored_flow()
620 (flow->ssn_state.ignore_direction & SSN_DIR_FROM_SERVER)) ) in ignored_flow()
/dports/security/snort/snort-2.9.18/src/preprocessors/Session/
H A Dstream5_ha.c1098 has->ha_state.direction, has->ha_state.ignore_direction); in ConsumeHAMessage()
1102 has->ha_state.direction, has->ha_state.ignore_direction); in ConsumeHAMessage()
1608 if( old_state->ignore_direction != cur_state->ignore_direction ) in getHaStateDiff()
1615 if( cur_state->ignore_direction == SSN_DIR_BOTH ) in getHaStateDiff()
1702 scb->ha_state.ignore_direction, scb->ha_pending_mask, scb->ha_flags); in SessionProcessHA()
1706 scb->ha_state.direction, scb->ha_state.ignore_direction, in SessionProcessHA()
/dports/security/snort3/snort3-3.1.19.0/src/stream/udp/
H A Dudp_session.cc129 if ( flow->ssn_state.ignore_direction != SSN_DIR_NONE ) in setup()
/dports/security/snort/snort-2.9.18/src/preprocessors/
H A Dspp_session.c3599 return scb->ha_state.ignore_direction; in getIgnoreDirection()
3602 static int setIgnoreDirection( void *scbptr, int ignore_direction ) in setIgnoreDirection() argument
3607 if( scb->ha_state.ignore_direction != ignore_direction ) in setIgnoreDirection()
3609 scb->ha_state.ignore_direction = ignore_direction; in setIgnoreDirection()
3614 return scb->ha_state.ignore_direction; in setIgnoreDirection()
3643 if( scb->ha_state.ignore_direction != dir ) in stopInspection()
3645 scb->ha_state.ignore_direction = dir; in stopInspection()
3656 if( scb->ha_state.ignore_direction & SSN_DIR_TO_CLIENT ) in stopInspection()
3660 if( scb->ha_state.ignore_direction & SSN_DIR_TO_SERVER ) in stopInspection()
3682 if( scb->ha_state.ignore_direction & dir ) in resumeInspection()
[all …]
H A Dsession_api.h215 char ignore_direction; /* flag to ignore traffic on this session */ member
/dports/security/snort3/snort3-3.1.19.0/src/stream/ip/
H A Dip_session.cc164 if ( flow->ssn_state.ignore_direction != SSN_DIR_NONE ) in setup()
/dports/security/snort3/snort3-3.1.19.0/src/stream/tcp/
H A Dips_stream_reassemble.cc150 lwssn->ssn_state.ignore_direction |= srod.direction; in eval()
H A Dtcp_session.cc1005 if ( flow->ssn_state.ignore_direction != SSN_DIR_NONE ) in ignore_this_packet()
H A Dtcp_reassembler.cc773 if ( pending and !(flow->ssn_state.ignore_direction & trs.ignore_dir) ) in flush_queued_segments()
/dports/security/snort3/snort3-3.1.19.0/src/stream/user/
H A Duser_session.cc437 if ( flow->ssn_state.ignore_direction != SSN_DIR_NONE ) in setup()