Hi,
I'm very happy to announce the long planned Apache module, which is able
to set CountryCode and Anonymized IPv4/IPv6 address in environment and
this can be used for logging.
With this module it is possible to replace the client IP address by the
anonymized one in access log (not in error log btw.), e.g.
a909:16fa:9092:23ff:a909:4941::7 "DE" - [30/May/2015:18:14:59 +0200]
"GET / HTTP/1.1" 403 4609 "-" "curl/7.40.0"
127.0.0.0 "-" - [30/May/2015:18:15:02 +0200] "HEAD / HTTP/1.0" 403 - "-" "-"
Source: subdirectory "mod_ipv6calc" in latest CVS, see also the default
configuration for Apache "ipv6calc.conf" and the "README.mod_ipv6calc"
Tested on Apache 2.2 and 2.4.
It's my first Apache module, so it can have some issues still - avoid it
to use this inital version on production systems until it gets stabilized...
Regards,
Peter