- Tool:
/as-set-check· served copy of this document:/as-set-check/docs - Code:
rootbeer/rootbeer/routers/as_set_check/(backend),rootbeer/static/as-set-check/(front end) - Design notes:
docs/superpowers/specs/2026-09-28-as-set-check-design.md,2026-09-28-as-set-check-tree-design.md,2026-10-28-as-set-check-prefix-coverage-design.md
AS-SET Check measures how far every network that reaches Internet2 (AS11537) has adopted the three things route filtering rests on:
- An IRR
as-setfor its customer cone — does the network publish one, and does it cover what the network actually announces? Measured by ASN (is the origin of each accepted route in the set?) and by prefix (would the prefix filter Internet2 builds from the set, out of the route objects in ROOTBEER's own IRRd, let the route through?). - IRR route objects — does each route received, accepted or rejected, have a route object naming the announcing AS, at the announced length?
- RPKI ROAs — is each route covered by a ROA, and is it valid?
The three are measured for every direct BGP peer and for every AS in each peer's cone. The cone can be walked from the peer downward and rooted at any AS in it, so a regional network or an NREN several hops below a peer sees its own customers only. For any branch or single AS the tool lists what would fix each problem and who has to do it.
This document describes the data sources, how each one is used, and what the user sees. The about page inside the app is the short version of the same material.
1. Data sources
| Source | What AS-SET Check takes from it | Where it comes from | Refresh |
|---|---|---|---|
| NSO per-policy route report | Every accepted and rejected route Internet2 receives: prefix, full AS path, accept/reject. The peer is the first hop after AS11537. | Internet2's routers via NSO, uploaded to rootbeer-store
(/rootbeer-store/i2-route-report), loaded by the RE
Topology Report, which AS-SET Check reads in memory. |
Report reloaded every 12 h; a run recomputes whenever the report's timestamp changes. |
| IRRd (ROOTBEER's own mirror) | aut-num export policy, as-set members and
recursive expansions, route/route6 objects,
and the RPKI ROAs it imports (as pseudo route objects, with each ROA's
maximum length). |
The repo's IRRd deployment (charts/irrd), one release
per environment (irrd.irrd-prod.svc in production,
irrd.irrd-dev.svc in Dev, a laptop port-forward locally).
GraphQL over HTTP, Host: irrd.local. |
Live queries on every run. IRRd itself mirrors the registries continuously (NRTM) and re-imports ROAs hourly. |
| PeeringDB | Each network's irr_as_set field (free text; several
names and plain ASNs are accepted). |
https://www.peeringdb.com/api, net
records, 150 ASNs per request; anonymous or with
PEERINGDB_API_KEY. |
Live on every run. |
| CAIDA AS organizations | AS names shown next to every ASN. | rootbeer's shared asnames store. |
Every 24 h. |
| RouteViews, via reinfo | Internet2's BGP communities on each prefix, used for the international-peer marker. | reinfo downloads RouteViews RIBs (including the route-views5 collector); the RE Topology Report asks reinfo for the prefixes carrying Internet2's labelled communities. | reinfo refreshes every 2 h; the report's community map 30 s after boot and every 30 min. |
1.1 The IRRd view
Route objects are looked up with no sources argument, so
IRRd answers from its default view, which is what any filter generator
querying the same IRRd gets:
- Registries: RIPE, APNIC, ARIN, AFRINIC, CANARIE, LACNIC, NTTCOM, RADB, RIPE-NONAUTH, ALTDB, BELL, JPIRR, BBOI, TC.
- RPKI: ROAs are rendered as pseudo route objects
under source
RPKI, so a ROA alone counts as a route object. - RPKI-invalid objects are left out by IRRd's default filtering.
A registry IRRd does not mirror is invisible: a route object that exists only there reads as missing.
RPKI status comes from IRRd too. A lookup returns
every ROA whose prefix equals the looked-up prefix or is a less specific
of it, each with its origin AS and maximum length
(rpkiMaxLength). That is the complete set of ROAs RFC 6811
origin validation needs for the prefix, so the valid / invalid /
not-found status of each announcement is computed from those objects
alone (§3.6); no second RPKI feed is consulted.
1.2 Internet2 communities
Internet2 tags routes on ingress with communities from a small
labelled set (shared palette
rootbeer/community_palette.py):
| Community | Label | Meaning |
|---|---|---|
11537:950 |
I2 | Internet2 Participants |
11537:3000 |
Fed | US Federal Networks |
11537:2501 |
Intl | R&E Networks outside the US |
The map is per prefix and reflects RouteViews' view of the best path, so a prefix learned from two peers carries the tag of the path RouteViews saw.
2. How a run works
A run is a background job (a child process, so the minutes of work
never stall the web server). It produces one record per peer plus
run-level metadata, keeps the result in memory and in
/data/as-set-check-cache.json.gz (schema 7), and serves it
from there.
2.1 When runs happen
Every 15 minutes the service decides whether to recompute:
- always when there is no run yet, or the route report's timestamp changed;
- when the last run is 12 h old;
- after 1 h when the last run was degraded — IRRd, PeeringDB, the route-object stage or the community data was unavailable.
A run waits up to 20 minutes (polling every 15 s) for the route report to load, then up to 5 minutes for the route report's community map on a cold start, and may take up to 25 minutes in total (typically 3–4 minutes for ~130 peers).
2.2 Stages
- Cone. From the route report's AS paths: for every peer, every downstream ASN seen after it (the peer itself excluded), with the distinct accepted and rejected prefixes on paths through each ASN, which ASNs are origins, and the positional tree used by the cone walk.
- aut-nums (IRRd
rpslObjects, 40 per request, 3 in flight). Peers first, then every ASN in the trees. From each aut-num'sexport/mp-exportvalues the policy toward Internet2 is parsed (see §3.1). - PeeringDB
netrecords for the same ASNs (150 per request; 3.1 s between requests anonymously, 1.6 s with a key; up to 3 attempts;Retry-After-style hints honoured up to 120 s). - Expansion (IRRd
recursiveSetMembers, 20 sets per request). Every set a peer names is expanded recursively to ASNs. IRRd returns one entry per registry holding a set name; their members are unioned. - Direct members (IRRd
rpslObjectsonas-set, 40 per request), for the cone walk's "how does the parent's set include the child" question. - Route objects and ROAs (IRRd
rpslObjects(ipLessSpecific:), 50 prefixes per request, 4 in flight, 8-minute budget). For every distinct prefix seen via any peer, accepted or rejected, theroute/route6objects whose prefix equals it or is a less specific of it — the ROAs among them with their maximum length. After 3 consecutive failed requests the stage gives up for the run, so a wrong query does not turn into a thousand warnings. - Report. Per-peer coverage, verdicts and findings, the registration health of every route (§3.6) tallied for each peer and each AS in its cone, and the roll-up tree (§3–§4).
Every IRRd request is retried once after 2 s on a transient error. A failed request is logged and leaves a hole; the run then marks what the hole affects as stale and carries the previous run's values for it (§2.3).
2.3 Degraded runs and stale data
| Source unavailable | Effect on the run | What the page shows |
|---|---|---|
| IRRd (aut-num / expansion / members) | Peers whose data did not arrive keep the previous run's IRR side; with no earlier run, their tier is unknown. | Banner chip IRRd red; a callout; flag/finding IRRd data is carried over from an earlier run. |
| PeeringDB | Same carry-over for the PeeringDB side. | Chip PeeringDB red; flag/finding PeeringDB data is carried over. |
| Route objects (some or all prefixes) | Prefixes whose lookup failed keep their previous route objects (marked stale) or, with none, read unknown. | Chip Route objects red; finding Route objects are carried over; unknown verdicts. |
| Community map (cold start, reinfo down) | Every peer's international flag is unknown. | The International peers only switch is disabled with its reason shown. |
Trees fall back to the previous run whenever any tree stage failed, since one missing chunk would silently strip children of their sets.
3. Definitions
3.1 Where the as-set comes from (tiers)
For each peer the first tier that yields a set wins:
| Tier | Source | Label in the UI |
|---|---|---|
| 1 | aut-num export toward AS11537:
to AS11537 announce … (export or
mp-export) |
aut-num → AS11537 |
| 2 | aut-num export toward everyone:
to AS-ANY announce … |
aut-num → AS-ANY |
| 3 | PeeringDB net.irr_as_set |
PeeringDB |
| — | none of the above | no as-set |
| 4 (cone walk only) | a member of the parent's set named
AS<child>:AS-… |
inferred name |
Every as-set and plain ASN named in the announce clause
counts, whatever the operators joined them with; several names are
unioned into one declared cone. The declared cone also
includes any plain ASNs in the export and the peer itself. Parsing
details: AS-path regular expressions (<…>) and
prefix-set literals ({…}) are dropped; a clause ends at
; or at a bare
refine/except/to/action;
to AS293 or AS11537 announce … (as-expressions) is not
matched; to AS-ANY except AS11537 still counts as tier
2.
When several registries publish the aut-num and name different sets at the winning tier, their union is used and the peer gets a registries disagree finding. PeeringDB is always fetched as a cross-check; naming a different set than the aut-num gives PeeringDB disagrees. An export that exists but names no set (a prefix or community filter) gives export without as-set and is shown verbatim under Sources.
3.2 ASN coverage
- Downstream ASN: every ASN after the peer in an accepted or rejected AS path.
- Buckets per ASN: both (seen and declared), bgp only, accepted (seen with accepted routes, not declared), bgp only, rejected, bgp only, mixed, irr only (declared, never seen).
- Covered route: an accepted route whose origin AS is in the declared cone. A route the peer originates itself counts as covered.
- ASN coverage %: covered accepted routes (distinct prefixes) ÷ all accepted routes via the peer. The rejected bar is the same ratio over rejected routes.
- Percentages are clamped to 0.1–99.9 % for partial results so a rounded 100 % or 0 % is never misleading. n/a means no set, no such routes, or an expansion that could not be completed.
3.3 Prefix coverage
Internet2's filters allow every prefix that has a route object originated by an ASN in the set, and their more-specifics. For each prefix seen via the peer:
| Verdict | Rule | Passes the filter? |
|---|---|---|
| covered | a route object for exactly this prefix has an origin in the declared cone | yes |
| covered via less specific | no exact object qualifies, but a covering (less specific) one does | yes |
origin not in set (outside_set) |
route objects exist, but none has an origin in the declared cone | no |
no route object (no_object) |
nothing in any mirrored registry and no ROA covers it | no |
| unknown | IRRd could not be asked in this run and no earlier result exists | counted in no ratio |
| no set to filter with | the peer has no usable set (none found, or expansion incomplete) | every known accepted prefix counts as not passing |
A covered prefix whose qualifying objects all name an origin other than the announcing AS is still covered but flagged origin mismatch. Prefix coverage % is covered ÷ known (non-unknown) accepted prefixes; the rejected bar is the same over rejected routes, so a rejection whose only problem is a missing route object stands out. Peers without a usable set have no percentage and are excluded from the fleet ratios.
3.4 International peers
A peer is international when at least one route
received via it, accepted or rejected, carries 11537:2501
in the route report's community map. The flag is unknown when
the run had no community data. The per-peer record also carries the
count of prefixes per labelled community.
3.5 Roll-up (cone walk)
Each child's set is resolved relative to its actual parent
(to AS<parent> announce …, then AS-ANY, PeeringDB,
then an inferred AS<child>:AS-… member), and the edge
is classified by how the parent's set includes the child:
| Verdict | Meaning | Colour |
|---|---|---|
| as-set | the parent lists the child's own set, so the child's additions roll up | green; orange if that set omits the child's own ASN and nothing else supplies it |
| ASN | covered by the bare ASN only | orange when the child's own set declares ASNs the parent lacks (missing up) |
| indirect | covered only through another member set | as above |
| not covered | absent from the parent's set entirely | red |
| parent has no set | nothing can roll this branch up | grey |
| unknown | IRRd data for this edge was unavailable in the run | grey |
For every AS with a set, missing own lists the ASNs seen beneath it that its set does not declare (yellow). Lists are capped at 1,000 entries.
3.6 Registration health: route objects and RPKI
Independently of any as-set, every announcement — a prefix and the AS at the end of the path carrying it — is judged twice against the objects IRRd returned for the prefix (§1.1). Accepted and rejected routes are tallied separately.
IRR registration, over the route objects from real registries (ROAs are not counted):
| Class | Rule | Bar colour |
|---|---|---|
| exact | a route object for exactly this prefix names the announcing AS | green |
| less specific | only a covering (less specific) object names it — the registered length differs from the announced one | light green |
other origin (wrong_origin) |
route objects cover the prefix, but none names the announcing AS | orange |
no route object (none) |
no route object in any mirrored registry | red |
RPKI origin validation (RFC 6811), over the covering ROAs:
| Status | Rule | Bar colour |
|---|---|---|
| valid | a ROA names the announcing AS and its maximum length admits the prefix | green |
no ROA (not_found) |
no ROA covers the prefix | amber |
| invalid | ROAs cover the prefix but none matches: origin when no ROA names the announcing AS, length when one does but the prefix is longer than its maximum length. A ROA for AS0 never validates anything. | red |
A prefix announced by several origins takes the worst answer among them. A prefix IRRd could not be asked about is not looked up and counts in neither. The percentage beside a route-object bar is the share with an object naming the announcing AS (exact or less specific); beside an RPKI bar, the valid share.
Per AS. The tallies for an AS cover every route on a path through it within the peer's cone, whether it originates the route or carries it. An AS that sits at more than one position in a cone has one set of figures, which covers all of them.
3.7 Lenses, grades and issues (cone walk)
The cone walk looks at an AS through one of three lenses, or all three at once:
| Lens | A route has a problem when… | Loosely registered (counts a quarter) |
|---|---|---|
| AS-SET | it is accepted through the AS and its origin is not declared by the AS's own set | — |
| Route objects | no route object names the announcing AS (none, other origin) | less specific only |
| RPKI | it is RPKI-invalid | no ROA |
The colour grade is the share of the routes through the AS with a problem: none · under 5 % · 5–20 % · 20–50 % · half or more; grey when there is nothing to judge. Under the AS-SET lens an AS that carries customers but publishes no set, and an AS its parent's set leaves out entirely, are always the worst grade; one whose parent's set lacks ASNs it declares is at least the fourth. All three takes the worst of the three lenses.
An AS counts as an issue (the Issues only switch, the Below column) when any route fails the lens outright, or the edge to its parent is broken — however small the share — and as a lesser one when nothing fails but a quarter or more of its routes are only loosely registered, or its own set omits ASNs seen beneath it.
4. Findings
The peer page leads with findings: one sentence each, with a View button that opens the right tab and chip and, where a list helps, a Copy button. Ordered red, then amber, then informational; within a band by the leading count, descending.
| Id | Severity | Title | When |
|---|---|---|---|
no_as_set |
red (amber if the peer has no accepted routes) | No as-set found in any registry or PeeringDB | tier is none |
asns_not_in_set |
red | N ASNs accepted via this peer are not in the as-set | any bgp only, accepted/mixed ASN; text gives origin vs transit counts and the accepted prefixes that depend on them |
prefixes_not_passing |
red | N accepted prefixes would not pass a filter built from the as-set | measured no_object + outside_set >
0 |
expansion_incomplete |
amber | Part of the as-set could not be expanded; coverage is not measured | IRRd did not return every member set |
set_not_found |
amber | A named as-set does not exist in the IRRd mirror | names listed |
export_without_as_set |
amber | The export toward AS11537 / AS-ANY names no as-set | prefix or community filter |
registries_disagree |
amber | Registries publish different sets at the effective tier | union used |
peeringdb_disagrees |
amber | PeeringDB names a different set than the aut-num export | both named |
irr_stale, peeringdb_stale,
route_objects_stale |
amber | … data is carried over from an earlier run | the source was unreachable in this run |
rpki_invalid_accepted |
red | N accepted prefixes are RPKI-invalid | any accepted prefix whose announcement is invalid (§3.6) |
irr_unregistered |
amber | N accepted prefixes have no IRR route object naming the announcing AS | IRR class none or other origin; ROAs are not counted |
rpki_not_found |
amber | N accepted prefixes have no covering ROA | |
rpki_invalid_rejected |
info | N rejected prefixes are RPKI-invalid | the likely reason they are rejected |
rejected_not_passing |
info | N rejected prefixes also lack set or route-object coverage | filtering working as intended |
rejected_covered |
info | N rejected prefixes are covered by the as-set and route objects | rejected for other reasons (RPKI, prefix length, policy) |
origin_mismatch |
info | N prefixes are covered only by route objects with a different origin than announced | passes, registration does not match |
declared_not_seen |
info | N ASNs are declared but never seen via this peer | normal for a large set |
no_accepted_routes |
info | No accepted routes from this peer | |
unknown_prefixes |
info | N prefixes could not be looked up | IRRd did not answer, no earlier result |
5. What the user sees
5.1 Run banner
At the top of every view: Compared (when the run finished), Route report (the report's timestamp), Route objects (when fetched, how many prefixes), and three chips — IRRd, PeeringDB, Route objects — green when that side of the run was complete. A callout explains any stale carry-over. The Data Sources link opens the shared modal, where AS-SET Check contributes the rows IRRd GraphQL queries, Route objects (AS-SET Check) and PeeringDB Network records (irr_as_set).
5.2 Overview
(/as-set-check)
Summary tiles
| Tile | Value | Beneath |
|---|---|---|
| Peers | number of peers | how many publish a set, how many none, how many are international (when known) |
| Accepted prefixes | accepted routes via all peers | rejected count |
| ASN coverage | fleet share of accepted prefixes whose origin the set declares | measured over peers with a set |
| Prefix coverage | fleet share that a filter built from the set would pass | over peers with a usable set |
| Route objects | share of accepted prefixes with an IRR route object naming the announcing AS | how many have none |
| RPKI | share of accepted prefixes that are RPKI-valid | no-ROA and invalid counts |
| Peers with gaps | peers with any uncovered ASN or not-passing prefix | how many have no set at all |
Controls
- Search matches ASN, name or set name. When it names an ASN that is not a direct peer, a panel offers Find AS… in the peers' cones and lists every position the AS holds, each a link that opens that peer's cone rooted at the AS (§5.4).
- Show: All peers · With gaps · No as-set · Prefix gaps.
- Publishes: Any · aut-num → AS11537 · AS-ANY · PeeringDB.
- Hide private ASNs (on by default) and International peers only (disabled, with the reason shown, when the run had no community data).
- Sortable headers; default sort is by prefixes not passing, then uncovered ASNs, descending.
Table columns
| Column | Content |
|---|---|
| Peer | ASN (link to the peer page), Intl badge when international, CAIDA name |
| Publishes | tier badge (green AS11537 export, blue AS-ANY, orange PeeringDB, red no as-set; unknown (IRRd unavailable) when applicable), plus flag icons for private ASN, no accepted routes, disagreements, set not found, incomplete expansion, stale sides |
| AS-set | first set name; "+n" expands the rest |
| Cone | downstream ASNs seen; accepted / rejected prefixes beneath |
| ASN coverage | accepted bar over rejected bar; hover for counts |
| Prefix coverage | the same for the route-object filter; for a set-less peer the line counts accepted prefixes with no route object anywhere |
| Route objects | stacked bars (accepted over rejected) of the IRR classes of §3.6; the percentage is the share with an object naming the announcing AS |
| RPKI | stacked bars (accepted over rejected): valid, no ROA, invalid; the percentage is the valid share |
| Gaps | uncovered accepted ASNs over accepted prefixes that would not pass |
Each header has an i button with a full description.
URL. The overview's choices are in the hash, written
only when they differ from the defaults:
#q=<text>&show=gaps|no_set|prefix_gaps&publishes=1|2|3&private=1&intl=1&sort=<column>&dir=asc|desc
(sort is one of asn, tier,
cone, asn_coverage,
prefix_coverage, irr, rpki,
gaps). private=1 shows private ASNs;
dir appears only when it overrides the column's default
direction. Changing a filter rewrites the hash in place (no history
entry); Back from a peer page returns to the same filtered view.
5.3 Peer page
(/as-set-check/asn/<asn>)
Header: AS<asn> · name, the tier
badge, the Intl badge when international, the set names
(or "no as-set"), a PeeringDB link.
Tiles: Via this peer (accepted prefixes · rejected) · Downstream ASNs (seen in accepted paths · declared) · ASN coverage (covered of accepted) · Prefix coverage (would pass · unknown) · Route objects (share registered, with the stacked bar; none · other origin) · RPKI (valid share, with the stacked bar; no ROA · invalid) · Rejected (covered · not passing).
Findings (§4), then four tabs, each with a count badge:
- ASNs — every downstream ASN. Chips: Not in as-set (default), All seen, Declared, not seen. Columns: AS, Role (origin / transit), Publishes, Acc pfx, Rej pfx, How to fix (the AS's own set when it publishes one, else the bare ASN). More columns adds the full per-AS columns (its set, ASs via BGP, ASs via as-set, coverage).
- Prefixes — every prefix seen via the peer. Chips: All · Not passing · No route object · Outside set · Via less specific · Origin mismatch · No IRR object for origin · RPKI invalid · No ROA · Rejected · Unknown. Columns: Prefix, Origin (announced), Route object(s) as prefix · origin · registry with ROAs marked and their maximum length, Verdict badge, RPKI badge (valid · no ROA · invalid · origin · invalid · length), accepted/rejected marker. Copy takes the current list. Very large lists render the first 2,000 rows. Opened from the cone walk for a branch, the tab lists only the prefixes on paths through that AS, with a button back to the whole peer.
- Cone walk (
#tab=tree) — the hierarchy under the peer, described in §5.4. - Sources & expansion — each registry's matching export lines, the PeeringDB record, and what every named set expands to.
Tabs and chips are part of the URL
(#tab=prefixes&chip=no_object); old
?view=tree links still open the cone walk. The cone walk
adds &focus=<asn.asn…> (the ASNs below the peer
down to the branch in focus) and &lens=set|irr|rpki;
the Prefixes tab adds &branch=<asn>.
5.4 Cone walk
The Cone walk tab shows one branch of the peer's cone at a time — the whole cone at first.
Breadcrumb.
AS11537 Internet2 › peer › … › AS in focus; each AS above the focus is a button that re-roots the page on it.Branch header. How many ASes sit below the focus and how many prefixes pass through it, with Up one level, Whole cone, Prefixes of this branch and Copy link. When the AS holds other positions in the same cone they are listed as links.
Scorecard. Three cards for the AS in focus — AS-SET (where its set was found, how its parent's set includes it, the share of routes its own set covers, and how many of the customer-carrying ASes below publish a set), Route objects and RPKI (accepted and rejected stacked bars with the counts of every class, §3.6). Clicking a card's title picks that lens.
Cone map. An icicle of the branch: the focus spans the top row, each row below is one hop further from Internet2, and every block is as wide as its share of its parent — by routes through it, or (Block width: Problems) by routes with a problem. The colour is the block's grade under the lens chosen with Colour by (§3.7). Clicking a block roots the page on that AS. Blocks too narrow to hit are merged into one
+Nblock that takes the worst grade among them; a hatched own block is what the AS originates itself. Four rows are drawn below the focus.How to fix this branch. Every AS that has something to do, the most serious first, each expandable into its items. Three kinds of work, filterable by chip:
- AS-SET — publish an as-set for the customer cone (with a
ready
as-set:object listing the AS and each customer, by the customer's own set where it has one); add ASNs seen beneath the AS to its set; ask the parent to add the AS's set (or ASN) to its own set, or to list the set rather than the bare ASN; add the AS itself to a set that omits its owner; a named set that exists in no registry. - Route objects — create
route/route6objects for prefixes with none; register prefixes that exist only under another origin; (as a note) prefixes covered only by a less specific object. - RPKI — create ROAs for prefixes with none; prefixes that are invalid because the ROA names another AS; prefixes that are invalid because they are longer than the ROA's maximum length.
Every item says who has to act and why, and carries text to paste:
members:lines,route:/origin:stubs, orprefix,max_length,origin_aslines for ROAs. Route-object and ROA work is computed from the Prefixes data, per announcing AS.- AS-SET — publish an as-set for the customer cone (with a
ready
Outline. The branch as an indented table, the worst branch first (a switch restores ASN order): AS, AS-set (where found, and its name), Rolled up via (§3.5), Cone (downstream ASNs · accepted / rejected prefixes), Set coverage, Route objects, RPKI (accepted over rejected bars) and Below (ASes beneath with an issue under the lens: red dot for routes failing, yellow for a lesser gap). Filter ASNs, Issues only, Expand all issues, Collapse all, Copy visible ASNs. A crosshair beside an AS roots the page on it. Clicking an AS opens its card: the evidence (export line, covering member, missing lists with copy) and How to fix for that AS — its own as-set work, what its parent has to do about it, and the route objects and ROAs for the prefixes it originates.
An AS that is not a peer.
/as-set-check/asn/<asn> for an AS that is not a
direct peer looks it up in every cone and opens the first position
found, rooted at the AS, with a note naming the other positions.
6. API
All under /as-set-check. While no run exists the data
endpoints answer 503.
| Endpoint | Returns |
|---|---|
GET /api/peers |
run (metadata, including irrd_ok,
peeringdb_ok, route_objects_ok,
communities_ok, fetch times, counts and the fleet
summary) and peers, one overview row per
peer |
GET /api/peer/{asn} |
run plus the full peer record: sources,
expansions, per-ASN rows, flags, counts, findings |
GET /api/peer/{asn}/tree |
the roll-up tree; every node carries health (§3.6) for
the routes through that AS |
GET /api/peer/{asn}/prefixes |
the per-prefix rows with their route objects (ROAs with
max_length) and verdicts, each row's irr
class, rpki status and rpki_reason, and
via — the ASNs after the peer on the paths carrying it;
plus stale |
GET /api/find/{asn} |
where an AS sits in the peers' cones: is_peer and up to
50 occurrences, each a path from the peer down
to the AS, shortest first; 404 when no cone contains
it |
The peer summaries and details carry health:
{accepted, rejected}, each
{n, unknown, irr: {exact, less_specific, wrong_origin, none}, rpki: {valid, not_found, invalid}};
run.summary.health is the same summed over the peers.
Prefix rows list BGP prefixes and public IRR route objects only; no individual host addresses are served.
7. Limitations
- Structured RPSL that announces prefix or community filters rather than sets yields no as-set; such exports are shown verbatim.
- A registry the IRRd does not mirror is invisible; conversely a ROA alone counts as a route object, because that is how the IRRd is configured.
- The international marker depends on RouteViews' view of each prefix's best path, so a prefix learned from two peers carries one peer's tag.
- RPKI status reflects the ROAs IRRd held when the run asked — IRRd re-imports them hourly — and RPKI-invalid IRR route objects are left out of IRRd's answers, so an IRR object that exists but conflicts with a ROA reads as absent.
- Health figures are per AS within a peer's cone, not per position: an AS reached through two parents shows the same figures at both. A network that sits in several peers' cones has one view per cone.
- A prefix announced by several origins is counted once, with the worst result among them.
- Live data only — no historical snapshots.