Closed thrtnastrx closed 6 months ago
Hey @thrtnastrx,
There are two problems there, first of all the counter was broken (doh) - the script is actually past the last prefix, and into the additional INETNUM lookup stage.
The main problem though, is that it takes a very long time to parse all (almost 2k) additional IPv4 prefixes that are allocated to AS33667 but announced by other ASNs.
I've fixed the counter and status bar message, and added an option (-n) to skip the additional INETNUM lookup altogether. Please see if this (invoked with asn -n 33667
) fixes your issue. If you invoke it as asn 33667
it should still be a long process, but now it should correctly report what it's doing that takes so long to complete.
Thanks for reporting!
Hey it worked! Thanks for the quick fix!
On Feb 9, 2024, at 2:31 PM, Adriano @.***> wrote:
Hey @thrtnastrx https://github.com/thrtnastrx,
There are two problems there, first of all the counter was broken (doh) - the script is actually past the last prefix, and into the additional INETNUM lookup stage. The main problem though, is that it takes a very long time to parse all (almost 2k) additional IPv4 prefixes that are allocated to AS33667 but announced by other ASNs. I've fixed the counter and status bar message, and added an option (-n) to skip the additional INETNUM lookup altogether. Please see if this https://github.com/nitefood/asn/blob/skip-additional-inetnums/asn (invoked with asn -n 33667) fixes your issue. If you invoke it as asn 33667 it should still be a long process, but now it should correctly report what it's doing that takes so long to complete.
Thanks for reporting!
— Reply to this email directly, view it on GitHub https://github.com/nitefood/asn/issues/57#issuecomment-1936689636, or unsubscribe https://github.com/notifications/unsubscribe-auth/AM3Z7XMUFXCYN43U4CDJL4TYS2PUFAVCNFSM6AAAAABDANZK4SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMZWGY4DSNRTGY. You are receiving this because you were mentioned.
On my Mac installed asn via brew, it doesn't matter which asn or or subnet I query, it always get's stuck on the last prefix forever. See attached image.![2024-02-08_13-04-31](https://github.com/nitefood/asn/assets/53977053/be124555-e4ef-4667-be72-ed3ecff37dcd)