/uip

universal ip database query, dump, convert

Primary LanguageGoApache License 2.0Apache-2.0

universal IP query/dump/pack library

Support for IPv4, IPv6 Support Format: awdb, ipdb, plain text Support Language: Go, Java, Rust

Convert Format

the source format need support dump, the target format need support pack

convert export rule: : <default fields>[|<rule1>:<only fields>|<rule2>:<only fields>]
if rule start with "!", it means not match
the rule condition can be use / to split, it means or
example: "country,province,city,isp,asn,continent,district|country=!**:country,continent|province=**/****:country,province,continent,district"
convert example:
./cv -i ~/practice/dataset/ipv4.awdb -o new.scan[,new.ipdb]
the command can output multi fomat, the format is split by ",", the scan is text format for diff version update.