Pagina teste throttle
Configs
string(12) "3.145.87.161"
string(314) "189.120.72.168
2804:14c:6a:9425:85c6:2596:759a:762c
2804:14c:6a:9425:e48c:8946:6957:2257
186.204.32.245
177.141.17.153
152.254.220.249
2804:14c:6a:9425:4cc8:bd22:7ebe:72e0
187.22.3.143
189.120.73.139
2804:14c:6a:94ab:1555:6c85:3d91:9e07
783.173.273
186.204.56.27
186.220.59.115
2804:14c:6a:81bf:f121:5bfc:187b:1941"
array(14) {
[0]=>
string(14) "189.120.72.168"
[1]=>
string(36) "2804:14c:6a:9425:85c6:2596:759a:762c"
[2]=>
string(36) "2804:14c:6a:9425:e48c:8946:6957:2257"
[3]=>
string(14) "186.204.32.245"
[4]=>
string(14) "177.141.17.153"
[5]=>
string(15) "152.254.220.249"
[6]=>
string(36) "2804:14c:6a:9425:4cc8:bd22:7ebe:72e0"
[7]=>
string(12) "187.22.3.143"
[8]=>
string(14) "189.120.73.139"
[9]=>
string(36) "2804:14c:6a:94ab:1555:6c85:3d91:9e07"
[10]=>
string(11) "783.173.273"
[11]=>
string(13) "186.204.56.27"
[12]=>
string(14) "186.220.59.115"
[13]=>
string(36) "2804:14c:6a:81bf:f121:5bfc:187b:1941"
}
retorno do wp_remote_get ipCheckout
https://us-central1-abril-id-testes-1528223718961.cloudfunctions.net/ipCheckout?codIdentificador=3.145.87.161&qtd=6&tempo=86400
array(6) {
["headers"]=>
object(WpOrg\Requests\Utility\CaseInsensitiveDictionary)#10085 (1) {
["data":protected]=>
array(10) {
["x-powered-by"]=>
string(7) "Express"
["access-control-allow-origin"]=>
string(1) "*"
["content-type"]=>
string(31) "application/json; charset=utf-8"
["etag"]=>
string(34) "W/"19-7XyzmMCzZHSechL/AgkU7ybMi2A""
["function-execution-id"]=>
string(12) "klwgycyg9wbl"
["x-cloud-trace-context"]=>
string(36) "870601d9f3d20d5c42fb71a2ad601b99;o=1"
["date"]=>
string(29) "Mon, 07 Oct 2024 16:24:47 GMT"
["server"]=>
string(15) "Google Frontend"
["content-length"]=>
string(2) "25"
["alt-svc"]=>
string(46) "h3=":443"; ma=2592000,h3-29=":443"; ma=2592000"
}
}
["body"]=>
string(25) "{"block":false,"count":1}"
["response"]=>
array(2) {
["code"]=>
int(200)
["message"]=>
string(2) "OK"
}
["cookies"]=>
array(0) {
}
["filename"]=>
NULL
["http_response"]=>
object(WP_HTTP_Requests_Response)#10090 (5) {
["data"]=>
NULL
["headers"]=>
NULL
["status"]=>
NULL
["response":protected]=>
object(WpOrg\Requests\Response)#10089 (10) {
["body"]=>
string(25) "{"block":false,"count":1}"
["raw"]=>
string(444) "HTTP/1.1 200 OK
X-Powered-By: Express
Access-Control-Allow-Origin: *
Content-Type: application/json; charset=utf-8
Etag: W/"19-7XyzmMCzZHSechL/AgkU7ybMi2A"
Function-Execution-Id: klwgycyg9wbl
X-Cloud-Trace-Context: 870601d9f3d20d5c42fb71a2ad601b99;o=1
Date: Mon, 07 Oct 2024 16:24:47 GMT
Server: Google Frontend
Content-Length: 25
Alt-Svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000
Connection: close
{"block":false,"count":1}"
["headers"]=>
object(WpOrg\Requests\Response\Headers)#10092 (1) {
["data":protected]=>
array(10) {
["x-powered-by"]=>
array(1) {
[0]=>
string(7) "Express"
}
["access-control-allow-origin"]=>
array(1) {
[0]=>
string(1) "*"
}
["content-type"]=>
array(1) {
[0]=>
string(31) "application/json; charset=utf-8"
}
["etag"]=>
array(1) {
[0]=>
string(34) "W/"19-7XyzmMCzZHSechL/AgkU7ybMi2A""
}
["function-execution-id"]=>
array(1) {
[0]=>
string(12) "klwgycyg9wbl"
}
["x-cloud-trace-context"]=>
array(1) {
[0]=>
string(36) "870601d9f3d20d5c42fb71a2ad601b99;o=1"
}
["date"]=>
array(1) {
[0]=>
string(29) "Mon, 07 Oct 2024 16:24:47 GMT"
}
["server"]=>
array(1) {
[0]=>
string(15) "Google Frontend"
}
["content-length"]=>
array(1) {
[0]=>
string(2) "25"
}
["alt-svc"]=>
array(1) {
[0]=>
string(46) "h3=":443"; ma=2592000,h3-29=":443"; ma=2592000"
}
}
}
["status_code"]=>
int(200)
["protocol_version"]=>
float(1.1)
["success"]=>
bool(true)
["redirects"]=>
int(0)
["url"]=>
string(127) "https://us-central1-abril-id-testes-1528223718961.cloudfunctions.net/ipCheckout?codIdentificador=3.145.87.161&qtd=6&tempo=86400"
["history"]=>
array(0) {
}
["cookies"]=>
object(WpOrg\Requests\Cookie\Jar)#10087 (1) {
["cookies":protected]=>
array(0) {
}
}
}
["filename":protected]=>
NULL
}
}
retorno ipCheckout
Se block for igual a true entra no trolle
array(2) {
["block"]=>
bool(false)
["count"]=>
int(1)
}
$_SERVER
array(57) {
["SERVER_SOFTWARE"]=>
string(5) "nginx"
["REQUEST_URI"]=>
string(24) "/ngcp-867-throttle-debug"
["VIP_GO_APP_CURRENT_COMMIT_HASH"]=>
string(40) "378691f614767e80d70ef258ab1d507d273aa113"
["IS_VIP_BATCH_CONTAINER"]=>
string(0) ""
["IS_VIP_SANDBOX_CONTAINER"]=>
string(0) ""
["IS_VIP_ON_KUBERNETES"]=>
string(4) "true"
["TEMP"]=>
string(4) "/tmp"
["TMPDIR"]=>
string(4) "/tmp"
["TMP"]=>
string(4) "/tmp"
["PATH"]=>
string(28) "/usr/local/bin:/usr/bin:/bin"
["HOSTNAME"]=>
string(28) "wp-2364-app-5fd899b4f7-mxsh5"
["USER"]=>
string(6) "nobody"
["HOME"]=>
string(12) "/nonexistent"
["HTTP_X_COUNTRY_CODE"]=>
string(2) "US"
["HTTP_X_MOBILE_CLASS"]=>
string(7) "desktop"
["HTTP_USER_AGENT"]=>
string(103) "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)"
["HTTP_ACCEPT"]=>
string(3) "*/*"
["HTTP_ACCEPT_ENCODING"]=>
string(2) "br"
["HTTP_X_WPLOGIN"]=>
string(3) "yes"
["HTTP_X_REQUEST_PRIO"]=>
string(1) "4"
["HTTP_X_CLIENT_SITE_ID"]=>
string(4) "2364"
["HTTP_X_JA3_HASH"]=>
string(32) "36c5a8dceb92456370555781a2948f35"
["HTTP_X_IP_PROXY_TYPE"]=>
string(3) "DCH"
["HTTP_X_ASN"]=>
string(5) "16509"
["HTTP_X_IP_TRAIL"]=>
string(27) "3.145.87.161, 192.0.104.254"
["HTTP_X_ORIGINAL_FORWARDED_FOR"]=>
string(12) "3.145.87.161"
["HTTP_X_SCHEME"]=>
string(5) "https"
["HTTP_X_FORWARDED_SCHEME"]=>
string(5) "https"
["HTTP_X_FORWARDED_PROTO"]=>
string(5) "https"
["HTTP_X_FORWARDED_PORT"]=>
string(3) "443"
["HTTP_X_FORWARDED_HOST"]=>
string(25) "preprod.veja.abril.com.br"
["HTTP_X_FORWARDED_FOR"]=>
string(12) "3.145.87.161"
["HTTP_X_REAL_IP"]=>
string(12) "3.145.87.161"
["HTTP_X_REQUEST_ID"]=>
string(32) "c208206ec1e7127903b228cc0d18251f"
["HTTP_HOST"]=>
string(25) "preprod.veja.abril.com.br"
["SCRIPT_FILENAME"]=>
string(18) "/var/www/index.php"
["GEOIP_COUNTRY_CODE"]=>
string(2) "US"
["SERVER_PROTOCOL"]=>
string(8) "HTTP/1.1"
["REDIRECT_URL"]=>
string(24) "/ngcp-867-throttle-debug"
["CONTENT_LENGTH"]=>
string(0) ""
["CONTENT_TYPE"]=>
string(0) ""
["REQUEST_METHOD"]=>
string(3) "GET"
["QUERY_STRING"]=>
string(0) ""
["SERVER_NAME"]=>
string(25) "preprod.veja.abril.com.br"
["SERVER_PORT"]=>
int(443)
["SERVER_ADDR"]=>
string(14) "10.253.128.194"
["REMOTE_PORT"]=>
string(5) "59042"
["REMOTE_ADDR"]=>
string(12) "3.145.87.161"
["DOCUMENT_ROOT"]=>
string(8) "/var/www"
["DOCUMENT_URI"]=>
string(24) "/ngcp-867-throttle-debug"
["SCRIPT_NAME"]=>
string(10) "/index.php"
["FCGI_ROLE"]=>
string(9) "RESPONDER"
["PHP_SELF"]=>
string(10) "/index.php"
["REQUEST_TIME_FLOAT"]=>
float(1728318286.644331)
["REQUEST_TIME"]=>
int(1728318286)
["REMOTE_ADDR_ORIG"]=>
string(14) "10.253.170.224"
["HTTPS"]=>
string(2) "on"
}