Zero shared mutable state, no I/O -- behavior-preserving, verified via the smoke-test harness (28/28 endpoints match baseline). - server/data/*: CITY_COORDS, RIR_DELEGATION_URLS, TIER1_ASNS, IX_CITY_MAP, RIR country-code sets, UA constant - server/aspa-verification/engine.js: the RFC ASPA verification engine (hopCheck, verifyUpstream, verifyDownstream, detectValleys, etc.) - server/resilience-score.js, server/route-leak.js: pure scoring/heuristic functions server.js: 6838 -> 6454 lines. Part of the module-split plan at ~/.claude/plans/linked-riding-newell.md.
27 lines
608 B
JavaScript
27 lines
608 B
JavaScript
// Tier-1 ASN Set (used for route leak heuristics)
|
|
const TIER1_ASNS = new Set([
|
|
174, // Cogent
|
|
209, // CenturyLink/Lumen
|
|
286, // KPN
|
|
701, // Verizon/UUNET
|
|
702, // Verizon
|
|
1239, // Sprint
|
|
1273, // Vodafone
|
|
1280, // Internet Systems Consortium
|
|
1299, // Arelion (Telia)
|
|
2914, // NTT
|
|
3257, // GTT
|
|
3320, // Deutsche Telekom
|
|
3356, // Lumen (Level3)
|
|
3491, // PCCW
|
|
5511, // Orange
|
|
6453, // TATA
|
|
6461, // Zayo
|
|
6762, // Telecom Italia Sparkle
|
|
7018, // AT&T
|
|
7473, // SingTel
|
|
12956, // Telxius
|
|
]);
|
|
|
|
module.exports = { TIER1_ASNS };
|