Skip to content

Testing Caddy configuration parameters' effect on responsiveness.

Notifications You must be signed in to change notification settings

network-quality/caddy-experiment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Testing Caddy configuration parameters' effect on responsiveness.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages