From 9d412fe987e7ab880c169db3bf73be7ef1a028b7 Mon Sep 17 00:00:00 2001 From: fengweihao Date: Tue, 21 Nov 2023 18:29:55 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0qdpi=5Fdetector=E5=88=B0v4.0.?= =?UTF-8?q?0,=20=E7=89=88=E6=9C=AC=E4=BF=AE=E6=94=B9:=20=E9=80=82=E9=85=8D?= =?UTF-8?q?stellar,=E6=8F=92=E4=BB=B6=E5=90=8D=E5=8F=98=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ansible/install_config/group_vars/rpm_version.yml | 2 +- ansible/roles/traffic-engine/files/helm/conf/main.conf | 7 ++----- ansible/roles/traffic-engine/files/helm/conf/spec.toml | 6 +++--- 3 files changed, 6 insertions(+), 9 deletions(-) diff --git a/ansible/install_config/group_vars/rpm_version.yml b/ansible/install_config/group_vars/rpm_version.yml index 6f60520a..dca2b73a 100644 --- a/ansible/install_config/group_vars/rpm_version.yml +++ b/ansible/install_config/group_vars/rpm_version.yml @@ -7,7 +7,7 @@ firewall_rpm_version: gtp_signaling_plug: gtp_signaling_plug-2.0.0.3f233d7 radius_collect_plug: radius_collect_plug-2.0.11.47a51f3 glimpse_detector: glimpse_detector-3.0.0.7240884 - app_proto_engine: app_proto_engine-3.0.2.585490a + qdpi_detector: qdpi_detector-4.0.0.b50874d tsg_ddos_sketch: tsg_ddos_sketch-1.3.5.447bcc2 dns: dns-2.1.7.1da8dfa ftp: ftp-1.0.15.1fc64fe diff --git a/ansible/roles/traffic-engine/files/helm/conf/main.conf b/ansible/roles/traffic-engine/files/helm/conf/main.conf index 25ccd128..5bac1891 100644 --- a/ansible/roles/traffic-engine/files/helm/conf/main.conf +++ b/ansible/roles/traffic-engine/files/helm/conf/main.conf @@ -125,13 +125,10 @@ PUBLISH_TOPIC="APP_SIGNATURE_ID" #BROKER_IP= #BROKER_PORT= -[APP_PROTO_ENGINE] +[qdpi_detector] debug_swtich=30 -nb_flows=10000 intput_max_packet=20 -classification_cache_enable=0 -basic_dpi_enable=1 -fm_flow_table_alloc_mode=3 +qmdpi_engine_config=injection_mode=stream;nb_workers={{- include "traffic-engine.sapp.workerthread" . }};nb_flows=8000;basic_dpi_enable=1;classification_cache_enable=0;fm_flow_table_alloc_mode=0 [TSG_DDOS_SKETCH] debug_swtich=30 diff --git a/ansible/roles/traffic-engine/files/helm/conf/spec.toml b/ansible/roles/traffic-engine/files/helm/conf/spec.toml index de82910f..ccf54764 100644 --- a/ansible/roles/traffic-engine/files/helm/conf/spec.toml +++ b/ansible/roles/traffic-engine/files/helm/conf/spec.toml @@ -27,9 +27,9 @@ exit = "sf_classifier_exit" {{- if eq .Values.appsketch.qdpi_detector .Values.define_enable_val_yes }} [[plugin]] -path = "./stellar_plugin/app_proto_engine/app_proto_engine.so" -init = "app_proto_engine_init" -exit = "app_proto_engine_destroy" +path = "./stellar_plugin/qdpi_detector/qdpi_detector.so" +init = "qdpi_detector_init" +exit = "qdpi_detector_destroy" {{- end }} {{- if eq .Values.appsketch.context_based_detector .Values.define_enable_val_yes }}