Project Repo for CS339: Computer Networking.
This project provides an acceleration service for Bilibili. For more information, please see paper.pdf
.
Download rqlite
& Install pyrqlite
Download SwitchyOmega
Set http proxy 127.0.0.1:8080
(mitmproxy port)
Add proxy rule *.bilivideo.com
Add mitmproxy Certificates
pip install mitmproxy
sudo apt install curl
sudo apt install ubuntu-restricted-extras # for firefox
pip install speedtest-cli
pip install icecream # for debug
python start.py
βββ src
βΒ Β βββ Backend
βΒ Β βΒ Β βββ backend.py
βΒ Β βββ frontend.py
βΒ Β βββ Middleware
βΒ Β βΒ Β βββ local_DB.py
βΒ Β βΒ Β βββ main.py
βΒ Β βΒ Β βββ P2P
βΒ Β βΒ Β βΒ Β βββ client.py
βΒ Β βΒ Β βΒ Β βββ server.py
βΒ Β βΒ Β βββ scheduler
βΒ Β βΒ Β βΒ Β βββ scheduler.py
βΒ Β βΒ Β βΒ Β βββ speed_test.py
βΒ Β βΒ Β βββ split.py
βΒ Β βΒ Β βββ utils.py
βΒ Β βββ start.py
βΒ Β βββ utils.py
βββ tests # test and demo