zmap / zannotate

Utility for annotating Internet datasets with contextual metadata (e.g., origin AS, MaxMind GeoIP2, reverse DNS, and WHOIS)
Apache License 2.0
94 stars 20 forks source link

Added BGP AFI for IPv6 support in routing lookup #30

Closed nakulbajaj closed 2 years ago

nakulbajaj commented 2 years ago

Currently, the routing lookup process populates the MRT table only if the AFI (Address Family Identifier) for each entry is IPv4. This PR adds support for IPv6 by also checking if the entry has an IPv6 AFI representation. Arbitrary tests show that no other changes are needed to support IPv6.