Skip to content

Latest commit

 

History

History
56 lines (38 loc) · 1.27 KB

README.md

File metadata and controls

56 lines (38 loc) · 1.27 KB

Caddy Bufferbloat Experimentation

Installing Caddy

Building caddy From Source

  1. Install xcaddy
$ go install github.com/caddyserver/xcaddy/cmd/xcaddy@latest
  1. Build the latest
$ xcaddy build latest

Installing RPM Server (Go implementation)

TODO

Experiments

Experiment 1: Basic configuration

Use the Caddyfile named Caddyfile-basic:

Start the RPM server.

$ ./networkqualityd --create-cert --public-name <IP> --config-name <IP> --config-name <IP> --listen-addr 0.0.0.0 -debug

Confirm that the proxy is working:

$ curl --http2 -k https://10.63.1.35/config 
{
    "version": 1,
    "urls": {
        "small_download_url": "https://10.63.1.35:4043/small",
        "large_download_url": "https://10.63.1.35:4043/large",
        "upload_url": "https://10.63.1.35:4043/slurp",
        "small_https_download_url": "https://10.63.1.35:4043/small",
        "large_https_download_url": "https://10.63.1.35:4043/large",
        "https_upload_url": "https://10.63.1.35:4043/slurp"
    }
}

Note: Make sure that the port number in the config is pointing to the proper spot. In the non-Caddy configuration, it should point to the 4043 port. For the Caddy configuration, it should point to the 443 port.