Skip to content

yossigi/compress_roas

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 

Repository files navigation

compress_roas

compress-roas wades through the ROAs rcynic (from RPKI.net, see below) collects and compresses the prefixes based on the prefix length and max length specified in the ROA.

For simplicity, compress-roas produces an output with the same format as scan_roas (from RPKI.net):

  [Time] [ASN] [IP_Prefix] [maxLength]

compress-roas prints A ROA per line.

Dependencies

Make sure you have the following installed before running compress-roas:

  • RPKI.net Relying Party tools.
    • Installation instructions here
  • Pytrie (you can use pip to install this package)
  • netaddr (you can use pip to install this package)

How to use:

You can use compress-roas with rpki-rtr(from RPKI.net) to create a database for an RPKI cache server:

rpki-rtr cronjob --scan-roas compress-roas [server/PDU-directory]

You can also use compress-roas on its own (you will need to use it with "sudo" if not used under the user "rpki"):

compress-roas

Reproducing results

To reproduce the results from "MaxLength Considered Harmful to the RPKI" (https://eprint.iacr.org/2016/1015.pdf) use the "Reproducibility" branch (see README).

About

Combine ROAs using the max-length attribute

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages