Skip to Content.
Sympa Menu

netsec-sig - Re: [Security-WG] Generating an RPKI ROA request with lots of prefixes

Subject: Internet2 Network Security SIG

List archive

Re: [Security-WG] Generating an RPKI ROA request with lots of prefixes


Chronological Thread 
  • From: Brad Fleming <>
  • To:
  • Subject: Re: [Security-WG] Generating an RPKI ROA request with lots of prefixes
  • Date: Fri, 17 Aug 2018 15:13:05 -0500
  • Ironport-phdr: 9a23:/5nRpRW24H+08xbxqUSD+C4kIr7V8LGtZVwlr6E/grcLSJyIuqrYbByOt8tkgFKBZ4jH8fUM07OQ7/i+HzRYqb+681k6OKRWUBEEjchE1ycBO+WiTXPBEfjxciYhF95DXlI2t1uyMExSBdqsLwaK+i764jEdAAjwOhRoLerpBIHSk9631+ev8JHPfglEnjWwba9zIRmssQndqtQdjJd/JKo21hbHuGZDdf5MxWNvK1KTnhL86dm18ZV+7SleuO8v+tBZX6nicKs2UbJXDDI9M2Ao/8LrrgXMTRGO5nQHTGoblAdDDhXf4xH7WpfxtTb6tvZ41SKHM8D6Uaw4VDK/5KptVRTmijoINyQh/W/XlsN/g79VrhyvpxJhwYHaY4abOeFkca/BeNMXX2pBUtpTWiFHH4iyb5EPD+0EPetAsoT9vUEBogajDgesAOPg1DpIhn7w3a01zu8sFhrJ0xEuH9IKrnvUqdT1NKEdUe2uz6nH1zPDb+lI1jf78oTIdA4uoe2VUL92bMHfx04vFwbfgVWRr4zoJyma1v4Ms2id9eZgU/ygi3I/pwF+oziv2scsipTSiY4P1l/E8iB5zYAoLtO7UE52ecCoH4FMuy2GMoZ6X8wvTmF0tCs/xbALup+2cScPxZg52xLSbvmKfoiG7x7/TOqdPyt0iG54dL+6iBu/9VWvxvH5W8S6zFlGsjZKn9zRunwT0hHe7syKRed580qkwzmC1wDe5ftBLE06m6rUN5Esz7swm5cRrUjOGDL9ll/sg6+MbEok//Cl6+T5bbXioZ+RL4p0hRv/MqQqg8CwH/k3PhUXU2mU+emx2qHv8Vf2QLVNif02na3Zv47AKcsHoa65BhdZ0ocl6xmhEzeryMoUkmMbIF5ZfR+LkofkNlHSLP39AvqygFWhnThuyvzYIrHsB5DAI3jNnbv9Zbp97lRTyAs3zdBR/ZJUDbQBLeroVUDsutzYCgE2Mwm1w+bhB9VwzYAeVniJAq+DLqzSt0WE5uQxLOmQfIMVoiryK+A55/7yin80gUQdcre10psKcnC4H+hmIkWAbXvijdcMCmMKvgslTOz2k12OTyRfZ3e0X6Ig+D47EoSmApnfRoyzmrCOwjq0HoAFLlxBX0uBGmrydpmVHugDQCOUPsJ7lDEYD/6sR5Jy+wupsVrQ0bNrZsTQ9ygZs52rgNJ56enekBA0+hR3BsKH3mfLSWxoyDBbDwQq1bxy9BQugmyI1rJ11qRV

Thanks very much for the script and examples.

So is prevailing notion to make a ROA including the 65K /48s within a typical /32 assignment? I suppose I’m OK with the approach, just seems like that ROA is gonna crazy huge.
--
Brad Fleming
Assistant Director for Technology
Kansas Research and Education Network

On Aug 15, 2018, at 12:55 PM, Andrew Gallo <> wrote:

Greetings, Security WG:

Seth Garrett and I have been trading some emails about creating a ROA request with a lot of prefixes.  I've written a script that can make this easier.
https://github.com/CAAREN-engineering/generateSignedROAreq

Here's the scenario and use-case:

If you have a large summary prefix, let's say an IPv4 /16, and you would like to cover this prefix AND all the /24s within it, you *could* use the Max Length feature to create a ROA request for 172.16.0.0/16-24. HOWEVER, use of Max Length field is no longer recommended (can lead to larger attack surface).

You might want ROAs covering all the constituent /24s so that they can be originated by a DDoS scrubbing service.

At this point, following best practices, you're left with entering 256 prefixes by hand in the Hosted RPKI portal.  There is another way!

You can pasted into the portal pre-formatted, pre-signed text.

ARIN's instructions are here:
https://www.arin.net/resources/rpki/roarequest.html

I wrote a script to help make this process easier.  What you'll need:
Python 3.3+
a file containing a list of prefixes you want included in the ROA (you can mix v4 and v6)
Your private key

The script will ask you some basic information needed to create the ROA request data:
Origin ASN
ROA name
Validity Start Date
Validity End Date


Let me know if you have any questions.



--
________________________________
Andrew Gallo
The George Washington University





Archive powered by MHonArc 2.6.19.

Top of Page