At about 11:30 EST on Friday, 25 April 1997, a border router inside MAI Network Services' autonomous system 7007 accepted a full routing table from a downstream customer — roughly 23,000 routes — and then announced much of it back to the world as though AS7007 itself originated every prefix. No inbound filter limited that customer to the routes it was supposed to send. No global authority existed to appeal to. There were only routers, neighbours, and whatever each operator had privately decided to believe.

By the time engineers in distant networks looked at their tables, thousands of networks that had never bought anything from MAI appeared to live behind AS7007. Nobody had hacked the Internet. It had simply been trusted, carelessly, at scale.

The router that claimed the Internet

MAI's own account is blunt about the missing control: no inbound distribute list bounded what the downstream customer could announce. What the router did with that unbounded feed is stranger. In MAI's published apology the device deaggregated the view and stripped out the existing AS paths; a second MAI border router saw more than 73,000 entries. To networks several hops away, a great many narrow prefixes now appeared to originate at AS7007.

The totals do not agree, and pretending otherwise would be false precision. Avi Freedman reported roughly 60,000 routes in core routers. Another contemporaneous figure put the load at 72,000. MAI's own observer counted more than 73,000. These are different vantage points at different minutes, not one global measurement to be averaged into a tidy number.

The cause is equally unsettled. MAI stressed that no interior routing protocol was running on the affected router and suspected a defect; other operators pointed to redistribution mistakes, software behaviour and plain configuration inexperience. The surviving record proves the transformation and the absent filter far more firmly than it proves why the box performed it — and it does not need to settle that. The interesting failure was never inside one chassis. It was in the several administrative boundaries that looked at an implausible claim and waved it through.

Longest match wins — which is exactly why it spread

AS7007 did not delete the Internet's legitimate routes. It offered narrower alternatives to them. Forwarding prefers the longest matching prefix before it considers anything else. If a provider advertises an aggregate covering a destination while someone else advertises a more-specific slice of it, packets for that slice follow the slice.

That rule is not a bug. It is the mechanism that lets operators steer parts of an address block, support multihoming, and keep reachability alive across mismatched topologies. On that Friday the same rule turned a bad announcement into a vacuum cleaner: bogus more-specifics pulled traffic toward AS7007 while the correct aggregates sat in the table, visible and ignored.

BGP's AS path normally records the sequence a route has travelled. MAI said the generated routes had lost their prior paths and appeared with AS7007 as origin, so path-length preferences had nothing left to compare. But the deeper point outlives the incident: an AS path is a propagation record, not a title deed. It says where a claim has been, never that the claimant was entitled to make it.

So 1997 did not reveal a database handing AS7007 ownership of everyone's addresses. It revealed routers acting on reachability information their owners had chosen to accept. The authority was distributed the whole time. The safeguards were not.

A local mistake becomes a chain of acceptance

MAI's timeline is tight: the affected session was disabled at about 11:45, the router rebooted at noon, distribute filters installed, and the equipment disconnected at about 12:15. And still AS7007 paths kept arriving through other providers. Killing the original speaker does not recall the copies already in circulation.

Contemporaneous accounts describe engineers clearing BGP sessions by hand, bolting on emergency filters, and announcing more-specifics for their own customers just to get packets moving again. Route-flap damping, fresh from RFC 2439, added memory to the system: repeated changes could suppress a path for a period even after it had stabilised, so recovery sometimes required a manual clear backed by credible evidence that the fault was gone.

This was not one control room failing to press a global stop button. No such button existed, and none exists now. Each network could reject the routes at its own edge, withdraw its own propagation, call a neighbour, or drop a session. Curtis Villamizar's 15 May account supplies the damning comparison: some providers had filters up within 15 to 20 minutes, some never installed them at all, and the upstream took more than two and a half hours to block the announcements at source. One originating error became a patchwork of outages because every accepting operator was in a different state of readiness.

The apology that turned into a filter

MAI accepted one concrete responsibility — it had not bounded the downstream's inbound advertisements — and then did the only thing that converts an apology into engineering: it imposed full distribute lists on its peers. That is a more useful institutional act than promising the accident could never happen again.

