White list of IP addresses or ranges?
-
Hi there,
I was wondering if there is way to configure some IP addresses or ranges to be always accepted.
On my configuration, US country is blocked but I have WordFence plugin and its scanner won’t work because the scan depends on the WordFence’s servers, which are in US range.
US is a constant source of attacks and malware for me, my site have no English version and I have no business in US, hence I really would like to keep US blocked, but I also wanted for the WordFence scanner to work. WordFence servers have a fixed list of IP addresses, hence if I could whitelist those IPs I would be to achieve the desired configuration.
As a matter of fact, I am white listing only my own country, so all others are blocked. Now, I have to also white list US, which creates an unnecessary exposure for me.
If that’s not possible currently, it is a feature that could be incorporated in the future. If that’s to happen, I have some other complimentary suggestions that seems to fit together:
– If a white list of IP addresses is to be added, perhaps a black list could also be useful. I.e., allowing my country but black listing a list of known bad IPs. Even further, besides manual black listing, perhaps the plugin could also get lists of known bad IPs from the internet (ex.: iThemes Security plugin gets a list of bad IPs from HackRepair.com).
– Instead of blocking only some specific parts of WP, perhaps IP Geo Block plugin could offer an option to block the whole site as well. (ex.: iQ Block Country does that and offers an option to customize the response, if want to put a “friendly” page saying this website is not accessible from your country).
– If blocking of the whole site is possible, it may create a problem with search engine crawlers. A nice feature some plugins have is the detection of such crawlers and selective while list of them. I believe a simple check as referrer, reverse dns lookup and then forward dns lookup (to confirm it resolves to the same IP and the reverse was not faked) should be more than enough to believe the bots are from the search engines they claim to be. As an illustration, an analysis of the attacks I am under constantly shows that most malicious requests I received pretend to be from Bing crawler, but they all fail on such reverse dns validation.
Those are my two cents, thanks a lot for your time and effort in putting such a nice plugin in place for us. Keep up the good work!
For example, I am trying to block US co
- The topic ‘White list of IP addresses or ranges?’ is closed to new replies.