filtered more non-transparent proxies

This commit is contained in:
lolcat 2024-03-26 11:06:31 -04:00
parent bbc5a89779
commit f87a6d0441

View file

@ -50,9 +50,17 @@ class config{
// Useful for blocking *some* proxies used for botting // Useful for blocking *some* proxies used for botting
const FILTERED_HEADER_KEYS = [ const FILTERED_HEADER_KEYS = [
"x-forwarded-for", "x-forwarded-for",
"x-via", "x-cluster-client-ip",
"x-client-ip",
"x-real-ip",
"client-ip",
"real-ip",
"forwarded-for", "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 // @TODO: Portscan the user for open proxies before allowing a connection, block user if any are found