Based on prompting from a point made in this great article, I extended the System logging Known plugin that I wrote previously, to include a visual security log.
This log shows a user by user security log, showing login/logout and login failure attempts for each user’s account, plus a global log visible to the administrator. This provides a visual way for you to keep track of when, and from where, your account has been accessed, and hopefully give you tools to spot erroneous access attempts (for additional security you should totally check out my two factor authentication plugin as well).
This Article was mentioned on brid-gy.appspot.com
So, the other week I told you about the improvements to my access logging tool, which will now keep a user by user track of account activity.
This tool also makes a call to a GeoIP lookup hook, but until now remained unanswered. So, I wrote a quick tool that implements this GeoIP lookup hook using PHP’s built in geoip functions.
Once installed and configured (and the appropriate GeoIP database set up), this plugin will respond to any
geoip/lookup
event requests by looking up['ip' => '....']
and returning the a country.If installed along side LoginSyslog, you should start seeing the country listed along side the IP address!
» Visit the project on Github…
Thanks for visiting! If you’re new here you might like to read a bit about me.
(Psst… I am also available to hire! Find out more…)
Follow @mapkyca
!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?’http’:’https’;if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+’://platform.twitter.com/widgets.js’;fjs.parentNode.insertBefore(js,fjs);}}(document, ‘script’, ‘twitter-wjs’);
Share this:EmailLinkedInTwitterGoogleFacebookReddit