Increasing maxLength for an IPv4 prefix to allow up to /32, doesn't enable the risk you described (this risk is already there). Networks also don't need to allow longer prefixes (/25 or longer) to enable the risk you described (this risk is already there). Both these issues already exist. If I have a ROA for a /16 with maxLength /20, someone else can origin hijack a more specific (e.g. a /20) and attach the no-advertise community to that hijacked a prefix, so it's ROA valid and limits the hijack to a single peer's network only, which as you describe, makes it a very hidden and hard to detect hijack. This is the thing; the size of maxLength (be it shorter or longer) doesn't change how trivial it is to origin hijack a prefix in a way which is ROA valid. Relying on a shorter maxLength to keep prefixes safe is like relying on longer passwords. Eventually we realised we need multifactor auth not longer passwords (origin AS + peer role + AS path). Anyone who believes the maxLength attribute is keeping their prefixes safe has not understood what ROAs are for. With kind regards, James Bensley (he/him) ________________________________ From: Ben Cartwright-Cox <ripencc@benjojo.co.uk> Sent: 24 August 2026 17:27 To: James Bensley <james@inter.link> Cc: Salvador Bertenbreiter <salvadorb@gmail.com>; routing-wg@ripe.net <routing-wg@ripe.net> Subject: Re: [routing-wg] Re: RTBH and RPKI On the "Why not?" One of the obvious reasons that springs to my mind is that you might not want to do this because there are quite a lot of providers in existence that will allow you to announce /25's or smaller within their own internal networks, which means that in theory you can have an invisible /25 mis-origination attack/mistake if you allow /25's (or smaller), even if it won't cross the edge to another provider Given that one of the core reasons that Max Length exists is to prevent more specific hijacks, what you're suggesting here is basically the equivalent of ignoring maxLength anyway On Mon, 24 Aug 2026 at 16:22, James Bensley <james@inter.link> wrote:
Hi Salvador,
One option would be to extend the ROA to /32 or /128, but I’m not fully comfortable with that since it would also make other more-specifics valid.
Why not? That is the most optimal solution for secure RTBH filtering in my opinion. Increase your maxLength, plus implement RFC9234 to validate the peer role, and ASPA to validate the path. I think this is the path we as an industry should be going down, not ignoring maxLength or relying on IRR derived prefix filters.
(because I'm quite lazy, here is a previous post I wrote explaining why I think this is the way forward: https://lists.nanog.org/archives/list/nanog@lists.nanog.org/message/Q2GYREV3...)
With kind regards, James Bensley (he/him)
________________________________________ From: Salvador Bertenbreiter <salvadorb@gmail.com> Sent: 08 August 2026 20:47 To: routing-wg@ripe.net <routing-wg@ripe.net> Subject: [routing-wg] RTBH and RPKI
⚠️ Caution: This email originated from outside of your organization. Do not click on links or open attachments unless you recognize the sender and know the content is safe. Hi all, A quick question for those using RTBH together with RPKI.
How do you handle /32 announcements in IPv4 or /128 in IPv6 when the prefix has a ROA with a maxLength of /24 or /48?
One option would be to extend the ROA to /32 or /128, but I’m not fully comfortable with that since it would also make other more-specifics valid.
The other option would be to keep the ROA as it is and still announce the host route for RTBH, but in that case it would be RPKI Invalid. Do upstreams normally make an exception for routes marked as blackhole, or are they dropped by RPKI before the RTBH policy is applied?
Creating a specific ROA at the time of the attack also doesn’t seem very practical because of propagation times.
How are you handling this in production?
Regards,
Salvador [CompanySignature] Inter..link GmbH | Boxhagener Straße 80, 10245 Berlin, Germany | Managing Directors: Marc Korthaus, Theo Voss | Commercial Register: Amtsgericht Charlottenburg, HRB 138876 | VAT ID: DE281288887 | Email: hello@inter.link<mailto:hello@inter.link> | Web: inter.link<https://inter.link> ----- To unsubscribe from this mailing list or change your subscription options, please visit: https://mailman.ripe.net/mailman3/lists/routing-wg.ripe.net/ As we have migrated to Mailman 3, you will need to create an account with the email matching your subscription before you can change your settings. More details at: https://www.ripe.net/membership/mail/mailman-3-migration/