Beyond socket options: making the Linux TCP stack truly extensible

01/07/2019
by   Viet-Hoang Tran, et al.
0

The Transmission Control Protocol (TCP) is one of the most important protocols in today's Internet. Its specification and implementations have been refined for almost forty years. The Linux TCP stack is one of the most widely used TCP stacks given its utilisation on servers and Android smartphones and tablets. However, TCP and its implementations evolve very slowly. In this paper, we demonstrate how to leverage the eBPF virtual machine that is part of the recent versions of the Linux kernel to make the TCP stack easier to extend. We demonstrate a variety of use cases where the eBPF code is injected inside a running kernel to update or tune the TCP implementation. We first implement the TCP User Timeout Option. Then we propose a new option that enables a client to request a server to use a specific congestion control scheme. Our third extension is a TCP option that sets the initial congestion window. We then demonstrate how eBPF code can be used to tune the acknowledgment strategy.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
08/03/2020

LearningCC: An online learning approach for congestion control

Recently, much effort has been devoted by researchers from both academia...
research
03/17/2019

NetKernel: Making Network Stack Part of the Virtualized Infrastructure

This paper presents a system called NetKernel that decouples the network...
research
10/22/2018

Observing the Evolution of QUIC Implementations

The QUIC protocol combines features that were initially found inside the...
research
12/07/2018

MPTCP Linux Kernel Congestion Controls

MultiPath TCP (MPTCP) is a promising protocol which brings new light to ...
research
03/11/2019

State machine inference of QUIC

QUIC is a recent transport protocol that provides reliable, secure and q...
research
08/13/2019

ConfigTron: Tackling network diversity with heterogeneous configurations

The web serving protocol stack is constantly changing and evolving to ta...
research
09/19/2023

Evaluating the Benefits: Quantifying the Effects of TCP Options, QUIC, and CDNs on Throughput

To keep up with increasing demands on quality of experience, assessing a...

Please sign up or login with your details

Forgot password? Click here to reset