timeforhelp1 wrote: ↑Tue Sep 03, 2024 3:42 pm Thanks.
I'm on cloudflare and my host has just "switched the under attack mode on and redirected all Chinese traffic away from the website".
Asking him to do Singapore now.
Fingers crossed!
I've been using for years without issues. The one thing you need to do is restore the original IP. Ideally you have root access and can install remote_ip, you can contact your host if you are on shared hosting to see if they can help you out.
IP addresses at .htaccess is good tho yes?ssl wrote: ↑Wed Sep 04, 2024 10:46 am We can never repeat enough that blocking IP addresses is useless and can be counterproductive, the solution to blocking bad bots is here in this subject: viewtopic.php?p=16006000#p16006000
Thank you for this, as I just had an attack by that bot tonight. This fixed it.P_I wrote: ↑Thu Mar 28, 2024 6:00 pm This definitely seems like a new one and I'm seeing many instances on my boards.
What does your.htaccess
do withbad_bot
?
Here's the tail end of mine that denies anything defined as bad_botCode: Select all
# 28-Mar-24, P_I, another one to banish BrowserMatchNoCase "claudebot" bad_bot Order Deny,Allow Deny from env=bad_bot
8G is very good so I use it, but it does not block this bot. I decided to block Claudebot with a different set of lines separate from that, the same code that P_I uses, since I do not feel skilled enough to tamper with 8G itself.HiFiKabin wrote: ↑Thu Mar 28, 2024 6:00 pm The Block Bad Bots HTACCESS I have on my extensions board might block it as it is, and/or you can add Claudebot to the list of blocked bots
You just add any bot (Claudbot included) in the same way as all of the other listed bots. eg within the[Dimetrodon] wrote: ↑Sun Sep 08, 2024 1:05 am 8G is very good so I use it, but it does not block this bot. I decided to block Claudebot with a different set of lines separate from that, the same code that P_I uses, since I do not feel skilled enough to tamper with 8G itself.
# 8G:[USER AGENT]
Code: Select all
RewriteCond %{HTTP_USER_AGENT} (checkpriv|cheesebot|cherrypick|chinaclaw|choppy|clshttp|cmsworld|copernic|copyrightcheck|cosmos|crescent|datacha|(\b)demon(\b)|diavol|discobot|dittospyder) [NC,OR]
Code: Select all
|choppy|
Code: Select all
ClaudeBot|
# 8G:[USER AGENT]
, but keeping them in alphabetical order makes it easy to find at a later date if you needed to )