Rusty Snippets
Well-known member
Yes. I’ve got a Singapore bot that lives on my board. Finally blocked the country, but he still gets through. It’s a Huawei data center location. Always viewing unknown page.
I don't think so. If you don't want a search engine to index certain things, just use robots.txt to tell them what you don't want indexed.Hello @digitalpoint, I have IndexNow enabled with Bing, and Cloudflare is sending unwanted URLs, is there a way to prevent this?
View attachment 307140
Thanks.
https://www.joyfreak.com/data/avatars/o/0/2.jpg?1720952280
https://joyfreak.com/data/avatars/o/0/2.jpg?1720952280
Ok but...I don't think so. If you don't want a search engine to index certain things, just use robots.txt to tell them what you don't want indexed.
AndUser-agent: *
Disallow: /whats-new/
Disallow: /account/
Disallow: /attachments/
Disallow: /goto/
Disallow: /posts/
Disallow: /login/
Disallow: /search/
Disallow: /data/
Disallow: /styles/
Disallow: /css.php
Disallow: /admin.php
Allow: /
I wouldn’t… if I’m being honest, I also wouldn’t worry about using IndexNow though.Good question, it seems not. So I shouldn't worry about that, right? Thanks.
Correct. I wouldn't (and don't). Not because it's "bad" or anything, just seems rather pointless since it's for Bing only.Sorry, I don't know the nuances of Shakespeare's language well, you mean you wouldn't use IndexNow at all?
What's the cost associated with that though? I understand CF charges for rate limiting.I recently added a 50reqs/10sec rate limiting rule to abate a fairly aggressive scraping bot originating from China that was causing high server load and normal usage lag/delays. This was much easier, and more effective, than playing 'whack-a-mole' with IP address blocking, when it was persisting from changing IP addresses.
It's free now in all CF plans.What's the cost associated with that though? I understand CF charges for rate limiting.
... for 1 rule. If you want additional rules, or more trigger criteria, requires paid plan.It's free now in all CF plans.
- Removed workaround to allow non-Duotone icons in admin navigation for XenForo 2.3 (fixed in XF core)
- Added new Cloudflare setting (under Security): Replace insecure JavaScript libraries
- Changed verbiage to be worded better when setting up API token initially
Client error: `DELETE https://api.cloudflare.com/client/v4/zones/7c8d4fc8153e104bad38abeb9e797c1e/rulesets/1089a421a79542b1a60258c3d79cea88/rules/0615f1ae4ac14274aab9aef14a51567a` resulted in a `400 Bad Request` response: { "result": null, "success": false, "errors": [ { "message": "invalid JSON: '' cannot be a array" } (truncated...) / {"result":null,"success":false,"errors":[{"message":"invalid JSON: '' cannot be a array"}],"messages":null}
The add-on causes an issue with rebuilding daily stats: https://xenforo.com/community/threads/rebuild-daily-statistics.223552/#post-1698129
Probably not a lot that can be done about a full rebuild being slow. There are 11 API calls being made (one for each stat that is logged). Most are run in parallel to speed it up, but let's say it takes 1 second to make the 11 API calls...Deleting Cache Rules in the addon page throws this error:
Code:Client error: `DELETE https://api.cloudflare.com/client/v4/zones/7c8d4fc8153e104bad38abeb9e797c1e/rulesets/1089a421a79542b1a60258c3d79cea88/rules/0615f1ae4ac14274aab9aef14a51567a` resulted in a `400 Bad Request` response: { "result": null, "success": false, "errors": [ { "message": "invalid JSON: '' cannot be a array" } (truncated...) / {"result":null,"success":false,"errors":[{"message":"invalid JSON: '' cannot be a array"}],"messages":null}
Ya, looks like they changed the API call for cache delete to not want anything in the JSON "body".Deleting Cache Rules in the addon page throws this error:
Code:Client error: `DELETE https://api.cloudflare.com/client/v4/zones/7c8d4fc8153e104bad38abeb9e797c1e/rulesets/1089a421a79542b1a60258c3d79cea88/rules/0615f1ae4ac14274aab9aef14a51567a` resulted in a `400 Bad Request` response: { "result": null, "success": false, "errors": [ { "message": "invalid JSON: '' cannot be a array" } (truncated...) / {"result":null,"success":false,"errors":[{"message":"invalid JSON: '' cannot be a array"}],"messages":null}
DigitalPoint\Cloudflare\Api\Cloudflare.php
file, change this:return $this->makeRequest('DELETE', sprintf('zones/%s/rulesets/%s/rules/%s', $zoneId, $rulesetId, $identifier), ['json' => []]);
return $this->makeRequest('DELETE', sprintf('zones/%s/rulesets/%s/rules/%s', $zoneId, $rulesetId, $identifier));
What about this bug?
We use essential cookies to make this site work, and optional cookies to enhance your experience.