/dports/security/snort3/snort3-3.1.19.0/src/stream/base/ |
H A D | stream_ha.cc | 109 flow->ha_state->clear(FlowHAState::NEW); in consume() 110 flow->ha_state->add(FlowHAState::STANDBY); in consume() 133 flow->ha_state->add(FlowHAState::STANDBY); in consume() 171 flow->ha_state->add(FlowHAState::MODIFIED); in update_flags() 173 flow->ha_state->add(FlowHAState::MAJOR); in update_flags() 185 flow->ha_state->add(FlowHAState::MODIFIED); in update_flags() 195 flow->ha_state->add(FlowHAState::MODIFIED); in update_flags() 208 flow->ha_state->add(FlowHAState::MODIFIED); in update_flags() 217 flow->ha_state->clear(FlowHAState::STANDBY); in update_flags() 224 assert(flow->ha_state); in is_update_required() [all …]
|
/dports/security/snort/snort-2.9.18/src/preprocessors/Stream6/ |
H A D | snort_stream_ip.c | 136 if (scb->ha_state.session_flags & SSNFLAG_PRUNED) in IpSessionCleanup() 140 else if (scb->ha_state.session_flags & SSNFLAG_TIMEDOUT) in IpSessionCleanup() 152 scb->ha_state.session_flags = SSNFLAG_NONE; in IpSessionCleanup() 156 scb->ha_state.ignore_direction = 0; in IpSessionCleanup() 324 if ( scb->ha_state.session_flags & SSNFLAG_FORCE_BLOCK ) in BlockedSession() 371 scb->ha_state.ignore_direction = ignore; in CheckExpectedSession() 384 if ( !(scb->ha_state.session_flags & SSNFLAG_ESTABLISHED) ) in UpdateSession() 392 scb->ha_state.session_flags |= SSNFLAG_SEEN_CLIENT; in UpdateSession() 399 scb->ha_state.session_flags |= SSNFLAG_SEEN_SERVER; in UpdateSession() 408 scb->ha_state.session_flags |= SSNFLAG_ESTABLISHED; in UpdateSession() [all …]
|
H A D | snort_stream_udp.c | 163 scb->ha_state.direction = FROM_SENDER; in setUdpDirectionAndPorts() 388 if (scb->ha_state.session_flags & SSNFLAG_PRUNED) in UdpSessionCleanup() 392 else if (scb->ha_state.session_flags & SSNFLAG_TIMEDOUT) in UdpSessionCleanup() 414 scb->ha_state.session_flags = SSNFLAG_NONE; in UdpSessionCleanup() 416 scb->ha_state.ignore_direction = 0; in UdpSessionCleanup() 476 scb->ha_state.session_flags |= SSNFLAG_SEEN_SENDER; in NewUdpSession() 482 scb->ha_state.direction = FROM_SENDER; in NewUdpSession() 601 scb->ha_state.session_flags |= SSNFLAG_TIMEDOUT; in StreamProcessUdp() 695 scb->ha_state.ignore_direction = ignore; in ProcessUdp() 734 scb->ha_state.session_flags |= SSNFLAG_SEEN_SENDER; in ProcessUdp() [all …]
|
H A D | snort_stream_icmp.c | 181 if (ssn->ha_state.session_flags & SSNFLAG_PRUNED) in IcmpSessionCleanup() 185 else if (ssn->ha_state.session_flags & SSNFLAG_TIMEDOUT) in IcmpSessionCleanup() 378 ssn->ha_state.session_flags |= SSNFLAG_DROP_CLIENT; in ProcessIcmpUnreach() 379 ssn->ha_state.session_flags |= SSNFLAG_DROP_SERVER; in ProcessIcmpUnreach() 409 if ((dir == SSN_DIR_FROM_SENDER) && (ssn->ha_state.direction == SSN_DIR_FROM_SENDER)) in IcmpUpdateDirection() 417 if ((dir == SSN_DIR_FROM_RESPONDER) && (ssn->ha_state.direction == SSN_DIR_FROM_RESPONDER)) in IcmpUpdateDirection()
|
H A D | snort_stream_tcp.c | 1304 scb->ha_state.direction = FROM_CLIENT; in setTcpDirectionAndPorts() 1312 scb->ha_state.direction = FROM_SERVER; in setTcpDirectionAndPorts() 1323 scb->ha_state.direction = FROM_CLIENT; in setTcpDirectionAndPorts() 1331 scb->ha_state.direction = FROM_SERVER; in setTcpDirectionAndPorts() 5301 if (scb->ha_state.session_flags & SSNFLAG_PRUNED) in TcpSessionClear() 5325 scb->ha_state.session_flags = SSNFLAG_NONE; in TcpSessionClear() 5328 scb->ha_state.ignore_direction = 0; in TcpSessionClear() 8351 if (scb->ha_state.direction == FROM_CLIENT) in NewTcpSession() 8758 scb->ha_state.ignore_direction = ignore; in DisableInspection() 8891 scb->ha_state.direction = FROM_CLIENT; in ProcessTcp() [all …]
|
H A D | stream_common.c | 72 scb->ha_state.session_flags |= SSNFLAG_TIMEDOUT; in StreamExpireSession() 94 scb->ha_state.session_flags |= SSNFLAG_TIMEDOUT; in StreamDeleteSession() 200 if((scb->ha_state.session_flags & SSNFLAG_ESTABLISHED) != SSNFLAG_ESTABLISHED) in MarkupPacketFlags() 202 if((scb->ha_state.session_flags & (SSNFLAG_SEEN_SERVER|SSNFLAG_SEEN_CLIENT)) != in MarkupPacketFlags()
|
/dports/security/snort3/snort3-3.1.19.0/src/network_inspectors/appid/ |
H A D | appid_session_api.cc | 358 if (flow.ha_state) in set_ss_application_ids() 359 flow.ha_state->add(FlowHAState::MODIFIED | FlowHAState::MAJOR); in set_ss_application_ids() 365 if (flow.ha_state) in set_ss_application_ids() 366 flow.ha_state->add(FlowHAState::MODIFIED | FlowHAState::MAJOR); in set_ss_application_ids() 372 if (flow.ha_state) in set_ss_application_ids() 373 flow.ha_state->add(FlowHAState::MODIFIED | FlowHAState::MAJOR); in set_ss_application_ids() 379 if (flow.ha_state) in set_ss_application_ids() 380 flow.ha_state->add(FlowHAState::MODIFIED | FlowHAState::MAJOR); in set_ss_application_ids() 396 if (flow.ha_state) in set_ss_application_ids() 403 if (flow.ha_state) in set_ss_application_ids() [all …]
|
H A D | appid_http_session.cc | 68 if (asd.flow->ha_state) in set_http_change_bits() 69 asd.flow->ha_state->add(FlowHAState::MODIFIED | FlowHAState::MAJOR); in set_http_change_bits() 74 if (asd.flow->ha_state) in set_http_change_bits() 75 asd.flow->ha_state->add(FlowHAState::MODIFIED | FlowHAState::MAJOR); in set_http_change_bits() 443 if (asd.flow->ha_state) in set_client() 444 asd.flow->ha_state->add(FlowHAState::MODIFIED | FlowHAState::MAJOR); in set_client() 468 if (asd.flow->ha_state) in set_payload() 469 asd.flow->ha_state->add(FlowHAState::MODIFIED | FlowHAState::MAJOR); in set_payload()
|
/dports/security/snort3/snort3-3.1.19.0/src/flow/ |
H A D | ha.cc | 620 ( !flow->ha_state->check_pending(ALL_CLIENTS) || in process_update() 621 flow->ha_state->check_any(FlowHAState::NEW) ) ) in process_update() 630 flow->ha_state->clear(FlowHAState::NEW | FlowHAState::MODIFIED | in process_update() 632 flow->ha_state->clear_pending(ALL_CLIENTS); in process_update() 633 flow->ha_state->set_next_update(); in process_update() 659 flow.ha_state->add(FlowHAState::DELETED); in process_deletion() 693 flow->ha_state->clear(FlowHAState::STANDBY); in process_daq_import() 790 if (ha && flow && flow->ha_state) in set_modified() 791 flow->ha_state->add(FlowHAState::MODIFIED); in set_modified() 796 if (ha && flow && flow->ha_state) in in_standby() [all …]
|
H A D | flow.cc | 60 ha_state = new FlowHAState; in init() 113 if ( ha_state ) in term() 114 delete ha_state; in term() 207 if ( ha_state ) in reset() 208 ha_state->reset(); in reset()
|
H A D | flow.h | 408 FlowHAState* ha_state; variable
|
/dports/security/snort/snort-2.9.18/src/preprocessors/ |
H A D | spp_session.c | 1384 scb->cached_ha_state = scb->ha_state; in initializePacketPolicy() 3528 return scb->ha_state.session_flags; in setSessionFlags() 3538 return scb->ha_state.session_flags; in getSessionFlags() 3599 return scb->ha_state.ignore_direction; in getIgnoreDirection() 3614 return scb->ha_state.ignore_direction; in setIgnoreDirection() 3810 if( scb->ha_state.ipprotocol == 0 ) in setAppProtocolIdFromHostEntry() 3914 if( scb->ha_state.ipprotocol == 0 ) in getAppProtocolId() 3940 scb->ha_state.application_protocol = -1; in getAppProtocolId() 3942 return scb->ha_state.application_protocol; in getAppProtocolId() 3966 if( !scb->ha_state.ipprotocol ) in setAppProtocolId() [all …]
|
/dports/security/snort/snort-2.9.18/src/preprocessors/Session/ |
H A D | stream5_ha.c | 113 StreamHAState ha_state; member 920 retSsn->ha_state = has->ha_state; in DeserializeHASession() 1097 has->ha_state.ipprotocol, has->ha_state.application_protocol, in ConsumeHAMessage() 1098 has->ha_state.direction, has->ha_state.ignore_direction); in ConsumeHAMessage() 1102 has->ha_state.direction, has->ha_state.ignore_direction); in ConsumeHAMessage() 1107 if (has->ha_state.session_flags & SSNFLAG_COUNTED_CLOSING) in ConsumeHAMessage() 1329 has->ha_state = scb->ha_state; in WriteHASession() 1700 s5_ha_debug_session, scb->ha_state.session_flags, scb->ha_state.ipprotocol, in SessionProcessHA() 1701 scb->ha_state.application_protocol, scb->ha_state.direction, in SessionProcessHA() 1705 s5_ha_debug_session, scb->ha_state.session_flags, in SessionProcessHA() [all …]
|
H A D | session_common.h | 188 StreamHAState ha_state; member
|
H A D | session_expect.c | 760 else if (lws->ha_state.application_protocol != node->appId) in StreamExpectProcessNode() 762 lws->ha_state.application_protocol = node->appId; in StreamExpectProcessNode()
|
/dports/net-mgmt/nagios-snmp-plugins-extras/plugins/ |
H A D | check_snmp_cpfw.pl | 43 my $ha_state = "1.3.6.1.4.1.2620.1.5.6.0"; # "active" / "standby" 47 my %ha_checks =( $ha_active,"yes",$ha_state,"active",$ha_block_state,"OK",$ha_status,"OK"); 48 my %ha_checks_stand =( $ha_active,"yes",$ha_state,"standby",$ha_block_state,"OK",$ha_status,"OK"); 49 my %ha_checks_n =( $ha_active,"HA active",$ha_state,"HA state",$ha_block_state,"HA block state",$h… 50 my @ha_checks_oid =( $ha_active,$ha_state,$ha_block_state,$ha_status);
|
/dports/net/libdaq/libdaq-3.0.5/modules/fst/ |
H A D | daq_fst.cc | 454 if (entry->ha_state) in process_daq_msg() 529 if (entry->ha_state) in fst_daq_ioctl() 530 delete[] entry->ha_state; in fst_daq_ioctl() 531 entry->ha_state = new uint8_t[fhs->length]; in fst_daq_ioctl() 533 memcpy(entry->ha_state, fhs->data, entry->ha_state_len); in fst_daq_ioctl() 537 delete[] entry->ha_state; in fst_daq_ioctl() 538 entry->ha_state = nullptr; in fst_daq_ioctl() 556 fhs->data = entry->ha_state; in fst_daq_ioctl()
|
H A D | fst.h | 98 ~FstEntry() { delete[] ha_state; } in ~FstEntry() 103 uint8_t *ha_state = nullptr; member
|
/dports/security/snort3/snort3-3.1.19.0/src/stream/tcp/ |
H A D | tcp_ha.cc | 59 assert( flow->ha_state ); in deactivate_session()
|
/dports/security/snort3/snort3-3.1.19.0/src/flow/test/ |
H A D | ha_test.cc | 220 Flow::Flow() { ha_state = new FlowHAState; key = new FlowKey; } in Flow() 221 Flow::~Flow() { delete key; delete ha_state; } in ~Flow() 468 s_flow.ha_state->set_pending(s_other_ha_client->handle); in TEST()
|
/dports/devel/py-openstacksdk/openstacksdk-0.60.0/openstack/network/v2/ |
H A D | agent.py | 77 ha_state = resource.Body('ha_state') variable in Agent
|
/dports/devel/py-openstacksdk/openstacksdk-0.60.0/openstack/tests/unit/network/v2/ |
H A D | test_agent.py | 68 self.assertEqual(EXAMPLE['ha_state'], sot.ha_state)
|
/dports/security/snort/snort-2.9.18/src/ |
H A D | detect.c | 337 scb->ha_state.session_flags &= ~SSNFLAG_FREE_APP_DATA; in Preprocess()
|
/dports/devel/py-azure-mgmt-rdbms/azure-mgmt-rdbms-9.1.0b1/ |
H A D | CHANGELOG.md | 42 - Model Server no longer has parameter ha_state
|
/dports/devel/py-azure-mgmt-rdbms/azure-mgmt-rdbms-9.1.0b1/azure_mgmt_rdbms.egg-info/ |
H A D | PKG-INFO | 81 - Model Server no longer has parameter ha_state
|