Add country code to blocked IP in CMC log

Post Reply
Sergio
Junior Member
Posts: 1430
Joined: 12 Dec 2006, 14:56

Add country code to blocked IP in CMC log

Post by Sergio »

Hi Jonathan / Sarah,
what file may I have to tweak in order to have the country code with IP on the CMC log?

It will be great to have the IP and 2 letter country code, so, in a glance we can see what country that IP belongs to.

If it is not possible to add it to the script, may I can have the command to add it myself?

Thanks a lot in advance.

Regards,

Sergio
ForumAdmin
Moderator
Posts: 1483
Joined: 01 Oct 2008, 09:24

Re: Add country code to blocked IP in CMC log

Post by ForumAdmin »

There is no cmc log as such - cmc simply uses the Apache ModSecurity output log and presents that in html format. There is no functionality in cmc to do CC lookups and considering the work required for what is a small part of what cmc is for (primarily a way to add ModSecurity exceptions), it's not something we are looking to implement.
Sergio
Junior Member
Posts: 1430
Joined: 12 Dec 2006, 14:56

Re: Add country code to blocked IP in CMC log

Post by Sergio »

Thanks for replying.

Regards,

Sergio
Post Reply