/dports/security/snort3/snort3-3.1.19.0/src/main/test/ |
H A D | distill_verdict_test.cc | 101 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 D | flow.h | 154 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 D | flow.cc | 229 ssn_state.ignore_direction = 0; in restart()
|
H A D | flow_control.cc | 552 flow->ssn_state.ignore_direction = ignore; in check_expected_flow()
|
/dports/security/snort/snort-2.9.18/src/preprocessors/Stream6/ |
H A D | snort_stream_ip.c | 156 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 D | snort_stream_udp.c | 416 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 D | snort_stream_tcp.c | 5328 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 D | stream_ha.cc | 193 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 D | stream.cc | 264 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 D | stream5_ha.c | 1098 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 D | udp_session.cc | 129 if ( flow->ssn_state.ignore_direction != SSN_DIR_NONE ) in setup()
|
/dports/security/snort/snort-2.9.18/src/preprocessors/ |
H A D | spp_session.c | 3599 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 D | session_api.h | 215 char ignore_direction; /* flag to ignore traffic on this session */ member
|
/dports/security/snort3/snort3-3.1.19.0/src/stream/ip/ |
H A D | ip_session.cc | 164 if ( flow->ssn_state.ignore_direction != SSN_DIR_NONE ) in setup()
|
/dports/security/snort3/snort3-3.1.19.0/src/stream/tcp/ |
H A D | ips_stream_reassemble.cc | 150 lwssn->ssn_state.ignore_direction |= srod.direction; in eval()
|
H A D | tcp_session.cc | 1005 if ( flow->ssn_state.ignore_direction != SSN_DIR_NONE ) in ignore_this_packet()
|
H A D | tcp_reassembler.cc | 773 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 D | user_session.cc | 437 if ( flow->ssn_state.ignore_direction != SSN_DIR_NONE ) in setup()
|