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