From 4ffd8266c9ef8c2c0aeedc656556d3be262a00ae Mon Sep 17 00:00:00 2001 From: fengweihao Date: Tue, 21 Nov 2023 15:56:40 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0context=5Fbased=5Fdetector?= =?UTF-8?q?=E5=88=B0v6.0.0,=20=E7=89=88=E6=9C=AC=E4=BF=AE=E6=94=B9:=20?= =?UTF-8?q?=E9=80=82=E9=85=8Dstellar,=E6=8F=92=E4=BB=B6=E5=90=8D=E5=8F=98?= =?UTF-8?q?=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 | 5 ++--- ansible/roles/traffic-engine/files/helm/conf/spec.toml | 6 +++--- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/ansible/install_config/group_vars/rpm_version.yml b/ansible/install_config/group_vars/rpm_version.yml index bd0ed40b..c7609b71 100644 --- a/ansible/install_config/group_vars/rpm_version.yml +++ b/ansible/install_config/group_vars/rpm_version.yml @@ -79,7 +79,7 @@ tfe_rpm_version: tfe-pr: tfe-pr-4.8.46.15582f5 tsg_app_rpm_version: - app_sketch_local: app_sketch_local-5.0.6.cc02934 + context_based_detector: context_based_detector-6.0.0.5572299 tsg_diagnose_rpm_version: tsg_diagnose: tsg-diagnose-2.0.4.b5ca5aa diff --git a/ansible/roles/traffic-engine/files/helm/conf/main.conf b/ansible/roles/traffic-engine/files/helm/conf/main.conf index fe6e4f5b..25ccd128 100644 --- a/ansible/roles/traffic-engine/files/helm/conf/main.conf +++ b/ansible/roles/traffic-engine/files/helm/conf/main.conf @@ -113,10 +113,9 @@ GENERATE_JA3_FINGERPRINT=1 GENERATE_JA3_FINGERPRINT=0 {{- end }} - -[APP_SKETCH_LOCAL] +[context_based_detector] LOG_LEVEL=30 -LOG_PATH="log/app_sketch.log" +LOG_PATH="log/context_based_detector.log" SENDBACK_SWITCH=0 [APP_SKETCH_FEEDBACK] diff --git a/ansible/roles/traffic-engine/files/helm/conf/spec.toml b/ansible/roles/traffic-engine/files/helm/conf/spec.toml index 87eba42c..38b595b5 100644 --- a/ansible/roles/traffic-engine/files/helm/conf/spec.toml +++ b/ansible/roles/traffic-engine/files/helm/conf/spec.toml @@ -34,7 +34,7 @@ exit = "app_proto_engine_destroy" {{- if eq .Values.appsketch.context_based_detector .Values.define_enable_val_yes }} [[plugin]] -path = "./stellar_plugin/app_sketch_local/app_sketch_local.so" -init = "APP_SKETCH_LOCAL_INIT" -exit = "APP_SKETCH_LOCAL_DESTROY" +path = "./stellar_plugin/context_based_detector/context_based_detector.so" +init = "context_based_detector_init" +exit = "context_based_detector_destroy" {{- end }} \ No newline at end of file