Welcome! Log In Create A New Profile

Advanced

Re: Encrypt the $remote_addr in log files

August 28, 2010 06:50AM
On Sat, Aug 28, 2010 at 2:39 PM, Dimitri Roschkowski <dr@rootix.de> wrote:
> Hi, I want to give the user of my websites more privacy. Well – I just need
> the logs for debugging and some statistics. So I don’t need to save the real
> users IP address, but I need some kind of identifier string to separate
> users (like I do with IP addresses now). My idea is to just run md5 on the
> IP address, so I get a unique string for every IP address.
>
> On the http://wiki.nginx.org/NginxHttpLogModule LogModule page in the Nginx
> Wiki I couldn’t find all variables, I can use in the log files. So is there
> a build in feature to encrypt the IP address or do I have to write my own
> (small) module to get this feature?
You can use built-in perl to hash variables.

--
Boris Dolgov.

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

Encrypt the $remote_addr in log files

Dimitri Roschkowski August 28, 2010 06:44AM

Re: Encrypt the $remote_addr in log files

Boris Dolgov August 28, 2010 06:50AM

Re: Encrypt the $remote_addr in log files

Maxim Dounin August 28, 2010 07:14PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 170
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready