Geolocation is a complex feature. Can you be more specific about what you want? Do you want to get the geolocation of any message you receive?
I also suggest to take a look at this plugin:
https://ww.wp.xz.cn/plugins/cf-geoplugin/
Thanks for that tip, @a2hostingrj. I am now trying it.
Like so many of us, I am plagued by the countless demented R. Soles who try Brute Force and other attacks, scams and other nefarious nonsense. Geolocation is one way of flagging and/or blocking possible/probable hacks.
And all this is on top of the countless phone calls I get daily from ‘The Microsoft’ about a ‘wirus’, from claims people about an accident somebody had in the last 3 years, from BT saying my internet is about to be cut off (haven’t touched BT or a BT cable for decades!), Amazon about my Prime being renewed at a cost of million ‘dollars’ a month unless I unsubscribe, E Bay about an overcharge for something I never bought etc etc.
In short, I am becoming desperate to automate as much filtering as possible in everything. For a start, there are certain countries’ IP addresses I’d like to simply block entirely.I’m sure you know the ones I mean.
Unless and until some central authority acts to stop this rot, these are the only ways we can keep the internet alive – if not to say ALL electronic means of communication.
>> In short, I am becoming desperate to automate as much filtering as possible in everything. For a start, there are certain countries’ IP addresses I’d like to simply block entirely.<<
On my VPS I do this via iptables. However, if you don’t have that level of access to your server, there are a number of plugins that can block ranges of IP addresses that cover entire countries.
On my VPS I do this via iptables. However, if you don’t have that level of access to your server, there are a number of plugins that can block ranges of IP addresses that cover entire countries.
Yes, thanks Steven, I can do that and sadly it will come to that very soon fo certain countries. But in any event, just knowing that somebody is using an IP address in a ‘questionable’ location can be used to flag their contacts with a view to blocking them if necessary. That is why my prime interest is a slick and simple geolocation device on as much oncoming traffic as possible. I’d like to do the same for emails but for now its my WP I need to attend to here.
Gosh! I wish there was an edit function here so I could correct my blooming typos. Forgive me.
For what it’s worth, here’s my drop list from iptables. It’s based on a year or so of WordFence logs.
https://paste.centos.org/view/ad772dd7