Consul is a distributed, highly available, and data center aware solution to connect and configure applications across dynamic, distributed infrastructure.
 
 
 
 
 
 
Go to file
Derek Menteer 3e8ec8d18e
Fix SAN matching on terminating gateways (#20417)
Fixes issue: hashicorp/consul#20360

A regression was introduced in hashicorp/consul#19954 where the SAN validation
matching was reduced from 4 potential types down to just the URI.

Terminating gateways will need to match on many fields depending on user
configuration, since they make egress calls outside of the cluster. Having more
than one matcher behaves like an OR operation, where any match is sufficient to
pass the certificate validation. To maintain backwards compatibility with the
old untyped `match_subject_alt_names` Envoy behavior, we should match on all 4
enum types.

https://www.envoyproxy.io/docs/envoy/latest/api-v3/extensions/transport_sockets/tls/v3/common.proto#enum-extensions-transport-sockets-tls-v3-subjectaltnamematcher-santype
2024-01-31 12:17:45 -06:00
.changelog Fix SAN matching on terminating gateways (#20417) 2024-01-31 12:17:45 -06:00
.github Update Vault/Nomad versions. (#20322) 2024-01-30 16:36:08 -05:00
.release security: fix syntax for release scan config (#20279) 2024-01-19 17:08:54 +00:00
acl Migrate the Endpoints controller to use the controller cache (#20241) 2024-01-18 17:52:52 -05:00
agent Fix SAN matching on terminating gateways (#20417) 2024-01-31 12:17:45 -06:00
api [CC-7044] Start HCP manager as part of link creation (#20312) 2024-01-29 16:31:44 -06:00
bench
build-support In-Memory gRPC (#19942) 2024-01-12 11:54:07 -05:00
command refactor the resource client (#20343) 2024-01-30 12:33:44 -08:00
connect Retry lint fixes (#19151) 2023-12-06 12:11:32 -05:00
contributing
docs Remove V2 PeerName field from pbresource.Tenancy (#19865) 2024-01-29 15:08:31 -05:00
envoyextensions [NET-7009] security: update x/crypto to 0.17.0 (#20023) 2023-12-21 20:11:19 +00:00
grafana NET-6862: adding disk-io and disk usage metrics to k8s grafana dashboard (#20169) 2024-01-16 22:14:17 +05:30
grpcmocks/proto-public resource: add MutateAndValidate endpoint (#20311) 2024-01-25 13:12:30 -06:00
internal [NET-6429] Program ProxyStateTemplate to route cross-partition traffi… (#20410) 2024-01-31 10:46:04 -05:00
ipaddr
lib [CC-7044] Start HCP manager as part of link creation (#20312) 2024-01-29 16:31:44 -06:00
logging In-Memory gRPC (#19942) 2024-01-12 11:54:07 -05:00
proto NET-5824 Exported services api (#20015) 2024-01-23 10:06:59 +05:30
proto-public Handle NamespaceTrafficPermissions when reconciling TrafficPermissions (#20407) 2024-01-30 21:31:25 +00:00
sdk Add additional rules to iptables SDK (#20232) 2024-01-17 21:59:21 +05:30
sentinel
service_os
snapshot
test Use mirrored image for CICD tests. (#20378) 2024-01-29 10:22:34 -06:00
test-integ Remove V2 PeerName field from pbresource.Tenancy (#19865) 2024-01-29 15:08:31 -05:00
testing/deployer NET-6653 Enabling container logs when initConsulServers fails and ret… (#20396) 2024-01-30 22:07:42 +05:30
testrpc feat(v2): add consul service and workloads to catalog (#20077) 2024-01-03 15:14:42 -05:00
tlsutil [Cloud][CC-6925] Updates to pushing server state (#19682) 2023-12-04 10:25:18 -05:00
tools/internal-grpc-proxy
troubleshoot NET-6943 - Replace usage of deprecated Envoy field envoy.config.router.v3.WeightedCluster.total_weight. (#20011) 2023-12-22 19:49:44 +00:00
types
ui ui: Copy the mock endpoint over to prefixed-api mocks (#20395) 2024-01-29 17:43:03 -07:00
version
website docs: Fix indention of wal object in agent config (#20399) 2024-01-31 11:24:00 -05:00
.copywrite.hcl [DO NOT MERGE UNTIL EOY] update year in LICENSE and copywrite files (#19780) 2024-01-02 08:41:12 -08:00
.dockerignore
.gitignore
.go-version [NET-4968] Upgrade Go to 1.21 (#20062) 2024-01-12 09:57:38 -05:00
.golangci.yml [NET-4968] Upgrade Go to 1.21 (#20062) 2024-01-12 09:57:38 -05:00
.grpcmocks.yaml In-Memory gRPC (#19942) 2024-01-12 11:54:07 -05:00
.pre-commit-config.yaml unhack: add pre-commit guidelines (#19617) 2023-11-15 10:57:40 -06:00
CHANGELOG.md Add new changelog entries for 1.15.9, 1.16.5, 1.17.2 (#20337) 2024-01-24 14:21:23 -05:00
Dockerfile Xw/net 5724 grpc client delete (#20309) 2024-01-24 15:17:54 -08:00
Dockerfile-windows
LICENSE [DO NOT MERGE UNTIL EOY] update year in LICENSE and copywrite files (#19780) 2024-01-02 08:41:12 -08:00
Makefile [NET-4968] Upgrade Go to 1.21 (#20062) 2024-01-12 09:57:38 -05:00
README.md
buf.work.yaml
go.mod feat(v2dns): add PTR query support (#20362) 2024-01-29 11:40:10 -05:00
go.sum feat(v2dns): add PTR query support (#20362) 2024-01-29 11:40:10 -05:00
main.go
scan.hcl [NET-6969] security: Re-enable Go Module + secrets security scans for release branches (#19978) 2023-12-21 15:11:05 +00: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.

  • API Gateway - Consul API Gateway manages access to services within Consul Service Mesh, allow users to define traffic and authorization policies to services deployed within the mesh.

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