libapache2-mod-scramble-ip 0.2

libapache2-mod-scramble-ip in an Apache module that encrypts IPs in the apache-server.
libapache2-mod-scramble-ip in an Apache module that encrypts IPs in the apache-server in a way, that you can still work with them (for analytics etc.) but its not possible to find out the original IP.

If you do not like to or if you are not allowed to save IPs of your website-visitors, you just could disable IP-logging or use mod_removeip. But you will not be able to keep track of "unique website visitors" on your pages.

mod_scamble_ip solves this issue, by encrypting IP-addresses on the fly directly in the apache-worker threads. The encrypted IPs will still look like IPs, so your applications should not run into format-issues.

On linux, the module is pretty fast. On other OSes, the apache-start could last longer since we need to gernate random characters. (on Linux, the module just uses /dev/urandom, which is fast)


Apache 2


This module works ONLY for Apache2 !!!

- unpack
- look into makefile, check path to apxs2 (included into apache2-dev...)
- make
- make install

Copy into your apache2-configuration:

LoadModule scramble_ip_module /usr/lib/apache2/modules/
< IfModule scramble_ip_module >
ScrambleIPenable On
# ScrambleIPpassword Example1234567890
< /IfModule >

"ScrambleIPenable" needs to be set to "on" to let the module start working

"ScrambleIPpassword" sets a fix password for encryption. Please do not set it, as your IP's could be de-crypted. If you do not set it the module will generate a random password for you on start of apache. As soon as you restart apache, a new password will be generated.

last updated on:
July 10th, 2008, 10:52 GMT
license type:
The Apache License 2.0 
developed by:
Georgios Papoutsis
ROOT \ Internet \ HTTP (WWW)
Download Button

In a hurry? Add it to your Download Basket!

user rating 15



Rate it!

Add your review!