5 Commits

Author SHA1 Message Date
Matthias Pigulla
5627f2aaa9 %a should refer to the client address, not the peer address of the connection. Also make sure %{c}a remains the unmasked peer address. 2015-10-04 21:59:51 +02:00
Matthias Pigulla
1c88793b88 Merge branch 'apache_2_2' 2015-08-15 16:11:41 +02:00
Matthias Pigulla
f18496153b Remove forced mask for the last byte
That way, you can use %{32}a or %{32}h in log format directives to get *full* IP addresses
if you need to do so.

The default still is to mask the last byte. That is, installing this module and keeping
%a or %h placeholders in log format definitions unchanged will automatically switch to
logging masked IP addresses.
2015-08-15 16:08:49 +02:00
root
f04ad74433 Fix for Apache 2.4 API change (http://httpd.apache.org/docs/2.4/developer/new_api_2_4.html) 2015-08-14 17:16:35 +02:00
Matthias Pigulla
e972b8e7e8 Import upstream code for Apache 2.2 as found on https://www.saechsdsb.de/ipmask 2015-08-14 13:32:11 +02:00