Giter Club home page Giter Club logo

ips's Issues

最新的版本转存退不出循环

最新的 0.2.3 版本在使用 ips dump -i zxipv6wry.db -o ipv6.txt 命令来转存 zxipv6wry.db 时,会一直循环转存,退不出来。从转存输出的txt中也可以看到,同一条IPv6段会重复非常多次。

并且,很多网段的输出有问题,随便列举一段:

2001:288:1300::/48      **    **省  台北市  士林区,,,兰雅国民小学
2001:288:1301::/120     **    **省  台北市  士林区,,,兰雅国民小学

很明显,2001:288:1301::/120属于2001:288:1300::/48,不应该把2001:288:1301::/120输出来才对啊。

平台:debian
使用的包:https://github.com/sjzar/ips/releases/download/v0.2.3/ips_v0.2.3_linux_amd64.tar.gz

dump qqwry.ipdb 出错

我在 dump https://github.com/metowolf/qqwry.ipdbqqwry.ipdb 时遇到了错误

.\ips.exe dump -i .\qqwry.ipdb --loglevel debug

# Dump Time: 2024-05-16 21:41:09
# Fields: country_name,region_name,city_name,owner_domain,isp_domain
# IP Version: 1
# Meta: {"MetaVersion":1,"Format":"ipdb","IPVersion":1,"Fields":["country_name","region_name","city_name","owner_domain","isp_domain"],"FieldAlias":{"city":"city_name","country":"country_name","isp":"isp_domain","province":"region_name"}}
time="2024-05-16T21:41:09+08:00" level=debug msg="StandardDumper Dump2() failed data is not exists" file="dumper.go:121"
time="2024-05-16T21:41:09+08:00" level=debug msg="dumper.Dump error: data is not exists" file="pack.go:93"
time="2024-05-16T21:41:09+08:00" level=fatal msg="data is not exists" file="cmd_dump.go:72"

我也尝试了修改 dump 的 Fields,错误依旧相同。

另外非常感谢您开发出了这么惊艳的工具,感谢您的努力!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.