diff --git a/deploy/public/index.html b/deploy/public/index.html
index 80b53a7..2756306 100644
--- a/deploy/public/index.html
+++ b/deploy/public/index.html
@@ -483,9 +483,9 @@ a{color:var(--blue);text-decoration:none;transition:color .2s}a:hover{color:var(
bgp.he.net ·
bgproutes.io ·
RIPE DB ·
- RPKI
+ Cloudflare RPKI
- PeerCortex v0.4.0 — Open Source — MIT License
+ PeerCortex v0.5.0 — Open Source — MIT License
PaperCortex ·
PeerCortex GitHub
@@ -653,11 +653,16 @@ function renderAspa(d) {
h += '
| Provider | Name | Seen in Paths | Frequency |
|---|---|---|---|
| ' + asnLink(p.asn) + ' | '; var provName = (p.name && p.name !== 'AS' + p.asn) ? escHtml(p.name) : ''; diff --git a/deploy/server.js b/deploy/server.js index 7af18f0..4b79e9c 100644 --- a/deploy/server.js +++ b/deploy/server.js @@ -23,7 +23,7 @@ try { const BGPROUTES_API_KEY = process.env.BGPROUTES_API_KEY || ""; const BGPROUTES_API_URL = process.env.BGPROUTES_API_URL || "https://api.bgproutes.io/v1"; -const UA = "PeerCortex/0.4.0 (https://github.com/renefichtmueller/PeerCortex)"; +const UA = "PeerCortex/0.5.0 (https://github.com/renefichtmueller/PeerCortex)"; // ============================================================ // Task 6: In-memory cache with TTL + Rate Limiting @@ -56,6 +56,70 @@ const CACHE_TTL_ASPA = 10 * 60 * 1000; // 10 minutes const CACHE_TTL_NEWS = 10 * 60 * 1000; // 10 minutes const CACHE_TTL_DEFAULT = 5 * 60 * 1000; // 5 minutes +// ============================================================ +// RPKI ASPA Cache from Cloudflare RPKI JSON feed +// ============================================================ +const rpkiAspaMap = new Map(); // customer_asid -> Set