forked from Korbs/4get
update
This commit is contained in:
parent
060b5b4e31
commit
3e4f487fb0
1 changed files with 1 additions and 14 deletions
|
@ -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).
|
||||||
|
|
Reference in a new issue