From 7125eeff5d7a88320eb0551a56e836e3ab38bcf3 Mon Sep 17 00:00:00 2001 From: Denis Simonov Date: Fri, 17 May 2024 00:00:56 +0300 Subject: [PATCH] Update firewall.js, add ddos-guard WAF Add ddos-guard WAF https://ddos-guard.net/en --- api/firewall.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/api/firewall.js b/api/firewall.js index 48419b6b..a37ed61b 100644 --- a/api/firewall.js +++ b/api/firewall.js @@ -95,6 +95,10 @@ const handler = async (url) => { return hasWaf('QRATOR WAF'); } + if (headers['server'] && headers['server'].includes('ddos-guard')) { + return hasWaf('DDoS-Guard WAF'); + } + return { hasWaf: false, }