Thanks. Well as I managed to block myself briefly last night while blocking some ASN numbers (quickly recitifed!) I replaced the .htaccess with the original as I wasn't quite sure what had blocked me in that moment. I will manually re-type the header and code in notepad and try again later todayI wouldn't assume it isn't working just from Claude's interpretation of the logs yet.
The definitive test is the direct-origin test after the .htaccess rule has been enabled.
Run this again:
Code:curl.exe -I --resolve www.yourforum.com:443:YOUR_ORIGIN_IP https://www.yourforum.com/
If you now get:
Code:HTTP/1.1 403 Forbidden
then it is working correctly, regardless of what Claude thinks it sees in the access log.
The fact that your site is still working normally is actually encouraging, because it means requests coming through Cloudflare are arriving with the correct header and are being accepted by .htaccess.
Copying the secret via Word/Notepad shouldn't normally matter, although hidden whitespace or a strange character could theoretically cause trouble. But if there were a mismatch between the Cloudflare secret and the .htaccess secret, your normal site should now be returning 403 as well.
So I would do the direct-origin curl test first before changing anything else.
If it returns 403, leave the configuration alone.
If it returns 200, then we can look at why the .htaccess rule isn't being enforced on your server.
The .htaccess could well have been working and nothing going to the origin.
As for blocking myself - my internet is Starlink and it seems they are in Guyana! (Edit there is also a Starlink in Myanmar in case anyone is thinking of blocking Myanmar as it might also contain UK IP's). Things had improved with Cloudflare rules at the front - challenging for whats new, search and members, but got frustrated that I was still getting about 1200 to 1800 at night and 800 to 1000 during the day. So last night I went through the IP's in the guest list from countries that I wouldn't usually have members from, looked up the IP on ipinfo.io which shows the ASN number and blocked the ASN. I did that for maybe 12 to 15 ASN's in various countries like Kuwait, Thailand, Philippines, Malaysia, China, and various others including 2 or 3 south american ones. The last one I did was Guyana - should have thought twice when it said something about Space centre rather than Telecommunications companies as all the others were. But that was easily undone.
So the numbers quickly went down to 500 to 600 last night and 300 today. So I'm having a breather. Most of them now are from the USA - so they've probably migrated to residential proxies there. However I was loathe to put a managed challenge on the USA, where I have members, so did the ASN blocking on Eastern countries instead.
I then had the unpleasant thought that I might have blocked a load of people using Starlink if Starlink has IP's in other countries, but ran the blocked ASN's through Google AI (unreliable I know) who said none of them were Starlink ones - only the Guyana one.
The China IP's in the guest list shouldn't have been there at all because a) China is blocked as a country b) the range of ISN's for those particular China Networks were already blocked. But looking up the individual IP's, they had different ASN numbers. The China business could be endless because they apparently have many many ASN's. Haven't checked if they have gone or not yet.
I wasn't happy blocking complete communications networks in some of those countries, because although it's rare my site gets a member from them, I like to think it's an option and there has occasionally been the odd one from South America or even the Philippines. So I'm kind of annoyed about this whole residential proxy business affecting ordinary people.
@puterfixer thanks that is very helpful
One question - looking at the guest list - where (thanks to the digital point cloudflare app) it shows the IP's with country name and flag - is there actually a way to find a list of guests without scrolling through the guest list? Eg in Xenforo or on Cloudflare? It would have been easier to have a more condensed list, and then sort them alphabetically.
I remember a time when the only thing that bugged me was too many incidences of Amazon.bot in the Robots list! This is something else.
Last edited:
