[analog-help] Re: Analog-GeoIP and DNS lookup combat.

Klaus Johannes Rusch KlausRusch at atmedia.net
Mon Apr 21 02:04:04 PDT 2008


ravikumar at staff.ownmail.com wrote:
> Hey guys,
>               You all are very-much aware that Analog is a web log 
> analyzer.So I think it is of very interest that people from which 
> region of world has accessed your site. GeoIP resolution has it's own 
> significance if you are dealing with some professional stuff.
>              I want to make clear that ,those who are interested in 
> Browser-report or OS-report should not follow this patch.
>              After thinking over every possible way I choose to 
> replace OS-report and Browser-report with GeoIP-report. "Aengus" 
> suggested to use DNS look-up for GeoIP resolution as alternate and 
> easy way but, the problem with it is that it affects the following 
> reports and you probably would have to sacrifice all of them.
If you only want the basic geographic mapping and do not require 
hostname statistics, there is an easy solution for getting Analog to 
report countries instead of hostnames: run a local nameserver that 
queries Geo::IP instead of DNS. Sample code is available at 
<URL:http://www.atmedia.net/KlausRusch/projects/geoipnamed.html>, 
extending this to return country and other information in a hierarchical 
format shouldn't be too hard.

-- 
Klaus Johannes Rusch
KlausRusch at atmedia.net
http://www.atmedia.net/KlausRusch/



More information about the analog-help mailing list