Commit Graph

4992 Commits

Author SHA1 Message Date
Matthew Stevenson 444749dedf
alts: Record network latency and pass it to the handshaker service. (#6851)
* alts: Record network latency and pass it to the handshaker service.

* Fix vet.sh warnings.

* Fix protoc version issue.

* Address review comments.
2023-12-15 14:06:46 -08:00
Easwar Swaminathan 45624f0e10
grpc: eliminate panics in server worker implementation (#6856) 2023-12-15 09:47:32 -08:00
Easwar Swaminathan 6e6914a7af
completely delete WatchListener and WatchRouteConfig APIs (#6849) 2023-12-14 16:29:26 -08:00
Easwar Swaminathan 836e5de556
credentials/alts: update handshaker.pb.go (#6857) 2023-12-14 11:57:40 -08:00
Pedro Kaj Kjellerup Nacht 43e4461a75
Forbid dependabot from performing major version bumps (#6852) 2023-12-13 11:46:25 -08:00
Roland Bracewell Shoemaker 686fdd8da1
security/advancedtls: fix test that relies on min TLS version (#6824)
Bump the version in tls.ClientHelloInfo.SupportedVersions to
tls.VersionTLS12 (security/advancedtls/advancedtls_test.go)
2023-12-12 17:42:22 -05:00
Easwar Swaminathan 52baf161f3
internal: use OS defaults for TCP keepalive params only on unix (#6841) 2023-12-08 14:38:03 -08:00
dependabot[bot] d050906123
build(deps): bump the github-actions group with 3 updates (#6835)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-08 09:42:19 -08:00
Easwar Swaminathan 477bd62419
xds/internal/resolver: switch to generic xDS API for LDS/RDS (#6729) 2023-12-07 14:39:06 -08:00
Easwar Swaminathan a03c7f1faa
client: always enable TCP keepalives with OS defaults (#6834) 2023-12-07 14:04:31 -08:00
Pedro Kaj Kjellerup Nacht c2398ced0e
[infra] Hash-pin GitHub Actions, keep them updated with dependabot (#6815) 2023-12-06 11:48:24 -08:00
Aditya Sood 0866ce06ba
grpc: optional interface to provide channel authority (#6752) 2023-12-05 12:10:02 -08:00
Doug Fawley 5d7453e661
client: rework resolver and balancer wrappers to avoid deadlock (#6804) 2023-12-05 10:56:48 -08:00
y-yagi 93389b7f02
doc: fix link to the reflection protocol (#6833) 2023-12-04 10:11:32 -08:00
Zach Reyes 1b05500d80
internal/credentials/xds: Add exported comment for HandshakeInfo (#6823) 2023-11-30 13:47:27 -05:00
Easwar Swaminathan 737f87b6a1
xds/internal/server: cleanup formatting directives in some logs (#6820) 2023-11-29 13:50:16 -08:00
Terry Wilson bc16b5ff85
interop: support custom creds flag for stress test client (#6809) 2023-11-27 14:13:51 -08:00
erm-g 02ea031697
Bugfix for broken import (#6816) 2023-11-22 13:09:54 -05:00
Gregory Cooke 287c47355e
Mark old CRL APIs as deprecated (#6810) 2023-11-21 10:00:46 -05:00
Doug Fawley 7935c4f759
resolver_wrapper: remove serializerScheduleLocked; the lock is unnecessary (#6803) 2023-11-15 15:20:36 -08:00
Doug Fawley 914ca65947
client: further streamlining of Dial (#6802) 2023-11-15 14:52:11 -08:00
Doug Fawley 232054a883
client: remove deprecated WithServiceConfig DialOption (#6800) 2023-11-15 11:17:10 -08:00
Doug Fawley 42fdcc4c06
client: rename balancer and resolver wrapper files to be consistent (#6801) 2023-11-15 11:08:43 -08:00
Zach Reyes 59c0aec9dc
xDS: Atomically read and write xDS security configuration client side (#6796) 2023-11-15 13:54:29 -05:00
Doug Fawley ce3b538586
client: simplify initialization and cleanup a bit (#6798) 2023-11-15 10:47:19 -08:00
Doug Fawley b98104ec5a
buffer & grpcsync: various cleanups and improvements (#6785) 2023-11-15 09:31:57 -08:00
Doug Fawley 424db25679
credentials: if not set, restrict to TLS v1.2+ and CipherSuites per RFC7540 (#6776) 2023-11-15 07:10:20 -08:00
Arvind Bright 40c279a85d
deps: update dependencies for all modules (#6795) 2023-11-14 12:58:37 -08:00
Joshua Humphries 3cbbe2947f
reflection: don't serialize placeholders (#6771) 2023-11-14 12:13:44 -08:00
Arvind Bright 4a84ce61ec
Change version to 1.61.0-dev (#6794) 2023-11-14 10:55:08 -08:00
Doug Fawley 8645f95509
resolver: remove ClientConn.NewServiceConfig (#6784) 2023-11-13 14:10:32 -08:00
Doug Fawley 8b17a4dbc3
vet: various cleanups (#6780) 2023-11-10 13:01:59 -08:00
Carlos Ruiz 591c48187c
internal/transport: Add LocalAddr to http2Client.getPeer() (#6779) 2023-11-10 08:49:14 -08:00
Pedro Kaj Kjellerup Nacht eb46b7d427
github: set top-level read-only workflow permissions (#6775) 2023-11-09 15:59:21 -08:00
erm-g be1d1c10a9
security/advancedtls: FileWatcher CRL provider initialization enhancement (#6760)
* Add initial scan as a part of FWCP creation

* Add comment about default value for RefreshDuration

* Promote Close() to the interface level

* Revert "Promote Close() to the interface level"

This reverts commit 465ebacc5c.
2023-11-08 14:10:14 -05:00
Terry Wilson 482de22249
interop/stress: Remove wait-for-ready (#6773) 2023-11-07 15:15:49 -08:00
Jayden Teoh f1a1fcd042
grpc: disable and document overrides of OS default TCP keepalive by Go (#6672)
Co-authored-by: Arvind Bright <arvind.bright100@gmail.com>
2023-11-07 13:49:01 -08:00
Arvind Bright 338d8f1ada
github: modify codecov.yml (#6720) 2023-11-07 13:31:04 -08:00
Henrique Vicente 3fe1123b79
resolver: manual resolver crashes if grpc.Dial isn't called before some methods (#6754) 2023-11-07 13:09:43 -08:00
Terry Wilson cf9ae52e1c
stress: Move package under interop (#6769) 2023-11-06 15:41:28 -08:00
Terry Wilson b8d1c76ba7
stress: make the client log the total number of calls made (#6762) 2023-11-06 11:35:11 -08:00
Doug Fawley a5a7ef20f6
xds/resolver: extend test to re-add listener (#6768) 2023-11-06 11:28:28 -08:00
Doug Fawley 6bed35367c
envconfig: re-add AdvertiseCompressors temporarily (#6764) 2023-11-06 07:49:48 -08:00
Fabian Holler 70f1a4045d
grpc: Wait until resources finish cleaning up in Stop() and GracefulStop() (#6489) 2023-10-31 13:12:43 -04:00
erm-g b82468a346
crl provider: Static and FileWatcher provider implementations (#6670)
* rename certificateListExt to CRL

* CRLProvider file

* Add CRLProvider to RevocationConfig

* Beginning refactor of CRL handling

* Shell of StaticCRLProvider

* basic static crl provider test

* use loadCRL helper

* refactor of CRL loading

* Table tests

* Table tests

* Add tests with Static CRL provider

* New certs to be used for CRL tests. Added test for passing and failing connections based on CRL check outcomes

* Main functionality of File Watcher (Directory) CRL provider

* Refactor async go routine, validate() func, add unit tests

* Custom error callback, related unit tests

* Error callback test improvement

* Comments for StaticCRLProvider

* Comments for public API

* go mod tidy

* Comments for tests

* Fix vet errors

* Change Static provider behavior to match C Core, address other PR comments

* Data race fix

* Test helper fn change

* Address PR comments

* Address PR comments (part 2)

* Migration from context to channel for controlling crl reloading goroutine

* Align in-memory CRL updates during directory scan to C++ behavior

* Improve comments for ScanCRLDirectory

* Base test case for Scan CRL Directory file manipulations

* full set of cases for CRL directory content manipulation

* Add comment for table test structure

* Fix for go.mod and go.sum

* Empty directoru workaround

* Delete deprecated crl functionality

* Restoring deprecated crl files

* Fit to grpctest.Tester pattern

* Update readme for crl provider tests

* Address PR comments

* Revert "Restoring deprecated crl files"

This reverts commit 56437603a4.

* Revert "Resolve conflicts with upstream - deletion of deprecated crl"

This reverts commit e0130640c46efd9a43649bf409c6e762ae66e225, reversing
changes made to 21f430135c.

Revert deletion

* Update link for gRFC proposal

* Address PR comments

* Address PR comments part 1

* Address PR comments part 2

* Address PR comments part 3

* Fix for go.mod and go.sum

* Fix comment typo

* Fix for gRFC tag

* Add more details to CRL api  godoc comments.

* Address PR comments

* Address PR comments

* Delete crl_deprecated.go and crl_deprecated_test.go

* Delete testdate/crl/provider/filewatcher directory and .gitignore under it

* Race test fix

* Address PR comments

* Address PR comments

* Refactor directory reloader test from checking size of crl map to querying individual entries approach

* Add extra case for RefreshDuration config test

* Update cpmment for table test structure

* Unexport scan scanCRLDirectory, drop related mutex, update the comments

* Update API comments, clear tmp dir after the tests

---------

Co-authored-by: Gregory Cooke <gregorycooke@google.com>
2023-10-30 20:41:22 -04:00
Evan Jones d7ea67b9f3
metadata: Use strings.EqualFold for ValueFromIncomingContext (#6743) 2023-10-30 09:51:19 -07:00
Zach Reyes 8cb98464e5
grpc: Add a pointer of server to ctx passed into stats handler (#6750) 2023-10-26 16:30:26 -04:00
Doug Fawley 8190d883e0
envconfig: remove env vars for on-by-default features (#6749) 2023-10-26 13:08:20 -07:00
Zach Reyes c76d75f4f9
grpc: Move some stats handler calls to gRPC layer, and add local address to peer.Peer (#6716) 2023-10-25 18:01:05 -04:00
Matthew Stevenson 6e14274d00
Revert "alts: Reduce ALTS counter overflow length from 5 to 4. (#6699)" (#6746)
This reverts commit 7b8d0fde07.
2023-10-24 15:13:54 -07:00