From 4ef110fd2c501b718344c72d495ad7e16d2bd465 Mon Sep 17 00:00:00 2001 From: Christian Breunig Date: Sat, 30 Dec 2023 23:25:20 +0100 Subject: T5474: establish common file name pattern for XML conf mode commands We will use _ as CLI level divider. The XML definition filename and also the Python helper should match the CLI node. Example: set interfaces ethernet -> interfaces_ethernet.xml.in set interfaces bond -> interfaces_bond.xml.in set service dhcp-server -> service_dhcp-server-xml.in --- .../service_ids_ddos-protection.xml.in | 167 +++++++++++++++++++++ 1 file changed, 167 insertions(+) create mode 100644 interface-definitions/service_ids_ddos-protection.xml.in (limited to 'interface-definitions/service_ids_ddos-protection.xml.in') diff --git a/interface-definitions/service_ids_ddos-protection.xml.in b/interface-definitions/service_ids_ddos-protection.xml.in new file mode 100644 index 000000000..3ef2640b3 --- /dev/null +++ b/interface-definitions/service_ids_ddos-protection.xml.in @@ -0,0 +1,167 @@ + + + + + + + Intrusion Detection System + + + + + FastNetMon detection and protection parameters + 731 + + + + + Path to fastnetmon alert script + + + + + How long we should keep an IP in blocked state + + u32:1-4294967294 + Time in seconds + + + + + + 1900 + + + + Direction for processing traffic + + in out + + + (in|out) + + + + + + + Specify IPv4 and IPv6 networks which are going to be excluded from protection + + ipv4net + IPv4 prefix(es) to exclude + + + ipv6net + IPv6 prefix(es) to exclude + + + + + + + + + + + Listen interface for mirroring traffic + + + + + + + + + Traffic capture mode + + mirror sflow + + + mirror + Listen to mirrored traffic + + + sflow + Capture sFlow flows + + + (mirror|sflow) + + + + + + Sflow settings + + + #include + #include + + 6343 + + + + + + Specify IPv4 and IPv6 networks which belong to you + + ipv4net + Your IPv4 prefix(es) + + + ipv6net + Your IPv6 prefix(es) + + + + + + + + + + + Attack limits thresholds + + + + + General threshold + + + #include + + + + + TCP threshold + + + #include + + + + + UDP threshold + + + #include + + + + + ICMP threshold + + + #include + + + + + + + + + + + -- cgit v1.2.3