From 8c8ed6793fd6a38cdfa23af2f1ef14aaaeecb56d Mon Sep 17 00:00:00 2001 From: fumingwei Date: Sat, 18 Sep 2021 16:13:27 +0800 Subject: [PATCH] =?UTF-8?q?bugfix:=E4=BF=AE=E6=94=B9tsg-os=E5=9B=A0ddos?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=E6=96=87=E4=BB=B6=E7=BC=96=E8=AF=91=E5=A4=B1?= =?UTF-8?q?=E8=B4=A5=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ansible/roles/firewall/templates/main.conf.j2.j2 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ansible/roles/firewall/templates/main.conf.j2.j2 b/ansible/roles/firewall/templates/main.conf.j2.j2 index 7f2913f6..9b98b02f 100644 --- a/ansible/roles/firewall/templates/main.conf.j2.j2 +++ b/ansible/roles/firewall/templates/main.conf.j2.j2 @@ -122,10 +122,11 @@ mv_depth=4 mv_width=13660 timestemp=5 min_report_threshold=150 -tcp_flood_thresh="{{ ddossketch.tcp_flood_report_thresh }}" +{% raw %}tcp_flood_thresh="{{ ddossketch.tcp_flood_report_thresh }}" udp_flood_thresh="{{ ddossketch.udp_flood_report_thresh }}" icmp_flood_thresh="{{ ddossketch.icmp_flood_report_thresh }}" dns_flood_thresh="{{ ddossketch.dns_flood_report_thresh }}" +{% endraw %} {% if PROFILE_ID == '9000-NPB-P01R01' %} [TRAFFIC_MIRROR]