Skip to content
Workflows
Skip navigation
Workflows
View as Markdown

Network & Routing Report

The full picture of how a network is put together and reaches the internet. Give it a network or address block and get a health card: what it announces, who it peers and buys transit from, whether it leans dangerously on a single upstream, and how well its routes are protected. The one-look report for network engineers assessing reach and resilience.

Published

This is the reference page: what each step asks the graph, and why. Run it on the Network & routing use-case page.

On this page (11)

What it solves

Network engineers assessing a network’s resilience usually need to check announcements, peering, RPKI coverage and facility presence separately, and a network that looks fine on one of those axes can still have a single point of failure on another. A health card that reconciles all of them at once is what a BGP looking glass alone doesn’t give you.

The alert

A routing check on 1.1.1.0/24 comes back with the withdrawn flag set, and the health card renders that line at error severity. The same node carries a ROUTES edge from AS13335, so the card's headline disagrees with the edge sitting underneath it.

The question

Do I open a routing incident on this block, and what would tell me I am wrong?

Not "is this prefix healthy". The card's headline is three booleans, and on this block one of them contradicts two other facts stored on the node it was read from.

What this cannot answer

  • What the withdrawn flag counts. The prefix property table on Entities documents isWithdrawn as currently withdrawn from the routing table. On 1.1.1.0/24 it has read both ways: true on six uncached reads, then false on three later ones. Through all of them the same node held a ROUTES edge from AS13335 and one ROA authorising this exact prefix to AS13335, at rpkiStatus: "valid". What the flag samples is not established here.
  • A stable roll-up of that flag. Counting it across the 5,773 prefixes AS13335 routes alternates between answers on consecutive runs: 2 withdrawn against 5,771 not, then 3 against 5,770. The total never moves. Read the per-prefix row, never the aggregate.
  • The customer cone. The reputation step selects coneSize, and no such property exists on the node. keys() on AS13335 returns coneAsns 1033, conePrefixes 38698 and coneAddresses 36777345, so the cone column renders empty with those three values sitting unread beside it.
  • AS-SET membership. The step binds whisper.asSet to an integer, which the procedure rejects outright with Expected string argument, got: Long. Given the ASN as a string it returns zero rows, with an advisory that the anchor matched nothing in a populated layer: an empty answer, not a membership list.

What do we know

whisper.assess(["1.1.1.0/24"]) returns one row: label unknown, band UNKNOWN, coverage not-applicable, no signals. AS13335 answers the same way. That is a populated row saying the threat plane holds nothing on this network — zero rows is never a verdict — and it is why this workflow reads routing rather than reputation. Coverage is the qualifier to read first.

The routing steps do return. The block is APNIC-allocated, isMoas false, isAnycast true, rpkiStatus: "valid", with one ROA authorising it to AS13335. The anycast read is more than the flag: anycastConfirmed is true, anycastConfidence is 1.0, and anycastKnownService names Cloudflare DNS from a curated source (anycastServiceSource: "curated").

The identity header resolves to CLOUDFLARENET - Cloudflare, Inc., US, 5,773 prefixes routed, AS-rank 62, present at 1,513 facilities and 359 internet exchanges. Ten of those 5,773 prefixes carry the MOAS flag; 1.1.1.0/24 is not one of them.

Why

  1. 01BGP status. Establishes the prefix's baseline BGP state: the headline of the health card the rest of the run fills in.
  2. 02MOAS conflicts. Enumerates the CONFLICTS_WITH origins behind a MOAS, the concrete competing announcements that signal a hijack or misconfig.
  3. 03RIR allocation. Names which registry allocated the block, the authority record against which legitimacy is checked.
  4. 04Origin history of the block. Every network that has announced this block, a block covering it or a part of it, with when it was first and last seen and the most peers that saw it. A new origin in the last 30 days is flagged. The read has its own 30 s budget; a read that does not finish says so.
  5. 05RPKI ROA coverage. Walks ROA_AUTHORIZES_ORIGIN/PREFIX to show what the network is RPKI-authorised to announce: the basis for valid-vs-invalid routing.
  6. 06ROAs authorizing the network. How many RPKI ROAs name this network as the origin, counted over all of them.
  7. 07Announced prefixes. The 50 prefixes a hijack could hit most easily (RPKI-invalid, contested, with no ROA, loose), then valid ones, each with its state.
  8. 08Facilities & IXes. Maps physical presence via AS_PRESENT_AT and IX_MEMBER, the interconnection context behind the routing posture.
  9. 09ASN reputation. Surfaces transit importance (AS-rank, customer cone) and the network’s tags: the reputation read that frames the whole health card.
  10. 10ASN identity & registration. Names the network, its home country, the organization that holds the AS number, and how many prefixes it announces: the identity header of the routing card.
  11. 11Routing posture of every prefix. Every prefix the ASN announces, counted by RPKI state (valid, no ROA, invalid), by a ROA that would validate a forged more-specific, and by a competing origin.
  12. 12Hijack and route-leak posture. The network’s own routing record: the graph’s hijack posture score, origin mismatches and how many are unexplained, route leaks and their types, the bulletproof-hosting reputation score and the overall threat level, with the abuse contact. A blank figure means the graph holds no reading, not zero.
  13. 13Transit providers, customers and peers. Every BGP neighbour of the network by what it is to it: a transit provider it buys from, a customer it sells to, a peer, or unclassified when the graph does not say. A network with one transit provider has a single point of failure upstream.
  14. 14Its transit providers. The networks this one buys transit from, the best-ranked first, up to 25, with their AS rank and customer cone.
  15. 15Upstreams seen on observed AS paths. The network that comes just before this one on the AS paths the graph has observed, counted, from a sample of 400 observed paths. These are observations, not routes: two vantage points are two paths, and the sample is the first 400 the graph returns.
  16. 16Prefix membership hierarchy. Lists the sub-prefixes and individual IPs nested inside the prefix, so you can see exactly what address space lives under the block.

