arineng / rdap_bootstrap_server

A bootstrap server to aid RDAP clients in the bootstrap process.
ISC License
53 stars 17 forks source link

IPv4 queries for longer than /8 prefixes #4

Closed aguformoso closed 8 years ago

aguformoso commented 8 years ago

IPv4 queries for longer than /8 prefixes

Implemented the lookup for longer prefixes than /8s by using RIPE's Ip Resource libraries. This way intersecting blocks can coexist in the same bootstrap file, where the longest prefix is selected. This enables to build a custom bootstrap file containing more information than IANA's (for example NIRs information).

Performance We thought the use RIPE's libs may downgrade performance, as Strings are parsed in every query, but actually it almost didn't. Histograms comparing the new branch and the old one

anewton1998 commented 8 years ago

The brace matching style is significantly different here that it makes looking at diffs problematic. I would ask that in the future you try to match the style of the existing code.