.TH "ipv6loganon" "8" "0.99.0" "Peter Bieringer " "system tools" .SH "NAME" ipv6loganon \- HTTP server log file anonymizer .SH "SYNOPSIS" cat /var/log/httpd/access_log | \fBipv6loganon\fR [\fIOPTIONS\fR] .SH "DESCRIPTION" This program anonymizes IPv4/IPv6 addresses in HTTP server log files Takes data from stdin, proceed it to stdout Depending on the anonymization method, address parts (prefix/interface identifier) are .TP simply \fBzeroized\fR by given masks .TP \fBanonymized\fR by zeroizing only required bits (partially depending on given masks) IID: EUI\-48/64: serial number would be zero'ed, keeping OID ISATAP: client IPv4 address would be anonymized by given IPv4 mask TEREDO: client IPv4 address would be anonymized by given IPv4 mask, client port would be zero'ed 6to4(Microsoft): client IPv4 address would be anonymized by given IPv4 mask local: whole IID would be zero'ed (except if privacy extension was detected, then replaced by a special token) Prefix: IPv6 addresses including IPv4 address of client would be anonymized by given IPv4 mask .PP .TP anonymized by try to keep for IPv4 and IPv6 addresses (\fBkeep\-type\-asn\-cc\fR) \fBtype\fR of address Autonomous System Number (\fBASN\fR) Country Code (\fBCC\fR) This method requires an IPv4/IPv6 to Country Code and ASN resolution, provided by GeoIP Big advantage: ipv6logstats(8) result should be the same as with raw data Anonymized IPv4 addresses are from experimental range \fB240.0.0.0/8\fR Anonymized IPv6 addresses are using (currently hijacked) prefix \fBa909::/16\fR Anonymized IPv6 IID is starting with \fBa9x9\fR (x = anonymized nibbles of SLA) .SH "OPTIONS" .LP General options: .TP \fB[\-d|\-\-debug \fIDEBUGVALUE\fR\fB]\fR : debug value (bitwise like) can also be set by IPV6CALC_DEBUG environment value .TP \fB[\-v|\-\-version [\-v [\-v]]]\fR : version information (2 optional detail levels) .TP \fB[\-v|\-\-version \-h]\fR : explanation of feature tokens or to the authors. .br Homepage: http://www.deepspace6.net/projects/ipv6calc.html .SH "COPYRIGHT" GPLv2 .SH "AUTHORS" Peter Bieringer