Commit Graph

262 Commits (3df8b5847922ef17307522dad4acba5910fb0916)

Author SHA1 Message Date
Eric Haberkorn ebd5513d4b
Refactor failover code to use Envoy's aggregate clusters (#14178)
2 years ago
DanStough 169ff71132 fix: ipv4 destination dns resolution
2 years ago
Dhia Ayachi 6fd65a4a45
Tgtwy egress HTTP support (#13953)
2 years ago
Dhia Ayachi 256694b603
inject gateway addons to destination clusters (#13951)
2 years ago
Chris S. Kim 8ed49ea4d0
Update envoy metrics label extraction for peered clusters and listeners (#13818)
2 years ago
DanStough 2da8949d78 feat: convert destination address to slice
2 years ago
Chris S. Kim 495936300e
Make envoy resources for inferred peered upstreams (#13758)
2 years ago
Dan Stough 49f3dadb8f feat: connect proxy xDS for destinations
2 years ago
Kyle Havlovitz 9097e2b0f0
Merge pull request #13699 from hashicorp/tgate-http2-upstream
2 years ago
R.B. Boyer 2317f37b4d
state: prohibit exported discovery chains to have cross-datacenter or cross-partition references (#13726)
2 years ago
Kyle Havlovitz 439eccdd80 Respect http2 protocol for upstreams of terminating gateways
2 years ago
Eric Haberkorn 653cb42944
Fix spelling mistake in serverless patcher (#13607)
2 years ago
R.B. Boyer 31b95c747b
xds: modify rbac rules to use the XFCC header for peered L7 enforcement (#13629)
2 years ago
R.B. Boyer de0f9ac519
xds: have mesh gateways forward peered SpiffeIDs using the XFCC header (#13625)
2 years ago
R.B. Boyer 1a9c86ea8f
xds: mesh gateways now correctly load up peer-exported discovery chains using L7 protocols (#13624)
2 years ago
Chris S. Kim fb5eb20563
Pass trust domain to RBAC to validate and fix use of wrong peer trust bundles (#13508)
2 years ago
DanStough 4b402e3119 feat: tgtwy xDS generation for destinations
2 years ago
R.B. Boyer da8cea58c9
xds: begin refactor to always pass test snapshots through all xDS types (#13461)
2 years ago
R.B. Boyer 201d1458c3
xds: mesh gateways now have their own leaf certificate when involved in a peering (#13460)
2 years ago
Chris S. Kim a02e9abcc1
Update RBAC to handle imported services (#13404)
3 years ago
R.B. Boyer f557509e58
xds: allow for peered upstreams to use tagged addresses that are hostnames (#13422)
3 years ago
R.B. Boyer ab758b7b32
peering: allow mesh gateways to proxy L4 peered traffic (#13339)
3 years ago
R.B. Boyer 019aeaa57d
peering: update how cross-peer upstreams and represented in proxycfg and rendered in xds (#13362)
3 years ago
Freddy a09c776645 Update public listener with SPIFFE Validator
3 years ago
Freddy 74ca6406ea
Configure upstream TLS context with peer root certs (#13321)
3 years ago
R.B. Boyer 8e530701ce
test: regenerate golden files (#13336)
3 years ago
freddygv 364758ef2f Use embedded SpiffeID for peered upstreams
3 years ago
DanStough 2e2c71d2f2 fix: multiple grpc/http2 services for ingress listeners
3 years ago
Kyle Havlovitz 4bc6c23357 Add connection limit setting to service defaults
3 years ago
Eric 21c3134575 Support making requests to lambda from connect proxies.
3 years ago
Mark Anderson 97f19a6ec1 Fix tests for APPEND_FORWARD change
3 years ago
Mark Anderson 28b4b3a85d Add x-forwarded-client-cert headers
3 years ago
Evan Culver 000d0621b4
connect: Add Envoy 1.22 to integration tests, remove Envoy 1.18 (#12805)
3 years ago
Evan Culver 881e17fae1
connect: Add Envoy 1.21.1 to support matrix, remove 1.17.4 (#12777)
3 years ago
Eric b01bb41553 Implement routing and intentions for AWS Lambdas
3 years ago
R.B. Boyer 25ba9c147a
xds: ensure that all connect timeout configs can apply equally to tproxy direct dial connections (#12711)
3 years ago
Kyle Havlovitz 6cf22a5cef
Merge pull request #12672 from hashicorp/tgate-san-validation
3 years ago
Eric 5682f3ce1f Tweak the Lambda Envoy configuration generated by the serverless patcher
3 years ago
Kyle Havlovitz 1a3b885027 Use the GatewayService SNI field for upstream SAN validation
3 years ago
Eric e0a15690ae Implement Lambda Patching in the Serverless Plugin
3 years ago
Eric Haberkorn 458b1838db
Merge pull request #12659 from hashicorp/bump-go-control-plane
3 years ago
R.B. Boyer e79ce8ab03
xds: adding control of the mesh-wide min/max TLS versions and cipher suites from the mesh config entry (#12601)
3 years ago
Eric e4b4f175ed Bump go-control-plane
3 years ago
R.B. Boyer 2a56e0055b
proxycfg: change how various proxycfg test helpers for making ConfigSnapshot copies works to be more correct and less error prone (#12531)
3 years ago
Kyle Havlovitz 3fe358b831 xds: respect chain protocol on default discovery chain
3 years ago
freddygv 659ebc05a9 Ensure passthrough addresses get cleaned up
3 years ago
R.B. Boyer 424f3cdd2c
proxycfg: introduce explicit UpstreamID in lieu of bare string (#12125)
3 years ago
Kyle Havlovitz 0db874c38b Add virtual IP generation for term gateway backed services
3 years ago
Mike Morris 1b1a97e8f9
ingress: allow setting TLS min version and cipher suites in ingress gateway config entries (#11576)
3 years ago
freddygv e7a7042c69 Update listener generation to account for consul VIP
3 years ago
Freddy 00b5b0a0a2
Update filter chain creation for sidecar/ingress listeners (#11245)
3 years ago
Daniel Upton 50a1f20ff9
xds: prefer fed state gateway definitions if they're fresher (#11522)
3 years ago
Evan Culver 61be9371f5
connect: Remove support for Envoy 1.16 (#11354)
3 years ago
Evan Culver bec08f4ec3
connect: Add support for Envoy 1.20 (#11277)
3 years ago
freddygv e1691d1627 Update XDS for sidecars dialing through gateways
3 years ago
Paul Banks c891f30c24 Rebase and rebuild golden files for Envoy version bump
3 years ago
Paul Banks 78a00f2e1c Add support for enabling connect-based ingress TLS per listener.
3 years ago
Evan Culver fdbb742ffd
regenerate more envoy golden files
3 years ago
Evan Culver 585d9363ed
Merge branch 'main' into eculver/envoy-1.19.1
3 years ago
Paul Banks a9119e36a5 Fix merge conflict in xds tests
3 years ago
Paul Banks 2a3d3d3c23 Update xDS routes to support ingress services with different TLS config
3 years ago
Paul Banks 16b3b1c737 Update xDS Listeners with SDS support
3 years ago
Chris S. Kim f972048ebc
connect: Allow upstream listener escape hatch for prepared queries (#11109)
3 years ago
Evan Culver 2798383dbc
regenerate envoy golden files
3 years ago
Paul Banks e22cc9c53a Header manip for split legs plumbing
3 years ago
Paul Banks 83fc8723a3 Header manip for service-router plumbed through
3 years ago
Paul Banks f439dfc04f Ingress gateway header manip plumbing
3 years ago
Dhia Ayachi bc0e4f2f46
partition dicovery chains (#10983)
3 years ago
freddygv af52d21884 Update prepared query cluster SAN validation
3 years ago
freddygv 85878685b7 Fixup proxy config test fixtures
3 years ago
Freddy 12b7e07d5c
Merge pull request #10621 from hashicorp/vuln/validate-sans
3 years ago
R.B. Boyer 20feb42d3a
xds: ensure single L7 deny intention with default deny policy does not result in allow action (CVE-2021-36213) (#10619)
3 years ago
freddygv 5a82656510 Update golden files
3 years ago
freddygv 5454147c09 Update golden files to account for SAN validation
3 years ago
freddygv 924a5ba642 Regen golden files
4 years ago
freddygv 0aec6761dc Update ingress gateway stats labeling
4 years ago
freddygv 6f8c6043b6 Update terminating gateway stats labeling
4 years ago
Freddy 429f9d8bb8
Add flag for transparent proxies to dial individual instances (#10329)
4 years ago
Freddy 7577f0e991
Revert "Avoid adding original_dst filter when not needed" (#10365)
4 years ago
Freddy 353280660f
Ensure passthrough clusters can be created (#10301)
4 years ago
Freddy 19334e8abf
Avoid adding original_dst filter when not needed (#10302)
4 years ago
Mark Anderson ff7fca756b Add simple test for downstream sockets
4 years ago
Mark Anderson 6be9cebad0 Add tests for xds/listeners
4 years ago
Freddy 2ca3f481f8
Only consider virtual IPs for transparent proxies (#10162)
4 years ago
R.B. Boyer abc1dc0fe9
connect: update supported envoy versions to 1.18.2, 1.17.2, 1.16.3, and 1.15.4 (#10101)
4 years ago
R.B. Boyer 06848ce67e fix broken golden tests
4 years ago
Freddy e385e5992f
Merge pull request #9042 from lawliet89/tg-rewrite
4 years ago
R.B. Boyer 499fee73b3
connect: add toggle to globally disable wildcard outbound network access when transparent proxy is enabled (#9973)
4 years ago
Yong Wen Chua 409768d6e5
Merge branch 'master' of github.com:hashicorp/consul into tg-rewrite
4 years ago
freddygv ce964f8ea5 Update xds for transparent proxy
4 years ago
R.B. Boyer 398b766532
xds: default to speaking xDS v3, but allow for v2 to be spoken upon request (#9658)
4 years ago
R.B. Boyer be89557fb4
test: omit envoy golden test files that differ from the latest version (#9807)
4 years ago
Yong Wen Chua 58b553704a
Update test fixtures
4 years ago
R.B. Boyer 3b6ffc447b
xds: remove deprecated usages of xDS (#9602)
4 years ago
R.B. Boyer 39effd620c
xds: only try to create an ipv6 expose checks listener if ipv6 is supported by the kernel (#9765)
4 years ago
R.B. Boyer 6eeccc93ce
connect: update supported envoy point releases to 1.16.2, 1.15.3, 1.14.6, 1.13.7 (#9737)
4 years ago
Chris Boulton 8a35df81c7
connect: add local_request_timeout_ms to configure local_app http timeouts (#9554)
4 years ago
Freddy fe728855ed
Add DC and NS support for Envoy metrics (#9207)
4 years ago
R.B. Boyer 8baf158ea8
Revert "Add namespace support for metrics (OSS) (#9117)" (#9124)
4 years ago
Freddy 06b3b017d3
Add namespace support for metrics (OSS) (#9117)
4 years ago
R.B. Boyer a2c50d3303
connect: add support for envoy 1.16.0, drop support for 1.12.x, and bump point releases as well (#8944)
4 years ago
R.B. Boyer 1b413b0444
connect: support defining intentions using layer 7 criteria (#8839)
4 years ago
freddygv 768dbaa68d Add session flag to cookie config
4 years ago
freddygv 403a180430 Set tgw filter router config name to cluster name
4 years ago
freddygv 00f2794bfa Update golden files after default route fix for tgw
4 years ago
freddygv 30ba080d25 Add explicit protocol overrides in tgw xds test cases
4 years ago
freddygv 63f79e5f9b Restructure structs and other PR comments
4 years ago
freddygv 28d0602fc1 Pass LB config to Envoy via xDS
4 years ago
R.B. Boyer 74d5df7c7a
xds: use envoy's rbac filter to handle intentions entirely within envoy (#8569)
4 years ago
R.B. Boyer c599a2f5f4
xds: add support for envoy 1.15.0 and drop support for 1.11.x (#8424)
4 years ago
R.B. Boyer 1eef096dfe
xds: version sniff envoy and switch regular expressions from 'regex' to 'safe_regex' on newer envoy versions (#8222)
4 years ago
Chris Piraino 735337b170
Append port number to ingress host domain (#8190)
4 years ago
Freddy 5baa7b1b04
Always return a gateway cluster (#8158)
5 years ago
Freddy 166a8b2a58
Only pass one hostname via EDS and prefer healthy ones (#8084)
5 years ago
Chris Piraino 1a853fc954
Always require Host header values for http services (#7990)
5 years ago
Freddy 9ed325ba8b
Enable gateways to resolve hostnames to IPv4 addresses (#7999)
5 years ago
Raphaël Rondeau 0d2f178b7b
connect: fix endpoints clusterName when using cluster escape hatch (#7319)
5 years ago
Kyle Havlovitz b14696e32a
Standardize support for Tagged and BindAddresses in Ingress Gateways (#7924)
5 years ago
Kyle Havlovitz 136549205c
Merge pull request #7759 from hashicorp/ingress/tls-hosts
5 years ago
Freddy c32a4f1ece
Fix up enterprise compatibility for gateways (#7813)
5 years ago
Kyle Havlovitz f14c54e25e Add TLS option and DNS SAN support to ingress config
5 years ago
Chris Piraino 881760f701 xds: Use only the port number as the configured route name
5 years ago
Chris Piraino f40833d094 Allow Hosts field to be set on an ingress config entry
5 years ago
Kyle Havlovitz 711d1389aa Support multiple listeners referencing the same service in gateway definitions
5 years ago
Kyle Havlovitz 247f9eaf13 Allow ingress gateways to route traffic based on Host header
5 years ago
Freddy 137a2c32c6
TLS Origination for Terminating Gateways (#7671)
5 years ago
freddygv 6abc71f915 Skip filter chain creation if no client cert
5 years ago
freddygv 09a8e5f36d Use golden files for gateway certs and fix listener test flakiness
5 years ago
freddygv 913b13f31f Add subset support
5 years ago
freddygv 219c78e586 Add xds cluster/listener/endpoint management
5 years ago
Chris Piraino ecc8a2d6f7 Allow ingress gateways to route through mesh gateways
5 years ago
Chris Piraino cb9df538d5 Add all the xds ingress tests
5 years ago
Kyle Havlovitz e9e8c0e730
Ingress Gateways for TCP services (#7509)
5 years ago
Andy Lindeman c1cb18c648
proxycfg: support path exposed with non-HTTP2 protocol (#7510)
5 years ago
Kim Ngo bef693df9c
agent/xds: Update mesh gateway to use service router timeout (#7444)
5 years ago
R.B. Boyer 6adad71125
wan federation via mesh gateways (#6884)
5 years ago
Matt Keeler 4c9577678e
xDS Mesh Gateway Resolver Subset Fixes (#7294)
5 years ago
Chris Piraino 47ff532735
Fixes envoy config when both RetryOn* values are set (#7280)
5 years ago
Chris Piraino f3b54fa535
Allow configuration of upstream connection limits in Envoy (#6829)
5 years ago
R.B. Boyer 97aa050c20
agent: allow mesh gateways to initialize even if there are no connect services registered yet (#6576)
5 years ago
R.B. Boyer 8dcba472a2
xds: tcp services using the discovery chain should not assume RDS during LDS (#6623)
5 years ago
Freddy fdd10dd8b8
Expose HTTP-based paths through Connect proxy (#6446)
5 years ago
R.B. Boyer dfcdc41ef8
connect: allow 'envoy_cluster_json' escape hatch to continue to function (#6378)
5 years ago
R.B. Boyer ae79cdab1b
connect: introduce ExternalSNI field on service-defaults (#6324)
5 years ago
R.B. Boyer 72207256b9
xds: improve how envoy metrics are emitted (#6312)
5 years ago
R.B. Boyer 8e22d80e35
connect: fix failover through a mesh gateway to a remote datacenter (#6259)
5 years ago
R.B. Boyer c395affc93
connect: expose an API endpoint to compile the discovery chain (#6248)
5 years ago
R.B. Boyer 6393edba53
connect: reconcile how upstream configuration works with discovery chains (#6225)
5 years ago
Matt Keeler fcc18c1675
Fix prepared query upstream endpoint generation (#6236)
5 years ago
R.B. Boyer ad9e7b6ae9
connect: allow L7 routers to match on http methods (#6164)
5 years ago