BGP and the Internet’s Core

For most people, the Internet’s core is an opaque, and usually hidden, infrastructure in their day-to-day life. However, it is also one of the most crucial components of the Internet. When it comes to complexity, the Border Gateway Protocol (BGP) is one of the contenders for the ‘most complex protocol stack’.

In our group, we study the Internet’s core, including BGP and new security mechanics in relation to it. This work may be considered our ‘bread and butter’ research area, given that it provides the interconnectivity upon which all other services people usually associate with the Internet–including ‘the Web’–ultimately rest.

Sibling Prefixes: Identifying Similarities in IPv4 and IPv6 Prefixes:

Since the standardization of IPv6 in 1998, both versions of the Internet Protocol have coexisted in this dual-stack Internet. Clients would usually run algorithms such as Happy Eyeballs, to decide whether to connect to an IPv4 or IPv6 endpoint for dual-stack domains. To identify whether two addresses belong to the same device or service, researchers have proposed different forms of alias resolution techniques. Similarly, one can also form siblings of IPv4 and IPv6 addresses belonging to the same device.

In this project, we propose the concept of “sibling prefixes”, where we extend the definition of an IPv4-IPv6 sibling to two IP prefixes—one IPv4 prefix and its sibling IPv6 prefix. We present a technique based on large-scale DNS resolution data to identify 47k IPv4-IPv6 sibling prefixes. We find sibling prefixes to be commonly between /24 IPv4 and /48 IPv6 prefixes and to be relatively stable over a one-year period while exhibiting less stability going back two or three years. We find sibling prefixes in 27 hypergiant and CDN networks, showing a bimodal similarity distribution. Moreover, more than 50% of sibling prefixes have at least one of the prefixes with a valid RPKI status, with 10% having at least one invalid status. Furthermore, we develop SP-Tuner algorithms to tune the CIDR size of sibling prefixes further, improving similarity metrics by roughly 10%. We regularly publish a list of sibling prefixes to be used by fellow researchers in dual-stack studies.

RPKI Syncing: Delay in Relying Party Synchronization:

Resource Public Key Infrastructure (RPKI) is designed to improve Border Gateway Protocol (BGP) security by providing a cryptographically verifiable association between the IP prefixes and Autonomous Systems (ASes) that are authorized to advertise these prefixes. These associations are recorded in Route Origin Authorization (ROA) objects and are signed by a Certificate Authority (CA). As RPKI is gaining importance and its adoption is growing, the download and processing time of RPs is also expected to increase over time due to an increasing number of CAs, ROAs, and Publication Points (PPs), incurring more delays. The time it takes for an announcement to propagate globally in BGP is fast; however, changes in RPKI are slow and might lead to scenarios where BGP accepts outdated or invalid announcements, potentially leading to service disruptions. The increasing fetch time for retrieving a full snapshot of the RPKI tree may hamper further deployment.

In this porject, we study the dynamics of fetching the RPKI tree from the PP hierarchy, examine the cryptographic verification of ROAs, and propose optimization techniques to enhance the RP synchronization delay. We study the time it takes for RP software to download RPKI objects, perform a validation cycle, and produce a set of VRPs that routers can use for their routing policies.

We analyze the RPKI synchronization delay by examining each Trust Anchor’s (TA) structure for publishing ROAs and the impact of the mode of operation (hosted vs. delegated) in RPKI data publication. Our results show that consolidating several prefixes of an AS into a single ROA can reduce the cryptographic verification time by a factor of up to three. While the fetching and validation of ROAs are the main delay factors in RPKI synchronization, we further identify that 7% of VRPs in delegated PPs account for up to 90% of synchronization delays for one of the Trust Anchors.

We perform large-scale active measurements using more than 700 RIPE Atlas anchors from 91 countries around the globe to identify the access delay to RPKI PPs. Most PPs are accessible within 50 milliseconds of Round Trip Time (RTT) from their primary serving regions but require hundreds of milliseconds from other regions. Accessing RPKI PPs using IPv4 or IPv6 has a similar delay, but the RRDP deployment of PPs is accessible faster than PPs using the rsync protocol.

Our results show that PPs with high RTT also take a relatively long time in RPKI synchronization, even if they host a smaller amount of RPKI objects. By adding artificial RTT delay to the network path, we show that for every additional RTT of 100 milliseconds, RPKI synchronization increases by up to 25 seconds.

We highlight regional disparities in accessing RPKI PPs, with Europe and North America experiencing lower latency, while other regions face significantly higher latency in accessing RPKI resources. The current PP deployment delays reveal that each RIR’s RPKI tree is accessible relatively faster in their primary serving regions and slower from other regions. Our results show that CDN usage can reduce the PP access time by up to 10 times in some regions.

Measuring Increasing Heterogeneity in BGP:

The Internet is an enormous system that consists of thousands of inter-connected Autonomous Systems (ASes). Most ASes deploy the Border Gateway Protocol (BGP) to share their prefixes with other participants. Prefixes should be reachable from all over the world, nevertheless, the routes that traffic uses in the end are not fixed. The interplay between corporate relationships, routing policies, and link failures makes sharing routes a complex task.

Due to this complexity, most researchers work on an abstract view of the Internet. Studies that focus on Internet Topology Inference, for example, do not necessarily consider the interplay of routing policies. This is sometimes worsened by the use of a limited number of Vantage Points. They merely use the available BGP data. Measurements that look at the deployment of RPKI, as another example, build their methodologies on such AS topologies.

The underlying assumption that most research is based on is that ASes are atomic nodes in a graph—a single router on the Internet. This is, however, not the case. ASes on the Internet do not necessarily follow the simple principle that one path for a prefix is enough. They might operate different routes depending on multiple factors, such as business agreements, geographical distances, and optimisation purposes. These ASes are heterogeneous. ASes that always use one route per prefix, on the other hand, are homogeneous.

We developed two methods to measure the number of heterogeneous ASes on the Internet using only publicly available BGP data.

The first method focuses on the use of update messages that are sent across BGP. Hereby, we use the BGP decision process—an algorithm that finds the best route for a prefix—and some of its filtering steps to infer preferences. Conflicting results for the same AS imply heterogeneity.

The second method uses router snapshots from multiple Vantage Points that contain AS paths for all reachable prefixes. We use the vast geographical distribution of our VPs to find differences in the AS paths—so called detours. Finding two detours for the same AS implies that this AS is heterogeneous.

We further collected a ground-truth data set for validation purposes as well. Here, we scanned so-called Looking Glasses (LGs) that hold information about BGP configurations. They are queryable web interfaces that given a prefix return a set of BGP routes. We performed a 6-month long measurement that collected (as of our knowledge) the largest LG data set as of today.