script:ip2location

Using the IP2Location Geo databases in Trisul Network Analytics

veera$ luajit compile_ip2loc.lua /tmp/trisul-ip2loc.level_0 /tmp
 
compile_ip2loc:  Compiling IP2LOCATION files in /tmp into the LevebDB dir/tmp/trisul-ip2loc.level_0
Processing /tmp/IP2LOCATION-LITE-ASN.CSV
/tmp/IP2LOCATION-LITE-ASN.CSV:Loaded 634445 subnets in 10 seconds. Mem usage = -0.1748046875 KB
Processing /tmp/IP2LOCATION-LITE-DB3.CSV
/tmp/IP2LOCATION-LITE-DB3.CSV:Loaded 3295083 subnets in 91 seconds. Mem usage = -0.244140625 KB
Processing /tmp/IP2PROXY-LITE-PX2.CSV
/tmp/IP2PROXY-LITE-PX2.CSV:Loaded 149319 subnets in 2 seconds. Mem usage = -0.244140625 KB
script/ip2location.txt · Last modified: 2018/05/21 13:23 by veera