issues
search
eldy
/
AWStats
AWStats Log Analyzer project (official sources)
https://www.awstats.org
369
stars
120
forks
source link
Clean up geoip2 and geoip2 city modules
#131
Closed
manuelm
closed
5 years ago
manuelm
commented
5 years ago
Correctly resolve dns names to ip4 and ip6 addressed using getaddrinfo (fixes #120, #121, obsoletes #115)
Only lookup if the IP is of type public (fixes #122) and catch further lookup errors (obsoletes #123)
Store and display the GeoIP City output HTML escaped (fixes #127)
Consolidate code which performs and caches the actual lookup
General code and readability improvement