mirror of
https://git.lolcat.ca/lolcat/4get.git
synced 2024-11-14 03:49:48 +01:00
filtered more non-transparent proxies
This commit is contained in:
parent
bbc5a89779
commit
f87a6d0441
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue