Ban ip address

Get help with installation and running phpBB 3.3.x here. Please do not post bug reports, feature requests, or extension related questions here.
NormNM
Registered User
Posts: 65
Joined: Sat Sep 18, 2010 7:00 pm

Ban ip address

Post by NormNM »

This is not really a fault. But the forum is being hit every few minutes from the same place (Hong Kong), 24 hours a day and it is messing up the number of views a post has, all now very high and not really true.

How can this be stopped? Can a part of an ip address be banned? Or any other way of stopping it?
Last edited by Mick on Wed Mar 06, 2024 9:16 am, edited 1 time in total.
Reason: Solved.
User avatar
KevC
Support Team Member
Support Team Member
Posts: 72541
Joined: Fri Jun 04, 2004 10:44 am
Location: Oxford, UK

Re: Ban ip address

Post by KevC »

You're probably better off asking your hosts to block it at the server level.

You can ban IPs in the users and groups tab.
You can block whole groups of IPs with a wildcard 123.45.* for instance. Just be careful though because they're not necessarily country specific and they can be bypassed with a VPN.
-:|:- Support Request Template -:|:-
Image
"Step up to red alert. Sir, are you absolutely sure? It does mean changing the bulb"
NormNM
Registered User
Posts: 65
Joined: Sat Sep 18, 2010 7:00 pm

Re: Ban ip address

Post by NormNM »

Cheers, Thanks for the information.
ukautoforums
Registered User
Posts: 96
Joined: Thu Mar 02, 2017 10:00 am

Re: Ban ip address

Post by ukautoforums »

Is it a bot?

I've got some rules in htaccess to block ones that were slowing my site down. I also use cloudflare and blocked countries.

BrowserMatchNoCase "libwww-perl" bad_bot
BrowserMatchNoCase "wget" bad_bot
BrowserMatchNoCase "LieBaoFast" bad_bot
BrowserMatchNoCase "Mb2345Browser" bad_bot
BrowserMatchNoCase "zh-CN" bad_bot
BrowserMatchNoCase "MicroMessenger" bad_bot
BrowserMatchNoCase "zh_CN" bad_bot
BrowserMatchNoCase "Kinza" bad_bot
BrowserMatchNoCase "Bytespider" bad_bot
BrowserMatchNoCase "Baiduspider" bad_bot
BrowserMatchNoCase "Sogou" bad_bot
BrowserMatchNoCase "Datanyze" bad_bot
BrowserMatchNoCase "AspiegelBot" bad_bot
BrowserMatchNoCase "adscanner" bad_bot
BrowserMatchNoCase "serpstatbot" bad_bot
BrowserMatchNoCase "spaziodat" bad_bot
BrowserMatchNoCase "undefined" bad_bot
BrowserMatchNoCase "PetalBot" bad_bot
BrowserMatchNoCase "trendictionbot" bad_bot
BrowserMatchNoCase "SEMrushbot" bad_bot
BrowserMatchNoCase "AhrefsBot" bad_bot
Order Deny,Allow
Deny from env=bad_bot

User-agent: SEOkicks
Disallow: /
User avatar
warmweer
Jr. Extension Validator
Posts: 11623
Joined: Fri Jul 04, 2003 6:34 am
Location: Van Allen Bel ... gium

Re: Ban ip address

Post by warmweer »

Wouldn't it be an option to make a custom group for those bots : based on user_agent, and lots of NEVERs for group forum permissions?
Spelling is freeware, which means you can use it for free.
On the other hand, it is not open source, which means you cannot change it or publish it in a modified form.


Time flies like an arrow, but fruit flies like a banana.

Return to “[3.3.x] Support Forum”