Skip to Content.
Sympa Menu

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

Subject: Internet2 Network Security SIG

List archive

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


Chronological Thread 
  • From: Andrew Gallo <>
  • To:
  • Subject: [Security-WG] Generating an RPKI ROA request with lots of prefixes
  • Date: Wed, 15 Aug 2018 13:55:49 -0400
  • Ironport-phdr: 9a23:GZ9F4xaG3gb6KpXRBNZHD/j/LSx+4OfEezUN459isYplN5qZoMS/bnLW6fgltlLVR4KTs6sC17KI9fi4EUU7or+5+EgYd5JNUxJXwe43pCcHRPC/NEvgMfTxZDY7FskRHHVs/nW8LFQHUJ2mPw6arXK99yMdFQviPgRpOOv1BpTSj8Oq3Oyu5pHfeQpFiCa8bL9oMBm6sRjau9ULj4dlNqs/0AbCrGFSe+RRy2NoJFaTkAj568yt4pNt8Dletuw4+cJYXqr0Y6o3TbpDDDQ7KG81/9HktQPCTQSU+HQRVHgdnwdSDAjE6BH6WYrxsjf/u+Fg1iSWIdH6QLYpUjmk8qxlSgLniD0fOjAn8G/Zl89+gqxVrx2uuxNy2IHUbJ2POfdiYq/Qc9EXSGxcVchRTSxBBYa8YpMTAuoHIOlYtZfyplUTphW/HwasAOfvyjhVjXLxx6I63P4uEQXC3AwnBN8Ov3rVrMjvOKgMTO+10bDFwDPeZP1Y3jf97ZLHchEnofyUR71wa8vRyU81GwPDkFqQtZTpPzyU1uQRs2ib8vFvWfizhG4grgF8pCWkyMQ0ioTRm44Yy03I+T9nzIs1K9C0UlN3bN+lHZdKqS2WKZN6Tt48T2xroio217wLtJGhcCQXxpkr3QDTZvqaeIaS+B3jTvyeITJgiXJlZr2/gxGy/FClyuLmV8m01E5KrjBYndnSrH8CyhnT68mIR/dk5Ueh3CqP1xjJ5u5aOkA4j6XbKpA8wrIqiJUcrFnDEjf3mEXwkqCWal0p9vWp5uj6eLnquJ+ROoFuhg3jM6kjm9azDfomPgQWWmiU4+W81Lnt/U3jR7VKi+U7nbPWsJ/AIcQboqm5DhRa0oct9hazFSmp38kFnXUfNlJKZAqHj5T1O1HJOP34FumwjEixkDdxxvDGIr3gDozDL3jMi7rhebd961VAyAoo09xT/ZNUCrcdIP3tQE/xssLXDgMnPwCu3enoFch9hcsiXjeUD6SEKqLOoBqX6couJfWBfokYpGy7JvQ4tND0inpssFkRZ6S2lbQebHS/VqBvLEydZX3EjcgcV2oGo1xtH6TRlFSeXGsLND6JVKUm62RjBQ==

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

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature




Archive powered by MHonArc 2.6.19.

Top of Page