summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorlolcat <will@lolcat.ca>2024-03-26 11:06:31 -0400
committerlolcat <will@lolcat.ca>2024-03-26 11:06:31 -0400
commitf87a6d0441f42f7926954a83b61122ee39701d27 (patch)
treeb9ab5596b4a2336ea390fcc19e79d19d22df0fc4 /data
parentbbc5a897797e168a79236bc49f5ed889a7049efe (diff)
filtered more non-transparent proxies
Diffstat (limited to 'data')
-rw-r--r--data/config.php12
1 files 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