This is our final project for Stanford CS224 for the paper: When to use and when not to use BBR: An empirical analysis and evaluation study
We use the VM recommended by the Mininet (Ubuntu 20.04.1 VM image). You can download the image here.
sudo apt update
sudo apt install -y linux-generic-hwe-20.04
# need to reboot the VM
sudo reboot
# load the kernel module
sudo modprobe tcp_bbr
# check to see if BBR is available in the kernel
cat /proc/sys/net/ipv4/tcp_available_congestion_control
For unit test, we assume you have two Mininet VMs running in your host OS and they can talk
to each other. The easiest way to set up the network is to use Bridged Adapter
in the
networking option.
In addition, the "remote host" needs to change its sshd
default permission to allow SSH
tunnelling:
- Add the following to `/etc/ssh/sshd_config
PermitTunnel yes
- Then restart the
sshd
service:sudo systemctl restart ssh.service