Go to file
freddygv 7fba7456ec Fix race of upstreams with same passthrough ip
Due to timing, a transparent proxy could have two upstreams to dial
directly with the same address.

For example:
- The orders service can dial upstreams shipping and payment directly.
- An instance of shipping at address 10.0.0.1 is deregistered.
- Payments is scaled up and scheduled to have address 10.0.0.1.
- The orders service receives the event for the new payments instance
before seeing the deregistration for the shipping instance. At this
point two upstreams have the same passthrough address and Envoy will
reject the listener configuration.

To disambiguate this commit considers the Raft index when storing
passthrough addresses. In the example above, 10.0.0.1 would only be
associated with the newer payments service instance.
2022-02-10 17:01:57 -07:00
.changelog xds: fix for delta xDS reconnect bug in LDS/CDS (#12174) 2022-01-25 11:24:27 -06:00
.circleci ci: Update CI to stash changes before checkout (#12210) 2022-01-27 10:59:05 -05:00
.github add netcgo tag for darwin builds 2022-01-24 14:34:57 -08:00
.release Don't kill service if envfile isn't present 2022-01-24 12:13:14 -08:00
acl bulk rewrite using this script 2022-01-20 10:46:23 -06:00
agent Fix race of upstreams with same passthrough ip 2022-02-10 17:01:57 -07:00
api Remove incorrect usage of url.PathEscape (#12184) 2022-01-25 12:15:06 -05:00
bench
build-support
command bulk rewrite using this script 2022-01-20 10:46:23 -06:00
connect bulk rewrite using this script 2022-01-20 10:46:23 -06:00
contributing
docs contrib: add CA manager states diagram 2022-01-26 12:14:29 -05:00
grafana
internal
ipaddr
lib bulk rewrite using this script 2022-01-20 10:46:23 -06:00
logging bulk rewrite using this script 2022-01-20 10:46:23 -06:00
proto
sdk Add support for 'Partition' and 'RetryJoin' (#12126) 2022-01-20 16:49:36 -05:00
sentinel
service_os
snapshot
terraform
test connect: Upgrade Envoy 1.20 to 1.20.1 (#11895) 2022-01-18 14:35:27 -05:00
testrpc ca: remove unused provider.ActiveRoot call 2022-01-06 16:56:48 -05:00
tlsutil
types ingress: allow setting TLS min version and cipher suites in ingress gateway config entries (#11576) 2022-01-11 11:46:42 -05:00
ui ui: css-prop modifier (#12205) 2022-01-27 11:27:38 +00:00
version update main to reflect it is v1.12.0-dev (#12157) 2022-01-21 15:03:11 -06:00
website Merge pull request #11951 from hashicorp/docs/api-gateway-beta 2022-01-27 13:38:08 -08:00
.dockerignore
.gitattributes
.gitignore
.golangci.yml ci: Add explanation in forbidigo (#12140) 2022-01-20 13:07:10 -05:00
CHANGELOG.md Add changelog from latest releases (#12095) 2022-01-14 13:35:46 -08:00
Dockerfile
GNUmakefile
INTERNALS.md
LICENSE
NOTICE.md
README.md
Vagrantfile
codecov.yml
go.mod update serf to v0.9.7 (#12057) 2022-01-18 13:03:22 -05:00
go.sum update serf to v0.9.7 (#12057) 2022-01-18 13:03:22 -05:00
main.go
main_test.go
package-lock.json Adding UI screenshots to L7 overview 2022-01-10 14:34:00 -05:00

README.md

Consul CircleCI Discuss

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/Service Segmentation - Consul Connect 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 without being aware of Connect at all.

  • 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.

  • Key/Value Storage - A flexible key/value store enables storing dynamic configuration, feature flagging, coordination, leader election and more. The simple HTTP API makes it easy to use anywhere.

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://www.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.