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!!)
|
||||
// Eg: ["x-forwarded-for", "x-via", "forwarded-for", "via"];
|
||||
// Useful for blocking *some* proxies used for botting
|
||||
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"
|
||||
];
|
||||
const FILTERED_HEADER_KEYS = [];
|
||||
|
||||
// Maximal number of searches per captcha key/pass issued. Counter gets
|
||||
// reset on every APCU cache clear (should happen once a day).
|
||||
|
|
Reference in a new issue