mirror of
https://github.com/jason5ng32/MyIP.git
synced 2026-11-04 08:55:47 +00:00
New /api/asn-connectivity returns a layered graph of upstream paths from the origin AS toward Tier 1 ISPs (bgp.tools-style). Rendered via dagre + SVG with Manhattan routing and an expand-into-dialog action. Backend is fully offline. Two new local snapshots: - common/as-org-db CAIDA as2org (ASN → org name) - common/as-rel-db CAIDA as-rel2 (p2c relationships, Tier 1 set) common/caida-updater handles bootstrap + periodic refresh for both datasets in one vendor-scoped file, mirroring maxmind-updater. New common/decompress unifies gzip / bzip2 stream decompression so future formats are one switch case rather than a new dependency per updater. Tier 1 membership is derived from CAIDA (no providers + customer cone >= 100), replacing the hand-rolled list. Origins that are themselves Tier 1 are flagged so the frontend can render a combined origin+Tier 1 box. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>