Commit Graph

3600 Commits

Author SHA1 Message Date
Easwar Swaminathan 7bb497f784
grpc: Update protobuf regenrate script (#4177)
- Pull in protobuf repo since one of our protos pulls in duration.proto
- Update grpc_testing/messages.pb.go to pull in a recent change
2021-01-27 16:36:06 -08:00
Easwar Swaminathan 2c42474aca
pemfile: Make test happy with Go1.16 (#4164)
Go1.16 adds a new unexported field to x509.CertPool which causes our
tests to fail because cmp.Equal() isn't happy. This change introduces a
helper function which compares certprovider.KeyMaterial in a way that
makes the test happy with the new Go version.
2021-01-21 17:21:34 -08:00
ZHANG Dapeng 7f2581f910
xds interop: add xds v3 kokoro tests (#4165) 2021-01-20 17:24:22 -08:00
Easwar Swaminathan f579b61a69
test: Run e2e authority tests only on linux. (#4160)
Although darwin supports UDS, these tests need some non-trivial amount
of work to get them to pass on darwin. This build constraint will make a
top-level `go test` happy on darwin.
2021-01-19 18:00:32 -08:00
Doug Fawley 504caa93c5
interop/xds: support ClientConfigureRequest.timeout_sec field (#4157) 2021-01-15 16:07:52 -08:00
Doug Fawley 269d253666
interop/xds: implement new stats response field (#4156) 2021-01-15 16:07:34 -08:00
Menghan Li ef9850d4ff
xds bootstrap: support config content in env variable (#4153) 2021-01-15 11:20:58 -08:00
Doug Fawley 938f6e2f75
cmd/protoc-gen-go-grpc: add gRPC-Go version comment and update release version (#4152) 2021-01-14 14:28:25 -08:00
Doug Fawley 5e3cbb54d2
interop/grpc_testing: update generated code after recent grpc-proto changes (#4149) 2021-01-13 13:23:43 -08:00
Doug Fawley d3ae124a07
cleanup: use different import alias for services than messages (#4148) 2021-01-12 12:23:41 -08:00
Menghan Li 4cf4a98505
Change version to 1.36.0-dev (#4142) 2021-01-11 10:09:13 -08:00
Menghan Li fb40d83340
xds interop: turn on circuit breaking test (#4144)
Also need to set server image to version 3, so that the server blocks the
pending RPCs
2021-01-08 17:16:38 -08:00
Doug Fawley 083393f287
xds/resolver: fix resource deletion (#4143) 2021-01-08 16:47:46 -08:00
Garrett Gutierrez 85e55dc558
interop: update client for xds testing support (#4108) 2021-01-08 16:09:17 -08:00
Doug Fawley 6a318bb011
xds: add HTTP connection manager max_stream_duration support (#4122) 2021-01-08 10:14:53 -08:00
Menghan Li 0bd76be2bb
lrs: use JSON for locality's String representation (#4135) 2021-01-07 14:53:43 -08:00
Doug Fawley ecc9a99b66
interop: remove test.proto clones/variants and use grpc-proto repo instead (#4129) 2021-01-07 14:19:11 -08:00
Doug Fawley 4f80d77fe4
github: enable CodeQL checker (#4134) 2021-01-07 13:10:44 -08:00
Pradeep Mamillapalli 829919d572
xds client: Updated v3 type for http connection manager (#4137) 2021-01-07 10:06:14 -08:00
Menghan Li f4a20d2f41
xds: NACK more invalid RDS responses (#4120) 2021-01-05 13:53:57 -08:00
Doug Fawley 53788aa5dc
github: update bug template to link to the CVE process (#4131) 2020-12-26 10:11:54 -08:00
John Howard 66c1393796
github: improve security policy documentation (#4130) 2020-12-22 13:01:38 -08:00
Edmond 39a500abb9
support unix-abstract schema (#4079) 2020-12-22 08:56:49 -08:00
ZhenLian 666aea1fb3
advancedtls: add IPv6 address to certificate SAN names (#4101)
* advancedtls: add IPv6 address to certificate SAN names
2020-12-18 11:05:59 -08:00
Doug Fawley 15458d2820
xds: implement RouteAction timeout support (#4116) 2020-12-17 10:40:27 -08:00
Easwar Swaminathan d79063fdde
credentials/xds: Move non-user facing functionality to an internal package (#4117) 2020-12-16 15:46:56 -08:00
Easwar Swaminathan 644d506ebb
xds: Ignore application_protocols field for now (#4115) 2020-12-16 14:42:32 -08:00
Easwar Swaminathan 2fad6bf4da
xds: Implement server-side security (#4092) 2020-12-16 10:27:18 -08:00
Easwar Swaminathan cfef8c7e03
pemfile: Update distributor only inside of the for loop (#4114) 2020-12-16 09:28:28 -08:00
Easwar Swaminathan e2d2703c48
xds: NACK resource when security config is not as expected (#4113)
- On the client side, we always expect a root provider.
- On the server side, we always expect an identity provider. If the
  `require_client_cert` field is set, a root provider is also expected.

This simplifies the upper layers which can now expect a security config
to be populated correctly, the cds balancer on the client-side and the
xds.GRPCServer on the server-side. And this is what the other languages
are doing as well.
2020-12-16 09:28:14 -08:00
Doug Fawley 668e3ae6d5
testing: stop listening on externally-visible devices (#4112) 2020-12-15 15:56:06 -08:00
Easwar Swaminathan 20f4a84610
xds: Expect certprovider bootstrap configs when xdsCreds are in use (#4111) 2020-12-15 14:46:55 -08:00
Garrett Gutierrez 73671aeeee
Updated test.proto to facilitate xds interop testing (#4109) 2020-12-15 14:35:14 -08:00
Doug Fawley 4cd551eca7
xds: split routing balancer into config selector + cluster manager (#4083) 2020-12-15 14:01:04 -08:00
Easwar Swaminathan 17e2cbe887
credentials/xds: ServerHandshake() implementation (#4089) 2020-12-14 09:00:45 -08:00
Easwar Swaminathan 03d4b8878b
github: Get tests111 to actually run subset of tests (#4104) 2020-12-14 08:07:12 -08:00
Easwar Swaminathan 81b95b1854
github: Run only a subset of tests for Go1.11 (#4102) 2020-12-11 16:06:04 -08:00
Easwar Swaminathan c638ab8ccd
Update envoyproxy/go-control-plane (#4098) 2020-12-11 09:14:07 -08:00
Tobias Klauser fd32f6a4fe
internal/syscall: make Rusage a type alias (#4088)
Making Rusage a type alias rather than a type definition allows to avoid
type conversions in several places.

Type aliases are supported since Go 1.9, go.mod states Go 1.11 to be the
minimum supported version.
2020-12-08 17:14:39 -08:00
Garrett Gutierrez ff16195790
xds: Implement circuit breaking support. (#4050) 2020-12-08 14:33:48 -08:00
Doug Fawley 750abe8f95
resolver: allow config selector to return an RPC error (#4082) 2020-12-08 13:32:37 -08:00
Easwar Swaminathan f64220f6e1
xds: Process `require_client_cert` field in security config (#4090) 2020-12-08 13:25:59 -08:00
Easwar Swaminathan 96a834a12f
xds: `server_features` should be a child of `xds_servers` and not a sibling (#4087) 2020-12-08 10:27:46 -08:00
Menghan Li bce1fdfad9
eds/lrs: handle nil when LRS is disabled (#4086) 2020-12-07 15:10:33 -08:00
Doug Fawley 0d6a24f68a
test: move stubServer to separate package in internal (#4081) 2020-12-04 15:56:07 -08:00
ZhenLian 9db56a08b4
advancedtls: add examples demonstrating reloading behaviors (#4018)
* advancedtls: add examples demonstrating reloading behaviors
2020-12-04 15:47:27 -08:00
Easwar Swaminathan c7df457e12
credentials/xds: Rename test file (#4077) 2020-12-04 08:42:31 -08:00
ZhenLian 2efef8fd12
advancedtls: fix default host name check issue (#4069)
* advancedtls: fix default hostname check issue
2020-12-03 09:52:30 -08:00
Easwar Swaminathan f1149b9954
xds: support server-side listeners in LDS response (#4046) 2020-12-03 09:12:22 -08:00
Easwar Swaminathan 5b1874ab74
xds: Handle child policy configs properly (#4071) 2020-12-03 09:00:33 -08:00