Jelajahi Sumber

filtered more non-transparent proxies

lolcat 2 tahun lalu
induk
melakukan
f87a6d0441
1 mengubah file dengan 10 tambahan dan 2 penghapusan
  1. 10 2
      data/config.php

+ 10 - 2
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