The pivot the score did not suggest

The MOAS line is a count, and the count is one too many.

This seed has no conflicts, so take one that does. 1.119.192.0/21 reads isMoas: true with two origins in originAsns, 4808 and 4847, and its two CONFLICTS_WITH edges point at those same two, AS4808 and AS4847. Both hold a ROUTES edge to it, and roaAsn is 4847: the authorised holder is counted among its own conflicts. Not a one-off — of 300 prefixes carrying CONFLICTS_WITH edges to an ASN, 107 also carry a roaAsn, and in 107 of 107 that roaAsn is itself one of the CONFLICTS_WITH targets. Three consecutive runs returned the same 107.

So "2 MOAS conflicts" describes one competing origin. The discriminator is on the node and the card never opens it: subtract roaAsn from the CONFLICTS_WITH targets, and AS4808 is what remains. One origin the ROA does not name is a different ticket from a count.

One field there looks like the answer and is not. moasIsLegitimate is no longer served: it reads null on every prefix, and the advisory beside it points to isAnycast instead, which reads false on 1.119.192.0/21. Nothing on the node marks a second origin as sanctioned.

Falsify it

Attack the withdrawn line from the two layers that fail independently of it.

Routing first. The ROUTES edge from AS13335 is still on the prefix — one edge, present on every read taken here. Withdrawn and routed cannot both be current, and the card publishes the first without naming the second.

Authorisation cannot arbitrate it. The ROA names AS13335 and the block reads valid, which is what it would read whether or not the announcement is in anybody's table. A ROA is permission, not observation.

That leaves a testable prediction: if isWithdrawn reads false on a later run with nothing else about the block changed, the flag is a sampling artefact and the error severity on this card is noise. Later runs did read false, with the edge, the ROA and the anycast read unchanged, so the prediction held. The queries, with their measured output, are on BGP & RPKI.

The conclusion

1.1.1.0/24 is anycast, RPKI-valid and single-origin, and the withdrawn flag is not evidence of an outage. The same node holds a ROUTES edge from AS13335, one ROA authorising the block to that origin, and an anycast service name of Cloudflare DNS at confidence 1.0, and the flag itself has since read false. Treat the withdrawn line as noise rather than as an incident — the open question is what that flag samples.

Four things would change that, each a query rather than an opinion:

  • the ROUTES edge from AS13335 gone on a later read, which would make withdrawn the consistent story;
  • rpkiStatus off valid, or the ROA naming an origin other than 13335;
  • a CONFLICTS_WITH edge appearing on this prefix with an origin that is not 13335;
  • isWithdrawn reading true again on repeated reads, which reopens the question the later false reads closed.

A health card that reports a flag it cannot reconcile with the edge beside it has published one fact and hidden two.

What this cost

16 named steps across the BGP, RPKI, physical layers. The runner reports what each step returned, row by row, so the evidence and what it took to get it arrive together rather than as one number at the end.

How it uses the graph

Traverses the BGP, RPKI, physical layers of the graph, in 16 steps:

How it walks the graph16 steps
01BGP status

Reading the prefix's MOAS, anycast and withdrawn flags…

BGPRPKIphysical
02MOAS conflicts

Listing ASNs that also announce this prefix…

BGPRPKIphysical
03RIR allocation

Reading the prefix's RIR allocation…

BGPRPKIphysical
04Origin history of the block

Reading who has announced this block over time…

BGPhistorical
05RPKI ROA coverage

Listing prefixes the ASN's ROAs authorise…

BGPRPKIphysical
06ROAs authorizing the network

Counting the ROAs that name this network as origin…

RPKI
07Announced prefixes

Listing the ASN’s prefixes, the most exposed first…

BGPRPKIphysical
08Facilities & IXes

Listing the ASN's facilities and exchanges…

BGPRPKIphysical
09ASN reputation

Reading the ASN's rank, customer cone and tags…

BGPRPKIphysical
10ASN identity & registration

ASN identity & registration…

BGPRPKIphysical
11Routing posture of every prefix

Counting the network’s prefixes by RPKI state…

BGPRPKI
12Hijack and route-leak posture

Reading the network’s hijack and route-leak record…

BGPRPKI
13Transit providers, customers and peers

Sorting the network’s BGP neighbours into providers, customers and peers…

BGP
14Its transit providers

Listing the transit providers, the biggest first…

BGP
15Upstreams seen on observed AS paths

Reading the networks just before this one on observed AS paths…

BGP
16Prefix membership hierarchy

Prefix membership hierarchy…

BGPRPKIphysical