Consul is a distributed, highly available, and data center aware solution to connect and configure applications across dynamic, distributed infrastructure. https://www.consul.io
Go to file
Phil Porada 7ea986783d
Add TCP+TLS Healthchecks (#18381)
* Begin adding TCPUseTLS

* More TCP with TLS plumbing

* Making forward progress

* Keep on adding TCP+TLS support for healthchecks

* Removed too many lines

* Unit tests for TCP+TLS

* Update tlsutil/config.go

Co-authored-by: Samantha <hello@entropy.cat>

* Working on the tcp+tls unit test

* Updated the runtime integration tests

* Progress

* Revert this file back to HEAD

* Remove debugging lines

* Implement TLS enabled TCP socket server and make a successful TCP+TLS healthcheck on it

* Update docs

* Update agent/agent_test.go

Co-authored-by: Samantha <hello@entropy.cat>

* Update website/content/docs/ecs/configuration-reference.mdx

Co-authored-by: Samantha <hello@entropy.cat>

* Update website/content/docs/ecs/configuration-reference.mdx

Co-authored-by: Samantha <hello@entropy.cat>

* Update agent/checks/check.go

Co-authored-by: Samantha <hello@entropy.cat>

* Address comments

* Remove extraneous bracket

* Update agent/agent_test.go

Co-authored-by: Samantha <hello@entropy.cat>

* Update agent/agent_test.go

Co-authored-by: Samantha <hello@entropy.cat>

* Update website/content/docs/ecs/configuration-reference.mdx

Co-authored-by: Samantha <hello@entropy.cat>

* Update the mockTLSServer

* Remove trailing newline

* Address comments

* Fix merge problem

* Add changelog entry

---------

Co-authored-by: Samantha <hello@entropy.cat>
2023-09-05 13:34:44 -07:00
.changelog Add TCP+TLS Healthchecks (#18381) 2023-09-05 13:34:44 -07:00
.github PLAT-1192 - Run CI on smaller instances (#18624) 2023-08-31 10:56:59 -04:00
.release OSS -> CE (community edition) changes (#18517) 2023-08-22 09:46:03 -05:00
acl OSS -> CE (community edition) changes (#18517) 2023-08-22 09:46:03 -05:00
agent Add TCP+TLS Healthchecks (#18381) 2023-09-05 13:34:44 -07:00
api Add TCP+TLS Healthchecks (#18381) 2023-09-05 13:34:44 -07:00
bench Gets benchmarks running again and does a rough pass for 0.7.1. 2016-11-29 13:02:26 -08:00
build-support update comments and docs about running envoy integration tests with the ENVOY_VERSION set. (#18614) 2023-08-30 17:31:40 +00:00
command Net 2714/xw cli read command (#18462) 2023-09-05 09:17:19 -07:00
connect [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
contributing Move contributing to docs 2021-08-30 16:17:09 -04:00
docs OSS -> CE (community edition) changes (#18517) 2023-08-22 09:46:03 -05:00
envoyextensions CE port of enterprise extension (#18572) 2023-08-24 15:43:26 +00:00
grafana grafana: add the panel resource usage of connect injector (#18247) 2023-07-24 13:10:22 -04:00
internal Net 2714/xw cli read command (#18462) 2023-09-05 09:17:19 -07:00
ipaddr [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
lib OSS -> CE (community edition) changes (#18517) 2023-08-22 09:46:03 -05:00
logging Net 3181 consul gh issue 15709 allow log file naming like nomad - fix bug (#18631) 2023-09-01 14:53:31 +05:30
proto Add TCP+TLS Healthchecks (#18381) 2023-09-05 13:34:44 -07:00
proto-public fix: add telemetry bind socket to proxyConfiguration proto (#18652) 2023-09-01 16:48:06 -04:00
sdk feat: add experiments flag to testserver sdk (#18541) 2023-08-23 10:23:36 -04:00
sentinel OSS -> CE (community edition) changes (#18517) 2023-08-22 09:46:03 -05:00
service_os [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
snapshot [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
test update comments and docs about running envoy integration tests with the ENVOY_VERSION set. (#18614) 2023-08-30 17:31:40 +00:00
test-integ resource: Require scope for resource registration (#18635) 2023-09-01 09:44:53 -05:00
testing/deployer OSS -> CE (community edition) changes (#18517) 2023-08-22 09:46:03 -05:00
testrpc [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
tlsutil [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
tools/internal-grpc-proxy [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
troubleshoot [HCP Telemetry] Move first TelemetryConfig Fetch into the TelemetryConfigProvider (#18318) 2023-08-30 13:25:26 -04:00
types [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
ui feat: copy edits for built-in policy alert (#18655) 2023-09-01 13:58:03 -07:00
version [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
website Add TCP+TLS Healthchecks (#18381) 2023-09-05 13:34:44 -07:00
.copywrite.hcl chore: fix missing/incorrect license headers (#18555) 2023-08-22 17:23:54 -05:00
.dockerignore Update the scripting 2018-06-14 21:42:47 -04:00
.gitignore add peering_commontopo tests [NET-3700] (#17951) 2023-07-18 16:41:30 -07:00
.golangci.yml OSS -> CE (community edition) changes (#18517) 2023-08-22 09:46:03 -05:00
CHANGELOG.md Add known issue notice for #18636. (#18650) 2023-09-01 15:30:52 -05:00
Dockerfile [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
Dockerfile-windows Envoy Integration Test Windows (#18007) 2023-07-21 20:26:00 +05:30
LICENSE [COMPLIANCE] License update (#18479) 2023-08-16 09:42:07 -05:00
Makefile update comments and docs about running envoy integration tests with the ENVOY_VERSION set. (#18614) 2023-08-30 17:31:40 +00:00
NOTICE.md add copyright notice file 2018-07-09 10:58:26 -07:00
README.md README - re-order badges and update hub link (#18498) 2023-08-16 18:41:43 -07:00
buf.work.yaml [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
fixup_acl_move.sh [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00
go.mod [HCP Telemetry] Move first TelemetryConfig Fetch into the TelemetryConfigProvider (#18318) 2023-08-30 13:25:26 -04:00
go.sum [HCP Telemetry] Move first TelemetryConfig Fetch into the TelemetryConfigProvider (#18318) 2023-08-30 13:25:26 -04:00
main.go [COMPLIANCE] License changes (#18443) 2023-08-11 09:12:13 -04:00

README.md

Consul logo Consul

License: BUSL-1.1 Docker Pulls Go Report Card

Consul is a distributed, highly available, and data center aware solution to connect and configure applications across dynamic, distributed infrastructure.

Consul provides several key features:

  • Multi-Datacenter - Consul is built to be datacenter aware, and can support any number of regions without complex configuration.

  • Service Mesh - Consul Service Mesh enables secure service-to-service communication with automatic TLS encryption and identity-based authorization. Applications can use sidecar proxies in a service mesh configuration to establish TLS connections for inbound and outbound connections with Transparent Proxy.

  • Service Discovery - Consul makes it simple for services to register themselves and to discover other services via a DNS or HTTP interface. External services such as SaaS providers can be registered as well.

  • Health Checking - Health Checking enables Consul to quickly alert operators about any issues in a cluster. The integration with service discovery prevents routing traffic to unhealthy hosts and enables service level circuit breakers.

  • Dynamic App Configuration - An HTTP API that allows users to store indexed objects within Consul, for storing configuration parameters and application metadata.

Consul runs on Linux, macOS, FreeBSD, Solaris, and Windows and includes an optional browser based UI. A commercial version called Consul Enterprise is also available.

Please note: We take Consul's security and our users' trust very seriously. If you believe you have found a security issue in Consul, please responsibly disclose by contacting us at security@hashicorp.com.

Quick Start

A few quick start guides are available on the Consul website:

Documentation

Full, comprehensive documentation is available on the Consul website: https://consul.io/docs

Contributing

Thank you for your interest in contributing! Please refer to CONTRIBUTING.md for guidance. For contributions specifically to the browser based UI, please refer to the UI's README.md for guidance.