summaryrefslogtreecommitdiff
path: root/tests/http
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2015-10-28 15:28:05 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2015-10-28 15:28:05 -0700
commitcabb8752cb9d9c85dc2aa2cac22a4ad101614577 (patch)
treeb7d3a92c778c46fc22398e5d8c3e5c44212b77ca /tests/http
parent1f5ef968cff51721d97587cb1c5402c988c92d5e (diff)
downloadinfinitytier-cabb8752cb9d9c85dc2aa2cac22a4ad101614577.tar.gz
infinitytier-cabb8752cb9d9c85dc2aa2cac22a4ad101614577.zip
docs
Diffstat (limited to 'tests/http')
-rw-r--r--tests/http/README.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/http/README.md b/tests/http/README.md
index ae7f08f1..7852ac16 100644
--- a/tests/http/README.md
+++ b/tests/http/README.md
@@ -3,3 +3,6 @@ HTTP one-to-all test
This code can be deployed across a large number of VMs or containers to test and benchmark HTTP traffic within a virtual network at scale. The agent acts as a server and can query other agents, while the server collects agent data and tells agents about each other. It's designed to use RFC4193-based ZeroTier IPv6 addresses within the cluster, which allows the easy provisioning of a large cluster without IP conflicts.
+A Dockerfile is also included which will build a simple Docker image that runs the agent. The image must be launched with "--device=/dev/net/tun --privileged" to permit it to open a tun/tap device within the container.
+
+Before using this code you will want to edit agent.js to change SERVER_HOST to the IP address of where you will run server.js. This should typically be an open Internet IP, since this makes reporting not dependent upon the thing being tested. Also note that this thing does no security of any kind. It's designed for one-off tests run over a short period of time, not to be anything that runs permanently.