-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
quiche: make quic proof source and crypto stream pluggable #16658
Changes from 40 commits
4570f2d
b5821a0
e772105
5a83a9c
587facd
108700c
75c569f
547e36b
cef927c
d2c7eb5
653a451
150befd
083daee
55c023c
8b38134
22137cc
563ca96
467a808
755072b
4afa433
e7532be
f9ae166
2ddbd65
91ff970
d8aa1c3
ec0302c
b7a09c2
a5d29b1
b392d62
db8e0f8
664c3b8
8b89c58
5512f37
522e4f4
b352b81
52afe14
257fd65
d2164a0
d6f6647
0471c5c
58441b8
9c95845
7465ec6
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,8 +3,10 @@ syntax = "proto3"; | |
package envoy.config.listener.v3; | ||
|
||
import "envoy/config/core/v3/base.proto"; | ||
import "envoy/config/core/v3/extension.proto"; | ||
import "envoy/config/core/v3/protocol.proto"; | ||
|
||
import "google/protobuf/any.proto"; | ||
import "google/protobuf/duration.proto"; | ||
import "google/protobuf/wrappers.proto"; | ||
|
||
|
@@ -20,7 +22,7 @@ option (udpa.annotations.file_status).package_version_status = ACTIVE; | |
// [#protodoc-title: QUIC listener config] | ||
|
||
// Configuration specific to the UDP QUIC listener. | ||
// [#next-free-field: 6] | ||
// [#next-free-field: 8] | ||
message QuicProtocolOptions { | ||
option (udpa.annotations.versioning).previous_message_type = | ||
"envoy.api.v2.listener.QuicProtocolOptions"; | ||
|
@@ -48,4 +50,14 @@ message QuicProtocolOptions { | |
// bound by 6000, regardless of this field or how many connections there are. | ||
google.protobuf.UInt32Value packets_to_read_to_connection_count_ratio = 5 | ||
[(validate.rules).uint32 = {gte: 1}]; | ||
|
||
// Configure which implementation of quic::QuicCryptoClientStreamBase to be used for this listener. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. could you surround There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. done |
||
// If not specified the :ref:`QUICHE default one configured by <envoy_v3_api_msg_extensions.quic.crypto_stream.v3.CryptoServerStreamConfig>` will be used. | ||
// [#extension-category: envoy.quic.server.crypto_stream] | ||
core.v3.TypedExtensionConfig crypto_stream_config = 6; | ||
|
||
// Configure which implementation of quic::ProofSource to be used for this listener. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. please make There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. done |
||
// If not specified the :ref:`default one configured by <envoy_v3_api_msg_extensions.quic.proof_source.v3.ProofSourceConfig>` will be used. | ||
// [#extension-category: envoy.quic.proof_source] | ||
core.v3.TypedExtensionConfig proof_source_config = 7; | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# DO NOT EDIT. This file is generated by tools/proto_format/proto_sync.py. | ||
|
||
load("@envoy_api//bazel:api_build_system.bzl", "api_proto_package") | ||
|
||
licenses(["notice"]) # Apache 2 | ||
|
||
api_proto_package( | ||
deps = ["@com_github_cncf_udpa//udpa/annotations:pkg"], | ||
) |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
syntax = "proto3"; | ||
|
||
package envoy.extensions.quic.crypto_stream.v3; | ||
|
||
import "udpa/annotations/status.proto"; | ||
|
||
option java_package = "io.envoyproxy.envoy.extensions.quic.crypto_stream.v3"; | ||
option java_outer_classname = "CryptoStreamProto"; | ||
option java_multiple_files = true; | ||
option (udpa.annotations.file_status).package_version_status = ACTIVE; | ||
|
||
// [#protodoc-title: QUIC server crypto stream config] | ||
// [#extension: envoy.quic.server.crypto_stream.quiche] | ||
|
||
// Configuration for the default QUIC server crypto stream provided by QUICHE. | ||
message CryptoServerStreamConfig { | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# DO NOT EDIT. This file is generated by tools/proto_format/proto_sync.py. | ||
|
||
load("@envoy_api//bazel:api_build_system.bzl", "api_proto_package") | ||
|
||
licenses(["notice"]) # Apache 2 | ||
|
||
api_proto_package( | ||
deps = ["@com_github_cncf_udpa//udpa/annotations:pkg"], | ||
) |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
syntax = "proto3"; | ||
|
||
package envoy.extensions.quic.proof_source.v3; | ||
|
||
import "udpa/annotations/status.proto"; | ||
|
||
option java_package = "io.envoyproxy.envoy.extensions.quic.proof_source.v3"; | ||
option java_outer_classname = "ProofSourceProto"; | ||
option java_multiple_files = true; | ||
option (udpa.annotations.file_status).package_version_status = ACTIVE; | ||
|
||
// [#protodoc-title: QUIC proof source config] | ||
// [#extension: envoy.quic.proof_source.filter_chain] | ||
|
||
// Configuration for the default QUIC proof source. | ||
message ProofSourceConfig { | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,3 +28,4 @@ Extensions | |
request_id/request_id | ||
http/header_formatters | ||
http/original_ip_detection | ||
quic/quic_extensions |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
Quic Extensions | ||
================= | ||
|
||
.. toctree:: | ||
:glob: | ||
:maxdepth: 2 | ||
|
||
../../extensions/quic/crypto_stream/v3/* | ||
../../extensions/quic/proof_source/v3/* |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is unused - could you remove it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removed