PeeringDB - RTBH Community Field

Oh hello again, network community

As I’ve mentioned before, James and I have been asking PeeringDB to implement a few new features, or just generally make the data better for everyone. So here we are again, celebrating another win for the network community. This time, with release 2.83.0, amongst other things, PeeringDB introduced a new field: rtbh_community, which allows ASN operators to publish the remote-triggered blackholing (RTBH) community they support in their network.

For many years (or even decades), network operators have used Border Gateway Protocol (BGP) communities for what RFC 7999 later called “destination-based blackholing in IP networks.” By tagging a prefix with such a community, networks can signal their upstreams or peering partners to blackhole traffic for it. Typically, you would use this feature to drop traffic towards a network (prefix) that is under heavy attack and congesting your network capacity and services.

As is always the case, everyone did their own thing and implemented whatever they thought was best for their own network. They picked a BGP community of their own, implemented it, and, in the best case, documented it somewhere on a web page where partners and customers could find it. This worked well, until the internet grew and slow humans started to automate networks.

Automation works fine, as long as you have the necessary data. Since everyone, their mom, and their mom’s ISP implemented their own thing, you can imagine how well automation and RTBH work together.

However, there was an initiative in 2016 to define a common BGP community: RFC 7999, BLACKHOLE Community. The RFC reserves the value 666 in the well-known community range (65535:x), which means 65535:666 would become the new de facto standard.

Many networks adopted the new standard, others didn’t. If you want to automate your network, you can either assume everyone uses 65535:666 (good luck with that), or you start building lookup tables that tell your network, e.g., “hey, if we want Hurricane Electric to blackhole this prefix, we need to send 6939:666 instead.”

As you can imagine, keeping those translation tables up to date is a great job. Not. After all, it’s a reason to keep paying for your Microsoft Excel licenses. Another approach would be to just ignore the problem instead of maintaining it, but as the old saying goes: If you don’t schedule time to maintain your equipment, your equipment will schedule it for you.

As of today, about 120,000 ASNs are registered, about 82,000 are active, and 35,667 are registered in PeeringDB. We thought: let’s stop guessing, let’s put the RTBH BGP communities of networks into PeeringDB. Since PeeringDB implemented the field, we at Inter.link have been actively using that data to automatically trigger RTBH with remote networks.

Now it’s your turn: please log in to PeeringDB, check and update your record(s). And while you’re at it, please add your RTBH community to the database, like I did here. With every update, you help companies like us and people like James and ME make the internet a better place. Thanks to everyone involved!

 

[itgaertner.net]

Words from a network guy


2026-10-19