moby--moby/integration
Sebastiaan van Stijn 547b993e07
Add warning if REST API is accessible through an insecure connection
The remote API allows full privilege escalation and is equivalent to
having root access on the host. Because of this, the API should never
be accessible through an insecure connection (TCP without TLS, or TCP
without TLS  verification).

Although a warning is already logged on startup if the daemon uses an
insecure configuration, this warning is not very visible (unless someone
decides to read the logs).

This patch attempts to make insecure configuration more visible by sending
back warnings through the API (which will be printed when using `docker info`).

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2018-08-21 22:03:24 +02:00
..
build Update tests to use gotest.tools 👼 2018-06-13 09:04:30 +02:00
config moved integration tests from docker_cli_config_create_test.go to integration/config 2018-07-13 17:29:02 -04:00
container Migrate some ipc container test from integration-cli to integration 2018-08-01 21:51:45 +00:00
image Update tests to use gotest.tools 👼 2018-06-13 09:04:30 +02:00
internal Fix golint issues 2018-07-11 22:19:03 +02:00
network Global Default Address Pool feature support 2018-08-20 15:07:08 -04:00
plugin Fix flaky TestExternalGraphDriver/pull test 2018-07-17 10:45:33 +02:00
secret Update tests to use gotest.tools 👼 2018-06-13 09:04:30 +02:00
service Revert "migrated service integration tests from integration-cli/docker_cli_service_update_test.go to integration/service" 2018-07-27 17:35:52 +02:00
session Update tests to use gotest.tools 👼 2018-06-13 09:04:30 +02:00
system Add warning if REST API is accessible through an insecure connection 2018-08-21 22:03:24 +02:00
testdata/https
volume Update tests to use gotest.tools 👼 2018-06-13 09:04:30 +02:00
doc.go Add canonical import comment 2018-02-05 16:51:57 -05:00