Later best-current-practice language made the rule explicit. On a customer BGP session, accept the customer's prefixes and discard the rest, with exceptions you can actually explain. Cap maximum-prefix counts so a table explosion trips a wire instead of a router. Add AS-path and bogon filters. Then monitor received routes against the contract and the expected topology, because a session that stays up proves nothing except that TCP is still trying.

Every one of these controls is local. A provider does not need authority over the customer's company to refuse an out-of-scope route. It needs a defined service relationship, an accurate prefix set, a tested configuration, and a human being answerable for the exceptions. That is the whole legitimacy of routing enforcement: it executes on equipment you own, and it stops at your own acceptance and advertisement decisions. A registry that mistakes its ledger for a throne has already overstepped. A router that mistakes an open session for unlimited authority has done the same thing at line rate.

The routing registry: useful evidence, not holy writ

The 1997 aftermath pushed operators toward the distributed Internet Routing Registry. Route and autonomous-system objects could record which prefixes an AS meant to originate and which policies it meant to apply, and tooling could compile those records into router filters.

ANS announced it would filter using registered route objects across the ANS, CANET, MCI, RIPE and RADB databases. Then its own audit exposed the dependency underneath: 2,829 announced prefixes were neither registered nor covered by an aggregate. Notices reached 312 origin ASes covering 2,108 prefixes; for 151 origin ASes covering another 721 prefixes, nobody could be found to notify at all. After corrections, 2,096 unregistered prefixes from 333 origin ASes remained.

Filter strictly against an incomplete ledger and you delete legitimate reachability. Decline to filter and you stay exposed. Calling the registry "authoritative" solved nothing — it simply moved the failure from the router to the paperwork.

RPSL later gave those records a richer language. RFC 2622 noted that accurate population could help generate configurations resistant to inaccurate routing information, and was careful to say only that: accuracy could help, and registration procedure sat outside the specification. RFC 2725 tightened authorization for adding and changing objects, and documented why records rot — CIDR aggregates replaced old specifics, networks disappeared, customers changed providers and left their origin data behind. Authentication protects a ledger transaction. It cannot make the ledger complete, and it cannot make a router read it.

So the architecture is layered, and each layer should stay in its lane. Address registries supply evidence about allocations. Routing-policy repositories record operational intent. Tooling compiles candidate filters. Operators review and install them. Observers measure what is actually announced. Confuse any two of those and you get either a database pretending to be a government or a network pretending to be self-sufficient.

BGP Roles: a 2022 answer to a 1997 question

For two and a half decades, leak prevention rested on operators configuring the commercial role of each BGP neighbour correctly. A route learned from a provider should not be handed to another provider as if you were transit. A customer should not spray arbitrary global routes upstream. Those relationships lived in contracts and configurations, but the speakers at each end never confirmed they agreed on the role.

RFC 9234 addressed that missing handshake in 2022. BGP Roles let neighbours declare provider, customer, peer, route-server or route-server-client relationships. The Only-to-Customer attribute carries a propagation boundary, so some leaks can be rejected locally or detected farther away.

Twenty-five years is a long time to wait for a handshake. The feature is not universally deployed, and it catches neither every false origin nor every policy failure. But the direction of travel is unmistakable: trust becomes safer when its scope is written into the protocol and testable at the point where packets actually move.

Which is AS7007's real lesson. The Internet never needed a global official stamping every route. It needed each participant to stop treating an open session as unlimited authority. Distributed operation works only when local freedom comes with local responsibility — and when the boundary is a filter, not a hope.

Sources and evidence limits

The timed incident account comes from MAI Network Services' explanation and apology. Avi Freedman's same-day operational account supplies an outside view, while Curtis Villamizar's ANS filtering notice documents the immediate registry response and its missing records.

The forwarding mechanism is grounded in RFC 1812, damping in RFC 2439, policy description in RFC 2622, repository authorization in RFC 2725, filtering practice in RFC 7454, and later relationship signalling in RFC 9234.

No complete global impact denominator survives. Device cause, route totals and recovery time vary by observer. The evidence supports a widespread accidental leak, an admitted missing filter and a distributed repair; it does not support one exact worldwide outage count or universal adoption of the later safeguards.