anonip 1.1.0 Anonymize IP addresses in log files
Anonip masks the last bits of IPv4 and IPv6 addresses in log files. That way most of the relevant information is preserved, while the IP address does not match a particular individuum anymore.
Depending on your Web server, the log entries may be piped to Anonip directly or via a FIFO (named pipe). Thus the unmasked IP addresses will never be written to any file.
It's also possible to rewrite existing log files.
Anonip can also be uses as a Python module in your own Python application.