/ Zope / Apsis / Pound Mailing List / Archive / 2011 / 2011-08 / Log only anonymized IP addresses

[ << ] [ >> ]

[ Pound DNS and TCP Proxy / Load Balancing / Mark ... ] [ Re: [Pound Mailing List] Log only anonymized IP ... ]

Log only anonymized IP addresses
Christian Doering <christian.doering(at)comfortticket.de>
2011-08-31 13:39:36 [ FULL ]
Hello,

is there a way to write IP addresses only anonymizied to the logfile(s)?
I would like to implement this to comply to german telecommunication
laws. Altering the last byte (to 0 i.e.) would suffice. Or setting it to
the loopback IP (like the apache module removeip does).

The proxy runs without any problem, I don't need the client IP for
debugging, blocking or billing. But turning logging off completely
doesn't seem a good idea either.

Thanks in advance,
Christian Doering

Re: [Pound Mailing List] Log only anonymized IP addresses
Dave Steinberg <dave(at)redterror.net>
2011-08-31 14:22:46 [ FULL ]
On 8/31/2011 7:39 AM, Christian Doering wrote:[...]

Pound doesn't support this natively, but your syslog package might. 
There are anonymizing modules for rsyslog and syslog-ng, though I 
haven't tried them personally.

Regards,[...]

MailBoxer