1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
|
$Id: 5d35ac59733b0e774e5da52acb811c60bb1561c2 $
File: ipv6calc/ipv6calc
see docs/ipv6calc.html for more
Example for IP2Location information:
$ ./ipv6calc/ipv6calc --db-ip2location-ipv4 /path/to/IP-COUNTRY-SAMPLE.BIN -q -m -i 66.1.2.3
IPV4=66.1.2.3
IPV4_REGISTRY=ARIN
IP2LOCATION_COUNTRY_SHORT=US
IP2LOCATION_COUNTRY_LONG=UNITED STATES
IP2LOCATION_REGION=This parameter is unavailable for selected data file. Please upgrade the data file.
IP2LOCATION_CITY=This parameter is unavailable for selected data file. Please upgrade the data file.
IP2LOCATION_ISP=This parameter is unavailable for selected data file. Please upgrade the data file.
IP2LOCATION_LATITUDE=0.000000
IP2LOCATION_LONGITUDE=0.000000
IP2LOCATION_DOMAIN=This parameter is unavailable for selected data file. Please upgrade the data file.
IP2LOCATION_ZIPCODE=This parameter is unavailable for selected data file. Please upgrade the data file.
IPV6CALC_NAME=ipv6calc
IPV6CALC_VERSION=0.52cvs
IPV6CALC_COPYRIGHT="(P) & (C) 2001-2006 by Peter Bieringer <pb (at) bieringer.de>"
pipe mode:
$ cat /proc/net/if_inet6 | awk '{ print $1 " " $3 }' | ./ipv6calc --ifinet6_to_compressed
File: ipv6calcweb/ipv6calcweb.cgi
see ipv6calcweb/USAGE for more
File: ipv6logconv/ipv6logconv
see examples/analog/run_analog.sh for more
File: ipv6loganon/ipv6loganon
see ipv6loganon/README for more
File: ipv6logstats/ipv6logstats
see ipv6logstats/example* for more
|