adikabintang / how-quic

Measuring QUIC RTT from QUIC's spin-bit

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

how-quic

Build Status Language grade: C/C++

how-quic

Measuring end-to-end QUIC RTT from QUIC's spin bit. In this way, we can observe the end-to-end RTT, even as a middleman. Run it in a proxy machine, load balancer, router, etc., and we can observe end-to-end RTT.

Written in C with libpcap library.

warning: To anyone who sees this, please note this project is written with learning goal, not production goal.

How to build

Install dependencies:

sudo apt-get install -y gcc make libpcap-dev uthash-dev

Clone and build:

git clone https://github.com/adikabintang/how-quic.git --recurse-submodules
cd how-quic
make

How to run

To see the helper, run:

./how-quic

Opening the network interface require sudo permission, therefore we need sudo. For example:

sudo ./how_quic.out -i enp0s9 -p 4433

Dependencies

  1. libpcap
  2. log.c
  3. Criterion unit test
  4. uthash

Limitations

About

Measuring QUIC RTT from QUIC's spin-bit

License:MIT License


Languages

Language:C 92.7%Language:Makefile 7.3%