{
  "format": "tdplugin/1",
  "manifest": {
    "id": "tangodown.bgp-neighbourhood",
    "name": "Netz-Nachbarschaft (BGP)",
    "name_en": "Network neighbourhood (BGP)",
    "version": "1.0",
    "description": "IP-Adresse, Domain oder Netzbetreiber (z.B. „AS3320“) → wer das Netz betreibt, welche Adressbereiche er noch hat, über wen er ans Internet angebunden ist (Upstream), wer an ihm hängt (Downstream), seit wann ein Bereich angekündigt wird, neu angekündigte Netze der letzten 30 Tage und an wen Missbrauch gemeldet wird. Rein passiv, ohne Schlüssel. Daten: RIPEstat (RIPE NCC).",
    "description_en": "IP address, domain or network operator (e.g. \"AS3320\") → who operates the network, which other ranges it has, who connects it to the internet (upstream), who is connected through it (downstream), since when a range has been announced, networks newly announced in the last 30 days and where to report abuse. Purely passive, no key. Data: RIPEstat (RIPE NCC).",
    "author": "TangoDown",
    "inputs": [
      "ip",
      "hoster",
      "domain",
      "company",
      "org",
      "topic",
      "note"
    ],
    "kind": "js",
    "main": "main.js",
    "timeout": 150,
    "icon": "🌐",
    "icon_svg": "icon.svg",
    "permissions": {
      "net": [
        "stat.ripe.net",
        "cloudflare-dns.com"
      ]
    }
  },
  "files": {
    "LICENSE.txt": "MIT License\n\nCopyright (c) 2026 Lars Stahl (TangoDown)\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n",
    "README.md": "# Netz-Nachbarschaft (BGP)\n\n*English below.*\n\nRechtsklick auf eine **IP-Adresse**, eine **Domain** oder einen **Hoster / Netzbetreiber** (z.B. „AS3320“ oder Feld `asn`) → **🌐 Netz-Nachbarschaft (BGP)**.\n\nJede IP-Adresse gehört zu einem Netzbetreiber mit einer Nummer (ASN). Betreiber verkünden über das Routing-Protokoll BGP, welche Adressbereiche sie erreichbar machen und über welche Nachbar-Netze der Verkehr läuft. Das Plugin macht diese Nachbarschaft sichtbar.\n\n## Was es liefert\n\n- **Zur IP bzw. Domain:** Netzbereich, Netzbetreiber, seit wann der Bereich angekündigt wird, wie viele Messpunkte ihn sehen, an wen Missbrauch gemeldet wird.\n- **Zum Betreiber:** wie viele IPv4- und IPv6-Netze er hat (mit Zahl der Adressen), welche in den letzten 30 Tagen neu angekündigt wurden (⚠ bei kleinen Betreibern auffällig).\n- **Nachbarn:**\n  - **Upstream** – über wen das Netz ins Internet kommt (die wichtigsten 5 als Hoster-Elemente)\n  - **Peers** – gleichrangige Partner, die direkt Verkehr austauschen\n  - **Downstream** – Netze, die über diesen Betreiber angebunden sind\n- **Notiz** mit allem, Lesehilfe und Link zu RIPEstat.\n\n## Wofür\n\n- Zu einer verdächtigen Server-IP die übrigen Netze desselben Betreibers finden.\n- „Bulletproof“-Hoster erkennen: kleine, neue Netze, die über wechselnde kleine Upstreams angebunden sind.\n- Sehen, ob eine Firma eigene Netze hat oder alles bei einem Cloud-Anbieter liegt.\n\n## Wichtig zur Einordnung\n\n- Routing zeigt, **wer ein Netz ankündigt** – nicht, wer einen Server nutzt. Alles sind Indizien.\n- Liegt eine Domain hinter einem CDN (z.B. Cloudflare), zeigen die Daten das Netz des CDN; das Plugin weist darauf hin.\n- Upstream, Peer und Downstream sind aus den beobachteten Routing-Pfaden abgeleitet und nicht immer eindeutig.\n\n## Rechte und Datenschutz\n\n- **Netz:** nur `stat.ripe.net` und `cloudflare-dns.com` (nur zum Auflösen einer Domain), HTTPS über das in TangoDown eingestellte Routing.\n- **Gesendet werden nur** IP, Netzbereich, AS-Nummer bzw. der Domainname. Keine Schlüssel, keine Dateien. Je Lauf höchstens 8 Abfragen.\n- **Daten:** RIPEstat (RIPE NCC), live bei jedem Lauf. Dieses Plugin ist kein Angebot des RIPE NCC.\n\n## Lizenz\n\nMIT – siehe `LICENSE.txt`.\n\n---\n\n# Network neighbourhood (BGP)\n\nRight-click an **IP address**, a **domain** or a **hoster / network operator** (e.g. \"AS3320\" or property `asn`) → **🌐 Netz-Nachbarschaft (BGP)**.\n\nEvery IP address belongs to a network operator with a number (ASN). Operators announce via the routing protocol BGP which address ranges they make reachable and through which neighbouring networks traffic flows. The plugin makes this neighbourhood visible.\n\n## What it returns\n\n- **For the IP or domain:** range, network operator, since when the range has been announced, how many vantage points see it, where to report abuse.\n- **For the operator:** how many IPv4 and IPv6 networks it has (with number of addresses), which were newly announced in the last 30 days (⚠ notable for small operators).\n- **Neighbours:**\n  - **Upstream** – through whom the network reaches the internet (the top 5 as hoster elements)\n  - **Peers** – equal partners exchanging traffic directly\n  - **Downstream** – networks connected through this operator\n- **Note** with everything, a reading guide and a link to RIPEstat.\n\n## What for\n\n- Find the other networks of the same operator for a suspicious server IP.\n- Spot \"bulletproof\" hosters: small, new networks connected via changing small upstreams.\n- See whether a company has its own networks or everything sits with a cloud provider.\n\n## How to read the results\n\n- Routing shows **who announces a network** – not who uses a server. Everything is an indication.\n- If a domain sits behind a CDN (e.g. Cloudflare), the data shows the CDN's network; the plugin points this out.\n- Upstream, peer and downstream are derived from observed routing paths and are not always clear-cut.\n\n## Permissions and privacy\n\n- **Network:** only `stat.ripe.net` and `cloudflare-dns.com` (only to resolve a domain), HTTPS via the routing set in TangoDown.\n- **Only** the IP, range, AS number or domain name **is sent**. No keys, no files. At most 8 requests per run.\n- **Data:** RIPEstat (RIPE NCC), live on every run. This plugin is not a RIPE NCC service.\n\n## Licence\n\nMIT – see `LICENSE.txt`.\n",
    "icon.svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n  <rect x=\"0.5\" y=\"0.5\" width=\"23\" height=\"23\" rx=\"5\" fill=\"#0c1524\"/>\n  <path d=\"M12 6.5L6 16.5M12 6.5l6 10M6 16.5h12M12 6.5v5.5M6 16.5l6-4.5 6 4.5\" stroke=\"#60a5fa\" stroke-width=\"1.2\" fill=\"none\"/>\n  <circle cx=\"12\" cy=\"6.5\" r=\"2.2\" fill=\"#3b82f6\" stroke=\"#bfdbfe\" stroke-width=\".8\"/>\n  <circle cx=\"6\" cy=\"16.5\" r=\"2\" fill=\"#1e3a5f\" stroke=\"#93c5fd\" stroke-width=\".8\"/>\n  <circle cx=\"18\" cy=\"16.5\" r=\"2\" fill=\"#1e3a5f\" stroke=\"#93c5fd\" stroke-width=\".8\"/>\n  <circle cx=\"12\" cy=\"12\" r=\"1.6\" fill=\"#fbbf24\"/>\n</svg>\n",
    "main.js": "// Netz-Nachbarschaft (BGP) – Plugin für TangoDown. Lizenz: MIT (siehe LICENSE.txt).\n// IP-Adresse, Domain oder Netzbetreiber (ASN) → wer betreibt das Netz, welche Adressbereiche hat er noch, über wen ist er\n// ans Internet angebunden (Upstream), wer hängt an ihm (Downstream), seit wann wird ein Bereich angekündigt, wie sichtbar\n// ist er, an wen gehen Missbrauchsmeldungen. Rein passiv: Daten aus dem RIPE NCC Routing Information Service (RIPEstat).\n// Gesendet werden nur IP, Netzbereich oder AS-Nummer (bei einer Domain zusätzlich der Name an den DNS-Dienst).\n\nconst RS = 'https://stat.ripe.net/data/'\nconst DOH = 'https://cloudflare-dns.com/dns-query?type=A&name='\nconst ATTR = 'RIPEstat (RIPE NCC)'\n\nlet EN = false\nconst T = (de, en) => (EN ? en : de)\nconst today = () => new Date().toISOString().slice(0, 10)\nconst day = (s) => String(s || '').slice(0, 10)\nconst num = (n) => Number(n || 0).toLocaleString(EN ? 'en-GB' : 'de-DE')\n\n/** RIPEstat-Abruf; berechnet RIPEstat ein Ergebnis zum ersten Mal, dauert das manchmal länger als die Frist – dann ein zweiter Versuch */\nasync function rs(call, resource, extra = '') {\n  const url = `${RS}${call}/data.json?resource=${encodeURIComponent(resource)}${extra}&sourceapp=tangodown`\n  let last\n  for (let i = 0; i < 2; i++) {\n    try {\n      const r = await td.fetch(url, { headers: { Accept: 'application/json' } })\n      if (r.status === 429) throw new Error(T('RIPEstat: zu viele Abfragen – bitte kurz warten', 'RIPEstat: too many requests – please wait'))\n      if (!r.ok) { last = new Error(`RIPEstat ${call}: HTTP ${r.status}`); continue }\n      const j = r.json()\n      return j && j.data ? j.data : null\n    } catch (e) { last = e }\n  }\n  throw last || new Error(`RIPEstat ${call}`)\n}\nconst soft = (p) => p.catch(() => null)\n\nconst ipOf = (s) => { const m = /\\b(\\d{1,3}(?:\\.\\d{1,3}){3})\\b/.exec(String(s || '')); return m && m[1].split('.').every((x) => +x <= 255) ? m[1] : '' }\nconst ip6Of = (s) => { const m = /\\b([0-9a-f]{1,4}(?::[0-9a-f]{0,4}){2,7})\\b/i.exec(String(s || '')); return m && m[1].includes('::') || (m && m[1].split(':').length >= 4) ? m[1] : '' }\nconst asnOf = (s) => { const m = /\\bAS\\s?(\\d{1,10})\\b/i.exec(String(s || '')); return m ? m[1] : '' }\nconst domainOf = (s) => {\n  const v = String(s || '').trim().toLowerCase().replace(/^[a-z]+:\\/\\//, '').replace(/[/?#].*$/, '').replace(/:\\d+$/, '').replace(/\\.$/, '')\n  return /^([a-z0-9-]+\\.)+[a-z]{2,}$/.test(v) ? v : ''\n}\n\nasync function transform(input) {\n  EN = input.lang === 'en'\n  const props = input.props || {}\n  const label = String(input.label || input.value || '').trim()\n  let ip = ipOf(label) || ipOf(props.ip || props.ip_adresse || '') || ip6Of(label)\n  let asn = asnOf(label) || asnOf(props.asn || '') || (/^\\d{1,10}$/.test(String(props.asn || '').trim()) ? String(props.asn).trim() : '')\n  let dom = ''\n  if (!ip && !asn) {\n    dom = input.type === 'domain' ? domainOf(label) : domainOf(props.domain || props.website || props.webseite || '')\n    if (dom) {\n      const d = await soft(td.fetch(DOH + encodeURIComponent(dom), { headers: { Accept: 'application/dns-json' } }).then((r) => (r.ok ? r.json() : null)))\n      const a = ((d && d.Answer) || []).find((x) => x.type === 1 && ipOf(x.data))\n      if (a) ip = a.data\n    }\n  }\n  if (!ip && !asn) return { entities: [], message: T('Keine IP-Adresse, AS-Nummer (z.B. „AS3320“) oder auflösbare Domain erkannt', 'No IP address, AS number (e.g. \"AS3320\") or resolvable domain recognised') }\n\n  // 1) IP → Netzbereich, Betreiber, Sichtbarkeit, Missbrauchskontakt\n  let prefix = '', ipInfo = null, routing = null, abuse = []\n  if (ip) {\n    ipInfo = await rs('prefix-overview', ip)\n    prefix = (ipInfo && ipInfo.resource) || ''\n    const origins = ((ipInfo && ipInfo.asns) || []).map((x) => String(x.asn))\n    if (!asn && origins.length) asn = origins[0]\n    routing = await soft(rs('routing-status', prefix || ip))\n    const ab = await soft(rs('abuse-contact-finder', ip))\n    abuse = (ab && ab.abuse_contacts) || []\n  }\n  if (!asn) return { entities: [], message: T(`${ip}: dieser Bereich wird derzeit im Internet nicht angekündigt (kein Netzbetreiber sichtbar)`, `${ip}: this range is currently not announced on the internet (no network operator visible)`) }\n\n  // 2) Netzbetreiber: Name, Nachbarn, angekündigte Netze\n  const win = new Date(Date.now() - 30 * 86400000).toISOString().slice(0, 19)\n  const [ov, nb, ap] = await Promise.all([soft(rs('as-overview', `AS${asn}`)), soft(rs('asn-neighbours', `AS${asn}`)), soft(rs('announced-prefixes', `AS${asn}`, `&starttime=${win}`))])\n  const holder = (ov && ov.holder) || ((ipInfo && ipInfo.asns) || []).find((x) => String(x.asn) === asn)?.holder || ''\n  const neigh = (nb && nb.neighbours) || []\n  // Routing-Pfade: „links“ = Richtung Internet, „rechts“ = dahinter. Wer auf beiden Seiten steht, ist gleichrangiger Partner (Peer).\n  const L = new Set(neigh.filter((x) => x.type === 'left').map((x) => x.asn)), Rr = new Set(neigh.filter((x) => x.type === 'right').map((x) => x.asn))\n  const byPower = (a, b) => (b.power || 0) - (a.power || 0)\n  const uniq = (arr) => { const seen = new Set(); return arr.filter((x) => (seen.has(x.asn) ? false : (seen.add(x.asn), true))) }\n  const up = uniq(neigh.filter((x) => x.type === 'left' && !Rr.has(x.asn)).sort(byPower))\n  const peers = uniq(neigh.filter((x) => L.has(x.asn) && Rr.has(x.asn)).sort(byPower))\n  const down = uniq(neigh.filter((x) => x.type === 'right' && !L.has(x.asn)).sort(byPower))\n  const prefixes = ((ap && ap.prefixes) || []).map((p) => ({ prefix: p.prefix, since: day((p.timelines || [])[0]?.starttime), until: day((p.timelines || []).slice(-1)[0]?.endtime) }))\n  const v4 = prefixes.filter((p) => !p.prefix.includes(':')), v6 = prefixes.filter((p) => p.prefix.includes(':'))\n  // Größe in IPv4-Adressen\n  const v4size = v4.reduce((s, p) => s + Math.pow(2, 32 - Number(p.prefix.split('/')[1] || 32)), 0)\n  // in den letzten 30 Tagen neu angekündigt (auffällig: neue Netze, Umzüge)\n  // neu = erst nach Beginn des 30-Tage-Fensters angekündigt (Netze, die schon vorher da waren, beginnen am Fensteranfang)\n  // RIPEstat rundet den Fensteranfang auf den nächsten Messzeitpunkt (bis zu 1 Tag später) – erst danach Beginnendes ist wirklich neu\n  const ws = Date.parse((ap && ap.query_starttime) || win)\n  const winStart = new Date((isNaN(ws) ? Date.now() - 30 * 86400000 : ws) + 86400000).toISOString().slice(0, 10)\n  const fresh = prefixes.filter((p) => p.since && p.since > winStart).sort((a, b) => b.since.localeCompare(a.since))\n  // bei großen Netzen sind neue Ankündigungen Alltag – Warnung nur bei kleinen Betreibern\n  const freshFlag = fresh.length > 0 && prefixes.length <= 60\n  // Namen der wichtigsten Nachbarn in einer Abfrage\n  const want = [...up.slice(0, 12), ...peers.slice(0, 6), ...down.slice(0, 8)].map((x) => `AS${x.asn}`)\n  const nm = want.length ? await soft(rs('as-names', want.join(','))) : null\n  const names = (nm && nm.names) || {}\n  const nameOf = (a) => names[String(a)] || ''\n\n  // Elemente\n  const asLabel = `AS${asn}${holder ? ` ${holder}` : ''}`.slice(0, 200)\n  const entities = []\n  const selfType = input.type || (ip ? 'ip' : 'hoster')\n  const selfProps = {}\n  if (ip) {\n    selfProps.netzbereich = prefix\n    selfProps.asn = `AS${asn}`\n    if (holder) selfProps.netzbetreiber = holder\n    if (routing && routing.first_seen) selfProps.angekuendigt_seit = day(routing.first_seen.time)\n    const vis = routing && routing.visibility && routing.visibility.v4\n    if (vis && vis.total_ris_peers) selfProps.sichtbarkeit = T(`${vis.ris_peers_seeing} von ${vis.total_ris_peers} Messpunkten (RIPE RIS)`, `${vis.ris_peers_seeing} of ${vis.total_ris_peers} vantage points (RIPE RIS)`)\n    if (abuse.length) selfProps.missbrauch_melden = abuse.slice(0, 3).join(', ')\n  }\n  selfProps.upstream = up.slice(0, 5).map((x) => `AS${x.asn}${nameOf(x.asn) ? ` ${nameOf(x.asn)}` : ''}`).join(' · ').slice(0, 600)\n  selfProps.netze_des_betreibers = T(`${v4.length} IPv4-Netze (${num(v4size)} Adressen), ${v6.length} IPv6-Netze`, `${v4.length} IPv4 networks (${num(v4size)} addresses), ${v6.length} IPv6 networks`)\n  selfProps.quelle = `${ATTR}, ${today()}`\n  for (const k of Object.keys(selfProps)) if (!selfProps[k]) delete selfProps[k]\n  if (ip || selfType === 'hoster' || input.type) entities.push({ type: selfType, label: label || (ip ? ip : `AS${asn}`), props: selfProps })\n  // Betreiber als eigenes Element (wenn die Eingabe eine IP/Domain war)\n  if (ip || dom) entities.push({ type: 'hoster', label: asLabel, props: { asn: `AS${asn}`, ...(holder ? { netzbetreiber: holder } : {}), netze_des_betreibers: selfProps.netze_des_betreibers, url: `https://stat.ripe.net/AS${asn}`, quelle: ATTR }, link: T('Netz von', 'network of') })\n  // Upstream-Provider (über wen das Netz ans Internet angebunden ist) – wichtigste 5\n  for (const x of up.slice(0, 5)) entities.push({ type: 'hoster', label: `AS${x.asn}${nameOf(x.asn) ? ` ${nameOf(x.asn)}` : ''}`.slice(0, 200), props: { asn: `AS${x.asn}`, rolle: T('Upstream-Provider', 'upstream provider'), url: `https://stat.ripe.net/AS${x.asn}`, quelle: ATTR }, link: T(ip || dom ? `Upstream von AS${asn}` : 'Upstream (Anbindung)', ip || dom ? `upstream of AS${asn}` : 'upstream (transit)') })\n\n  const lines = [\n    T(`Netz-Nachbarschaft von ${label || `AS${asn}`}`, `Network neighbourhood of ${label || `AS${asn}`}`),\n    ip ? `${T('IP', 'IP')} ${ip}${dom ? ` (${dom})` : ''} → ${T('Netzbereich', 'range')} ${prefix || '–'} → AS${asn}${holder ? ` ${holder}` : ''}` : `AS${asn}${holder ? ` ${holder}` : ''}`,\n    routing && routing.first_seen ? T(`Bereich angekündigt seit ${day(routing.first_seen.time)}${routing.first_seen.origin && String(routing.first_seen.origin) !== asn ? ` (damals von AS${routing.first_seen.origin})` : ''}`, `Range announced since ${day(routing.first_seen.time)}${routing.first_seen.origin && String(routing.first_seen.origin) !== asn ? ` (then by AS${routing.first_seen.origin})` : ''}`) : '',\n    selfProps.sichtbarkeit ? `${T('Sichtbarkeit', 'Visibility')}: ${selfProps.sichtbarkeit}` : '',\n    abuse.length ? `${T('Missbrauch melden an', 'Report abuse to')}: ${abuse.join(', ')}` : '',\n    /cloudflare|akamai|fastly|amazon|cloudfront|google|microsoft|incapsula|imperva|edgecast|cdn77|bunny|stackpath|sucuri/i.test(holder) && dom ? T(`Hinweis: ${dom} liegt hinter einem CDN bzw. Cloud-Anbieter – die Daten zeigen dessen Netz, nicht den eigentlichen Server.`, `Note: ${dom} sits behind a CDN or cloud provider – the data shows its network, not the actual server.`) : '',\n    '',\n    `${T('Netze des Betreibers', 'Operator networks')}: ${selfProps.netze_des_betreibers}`,\n    fresh.length ? T(`${freshFlag ? '⚠ ' : ''}In den letzten 30 Tagen neu angekündigt (${fresh.length}): ${fresh.slice(0, 10).map((p) => `${p.prefix} seit ${p.since}`).join(', ')}`, `${freshFlag ? '⚠ ' : ''}Newly announced in the last 30 days (${fresh.length}): ${fresh.slice(0, 10).map((p) => `${p.prefix} since ${p.since}`).join(', ')}`) : '',\n    v4.length && v4.length <= 25 ? `${T('IPv4-Netze', 'IPv4 networks')}: ${v4.map((p) => p.prefix).join(', ')}` : v4.length ? `${T('IPv4-Netze (Auszug)', 'IPv4 networks (excerpt)')}: ${v4.slice(0, 25).map((p) => p.prefix).join(', ')} …` : '',\n    '',\n    up.length ? T(`Upstream – über wen das Netz angebunden ist (${up.length}):`, `Upstream – who connects the network (${up.length}):`) : T('Keine Upstream-Provider sichtbar.', 'No upstream providers visible.'),\n    ...up.slice(0, 12).map((x) => `• AS${x.asn} ${nameOf(x.asn) || ''}`.trimEnd()),\n    peers.length ? '' : null,\n    peers.length ? T(`Peers – gleichrangige Partner, tauschen direkt Verkehr aus (${peers.length}):`, `Peers – equal partners exchanging traffic directly (${peers.length}):`) : null,\n    ...peers.slice(0, 6).map((x) => `• AS${x.asn} ${nameOf(x.asn) || ''}`.trimEnd()),\n    peers.length > 6 ? T(`… und ${peers.length - 6} weitere`, `… and ${peers.length - 6} more`) : null,\n    down.length ? '' : null,\n    down.length ? T(`Downstream – Netze, die über AS${asn} angebunden sind (${down.length}):`, `Downstream – networks connected via AS${asn} (${down.length}):`) : null,\n    ...down.slice(0, 8).map((x) => `• AS${x.asn} ${nameOf(x.asn) || ''}`.trimEnd()),\n    down.length > 8 ? T(`… und ${down.length - 8} weitere`, `… and ${down.length - 8} more`) : null,\n    '',\n    T('Lesehilfe: Upstream = Anbieter, über den ein Netz ins Internet kommt. Viele wechselnde kleine Upstreams oder ganz neue Netze können auf „Bulletproof“-Hosting hindeuten; ein großes eigenes Netz mit vielen Downstreams ist typisch für Provider. Alles nur Indizien – Routing zeigt, wer ein Netz ankündigt, nicht, wer einen Server nutzt.', 'How to read: upstream = the provider through which a network reaches the internet. Many changing small upstreams or brand-new networks can hint at \"bulletproof\" hosting; a large own network with many downstreams is typical for providers. Only indications – routing shows who announces a network, not who uses a server.'),\n    `${T('Daten', 'Data')}: ${ATTR} · https://stat.ripe.net/AS${asn} · ${T('Abruf', 'retrieved')} ${today()}`\n  ].filter((x) => x !== null)\n  const note = lines.join('\\n').replace(/\\n{3,}/g, '\\n\\n').slice(0, 5000)\n  return {\n    entities,\n    note,\n    message: T(`🌐 AS${asn}${holder ? ` ${holder}` : ''} · ${v4.length + v6.length} Netze · ${up.length} Upstream, ${peers.length} Peers, ${down.length} Downstream${freshFlag ? ` · ⚠ ${fresh.length} neu (30 Tage)` : ''}`, `🌐 AS${asn}${holder ? ` ${holder}` : ''} · ${v4.length + v6.length} networks · ${up.length} upstream, ${peers.length} peers, ${down.length} downstream${freshFlag ? ` · ⚠ ${fresh.length} new (30 days)` : ''}`).slice(0, 300)\n  }\n}\n",
    "pruefung.json": "{\n  \"format\": \"tangodown-pruefung/1\",\n  \"checkVersion\": 1,\n  \"id\": \"tangodown.bgp-neighbourhood\",\n  \"version\": \"1.0\",\n  \"at\": \"2026-11-25T11:57:12.665Z\",\n  \"rights\": {\n    \"kind\": \"js\",\n    \"net\": [\n      \"stat.ripe.net\",\n      \"cloudflare-dns.com\"\n    ],\n    \"secrets\": [],\n    \"files\": false\n  },\n  \"counts\": {\n    \"warn\": 0,\n    \"info\": 0\n  },\n  \"findings\": []\n}"
  }
}