Hi,
new version 0.99.1 was released today.
This version is an enhancement and bugfix release.
In addition this should be now probably the
*feature-complete release before 1.0.0*
(in case anyone is still missing a major feature, please send a note)
Enhancements:
mod_ipv6alc (NEW)
=================
Apache module which is able (depending on options and available
databases) to set following environment variables:
IPV6CALC_CLIENT_IP_ANON anonymized IP address
IPV6CALC_CLIENT_COUNTRYCODE country code of IP address
IPV6CALC_CLIENT_ASN ASN of IP address
IPV6CALC_CLIENT_REGISTRY Registry of IP address
IPV6CALC_ANON_METHOD used anonymization method
which can be used in CustomLog option like e.g.
LogFormat "%{IPV6CALC_CLIENT_IP_ANON}e
\"%{IPV6CALC_CLIENT_COUNTRYCODE}e/%{IPV6CALC_CLIENT_ASN}e/%{IPV6CALC_CLIENT_REGISTRY}e/%{IPV6CALC_ANON_METHOD}e\"
%u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined_anon
CustomLog logs/access_anon_log combined_anon
Result:
a909:16fa:9092:23ff:a909:4291:40a0:271
"DE/8767/RIPENCC/keep-type-asn-cc" - [05/Sep/2015:09:36:28 +0000] "GET /
HTTP/1.1" 403 4897 "-" "curl/7.29.0"
Just note: it's my first Apache module, it can be that it is still not
production grade but seen no problems so far. For higher loads, a
LastRecentlyInserted caching is already implemented and active by default.
ipv6calc
========
add new action "convnat64" for related IPv4/IPv6 conversion
ipv6calc -A convnat64 192.0.2.1
64:ff9b::c000:201
ipv6calc -A convnat64 64:ff9b::c000:201
192.0.2.1
add new action: --6rd_extract_ipv4
+ new option: --6rd_prefixlength <num>
add support for IPv4/IPv6 address/mask filtering for option -E
$ echo "192.0.2.1" | ./ipv6calc -E ipv4.addr=192.0.2.0/24
192.0.2.1
$ echo "192.0.2.1" | ./ipv6calc -E ipv4.addr=192.0.1.0/24
(empty)
database layer
==============
Implement some LastUsed caching
Bugfixes: various, see ChangeLog and diff
Source Package and signature files can be found here:
ftp://ftp.bieringer.de/pub/linux/IPv6/ipv6calc/
ftp://ftp.deepspace6.net/pub/ds6/sources/ipv6calc/
they are signed with GPG/PGP key, available here:
ftp://ftp.bieringer.de/pub/linux/IPv6/ipv6calc/CODE-GPG-KEY-bieringer.de-2013
Key fingerprint: AAB3 8CB7 97C7 50C7 78C6 08C6 DDEB 141D F738 0F61
uid: Peter Bieringer (Code Signing Key 2013) <code(a)bieringer.de>
RPMs for EPEL (6-7) / FedoraProject (22+) are on the way into testing
repos and approx. 1 week (FedoraProject) or 2 weeks (EPEL) in stable,
meanwhile they can pulled from here:
http://koji.fedoraproject.org/koji/packageinfo?packageID=366https://admin.fedoraproject.org/pkgdb/package/ipv6calc/https://admin.fedoraproject.org/updates/ipv6calc
RPMs for EPEL 5 can be pulled from koji:
http://koji.fedoraproject.org/koji/taskinfo?taskID=10965908
Have fun!
Peter