From f87a6d0441f42f7926954a83b61122ee39701d27 Mon Sep 17 00:00:00 2001 From: lolcat Date: Tue, 26 Mar 2024 11:06:31 -0400 Subject: [PATCH] filtered more non-transparent proxies --- data/config.php | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/data/config.php b/data/config.php index cc1961a..a2de125 100644 --- a/data/config.php +++ b/data/config.php @@ -50,9 +50,17 @@ class config{ // Useful for blocking *some* proxies used for botting const FILTERED_HEADER_KEYS = [ "x-forwarded-for", - "x-via", + "x-cluster-client-ip", + "x-client-ip", + "x-real-ip", + "client-ip", + "real-ip", "forwarded-for", - "via" + "forwarded-for-ip", + "forwarded", + "proxy-connection", + "remote-addr", + "via", ]; // @TODO: Portscan the user for open proxies before allowing a connection, block user if any are found