From 31f89d181365d8de5b149091ea1ffef04b54e7f7 Mon Sep 17 00:00:00 2001 From: Vincent Li Date: Sat, 16 Mar 2024 15:54:04 +0000 Subject: [PATCH] Add eBPF XDP DDoS menu Signed-off-by: Vincent Li --- config/menu/50-firewall.menu | 5 +++++ langs/en/cgi-bin/en.pl | 2 ++ langs/zh/cgi-bin/zh.pl | 2 ++ 3 files changed, 9 insertions(+) diff --git a/config/menu/50-firewall.menu b/config/menu/50-firewall.menu index cd2af7cbb..52bfc9bdf 100644 --- a/config/menu/50-firewall.menu +++ b/config/menu/50-firewall.menu @@ -44,3 +44,8 @@ 'title' => "$Lang::tr{'ipts'}", 'enabled' => 1, }; + $subfirewall->{'100.ids'} = {'caption' => $Lang::tr{'ebpf xdp ddos'}, + 'uri' => '/cgi-bin/ddos.cgi', + 'title' => "$Lang::tr{'ebpf xdp ddos system'}", + 'enabled' => 1, + }; diff --git a/langs/en/cgi-bin/en.pl b/langs/en/cgi-bin/en.pl index cb965bd82..43d0a62c7 100644 --- a/langs/en/cgi-bin/en.pl +++ b/langs/en/cgi-bin/en.pl @@ -1511,6 +1511,8 @@ 'intrusion detection system rules' => 'Ruleset', 'intrusion detection system2' => 'Intrusion Prevention System', 'intrusion prevention system' => 'Intrusion Prevention System', +'ebpf xdp ddos' => 'eBPF XDP DDoS Protection', +'ebpf xdp ddos system' => 'eBPF XDP DDoS Protection System', 'invalid broadcast ip' => 'Invalid broadcast IP', 'invalid cache size' => 'Invalid cache size.', 'invalid characters found in pre-shared key' => 'Invalid characters found in pre-shared key.', diff --git a/langs/zh/cgi-bin/zh.pl b/langs/zh/cgi-bin/zh.pl index 48a921b0d..48f06e316 100644 --- a/langs/zh/cgi-bin/zh.pl +++ b/langs/zh/cgi-bin/zh.pl @@ -1503,6 +1503,8 @@ 'intrusion detection system rules' => '规则集', 'intrusion detection system2' => '入侵检测系统', 'intrusion prevention system' => '入侵检测系统', +'ebpf xdp ddos' => 'eBPF XDP DDoS 分布式攻击防御', +'ebpf xdp ddos system' => 'eBPF XDP DDoS 分布式攻击防御系统', 'invalid broadcast ip' => '无效的广播IP', 'invalid cache size' => '无效的缓存大小。', 'invalid characters found in pre-shared key' => '在预共享密钥中找到无效字符。',