1
Fork 1
mirror of https://git.lolcat.ca/lolcat/4get.git synced 2024-11-08 17:43:07 -05:00

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
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