1
Fork 0
forked from Korbs/4get
This commit is contained in:
Korbs 2024-06-07 20:58:41 -04:00
parent 060b5b4e31
commit 3e4f487fb0

View file

@ -48,20 +48,7 @@ class config{
// Block clients who present any of the following headers in their request (SPECIFY IN !!lowercase!!) // Block clients who present any of the following headers in their request (SPECIFY IN !!lowercase!!)
// Eg: ["x-forwarded-for", "x-via", "forwarded-for", "via"]; // Eg: ["x-forwarded-for", "x-via", "forwarded-for", "via"];
// 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-cluster-client-ip",
"x-client-ip",
"x-real-ip",
"client-ip",
"real-ip",
"forwarded-for",
"forwarded-for-ip",
"forwarded",
"proxy-connection",
"remote-addr",
"via"
];
// Maximal number of searches per captcha key/pass issued. Counter gets // Maximal number of searches per captcha key/pass issued. Counter gets
// reset on every APCU cache clear (should happen once a day). // reset on every APCU cache clear (should happen once a day).