NANOG 90

In the background the nighttime skyline of Charlotte, USA. The text reads: NANOG 90, Feb 12-14, 2024. Charlotte, USA. At the bottom is the BENOCS logo.

It’s NANOG time! Next week Hari is off to Charlotte, USA, to attend NANOG 90. Get in touch with us or him directly to arrange a meeting to find out about the latest at BENOCS.

Towards application identification with a novel DNS-based approach

Application-oriented view of traffic sources in the form of a sankey diagram

Today’s internet revolves more around applications and less around networks. An interesting example of this current application-oriented approach is a global outage this year[1]. Nobody remembers that AS13414 reported a down, however, many people remember that X (formerly Twitter) had slowdowns and outages affecting many international users.

In this context, network players (e.g., ISPs) have been trying for decades to understand how application traffic is delivered to end-users. Existing tools are limited and only DPI (Deep Packet Inspection) has been the dominant technology to provide such insight; however, this faces increasing challenges with encryption and scaling.

In this post, we present a BENOCS implementation of a DNS-based correlation framework, called DNS Flow Analyzer (DFA), to annotate and classify the traffic flows with information about applications (e.g., TikTok, Disney+, AmazonPrime, DAZN) and CDN domains (e.g., fastly.net, akamai.net, cloudfront.net). This novel solution allows network providers to expand their traditional network-oriented view with an application-oriented view.

A network-oriented view is not enough

A few decades ago, content providers were building big data centers to serve different Internet-based applications to end-users. In recent years, however, Content Delivery Networks (CDNs) are being used to convey the increasing demands for online applications (including video, gaming, and social networks). These media contents, riding on the top of the network, are known as Over-The-Top applications (OTT-Applications) and they use globally distributed CDNs for sending their content. Currently, large content providers leverage more than one CDN and CDNs also convey traffic of multiple OTT-Applications.

In order to work efficiently, network operators need better knowledge on how traffic from the CDNs and OTT-Applications is delivered to their end-users. However, they have historically focused on obtaining information only about Autonomous Systems (ASes), transit providers, and peers. This network-oriented approach is not enough to answer one key question: how do OTT-Applications use the different CDN domains to distribute their traffic?

An application-oriented approach with DFA

Answering the above question has been a daunting task for network actors. Existing network-focused solutions such as legacy flow tools or DPI are limited in tying traffic information to individual applications. The latter also becomes increasingly inefficient due to encryption and requires a ridiculous amount of hardware, especially working on a large scale.

At BENOCS, we have developed a methodology that includes the analysis, design, and implementation of an application identification system called DNS Flow Analyzer (DFA). DFA annotates and extends the traffic flows with domain name information, so that two new layers are effectively obtained: (i) OTT-Application domain and (ii) CDN domain.

Specifically, we propose a large-scale real-time network data correlation system that uses a set of different data sources (e.g. Netflow, BGP) but mainly it feeds on DNS streams to obtain multi-dimensional traffic information. As a result, we obtain an application-oriented view to identify how a source OTT-Application (e.g. Disney+) is delivering traffic to a network using different CDN domains (e.g., akamai.net, cloudfront.net).

DFA architecture and workflow

The high-level DFA architecture and entire workflow rely on two developed components:

  1. DNS-Netflow Correlation. The output of this component includes extended and correlated data: Netflow and a list of URLs representing a DNS domain name resolution. The sequence of events are:

1.1) Live DNS records are classified in two lists (i) DNS A/4A to map an IP address to a domain name, and (ii) DNS CNAME to map a domain name to another domain name.

1.2) In parallel, live Netflow records are captured at the network ingress interfaces. Each Netflow record contains, among others, timestamp, srcIP, dstIP, bytes, etc.

1.3) DFA looks for the srcIP of a Netflow record in the DNS A/4A list to find the domain name it corresponds to (using getName(IP)). Then, looking at the DNS CNAME list, DFA searches for the previous domain name to find the CNAME it corresponds to (using getName(Name)). The search in the CNAME list continues until no further domain names are found (or a pre-defined loop limit is reached).

Diagram of DFA architecture
  1. CDN-APP Classification. This final output extends the traffic flows with CDN domain and OTT-Application information (including BGP). See the sequence of events below:

2.1) DNS-Netflow data is correlated with BGP to gain more knowledge about the traffic paths (source AS, handover AS, nexthop AS, and destination AS).

2.2) Regarding the CDN domain, getCDN() function uses the first URL in the list of domain names and selects the second-level domain (2LD) and top-level domain (TLD). In case of the latter, this component makes use of the Public Suffix List (PSL) database[2] published by Mozilla.

2.3) This second lookup goes through the list of domain names to obtain an OTT-Application. The getAPP() function uses a URL-APP database to associate a specific domain name or URL to the OTT-Application it belongs to (e.g., dssott.com is for Disney+, pv-cdn.net is for AmazonPrime, etc.). This URL-APP is a customized/curated list that continually evolves as new sources are discovered.

DFA architecture to front end (diagram)

