Files
MyIP/api
jason5ng32andClaude Opus 4.7 bb0465a220 Feat(ip-info): ASN upstream connectivity graph from CAIDA data
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>
2026-05-13 16:17:21 +08:00
..
2026-04-19 08:24:49 +08:00