Commit Graph

5183 Commits (698165858505eab8b0df029a9c2b551d891b9c92)

Author SHA1 Message Date
Derek Menteer 8f75d99299
Fix issue with trust bundle read ACL check. (#16630)
2 years ago
Chris S. Kim d5677e5680
Preserve CARoots when updating Vault CA configuration (#16592)
2 years ago
Derek Menteer f2902e6608
Add sameness-group configuration entry. (#16608)
2 years ago
Ashvitha f95ffe0355
Allow HCP metrics collection for Envoy proxies
2 years ago
Eric Haberkorn e298f506a5
Add Peer Locality to Discovery Chains (#16588)
2 years ago
Eric Haberkorn 57e2493415
allow setting locality on services and nodes (#16581)
2 years ago
Semir Patel 176945aa86
GRPC stub for the ResourceService (#16528)
2 years ago
Andrew Stucki 040647e0ba
auto-updated agent/uiserver/dist/ from commit 63204b518 (#16587)
2 years ago
Eric Haberkorn 89de91b263
fix bug that can lead to peering service deletes impacting the state of local services (#16570)
2 years ago
Eric Haberkorn dbaf8bf49c
add agent locality and replicate it across peer streams (#16522)
2 years ago
John Eikenberry f5641ffccc
support vault auth config for alicloud ca provider
2 years ago
Melisa Griffin fc232326a0
NET-2904 Fixes API Gateway Route Service Weight Division Error
2 years ago
Melisa Griffin 129eca8fdb
NET-2903 Normalize weight for http routes (#16512)
2 years ago
R.B. Boyer 9a485cdb49
proxycfg: ensure that an irrecoverable error in proxycfg closes the xds session and triggers a replacement proxycfg watcher (#16497)
2 years ago
John Eikenberry 56ffee6d42
add provider ca support for approle auth-method
2 years ago
Andrew Stucki cc0765b87d
Fix resolution of service resolvers with subsets for external upstreams (#16499)
2 years ago
Eric Haberkorn 5f81662066
Add support for failover policies (#16505)
2 years ago
Andrew Stucki 5deffbd95b
Fix issue where terminating gateway service resolvers weren't properly cleaned up (#16498)
2 years ago
Andrew Stucki 4b661d1e0c
Add ServiceResolver RequestTimeout for route timeouts to make TerminatingGateway upstream timeouts configurable (#16495)
2 years ago
John Eikenberry e8eec1fa80
add provider ca auth support for kubernetes
2 years ago
John Eikenberry 4211069080
add provider ca support for jwt file base auth
2 years ago
Chris S. Kim 321439f5a7
Speed up test by registering services concurrently (#16509)
2 years ago
John Eikenberry 4f2d9a91e5
add provider ca auth-method support for azure
2 years ago
Dan Upton 73b9b407ba
grpc: fix data race in balancer registration (#16229)
2 years ago
Andrew Stucki 801a17329e
Fix attempt for test fail panics in xDS (#16319)
2 years ago
Chris S. Kim a518893685
Fix various flaky tests (#16396)
2 years ago
Eric Haberkorn 595131fca9
Refactor the disco chain -> xds logic (#16392)
2 years ago
Paul Banks 8ac211b427
Correct WAL metrics registrations (#16388)
2 years ago
Dhia Ayachi ae9c228967
Rate limiter/add ip prefix (#16342)
2 years ago
Andrew Stucki 641737f32b
[API Gateway] Fix infinite loop in controller and binding non-accepted routes and gateways (#16377)
2 years ago
Andrew Stucki 0972697661
[API Gateway] Various fixes for Config Entry fields (#16347)
2 years ago
Andrew Stucki 18e2ee77ca
[API Gateway] Fix targeting service splitters in HTTPRoutes (#16350)
2 years ago
Andrew Stucki 823fc821fa
[API Gateway] Turn down controller log levels (#16348)
2 years ago
Derek Menteer ad865f549b
Fix issue with peer services incorrectly appearing as connect-enabled. (#16339)
2 years ago
Andrew Stucki 7f9ec78932
[API Gateway] Validate listener name is not empty (#16340)
2 years ago
cskh 8e5942f5ca
fix: add tls config to unix socket when https is used (#16301)
2 years ago
Andrew Stucki 4607b535be
Fix HTTPRoute and TCPRoute expectation for enterprise metadata (#16322)
2 years ago
Andrew Stucki 15d2684ecc
Normalize all API Gateway references (#16316)
2 years ago
Matt Keeler 085c0addc0
Protobuf Refactoring for Multi-Module Cleanliness (#16302)
2 years ago
Dan Stough f1436109ea
[OSS] security: update go to 1.20.1 (#16263)
2 years ago
Andrew Stucki 58801cc8aa
Add stricter validation and some normalization code for API Gateway ConfigEntries (#16304)
2 years ago
Andrew Stucki ee99d5c3a0
Fix panicky xDS test flakes (#16305)
2 years ago
Andrew Stucki e4a992c581
Fix hostname alignment checks for HTTPRoutes (#16300)
2 years ago
Andrew Stucki b3ddd4d24e
Inline API Gateway TLS cert code (#16295)
2 years ago
Nitya Dhanushkodi 8dab825c36
troubleshoot: fixes and updated messages (#16294)
2 years ago
Thomas Eckert 2460ac99c9
API Gateway Envoy Golden Listener Tests (#16221)
2 years ago
Derek Menteer 30112288c8
Fix mesh gateways incorrectly matching peer locality. (#16257)
2 years ago
Nathan Coleman 514fb25a6f
Fix infinite recursion in inline-certificate config entry (#16276)
2 years ago
Derek Menteer 6599a9be1d
Fix nil-pointer panics from proxycfg package. (#16277)
2 years ago
Andrew Stucki 9bb0ecfc18
[API Gateway] Add integration test for HTTP routes (#16236)
2 years ago
Semir Patel 8979e64a94
Bump x/time to 0.3.0 and fix related breakage linked to RPCRateLimit (#16241)
2 years ago
Andrew Stucki 8ff2974dbe
[API Gateway] Update simple test to leverage intentions and multiple listeners (#16228)
2 years ago
Andrew Stucki 4c848a554d
Fix missing references to enterprise metadata (#16237)
2 years ago
Andrew Stucki 318ba215ab
[API Gateway] Add integration test for conflicted TCP listeners (#16225)
2 years ago
Derek Menteer 4f2ce60654
Fix peering acceptors in secondary datacenters. (#16230)
2 years ago
Andrew Stucki 3b9c569561
Simple API Gateway e2e test for tcp routes (#16222)
2 years ago
skpratt db2bd404bf
Synthesize anonymous token pre-bootstrap when needed (#16200)
2 years ago
Thomas Eckert e81a0c2855
API Gateway to Ingress Gateway Snapshot Translation and Routes to Virtual Routers and Splitters (#16127)
2 years ago
Andrew Stucki f4210d47dd
Add basic smoke test to make sure an APIGateway runs (#16217)
2 years ago
Andrew Stucki 0891b4554d
Clean-up Gateway Controller Binding Logic (#16214)
2 years ago
skpratt 6f0b226b0d
ACL error improvements: incomplete bootstrapping and non-existent token (#16105)
2 years ago
Nathan Coleman 72a73661c9
Implement APIGateway proxycfg snapshot (#16194)
2 years ago
Nitya Dhanushkodi 1f25289048
troubleshoot: output messages for the troubleshoot proxy command (#16208)
2 years ago
Kyle Havlovitz 898e59b13c
Add the `operator usage instances` command and api endpoint (#16205)
2 years ago
Andrew Stucki df03b45bbc
Add additional controller implementations (#16188)
2 years ago
Paul Banks 5397e9ee7f
Adding experimental support for a more efficient LogStore implementation (#16176)
2 years ago
cskh e91bc9c058
feat: envoy extension - http local rate limit (#16196)
2 years ago
John Eikenberry ed7367b6f4
remove redundant vault api retry logic (#16143)
2 years ago
skpratt 1e7e52e3ef
revert method name change in xds server protocol for version compatibility (#16195)
2 years ago
skpratt 9199e99e21
Update token language to distinguish Accessor and Secret ID usage (#16044)
2 years ago
wangxinyi7 906ebb97f6
change log level (#16128)
2 years ago
Dhia Ayachi c680a35b36
Net 2229/rpc reduce max retries 2 (#16165)
2 years ago
Nitya Dhanushkodi b8b37c2357
refactor: remove troubleshoot module dependency on consul top level module (#16162)
2 years ago
Poonam Jadhav 24c431270c
feat: client RPC is retries on ErrRetryElsewhere error and forwardRequestToLeader method retries ErrRetryLater error (#16099)
2 years ago
skpratt a010902978
Remove legacy acl policies (#15922)
2 years ago
John Eikenberry 5c836f2aa9
fix goroutine leak in renew testing (#16142)
2 years ago
sarahalsmiller 143b2bc1f0
API Gateway Controller Logic (#16058)
2 years ago
Derek Menteer 2f149d60cc
[OSS] Add Peer field to service-defaults upstream overrides (#15956)
2 years ago
Paul Glass a884d0d7c7
Use agent token for service/check deregistration during anti-entropy (#16097)
2 years ago
Dan Upton e40b731a52
rate: add prometheus definitions, docs, and clearer names (#15945)
2 years ago
Nitya Dhanushkodi 8d4c3aa42c
refactor: move service to service validation to troubleshoot package (#16132)
2 years ago
Derek Menteer 06338c8ee7
Add unit test and update golden files. (#16115)
2 years ago
Andrew Stucki 1fbfb5905b
APIGateway HTTPRoute scaffolding (#15859)
2 years ago
Derek Menteer b19c5a94c7
Add Envoy extension metrics. (#16114)
2 years ago
cskh f6da81c9d0
improvement: prevent filter being added twice from any enovy extension (#16112)
2 years ago
Poonam Jadhav 9db5b7d896
feat: apply retry policy to read only grpc endpoints (#16085)
2 years ago
Derek Menteer 1b02749375
Add extension validation on config save and refactor extensions. (#16110)
2 years ago
Nitya Dhanushkodi 8728a4496c
troubleshoot: service to service validation (#16096)
2 years ago
Andrew Stucki da99514ac8
Add a server-only method for updating ConfigEntry Statuses (#16053)
2 years ago
skpratt ad43846755
Remove legacy acl tokens (#15947)
2 years ago
Thomas Eckert 7814471159
Match route and listener protocols when binding (#16057)
2 years ago
Michael Wilkerson a1498b015d
Mw/lambda envoy extension parse region (#4107) (#16069)
2 years ago
Andrew Stucki 3febdbff39
Add trigger for doing reconciliation based on watch sets (#16052)
2 years ago
Poonam Jadhav f4f62b5da6
feat: panic handler in rpc rate limit interceptor (#16022)
2 years ago
Nathan Coleman e0f4f6c152
Run config entry controller routines on leader (#16054)
2 years ago
Ronald 6167aef641
Warn when the token query param is used for auth (#16009)
2 years ago
Thomas Eckert 20146f2916
Implement BindRoutesToGateways (#15950)
2 years ago
cskh 25396d81c9
Apply agent partition to load services and agent api (#16024)
2 years ago
Derek Menteer 5f5e6864ca
Fix proxy-defaults incorrectly merging config on upstreams. (#16021)
2 years ago
John Murret 794277371f
Integration test for server rate limiting (#15960)
2 years ago
Thomas Eckert 13da1a5285
Native API Gateway Config Entries (#15897)
2 years ago
Chris Thain 2f4c8e50f2
Support Vault agent auth config for AWS/GCP CA provider auth (#15970)
2 years ago
Derek Menteer 2facf50923
Fix configuration merging for implicit tproxy upstreams. (#16000)
2 years ago
Dan Upton 7a55de375c
xds: don't attempt to load-balance sessions for local proxies (#15789)
2 years ago
Chris S. Kim e4a268e33e
Warn if ACL is enabled but no token is provided to Envoy (#15967)
2 years ago
Dhia Ayachi 87ff8c1c95
avoid logging RPC errors when it's specific rate limiter errors (#15968)
2 years ago
Derek Menteer 19a46d6ca4
Enforce lowercase peer names. (#15697)
2 years ago
Dan Stough 6d2880e894
feat: add access logs to dataplane bootstrap rpc (#15951)
2 years ago
Matt Keeler 5afd4657ec
Protobuf Modernization (#15949)
2 years ago
Paul Glass f5231b9157
Add new config_file_service_registration token (#15828)
2 years ago
Chris S. Kim a7b34d50fc
Output user-friendly name for anonymous token (#15884)
2 years ago
Dan Upton 644cd864a5
Rate limit improvements and fixes (#15917)
2 years ago
Semir Patel 40c0bb24ae
emit metrics for global rate limiting (#15891)
2 years ago
Dhia Ayachi 233eacf0a4
inject logger and create logdrop sink (#15822)
2 years ago
Eric Haberkorn 8d923c1789
Add the Lua Envoy extension (#15906)
2 years ago
Paul Glass 666c2b2e2b
Fix TLS_BadVerify test assertions on macOS (#15903)
2 years ago
Dan Upton b78de5a7a2
grpc/acl: fix bug where ACL token was required even if disabled (#15904)
2 years ago
Dan Upton d53ce39c32
grpc: switch servers and retry on error (#15892)
2 years ago
Nick Irvine 6fb628c07d
fix: return error when config file with unknown extension is passed (#15107)
2 years ago
Florian Apolloner 077b0a48a3
Allow Operator Generated bootstrap token (#14437)
2 years ago
Semir Patel a6482341a5
Wire up the rate limiter to net/rpc calls (#15879)
2 years ago
Dan Upton d4c435856b
grpc: `protoc` plugin for generating gRPC rate limit specifications (#15564)
2 years ago
Dan Upton 7c7503c849
grpc/acl: relax permissions required for "core" endpoints (#15346)
2 years ago
Derek Menteer 1f7e7abeac
Fix issue with incorrect proxycfg watch on upstream peer-targets. (#15865)
2 years ago
Derek Menteer f3776894bf
Fix agent cache incorrectly notifying unchanged protobufs. (#15866)
2 years ago
Dan Upton 7747384f1f
Wire in rate limiter to handle internal and external gRPC calls (#15857)
2 years ago
Dan Stough b3bd3a6586
[OSS] feat: access logs for listeners and listener filters (#15864)
2 years ago
Nitya Dhanushkodi 24f01f96b1
add extensions for local service to GetExtensionConfigurations (#15871)
2 years ago
Nitya Dhanushkodi c7ef04c597
[OSS] extensions: refactor PluginConfiguration into a more generic type ExtensionConfiguration (#15846)
2 years ago
John Murret f5e01f8c6b
Rate Limit Handler - ensure rate limiting is not in the code path when not configured (#15819)
2 years ago
John Murret aba43d85d9
Rate limiting handler - ensure configuration has changed before modifying limiters (#15805)
2 years ago
Michael Wilkerson 1b28b89439
Enhancement: Consul Compatibility Checking (#15818)
2 years ago
Derek Menteer 74b11c416c
Fix incorrect protocol check on discovery chains with peer targets. (#15833)
2 years ago
Semir Patel 799b34f1a9
Map net/rpc endpoints to a read/write/exempt op for rate-limiting (#15825)
2 years ago
Nitya Dhanushkodi d382ca0aec
extensions: refactor serverless plugin to use extensions from config entry fields (#15817)
2 years ago
Chris S. Kim d44b23cb31
Break instead (#15844)
2 years ago
Chris S. Kim 831680d2c5
Add custom balancer to always remove subConns (#15701)
2 years ago
Andrew Stucki ab199a11b0
Add async reconciliation controller subpackage (#15534)
2 years ago
Dhia Ayachi f04f88e4b9
add missing code and fix enterprise specific code (#15375)
2 years ago
Dhia Ayachi 2d902b26ac
add log-drop package (#15670)
2 years ago
Paul Glass 619032cfcd
Deprecate -join and -join-wan (#15598)
2 years ago
Dhia Ayachi 6468e3e09c
Server side rate limiter: handle the race condition for limiters tree write in multilimiter (#15767)
2 years ago
Semir Patel bafa5c7156
Pass remote addr of incoming HTTP requests through to RPC(..) calls (#15700)
2 years ago
John Murret e027c94b52
adding config for request_limits (#15531)
2 years ago
Dan Stough 233dbcb67f
feat: add access logging API to proxy defaults (#15780)
2 years ago
cskh 04bf24c8c1
feat(ingress-gateway): support outlier detection of upstream service for ingress gateway (#15614)
2 years ago
Derek Menteer e87d35e313
Fix DialedDirectly configuration for Consul dataplane. (#15760)
2 years ago
Dan Upton c692802dec
grpc: add rate-limiting middleware (#15550)
2 years ago
Dan Upton eef38c2199
server: add placeholder glue for rate limit handler (#15539)
2 years ago
John Murret cd53120cd7
agent: Fix assignment of error when auto-reloading cert and key file changes. (#15769)
2 years ago
R.B. Boyer 4a32070210
test: remove variable shadowing in TestDNS_ServiceLookup_ARecordLimits (#15740)
2 years ago
Eric Haberkorn 4268c1c25c
Remove the `connect.enable_serverless_plugin` agent configuration option (#15710)
2 years ago
Dhia Ayachi 81e40c1fac
add multilimiter and tests (#15467)
2 years ago
cskh 3df68751f5
Flakiness test: case-cfg-splitter-peering-ingress-gateways (#15707)
2 years ago
Derek Menteer 97ec5279aa
Fix local mesh gateway with peering discovery chains. (#15690)
2 years ago
R.B. Boyer 5af94fb2a0
connect: use -dev-no-store-token for test vaults to reduce source of flakes (#15691)
2 years ago
R.B. Boyer 900584ca82
connect: ensure all vault connect CA tests use limited privilege tokens (#15669)
2 years ago
R.B. Boyer 4940a728ab
Detect Vault 1.11+ import in secondary datacenters and update default issuer (#15661)
2 years ago
Chris S. Kim c046d1a4d8
Add warn log when all ACL policies are filtered out (#15632)
2 years ago
cskh 36f05bc8fb
integ-test: test consul upgrade from the snapshot of a running cluster (#15595)
2 years ago
R.B. Boyer 11a277f372
peering: better represent non-passing states during peer check flattening (#15615)
2 years ago
Freddy 941f6da202
Remove log line about server mgmt token init (#15610)
2 years ago
James Oulman 7e78fb7818
Add support for configuring Envoys route idle_timeout (#14340)
2 years ago
Derek Menteer 95dc0c7b30
Add peering `.service` and `.node` DNS lookups. (#15596)
2 years ago
cskh 97c9432843
fix(peering): increase the gRPC limit to 8MB (#15503)
2 years ago
Chris S. Kim c9ec9fa320
Fix Vault managed intermediate PKI bug (#15525)
2 years ago
Chris S. Kim 27c53f6c82
Use backport-compatible assertion (#15546)
2 years ago
Chris S. Kim 386da5439a
Use rpcHoldTimeout to calculate blocking timeout (#15541)
2 years ago
Jared Kirschner 3e7e8ae9c5
Support RFC 2782 for prepared query DNS lookups (#14465)
2 years ago
Alexander Scheel 2b90307f6d
Detect Vault 1.11+ import, update default issuer (#15253)
2 years ago
cskh 435e16ecda
fix: clarifying error message when acquiring a lock in remote dc (#15394)
2 years ago
Kyle Havlovitz f4c3e54b11
auto-config: relax node name validation for JWT authorization (#15370)
2 years ago
Dhia Ayachi 225ae55e83
Leadership transfer cmd (#14132)
2 years ago
Freddy 706866fa00
Ensure that NodeDump imported nodes are filtered (#15356)
2 years ago
Freddy c58f86a00f
Fixup authz for data imported from peers (#15347)
2 years ago
Kyle Havlovitz dde5c524ad
connect: strip port from DNS SANs for ingress gateway leaf cert (#15320)
2 years ago
Derek Menteer 931cec42b3
Prevent serving TLS via ports.grpc (#15339)
2 years ago
Dan Stough 626249fbf5
[OSS] fix: wait and try longer to peer through mesh gw (#15328)
2 years ago
Kyle Schochenmaier bf0f61a878
removes ioutil usage everywhere which was deprecated in go1.16 (#15297)
2 years ago
malizz b51f0e25e9
update ACLs for cluster peering (#15317)
2 years ago
malizz b9a9e1219c
update config defaults, add docs (#15302)
2 years ago
Eric Haberkorn c340922991
Log Warnings When Peering With Mesh Gateway Mode None (#15304)
2 years ago
Derek Menteer 418bd62c44
Fix mesh gateway configuration with proxy-defaults (#15186)
2 years ago
Dan Upton 7b2d08d461
chore: remove unused argument from MergeNodeServiceWithCentralConfig (#15024)
2 years ago
Derek Menteer b64972d486
Bring back parameter ServerExternalAddresses in GenerateToken endpoint (#15267)
2 years ago
cskh a3f57cc5e8
fix(mesh-gateway): remove deregistered service from mesh gateway (#15272)
2 years ago
Freddy 7f5f7e9cf9
Avoid blocking child type updates on parent ack (#15083)
2 years ago
Derek Menteer c064ddf606
Backport test fix from ent. (#15279)
2 years ago
Chris S. Kim 985a4ee1b1
Update hcp-scada-provider to fix diamond dependency problem with go-msgpack (#15185)
2 years ago
Eric Haberkorn 1804b58799
Fix a bug in mesh gateway proxycfg where ACL tokens aren't passed. (#15273)
2 years ago
Dan Stough 553312ef61
fix: persist peering CA updates to dialing clusters (#15243)
2 years ago
Derek Menteer 18d6c338f4
Backport tests from ent. (#15260)
2 years ago
Derek Menteer 0834fe349b
Backport test from ENT: "Fix missing test fields" (#15258)
2 years ago
Derek Menteer f4cb2f82bf
Backport various fixes from ENT. (#15254)
2 years ago
malizz 617a5f2dc2
convert stream status time fields to pointers (#15252)
2 years ago
sarahalsmiller 436160e155
Added check for empty peeringsni in restrictPeeringEndpoints (#15239)
2 years ago
Derek Menteer bd1019fadb
Prevent peering acceptor from subscribing to addr updates. (#15214)
2 years ago
Dan Stough 05e93f7569
test: refactor testcontainers and add peering integ tests (#15084)
2 years ago
Derek Menteer fa5d87c116 Decrease retry time for failed peering connections.
2 years ago
R.B. Boyer 97b9fcbf48
test: fix flaky TestSubscribeBackend_IntegrationWithServer_DeliversAllMessages test (#15195)
2 years ago
Evan Culver 62d4517f9e
connect: Add Envoy 1.24 to integration tests, remove Envoy 1.20 (#15093)
2 years ago
Derek Menteer 693c8a4706 Allow peering endpoints to bypass verify_incoming.
2 years ago
Derek Menteer 2d4b62be3c Add tests.
2 years ago
Derek Menteer 1483c94531 Fix peered service protocols using proxy-defaults.
2 years ago
Eric Haberkorn cf50bdbe20
Fix peering metrics bug (#15178)
2 years ago
Chris S. Kim 0e176dd6aa
Allow consul debug on non-ACL consul servers (#15155)
2 years ago
cskh a9427e1310
fix(peering): nil pointer in calling handleUpdateService (#15160)
2 years ago
Eric Haberkorn 1bdad89026
fix bug that resulted in generating Envoy configs that use CDS with an EDS configuration (#15140)
2 years ago
Luke Kysow d3aa2bd9c5
ingress-gateways: don't log error when registering gateway (#15001)
2 years ago
Luke Kysow 9999672fd7
autoencrypt: helpful error for clients with wrong dc (#14832)
2 years ago
R.B. Boyer 3c44116a8f
cache: refactor agent cache fetching to prevent unnecessary fetches on error (#14956)
2 years ago
R.B. Boyer da70daba43
test: ensure that all dependencies in a test agent use the test logger (#14996)
2 years ago
Chris S. Kim 9f0ed81cfd Remove invalid 1xx HTTP codes
2 years ago
Chris S. Kim bde57c0dd0 Regenerate files according to 1.19.2 formatter
2 years ago
cskh db82ffe503
fix(peering): replicating wan address (#15108)
2 years ago
Iryna Shustava 176abb5ff2
proxycfg: watch service-defaults config entries (#15025)
2 years ago
Chris S. Kim b236e86030 Move oss-only test to its own file
2 years ago
R.B. Boyer d04cf25fa8
test: fix flaky TestHealthServiceNodes_NodeMetaFilter by waiting until the streaming subsystem has a valid grpc connection (#15019)
2 years ago
R.B. Boyer 300860412c
chore: update golangci-lint to v1.50.1 (#15022)
2 years ago
Venu Yanamandra efc813e92d
Update error message when restoring ENT snapshot in OSS (#15066)
2 years ago
freddygv d65e60de86 Return forbidden on permission denied
2 years ago
Chris S. Kim a7ea26192b Update expected encoding in test
2 years ago
freddygv 6d9be5fb15 Use plain TaggedAddressWAN
2 years ago
freddygv 8d211cc9cc Add unit test
2 years ago
cskh 058ee4fb84 fix: wan address isn't used by peering token
2 years ago
Nitya Dhanushkodi 5e156772f6
Remove ability to specify external addresses in GenerateToken endpoint (#14930)
2 years ago
Kyle Havlovitz 5c3427608b
Merge pull request #15035 from hashicorp/vault-ttl-update-warn
2 years ago
cskh d562d363fc
peering: skip registering duplicate node and check from the peer (#14994)
2 years ago
Chris S. Kim 29a297d3e9
Refactor client RPC timeouts (#14965)
2 years ago
Kyle Havlovitz d122108992 Warn instead of returning an error when intermediate mount tune permission is missing
2 years ago
R.B. Boyer 0cca4c088d
test: possibly fix flake in TestIntentionGetExact (#15021)
2 years ago
R.B. Boyer fe2d41ddad
cache: prevent goroutine leak in agent cache (#14908)
2 years ago
R.B. Boyer 02a858efa0
ca: fix a masked bug in leaf cert generation that would not be notified of root cert rotation after the first one (#15005)
2 years ago
Chris S. Kim 3d2dffff16
Merge pull request #13388 from deblasis/feature/health-checks_windows_service
2 years ago
Dan Upton f8b4b41205
proxycfg: fix goroutine leak when service is re-registered (#14988)
2 years ago
Kyle Havlovitz aaf892a383 Extend tcp keepalive settings to work for terminating gateways as well
2 years ago
Kyle Havlovitz 2c569f6b9c Update docs and add tcp_keepalive_probes setting
2 years ago
Kyle Havlovitz 2242d1ec4a Add TCP keepalive settings to proxy config for mesh gateways
2 years ago
Derek Menteer 2a33d0ff96 Fix issue with incorrect method signature on test.
2 years ago
Freddy 24d0c8801a
Merge pull request #14981 from hashicorp/peering/dial-through-gateways
2 years ago
Dan Upton 328e3ff563
proxycfg: rate-limit delivery of config snapshots (#14960)
2 years ago
Derek Menteer 29ebcf5ff0 Add tests for peering state snapshots / restores.
2 years ago
Derek Menteer e3ff9912d0 Add test for ExportedServicesForAllPeersByName
2 years ago
Dan Upton e6b55d1d81
perf: remove expensive reflection from xDS hot path (#14934)
2 years ago
freddygv c77123a2aa Use split var in tests
2 years ago
freddygv bf51021c07 Use split wildcard partition name
2 years ago
Freddy ee4cdc4985
Merge pull request #14935 from hashicorp/fix/alias-leak
2 years ago
freddygv 573aa408a1 Lint
2 years ago
Derek Menteer 0f424e3cdf Reset wait on ensureServerAddrSubscription
2 years ago
freddygv 96fdd3728a Fix CA init error code
2 years ago
freddygv 2c99a21596 Update leader routine to maybe use gateways
2 years ago
freddygv e69bc727ec Update peering establishment to maybe use gateways
2 years ago
malizz b0b0cbb8ee
increase protobuf size limit for cluster peering (#14976)
2 years ago
Derek Menteer 4e140c98bc Address PR comments.
2 years ago
Derek Menteer 1e394da400 Disallow peering to the same cluster.
2 years ago
Derek Menteer 8742fbe14f Prevent consul peer-exports by discovery chain.
2 years ago
Derek Menteer f366edcb8d Prevent the "consul" service from being exported.
2 years ago
Derek Menteer caa1396255 Add remote peer partition and datacenter info.
2 years ago
Dan Upton cbb4a030c4
xds: properly merge central config for "agentless" services (#14962)
2 years ago
Dan Upton 0af9f16343
bug: fix goroutine leaks caused by incorrect usage of `WatchCh` (#14916)
2 years ago
Hans Hasselberg 0d5935ab83
adding configuration option cloud.scada_address (#14936)
2 years ago
Paul Glass bcda205f88
Add consul.xds.server.streamStart metric (#14957)
2 years ago
Riddhi Shah 345191a0df
Service http checks data source for agentless proxies (#14924)
2 years ago
Freddy 9ca8bb8ec4
Merge pull request #14958 from hashicorp/peering/nonce
2 years ago
freddygv 1b46b35041 Actually track nonce in test
2 years ago
Derek Menteer f330438a45 Fix incorrect backoff-wait logic.
2 years ago
freddygv 7f9a5d0f58 Add basic nonce management
2 years ago
Paul Glass d17af23641
gRPC server metrics (#14922)
2 years ago
cskh e0356e1502
fix(peering): add missing grpc_tls_port for server address reconciliation (#14944)
2 years ago
freddygv f4cc4577ca Fix alias check leak
2 years ago
James Oulman b8bd7a3058
Configure Envoy alpn_protocols based on service protocol (#14356)
2 years ago
freddygv bf72df7b0e Fixup test
2 years ago
Chris S. Kim 4f4112662e Fix nil pointer
2 years ago
Chris S. Kim b0a4c5c563 Include stream-related information in peering endpoints
2 years ago
Paul Glass c0c187f1c5
Merge central config for GetEnvoyBootstrapParams (#14869)
2 years ago
Freddy 4abad02abd
Merge pull request #14796 from hashicorp/peering/use-connect-ca
2 years ago
freddygv 7d4da6eb22 Fixup test
2 years ago
freddygv 3034df6a5c Require Connect and TLS to generate peering tokens
2 years ago
freddygv fac3ddc857 Use internal server certificate for peering TLS
2 years ago
freddygv 5f97223822 Simplify mgw watch mgmt
2 years ago
freddygv d54db25421 Use existing query options to build ctx
2 years ago
DanStough 77ab28c5c7 feat: xDS updates for peerings control plane through mesh gw
2 years ago
Eric Haberkorn 1633cf20ea
Make the mesh gateway changes to allow `local` mode for cluster peering data plane traffic (#14817)
2 years ago
cskh c1b5f34fb7
fix: missing UDP field in checkType (#14885)
2 years ago
Derek Menteer a279d2d329
Fix explicit tproxy listeners with discovery chains. (#14751)
2 years ago
Alex Oskotsky 13da2c5fad
Add the ability to retry on reset connection to service-routers (#12890)
2 years ago
John Murret 79a541fd7d
Upgrade serf to v0.10.1 and memberlist to v0.5.0 to get memberlist size metrics and broadcast queue depth metric (#14873)
2 years ago
Evan Culver a3be5a5a82
connect: Bump Envoy 1.20 to 1.20.7, 1.21 to 1.21.5 and 1.22 to 1.22.5 (#14831)
2 years ago
Eric Haberkorn 1b565444be
Rename `PeerName` to `Peer` on prepared queries and exported services (#14854)
2 years ago
Freddy d9fe3578ac
Merge pull request #14734 from hashicorp/NET-643-update-mesh-gateway-envoy-config-for-inbound-peering-control-plane-traffic
2 years ago
freddygv b15d41534f Update xds generation for peering over mesh gws
2 years ago
freddygv a8c4d6bc55 Share mgw addrs in peering stream if needed
2 years ago
freddygv 4ff9d475b0 Return mesh gateway addrs if peering through mgw
2 years ago
chappie ad7295e5d9
Merge pull request #14811 from hashicorp/chappie/dns
2 years ago
Chris Chapman d7b5351b66
Making suggested comments
2 years ago
Chris Chapman 46bea72212
Making suggested changes
2 years ago
Chris Chapman a05563b788
Update comment
2 years ago
DanStough 7f8971d77f chore: fix flakey scada provider test
2 years ago
Chris Chapman 81e267171b
Bind a dns mux handler to gRPC proxy
2 years ago
Chris Chapman 7bc9cad180
Adding grpc handler for dns proxy
2 years ago