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.
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
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
- The memory consumption always grows as the number of connections grow
- Not yet implemented: valid edge counter (is it on draft yet? https://www.ietfjournal.org/enabling-internet-measurement-with-the-quic-spin-bit/)