2013-06-30 23:51:49 +08:00
|
|
|
ipv6calc is a small utility written in C to manipulate (not only) IPv6
|
|
|
|
addresses. It converts a given IPv6 address into compressed format, or
|
|
|
|
into the same format shown in /proc/net/if_inet6.
|
2017-04-23 17:21:38 +08:00
|
|
|
|
2011-07-04 01:48:38 +08:00
|
|
|
This utility was also used in the past to extend features on
|
|
|
|
network-functions-ipv6 library, used by initscripts-ipv6.
|
|
|
|
|
2018-05-08 22:02:16 +08:00
|
|
|
In addition to its internal databases, ipv6calc supports several
|
|
|
|
external databases. The following build options may be used to include
|
|
|
|
support for these:
|
2011-07-04 01:48:38 +08:00
|
|
|
|
2018-05-08 22:02:16 +08:00
|
|
|
IP2LOCATION=yes Enable IP2Location support (requires ip2location-c)
|
|
|
|
GEOIP=yes Enable GeoIP support (requires GeoIP)
|
2019-12-15 10:36:35 +08:00
|
|
|
GEOIP2=yes Enable GeoIP2 support (requires libmaxminddb)
|
2018-05-08 22:02:16 +08:00
|
|
|
EXTERNAL=yes Enable external db support
|
2011-07-04 01:48:38 +08:00
|
|
|
|
2018-05-08 22:02:16 +08:00
|
|
|
where each build option is passed to the slackbuild. Example of
|
|
|
|
enabling the IP2Location and GeoIP external database:
|
|
|
|
|
|
|
|
IP2LOCATION=yes GEOIP=yes ./ipv6calc.SlackBuild
|
|
|
|
|
|
|
|
The ipv6calc Apache module can be built by passing MOD_IPV6CALC=yes to
|
|
|
|
the slackbuild as:
|
|
|
|
|
|
|
|
MOD_IPV6CALC=yes ./ipv6calc.SlackBuild
|