DFA correlates flow and DNS data to see where the network traffic originates. It identifies CDN domains and OTT-Applications within the source AS based on DNS A/CNAME records pairing. This novel and future-proof way to identify applications can be typically used by:

  • Firstline maintenance (NOC) to respond to customer complaints, which are generally about applications, not IP-addresses or ASes.
  • DFA also includes an easy-to-understand multi-dimensional dashboard with a network-oriented view (by default), having the option to unlock two new dimensions to allow the visualization of the traffic flows in an application-oriented view with various OTT-Applications and CDN domains.
Screenshot BENOCS DNS Flow Analyzer

Get in touch with us if you’d like to learn more about DNS Flow Analyzer and see it in action!

[1] https://twitter.com/TwitterSupport/status/1632792942262747136

[2] https://publicsuffix.org/

RIPE 87

In the background the Colloseum in Rome. The text reads: RIPE 87, Nov 27 - Dec 1, Rome. At the bottom the BENOCS 10 years logo.

It’s happening! Next week we are off to RIPE 87 in the ancient city of Rome. StephanIngmarHari and Falk are all looking forward to catching up with and finding out the latest from the networking community. Find out the latest from them about BENOCS Analytics!

DENOG 15

Night-time view of a building, in the foreground the letters "BERLIN" lit up in lights. The text reads: DENOG 15, Nov 16-19, Berlin. At the bottom is the BENOCS 10 years logo.

Next week we are travelling to…. Berlin! 🥳😆

PéterHariPhillip and our newest team member, Aitor Mendaza-Ormaza, will be travelling all the way across town to the Estrel Convention Center to attend DENOG15.

There Hari will present on the topic of Private Relay services, posing the question “Do they really work?” and giving some insights from an access-network perspective.

Be sure to check it out and say hi to the lads when you see them. 👋

Have a look at the full agenda here: https://lnkd.in/eYSSvS48

IEEE NFV-SDN 2023

Zwinger in Dresden. Text reads: IEEE NFV-SDN, Nov 7-9, Dresden. At the bottom the BENOCS 10 years logo.

Come and meet us at IEEE NFV-SDN next week in Dresden, where Ingmar Poese and Danny A. Lachos will give a demo entitled:

“𝘋𝘕𝘚 𝘍𝘭𝘰𝘸 𝘈𝘯𝘢𝘭𝘺𝘴𝘦𝘳 (𝘋𝘍𝘈): 𝘈 𝘋𝘕𝘚-𝘣𝘢𝘴𝘦𝘥 𝘊𝘰𝘳𝘳𝘦𝘭𝘢𝘵𝘪𝘰𝘯 𝘚𝘺𝘴𝘵𝘦𝘮 𝘵𝘰 𝘊𝘭𝘢𝘴𝘴𝘪𝘧𝘺 𝘊𝘋𝘕 𝘋𝘰𝘮𝘢𝘪𝘯𝘴 𝘢𝘯𝘥 𝘖𝘛𝘛-𝘈𝘱𝘱𝘭𝘪𝘤𝘢𝘵𝘪𝘰𝘯𝘴”.

Danny is also part of the Technical Program Committee of the Doctoral Symposium (a co-located event): https://lnkd.in/giHM6fhr

Take a look at the full agenda here: https://lnkd.in/eQp_Upz3

Capacity Europe 2023

Tower Bridge in London. Text reads: Capacity Europe, Pct 16-19, London. At the bottom the BENOCS 10 years logo.

We’re off to lovely London! Next week from October 16 StephanPéter and Rebecca will be attending Capacity Europe to meet old and new friends in the telco industry. Stop by our booth (no. 323) and say hello!

NANOG 89

San Diego skyline in the background. The text reads: NANOG 89, Oct 16-18, San Diego. at the bottom left the BENOCS 10 years logo. At the bottom right the URL: https://www.nanog.org/events/nanog-89/

Looking forward to NANOG 89 next week in San Diego, USA! Give us a shout if you’re there too and want to find out all the latest about BENOCS Analytics. Hari will be happy to chat with you. 😀

MobiCom 2023

A statue in Madrid. The text reads: Mobicom 2023, Oct 2-6, Madrid. Bottom left is the BENOCS 10 yeras logo. Bottom right the URL: https://sigmobile.org/mobicom/2023/

Right now Ingmar Poese is in Madrid soaking up the very interesting program (and possibly some sun) at MobiCom 2023. You can take a look at the program here: https://lnkd.in/ekXReVfK

LACNIC 40

Skyline of Fortaleza be night. Text reads: LACNIC 40, Oct 2-6, Fortaleza, Brazil. Bottom left is the BENOCS 10 years logo. Bottomr right the URL: https://lacnic40.lacnic.net/en

Next week, from October 2-6, Hari Jayaraman will be in Fortaleza, Brazil, to attend LACNIC40. He’s looking forward to some interesting presentations, as well as finding out more about the wishes and needs of our Latin American and Caribbean customers!

Please reach out to us if you’d like to schedule a meeting with him and find out how you can optimize your network with BENOCS.