async-grpc-xds 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- checksums.yaml.gz.sig +0 -0
- data/fixtures/async/grpc/test_interface.rb +79 -0
- data/fixtures/async/grpc/test_message.rb +56 -0
- data/lib/async/grpc/xds/ads_stream.rb +70 -0
- data/lib/async/grpc/xds/client.rb +255 -0
- data/lib/async/grpc/xds/context.rb +201 -0
- data/lib/async/grpc/xds/control_plane.rb +143 -0
- data/lib/async/grpc/xds/discovery_client.rb +356 -0
- data/lib/async/grpc/xds/health_checker.rb +88 -0
- data/lib/async/grpc/xds/load_balancer.rb +196 -0
- data/lib/async/grpc/xds/resource_builder.rb +138 -0
- data/lib/async/grpc/xds/resource_cache.rb +55 -0
- data/lib/async/grpc/xds/resources.rb +270 -0
- data/lib/async/grpc/xds/server.rb +34 -0
- data/lib/async/grpc/xds/service.rb +117 -0
- data/lib/async/grpc/xds/version.rb +12 -0
- data/lib/async/grpc/xds.rb +42 -0
- data/lib/envoy/annotations/deprecation_pb.rb +19 -0
- data/lib/envoy/config/cluster/v3/circuit_breaker_pb.rb +31 -0
- data/lib/envoy/config/cluster/v3/cluster_pb.rb +80 -0
- data/lib/envoy/config/cluster/v3/filter_pb.rb +28 -0
- data/lib/envoy/config/cluster/v3/outlier_detection_pb.rb +29 -0
- data/lib/envoy/config/core/v3/address_pb.rb +38 -0
- data/lib/envoy/config/core/v3/backoff_pb.rb +27 -0
- data/lib/envoy/config/core/v3/base_pb.rb +68 -0
- data/lib/envoy/config/core/v3/cel_pb.rb +24 -0
- data/lib/envoy/config/core/v3/config_source_pb.rb +42 -0
- data/lib/envoy/config/core/v3/event_service_config_pb.rb +27 -0
- data/lib/envoy/config/core/v3/extension_pb.rb +26 -0
- data/lib/envoy/config/core/v3/grpc_method_list_pb.rb +27 -0
- data/lib/envoy/config/core/v3/grpc_service_pb.rb +45 -0
- data/lib/envoy/config/core/v3/health_check_pb.rb +47 -0
- data/lib/envoy/config/core/v3/http_service_pb.rb +27 -0
- data/lib/envoy/config/core/v3/http_uri_pb.rb +27 -0
- data/lib/envoy/config/core/v3/protocol_pb.rb +51 -0
- data/lib/envoy/config/core/v3/proxy_protocol_pb.rb +31 -0
- data/lib/envoy/config/core/v3/resolver_pb.rb +27 -0
- data/lib/envoy/config/core/v3/socket_cmsg_headers_pb.rb +25 -0
- data/lib/envoy/config/core/v3/socket_option_pb.rb +31 -0
- data/lib/envoy/config/core/v3/substitution_format_string_pb.rb +30 -0
- data/lib/envoy/config/core/v3/udp_socket_config_pb.rb +26 -0
- data/lib/envoy/config/endpoint/v3/endpoint_components_pb.rb +40 -0
- data/lib/envoy/config/endpoint/v3/endpoint_pb.rb +32 -0
- data/lib/envoy/config/endpoint/v3/load_report_pb.rb +36 -0
- data/lib/envoy/service/discovery/v3/ads_pb.rb +26 -0
- data/lib/envoy/service/discovery/v3/aggregated_discovery_service.rb +64 -0
- data/lib/envoy/service/discovery/v3/discovery_pb.rb +42 -0
- data/lib/envoy/type/matcher/v3/address_pb.rb +25 -0
- data/lib/envoy/type/matcher/v3/filter_state_pb.rb +27 -0
- data/lib/envoy/type/matcher/v3/http_inputs_pb.rb +29 -0
- data/lib/envoy/type/matcher/v3/metadata_pb.rb +28 -0
- data/lib/envoy/type/matcher/v3/node_pb.rb +27 -0
- data/lib/envoy/type/matcher/v3/number_pb.rb +27 -0
- data/lib/envoy/type/matcher/v3/path_pb.rb +27 -0
- data/lib/envoy/type/matcher/v3/regex_pb.rb +30 -0
- data/lib/envoy/type/matcher/v3/status_code_input_pb.rb +25 -0
- data/lib/envoy/type/matcher/v3/string_pb.rb +29 -0
- data/lib/envoy/type/matcher/v3/struct_pb.rb +28 -0
- data/lib/envoy/type/matcher/v3/value_pb.rb +31 -0
- data/lib/envoy/type/metadata/v3/metadata_pb.rb +32 -0
- data/lib/envoy/type/v3/hash_policy_pb.rb +26 -0
- data/lib/envoy/type/v3/http_pb.rb +22 -0
- data/lib/envoy/type/v3/http_status_pb.rb +25 -0
- data/lib/envoy/type/v3/percent_pb.rb +26 -0
- data/lib/envoy/type/v3/range_pb.rb +25 -0
- data/lib/envoy/type/v3/ratelimit_strategy_pb.rb +28 -0
- data/lib/envoy/type/v3/ratelimit_unit_pb.rb +22 -0
- data/lib/envoy/type/v3/semantic_version_pb.rb +23 -0
- data/lib/envoy/type/v3/token_bucket_pb.rb +26 -0
- data/lib/envoy.rb +83 -0
- data/lib/google/protobuf/any_pb.rb +18 -0
- data/lib/google/protobuf/duration_pb.rb +18 -0
- data/lib/google/protobuf/empty_pb.rb +18 -0
- data/lib/google/protobuf/struct_pb.rb +21 -0
- data/lib/google/protobuf/timestamp_pb.rb +18 -0
- data/lib/google/protobuf/wrappers_pb.rb +26 -0
- data/lib/google/rpc/status_pb.rb +20 -0
- data/lib/udpa/annotations/migrate_pb.rb +22 -0
- data/lib/udpa/annotations/security_pb.rb +23 -0
- data/lib/udpa/annotations/sensitive_pb.rb +19 -0
- data/lib/udpa/annotations/status_pb.rb +21 -0
- data/lib/udpa/annotations/versioning_pb.rb +20 -0
- data/lib/validate/validate_pb.rb +43 -0
- data/lib/xds/annotations/v3/status_pb.rb +26 -0
- data/lib/xds/core/v3/authority_pb.rb +23 -0
- data/lib/xds/core/v3/cidr_pb.rb +24 -0
- data/lib/xds/core/v3/collection_entry_pb.rb +26 -0
- data/lib/xds/core/v3/context_params_pb.rb +22 -0
- data/lib/xds/core/v3/extension_pb.rb +23 -0
- data/lib/xds/core/v3/resource_locator_pb.rb +26 -0
- data/lib/xds/core/v3/resource_name_pb.rb +24 -0
- data/lib/xds/core/v3/resource_pb.rb +24 -0
- data/lib/xds/type/matcher/v3/domain_pb.rb +27 -0
- data/lib/xds/type/matcher/v3/http_inputs_pb.rb +22 -0
- data/lib/xds/type/matcher/v3/ip_pb.rb +28 -0
- data/lib/xds/type/matcher/v3/matcher_pb.rb +34 -0
- data/lib/xds/type/matcher/v3/range_pb.rb +31 -0
- data/lib/xds/type/matcher/v3/regex_pb.rb +25 -0
- data/lib/xds/type/matcher/v3/string_pb.rb +27 -0
- data/license.md +21 -0
- data/plan.md +156 -0
- data/proto/envoy/annotations/deprecation.proto +34 -0
- data/proto/envoy/annotations/resource.proto +19 -0
- data/proto/envoy/config/README.md +3 -0
- data/proto/envoy/config/cluster/v3/BUILD +18 -0
- data/proto/envoy/config/cluster/v3/circuit_breaker.proto +121 -0
- data/proto/envoy/config/cluster/v3/cluster.proto +1407 -0
- data/proto/envoy/config/cluster/v3/filter.proto +40 -0
- data/proto/envoy/config/cluster/v3/outlier_detection.proto +180 -0
- data/proto/envoy/config/core/v3/BUILD +16 -0
- data/proto/envoy/config/core/v3/address.proto +214 -0
- data/proto/envoy/config/core/v3/backoff.proto +37 -0
- data/proto/envoy/config/core/v3/base.proto +662 -0
- data/proto/envoy/config/core/v3/cel.proto +63 -0
- data/proto/envoy/config/core/v3/config_source.proto +283 -0
- data/proto/envoy/config/core/v3/event_service_config.proto +29 -0
- data/proto/envoy/config/core/v3/extension.proto +32 -0
- data/proto/envoy/config/core/v3/grpc_method_list.proto +33 -0
- data/proto/envoy/config/core/v3/grpc_service.proto +355 -0
- data/proto/envoy/config/core/v3/health_check.proto +443 -0
- data/proto/envoy/config/core/v3/http_service.proto +35 -0
- data/proto/envoy/config/core/v3/http_uri.proto +58 -0
- data/proto/envoy/config/core/v3/protocol.proto +807 -0
- data/proto/envoy/config/core/v3/proxy_protocol.proto +114 -0
- data/proto/envoy/config/core/v3/resolver.proto +36 -0
- data/proto/envoy/config/core/v3/socket_cmsg_headers.proto +28 -0
- data/proto/envoy/config/core/v3/socket_option.proto +108 -0
- data/proto/envoy/config/core/v3/substitution_format_string.proto +136 -0
- data/proto/envoy/config/core/v3/udp_socket_config.proto +32 -0
- data/proto/envoy/config/endpoint/v3/BUILD +16 -0
- data/proto/envoy/config/endpoint/v3/endpoint.proto +137 -0
- data/proto/envoy/config/endpoint/v3/endpoint_components.proto +229 -0
- data/proto/envoy/config/endpoint/v3/load_report.proto +220 -0
- data/proto/envoy/config/listener/v3/BUILD +18 -0
- data/proto/envoy/config/listener/v3/api_listener.proto +34 -0
- data/proto/envoy/config/listener/v3/listener.proto +455 -0
- data/proto/envoy/config/listener/v3/listener_components.proto +353 -0
- data/proto/envoy/config/listener/v3/quic_config.proto +108 -0
- data/proto/envoy/config/listener/v3/udp_listener_config.proto +52 -0
- data/proto/envoy/config/route/v3/BUILD +19 -0
- data/proto/envoy/config/route/v3/route.proto +172 -0
- data/proto/envoy/config/route/v3/route_components.proto +2918 -0
- data/proto/envoy/config/route/v3/scoped_route.proto +133 -0
- data/proto/envoy/extensions/transport_sockets/tls/v3/BUILD +14 -0
- data/proto/envoy/extensions/transport_sockets/tls/v3/cert.proto +12 -0
- data/proto/envoy/extensions/transport_sockets/tls/v3/common.proto +597 -0
- data/proto/envoy/extensions/transport_sockets/tls/v3/secret.proto +61 -0
- data/proto/envoy/extensions/transport_sockets/tls/v3/tls.proto +366 -0
- data/proto/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.proto +67 -0
- data/proto/envoy/service/README.md +3 -0
- data/proto/envoy/service/discovery/v3/BUILD +13 -0
- data/proto/envoy/service/discovery/v3/ads.proto +44 -0
- data/proto/envoy/service/discovery/v3/discovery.proto +443 -0
- data/proto/envoy/type/BUILD +9 -0
- data/proto/envoy/type/hash_policy.proto +28 -0
- data/proto/envoy/type/http.proto +24 -0
- data/proto/envoy/type/http_status.proto +140 -0
- data/proto/envoy/type/matcher/v3/address.proto +22 -0
- data/proto/envoy/type/matcher/v3/filter_state.proto +33 -0
- data/proto/envoy/type/matcher/v3/http_inputs.proto +71 -0
- data/proto/envoy/type/matcher/v3/metadata.proto +110 -0
- data/proto/envoy/type/matcher/v3/node.proto +29 -0
- data/proto/envoy/type/matcher/v3/number.proto +33 -0
- data/proto/envoy/type/matcher/v3/path.proto +31 -0
- data/proto/envoy/type/matcher/v3/regex.proto +97 -0
- data/proto/envoy/type/matcher/v3/status_code_input.proto +23 -0
- data/proto/envoy/type/matcher/v3/string.proto +94 -0
- data/proto/envoy/type/matcher/v3/struct.proto +91 -0
- data/proto/envoy/type/matcher/v3/value.proto +80 -0
- data/proto/envoy/type/metadata/v3/metadata.proto +117 -0
- data/proto/envoy/type/percent.proto +52 -0
- data/proto/envoy/type/range.proto +43 -0
- data/proto/envoy/type/semantic_version.proto +24 -0
- data/proto/envoy/type/token_bucket.proto +36 -0
- data/proto/envoy/type/v3/BUILD +12 -0
- data/proto/envoy/type/v3/hash_policy.proto +43 -0
- data/proto/envoy/type/v3/http.proto +24 -0
- data/proto/envoy/type/v3/http_status.proto +199 -0
- data/proto/envoy/type/v3/percent.proto +57 -0
- data/proto/envoy/type/v3/range.proto +50 -0
- data/proto/envoy/type/v3/ratelimit_strategy.proto +79 -0
- data/proto/envoy/type/v3/ratelimit_unit.proto +37 -0
- data/proto/envoy/type/v3/semantic_version.proto +27 -0
- data/proto/envoy/type/v3/token_bucket.proto +39 -0
- data/proto/google/protobuf/any.proto +162 -0
- data/proto/google/protobuf/duration.proto +115 -0
- data/proto/google/protobuf/empty.proto +51 -0
- data/proto/google/protobuf/struct.proto +95 -0
- data/proto/google/protobuf/timestamp.proto +145 -0
- data/proto/google/protobuf/wrappers.proto +157 -0
- data/proto/google/rpc/status.proto +47 -0
- data/proto/readme.md +70 -0
- data/proto/udpa/annotations/migrate.proto +49 -0
- data/proto/udpa/annotations/security.proto +31 -0
- data/proto/udpa/annotations/sensitive.proto +14 -0
- data/proto/udpa/annotations/status.proto +34 -0
- data/proto/udpa/annotations/versioning.proto +17 -0
- data/proto/validate/validate.proto +862 -0
- data/proto/xds/annotations/v3/migrate.proto +46 -0
- data/proto/xds/annotations/v3/security.proto +30 -0
- data/proto/xds/annotations/v3/sensitive.proto +16 -0
- data/proto/xds/annotations/v3/status.proto +59 -0
- data/proto/xds/annotations/v3/versioning.proto +20 -0
- data/proto/xds/core/v3/authority.proto +22 -0
- data/proto/xds/core/v3/cidr.proto +25 -0
- data/proto/xds/core/v3/collection_entry.proto +55 -0
- data/proto/xds/core/v3/context_params.proto +23 -0
- data/proto/xds/core/v3/extension.proto +26 -0
- data/proto/xds/core/v3/resource.proto +29 -0
- data/proto/xds/core/v3/resource_locator.proto +118 -0
- data/proto/xds/core/v3/resource_name.proto +42 -0
- data/proto/xds/type/matcher/v3/cel.proto +37 -0
- data/proto/xds/type/matcher/v3/domain.proto +46 -0
- data/proto/xds/type/matcher/v3/http_inputs.proto +23 -0
- data/proto/xds/type/matcher/v3/ip.proto +53 -0
- data/proto/xds/type/matcher/v3/matcher.proto +144 -0
- data/proto/xds/type/matcher/v3/range.proto +69 -0
- data/proto/xds/type/matcher/v3/regex.proto +46 -0
- data/proto/xds/type/matcher/v3/string.proto +71 -0
- data/proto/xds/type/v3/cel.proto +77 -0
- data/proto/xds/type/v3/range.proto +40 -0
- data/proto/xds/type/v3/typed_struct.proto +44 -0
- data/readme.md +37 -0
- data/releases.md +5 -0
- data/xds/Dockerfile.backend +24 -0
- data/xds/Dockerfile.control-plane +22 -0
- data/xds/backend_server.rb +68 -0
- data/xds/docker-compose.yaml +89 -0
- data/xds/go.mod +22 -0
- data/xds/go.sum +82 -0
- data/xds/readme.md +122 -0
- data/xds/test/async/grpc/xds/client.rb +294 -0
- data/xds/test/async/grpc/xds/control_plane.rb +94 -0
- data/xds/test_server.go +355 -0
- data/xds/update_protos.sh +123 -0
- data.tar.gz.sig +0 -0
- metadata +386 -0
- metadata.gz.sig +2 -0
|
@@ -0,0 +1,353 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
|
|
3
|
+
package envoy.config.listener.v3;
|
|
4
|
+
|
|
5
|
+
import "envoy/config/core/v3/address.proto";
|
|
6
|
+
import "envoy/config/core/v3/base.proto";
|
|
7
|
+
import "envoy/config/core/v3/config_source.proto";
|
|
8
|
+
import "envoy/type/v3/range.proto";
|
|
9
|
+
|
|
10
|
+
import "google/protobuf/any.proto";
|
|
11
|
+
import "google/protobuf/duration.proto";
|
|
12
|
+
import "google/protobuf/wrappers.proto";
|
|
13
|
+
|
|
14
|
+
import "envoy/annotations/deprecation.proto";
|
|
15
|
+
import "udpa/annotations/status.proto";
|
|
16
|
+
import "udpa/annotations/versioning.proto";
|
|
17
|
+
import "validate/validate.proto";
|
|
18
|
+
|
|
19
|
+
option java_package = "io.envoyproxy.envoy.config.listener.v3";
|
|
20
|
+
option java_outer_classname = "ListenerComponentsProto";
|
|
21
|
+
option java_multiple_files = true;
|
|
22
|
+
option go_package = "github.com/envoyproxy/go-control-plane/envoy/config/listener/v3;listenerv3";
|
|
23
|
+
option (udpa.annotations.file_status).package_version_status = ACTIVE;
|
|
24
|
+
|
|
25
|
+
// [#protodoc-title: Listener components]
|
|
26
|
+
// Listener :ref:`configuration overview <config_listeners>`
|
|
27
|
+
|
|
28
|
+
// [#next-free-field: 6]
|
|
29
|
+
message Filter {
|
|
30
|
+
option (udpa.annotations.versioning).previous_message_type = "envoy.api.v2.listener.Filter";
|
|
31
|
+
|
|
32
|
+
reserved 3, 2;
|
|
33
|
+
|
|
34
|
+
reserved "config";
|
|
35
|
+
|
|
36
|
+
// The name of the filter configuration.
|
|
37
|
+
string name = 1 [(validate.rules).string = {min_len: 1}];
|
|
38
|
+
|
|
39
|
+
oneof config_type {
|
|
40
|
+
// Filter specific configuration which depends on the filter being
|
|
41
|
+
// instantiated. See the supported filters for further documentation.
|
|
42
|
+
// [#extension-category: envoy.filters.network]
|
|
43
|
+
google.protobuf.Any typed_config = 4;
|
|
44
|
+
|
|
45
|
+
// Configuration source specifier for an extension configuration discovery
|
|
46
|
+
// service. In case of a failure and without the default configuration, the
|
|
47
|
+
// listener closes the connections.
|
|
48
|
+
core.v3.ExtensionConfigSource config_discovery = 5;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
// Specifies the match criteria for selecting a specific filter chain for a
|
|
53
|
+
// listener.
|
|
54
|
+
//
|
|
55
|
+
// In order for a filter chain to be selected, *ALL* of its criteria must be
|
|
56
|
+
// fulfilled by the incoming connection, properties of which are set by the
|
|
57
|
+
// networking stack and/or listener filters.
|
|
58
|
+
//
|
|
59
|
+
// The following order applies:
|
|
60
|
+
//
|
|
61
|
+
// 1. Destination port.
|
|
62
|
+
// 2. Destination IP address.
|
|
63
|
+
// 3. Server name (e.g. SNI for TLS protocol),
|
|
64
|
+
// 4. Transport protocol.
|
|
65
|
+
// 5. Application protocols (e.g. ALPN for TLS protocol).
|
|
66
|
+
// 6. Directly connected source IP address (this will only be different from the source IP address
|
|
67
|
+
// when using a listener filter that overrides the source address, such as the :ref:`Proxy Protocol
|
|
68
|
+
// listener filter <config_listener_filters_proxy_protocol>`).
|
|
69
|
+
// 7. Source type (e.g. any, local or external network).
|
|
70
|
+
// 8. Source IP address.
|
|
71
|
+
// 9. Source port.
|
|
72
|
+
//
|
|
73
|
+
// For criteria that allow ranges or wildcards, the most specific value in any
|
|
74
|
+
// of the configured filter chains that matches the incoming connection is going
|
|
75
|
+
// to be used (e.g. for SNI ``www.example.com`` the most specific match would be
|
|
76
|
+
// ``www.example.com``, then ``*.example.com``, then ``*.com``, then any filter
|
|
77
|
+
// chain without ``server_names`` requirements).
|
|
78
|
+
//
|
|
79
|
+
// A different way to reason about the filter chain matches:
|
|
80
|
+
// Suppose there exists N filter chains. Prune the filter chain set using the above 8 steps.
|
|
81
|
+
// In each step, filter chains which most specifically matches the attributes continue to the next step.
|
|
82
|
+
// The listener guarantees at most 1 filter chain is left after all of the steps.
|
|
83
|
+
//
|
|
84
|
+
// Example:
|
|
85
|
+
//
|
|
86
|
+
// For destination port, filter chains specifying the destination port of incoming traffic are the
|
|
87
|
+
// most specific match. If none of the filter chains specifies the exact destination port, the filter
|
|
88
|
+
// chains which do not specify ports are the most specific match. Filter chains specifying the
|
|
89
|
+
// wrong port can never be the most specific match.
|
|
90
|
+
//
|
|
91
|
+
// [#comment: Implemented rules are kept in the preference order, with deprecated fields
|
|
92
|
+
// listed at the end, because that's how we want to list them in the docs.
|
|
93
|
+
//
|
|
94
|
+
// [#comment:TODO(PiotrSikora): Add support for configurable precedence of the rules]
|
|
95
|
+
// [#next-free-field: 14]
|
|
96
|
+
message FilterChainMatch {
|
|
97
|
+
option (udpa.annotations.versioning).previous_message_type =
|
|
98
|
+
"envoy.api.v2.listener.FilterChainMatch";
|
|
99
|
+
|
|
100
|
+
enum ConnectionSourceType {
|
|
101
|
+
// Any connection source matches.
|
|
102
|
+
ANY = 0;
|
|
103
|
+
|
|
104
|
+
// Match a connection originating from the same host.
|
|
105
|
+
SAME_IP_OR_LOOPBACK = 1;
|
|
106
|
+
|
|
107
|
+
// Match a connection originating from a different host.
|
|
108
|
+
EXTERNAL = 2;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
reserved 1;
|
|
112
|
+
|
|
113
|
+
// Optional destination port to consider when use_original_dst is set on the
|
|
114
|
+
// listener in determining a filter chain match.
|
|
115
|
+
google.protobuf.UInt32Value destination_port = 8 [(validate.rules).uint32 = {lte: 65535 gte: 1}];
|
|
116
|
+
|
|
117
|
+
// If non-empty, an IP address and prefix length to match addresses when the
|
|
118
|
+
// listener is bound to 0.0.0.0/:: or when use_original_dst is specified.
|
|
119
|
+
repeated core.v3.CidrRange prefix_ranges = 3;
|
|
120
|
+
|
|
121
|
+
// If non-empty, an IP address and suffix length to match addresses when the
|
|
122
|
+
// listener is bound to 0.0.0.0/:: or when use_original_dst is specified.
|
|
123
|
+
// [#not-implemented-hide:]
|
|
124
|
+
string address_suffix = 4;
|
|
125
|
+
|
|
126
|
+
// [#not-implemented-hide:]
|
|
127
|
+
google.protobuf.UInt32Value suffix_len = 5;
|
|
128
|
+
|
|
129
|
+
// The criteria is satisfied if the directly connected source IP address of the downstream
|
|
130
|
+
// connection is contained in at least one of the specified subnets. If the parameter is not
|
|
131
|
+
// specified or the list is empty, the directly connected source IP address is ignored.
|
|
132
|
+
repeated core.v3.CidrRange direct_source_prefix_ranges = 13;
|
|
133
|
+
|
|
134
|
+
// Specifies the connection source IP match type. Can be any, local or external network.
|
|
135
|
+
ConnectionSourceType source_type = 12 [(validate.rules).enum = {defined_only: true}];
|
|
136
|
+
|
|
137
|
+
// The criteria is satisfied if the source IP address of the downstream
|
|
138
|
+
// connection is contained in at least one of the specified subnets. If the
|
|
139
|
+
// parameter is not specified or the list is empty, the source IP address is
|
|
140
|
+
// ignored.
|
|
141
|
+
repeated core.v3.CidrRange source_prefix_ranges = 6;
|
|
142
|
+
|
|
143
|
+
// The criteria is satisfied if the source port of the downstream connection
|
|
144
|
+
// is contained in at least one of the specified ports. If the parameter is
|
|
145
|
+
// not specified, the source port is ignored.
|
|
146
|
+
repeated uint32 source_ports = 7
|
|
147
|
+
[(validate.rules).repeated = {items {uint32 {lte: 65535 gte: 1}}}];
|
|
148
|
+
|
|
149
|
+
// If non-empty, a list of server names (e.g. SNI for TLS protocol) to consider when determining
|
|
150
|
+
// a filter chain match. Those values will be compared against the server names of a new
|
|
151
|
+
// connection, when detected by one of the listener filters.
|
|
152
|
+
//
|
|
153
|
+
// The server name will be matched against all wildcard domains, i.e. ``www.example.com``
|
|
154
|
+
// will be first matched against ``www.example.com``, then ``*.example.com``, then ``*.com``.
|
|
155
|
+
//
|
|
156
|
+
// Note that partial wildcards are not supported, and values like ``*w.example.com`` are invalid.
|
|
157
|
+
// The value ``*`` is also not supported, and ``server_names`` should be omitted instead.
|
|
158
|
+
//
|
|
159
|
+
// .. attention::
|
|
160
|
+
//
|
|
161
|
+
// See the :ref:`FAQ entry <faq_how_to_setup_sni>` on how to configure SNI for more
|
|
162
|
+
// information.
|
|
163
|
+
repeated string server_names = 11;
|
|
164
|
+
|
|
165
|
+
// If non-empty, a transport protocol to consider when determining a filter chain match.
|
|
166
|
+
// This value will be compared against the transport protocol of a new connection, when
|
|
167
|
+
// it's detected by one of the listener filters.
|
|
168
|
+
//
|
|
169
|
+
// Suggested values include:
|
|
170
|
+
//
|
|
171
|
+
// * ``raw_buffer`` - default, used when no transport protocol is detected,
|
|
172
|
+
// * ``tls`` - set by :ref:`envoy.filters.listener.tls_inspector <config_listener_filters_tls_inspector>`
|
|
173
|
+
// when TLS protocol is detected.
|
|
174
|
+
string transport_protocol = 9;
|
|
175
|
+
|
|
176
|
+
// If non-empty, a list of application protocols (e.g. ALPN for TLS protocol) to consider when
|
|
177
|
+
// determining a filter chain match. Those values will be compared against the application
|
|
178
|
+
// protocols of a new connection, when detected by one of the listener filters.
|
|
179
|
+
//
|
|
180
|
+
// Suggested values include:
|
|
181
|
+
//
|
|
182
|
+
// * ``http/1.1`` - set by :ref:`envoy.filters.listener.tls_inspector
|
|
183
|
+
// <config_listener_filters_tls_inspector>`,
|
|
184
|
+
// * ``h2`` - set by :ref:`envoy.filters.listener.tls_inspector <config_listener_filters_tls_inspector>`
|
|
185
|
+
//
|
|
186
|
+
// .. attention::
|
|
187
|
+
//
|
|
188
|
+
// Currently, only :ref:`TLS Inspector <config_listener_filters_tls_inspector>` provides
|
|
189
|
+
// application protocol detection based on the requested
|
|
190
|
+
// `ALPN <https://en.wikipedia.org/wiki/Application-Layer_Protocol_Negotiation>`_ values.
|
|
191
|
+
//
|
|
192
|
+
// However, the use of ALPN is pretty much limited to the HTTP/2 traffic on the Internet,
|
|
193
|
+
// and matching on values other than ``h2`` is going to lead to a lot of false negatives,
|
|
194
|
+
// unless all connecting clients are known to use ALPN.
|
|
195
|
+
repeated string application_protocols = 10;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
// A filter chain wraps a set of match criteria, an option TLS context, a set of filters, and
|
|
199
|
+
// various other parameters.
|
|
200
|
+
// [#next-free-field: 10]
|
|
201
|
+
message FilterChain {
|
|
202
|
+
option (udpa.annotations.versioning).previous_message_type = "envoy.api.v2.listener.FilterChain";
|
|
203
|
+
|
|
204
|
+
reserved 2, 8;
|
|
205
|
+
|
|
206
|
+
reserved "tls_context", "on_demand_configuration";
|
|
207
|
+
|
|
208
|
+
// The criteria to use when matching a connection to this filter chain.
|
|
209
|
+
FilterChainMatch filter_chain_match = 1;
|
|
210
|
+
|
|
211
|
+
// A list of individual network filters that make up the filter chain for
|
|
212
|
+
// connections established with the listener. Order matters as the filters are
|
|
213
|
+
// processed sequentially as connection events happen. Note: If the filter
|
|
214
|
+
// list is empty, the connection will close by default.
|
|
215
|
+
//
|
|
216
|
+
// For QUIC listeners, network filters other than HTTP Connection Manager (HCM)
|
|
217
|
+
// can be created, but due to differences in the connection implementation compared
|
|
218
|
+
// to TCP, the onData() method will never be called. Therefore, network filters
|
|
219
|
+
// for QUIC listeners should only expect to do work at the start of a new connection
|
|
220
|
+
// (i.e. in onNewConnection()). HCM must be the last (or only) filter in the chain.
|
|
221
|
+
repeated Filter filters = 3;
|
|
222
|
+
|
|
223
|
+
// Whether the listener should expect a PROXY protocol V1 header on new
|
|
224
|
+
// connections. If this option is enabled, the listener will assume that that
|
|
225
|
+
// remote address of the connection is the one specified in the header. Some
|
|
226
|
+
// load balancers including the AWS ELB support this option. If the option is
|
|
227
|
+
// absent or set to false, Envoy will use the physical peer address of the
|
|
228
|
+
// connection as the remote address.
|
|
229
|
+
//
|
|
230
|
+
// This field is deprecated. Add a
|
|
231
|
+
// :ref:`PROXY protocol listener filter <config_listener_filters_proxy_protocol>`
|
|
232
|
+
// explicitly instead.
|
|
233
|
+
google.protobuf.BoolValue use_proxy_proto = 4
|
|
234
|
+
[deprecated = true, (envoy.annotations.deprecated_at_minor_version) = "3.0"];
|
|
235
|
+
|
|
236
|
+
// Filter chain metadata.
|
|
237
|
+
core.v3.Metadata metadata = 5;
|
|
238
|
+
|
|
239
|
+
// Optional custom transport socket implementation to use for downstream connections.
|
|
240
|
+
// To setup TLS, set a transport socket with name ``envoy.transport_sockets.tls`` and
|
|
241
|
+
// :ref:`DownstreamTlsContext <envoy_v3_api_msg_extensions.transport_sockets.tls.v3.DownstreamTlsContext>` in the ``typed_config``.
|
|
242
|
+
// If no transport socket configuration is specified, new connections
|
|
243
|
+
// will be set up with plaintext.
|
|
244
|
+
// [#extension-category: envoy.transport_sockets.downstream]
|
|
245
|
+
core.v3.TransportSocket transport_socket = 6;
|
|
246
|
+
|
|
247
|
+
// If present and nonzero, the amount of time to allow incoming connections to complete any
|
|
248
|
+
// transport socket negotiations. If this expires before the transport reports connection
|
|
249
|
+
// establishment, the connection is summarily closed.
|
|
250
|
+
google.protobuf.Duration transport_socket_connect_timeout = 9;
|
|
251
|
+
|
|
252
|
+
// The unique name (or empty) by which this filter chain is known.
|
|
253
|
+
//
|
|
254
|
+
// .. note::
|
|
255
|
+
// :ref:`filter_chain_matcher
|
|
256
|
+
// <envoy_v3_api_field_config.listener.v3.Listener.filter_chain_matcher>`
|
|
257
|
+
// requires that filter chains are uniquely named within a listener.
|
|
258
|
+
string name = 7;
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
// Listener filter chain match configuration. This is a recursive structure which allows complex
|
|
262
|
+
// nested match configurations to be built using various logical operators.
|
|
263
|
+
//
|
|
264
|
+
// Examples:
|
|
265
|
+
//
|
|
266
|
+
// * Matches if the destination port is 3306.
|
|
267
|
+
//
|
|
268
|
+
// .. code-block:: yaml
|
|
269
|
+
//
|
|
270
|
+
// destination_port_range:
|
|
271
|
+
// start: 3306
|
|
272
|
+
// end: 3307
|
|
273
|
+
//
|
|
274
|
+
// * Matches if the destination port is 3306 or 15000.
|
|
275
|
+
//
|
|
276
|
+
// .. code-block:: yaml
|
|
277
|
+
//
|
|
278
|
+
// or_match:
|
|
279
|
+
// rules:
|
|
280
|
+
// - destination_port_range:
|
|
281
|
+
// start: 3306
|
|
282
|
+
// end: 3307
|
|
283
|
+
// - destination_port_range:
|
|
284
|
+
// start: 15000
|
|
285
|
+
// end: 15001
|
|
286
|
+
//
|
|
287
|
+
// [#next-free-field: 6]
|
|
288
|
+
message ListenerFilterChainMatchPredicate {
|
|
289
|
+
option (udpa.annotations.versioning).previous_message_type =
|
|
290
|
+
"envoy.api.v2.listener.ListenerFilterChainMatchPredicate";
|
|
291
|
+
|
|
292
|
+
// A set of match configurations used for logical operations.
|
|
293
|
+
message MatchSet {
|
|
294
|
+
option (udpa.annotations.versioning).previous_message_type =
|
|
295
|
+
"envoy.api.v2.listener.ListenerFilterChainMatchPredicate.MatchSet";
|
|
296
|
+
|
|
297
|
+
// The list of rules that make up the set.
|
|
298
|
+
repeated ListenerFilterChainMatchPredicate rules = 1
|
|
299
|
+
[(validate.rules).repeated = {min_items: 2}];
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
oneof rule {
|
|
303
|
+
option (validate.required) = true;
|
|
304
|
+
|
|
305
|
+
// A set that describes a logical OR. If any member of the set matches, the match configuration
|
|
306
|
+
// matches.
|
|
307
|
+
MatchSet or_match = 1;
|
|
308
|
+
|
|
309
|
+
// A set that describes a logical AND. If all members of the set match, the match configuration
|
|
310
|
+
// matches.
|
|
311
|
+
MatchSet and_match = 2;
|
|
312
|
+
|
|
313
|
+
// A negation match. The match configuration will match if the negated match condition matches.
|
|
314
|
+
ListenerFilterChainMatchPredicate not_match = 3;
|
|
315
|
+
|
|
316
|
+
// The match configuration will always match.
|
|
317
|
+
bool any_match = 4 [(validate.rules).bool = {const: true}];
|
|
318
|
+
|
|
319
|
+
// Match destination port. Particularly, the match evaluation must use the recovered local port if
|
|
320
|
+
// the owning listener filter is after :ref:`an original_dst listener filter <config_listener_filters_original_dst>`.
|
|
321
|
+
type.v3.Int32Range destination_port_range = 5;
|
|
322
|
+
}
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
// [#next-free-field: 6]
|
|
326
|
+
message ListenerFilter {
|
|
327
|
+
option (udpa.annotations.versioning).previous_message_type =
|
|
328
|
+
"envoy.api.v2.listener.ListenerFilter";
|
|
329
|
+
|
|
330
|
+
reserved 2;
|
|
331
|
+
|
|
332
|
+
reserved "config";
|
|
333
|
+
|
|
334
|
+
// The name of the filter configuration.
|
|
335
|
+
string name = 1 [(validate.rules).string = {min_len: 1}];
|
|
336
|
+
|
|
337
|
+
oneof config_type {
|
|
338
|
+
// Filter specific configuration which depends on the filter being
|
|
339
|
+
// instantiated. See the supported filters for further documentation.
|
|
340
|
+
// [#extension-category: envoy.filters.listener,envoy.filters.udp_listener]
|
|
341
|
+
google.protobuf.Any typed_config = 3;
|
|
342
|
+
|
|
343
|
+
// Configuration source specifier for an extension configuration discovery
|
|
344
|
+
// service. In case of a failure and without the default configuration, the
|
|
345
|
+
// listener closes the connections.
|
|
346
|
+
core.v3.ExtensionConfigSource config_discovery = 5;
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
// Optional match predicate used to disable the filter. The filter is enabled when this field is empty.
|
|
350
|
+
// See :ref:`ListenerFilterChainMatchPredicate <envoy_v3_api_msg_config.listener.v3.ListenerFilterChainMatchPredicate>`
|
|
351
|
+
// for further examples.
|
|
352
|
+
ListenerFilterChainMatchPredicate filter_disabled = 4;
|
|
353
|
+
}
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
|
|
3
|
+
package envoy.config.listener.v3;
|
|
4
|
+
|
|
5
|
+
import "envoy/config/core/v3/base.proto";
|
|
6
|
+
import "envoy/config/core/v3/extension.proto";
|
|
7
|
+
import "envoy/config/core/v3/protocol.proto";
|
|
8
|
+
import "envoy/config/core/v3/socket_cmsg_headers.proto";
|
|
9
|
+
|
|
10
|
+
import "google/protobuf/duration.proto";
|
|
11
|
+
import "google/protobuf/wrappers.proto";
|
|
12
|
+
|
|
13
|
+
import "xds/annotations/v3/status.proto";
|
|
14
|
+
|
|
15
|
+
import "udpa/annotations/status.proto";
|
|
16
|
+
import "udpa/annotations/versioning.proto";
|
|
17
|
+
import "validate/validate.proto";
|
|
18
|
+
|
|
19
|
+
option java_package = "io.envoyproxy.envoy.config.listener.v3";
|
|
20
|
+
option java_outer_classname = "QuicConfigProto";
|
|
21
|
+
option java_multiple_files = true;
|
|
22
|
+
option go_package = "github.com/envoyproxy/go-control-plane/envoy/config/listener/v3;listenerv3";
|
|
23
|
+
option (udpa.annotations.file_status).package_version_status = ACTIVE;
|
|
24
|
+
|
|
25
|
+
// [#protodoc-title: QUIC listener config]
|
|
26
|
+
|
|
27
|
+
// Configuration specific to the UDP QUIC listener.
|
|
28
|
+
// [#next-free-field: 15]
|
|
29
|
+
message QuicProtocolOptions {
|
|
30
|
+
option (udpa.annotations.versioning).previous_message_type =
|
|
31
|
+
"envoy.api.v2.listener.QuicProtocolOptions";
|
|
32
|
+
|
|
33
|
+
core.v3.QuicProtocolOptions quic_protocol_options = 1;
|
|
34
|
+
|
|
35
|
+
// Maximum number of milliseconds that connection will be alive when there is
|
|
36
|
+
// no network activity.
|
|
37
|
+
//
|
|
38
|
+
// If it is less than 1ms, Envoy will use 1ms. 300000ms if not specified.
|
|
39
|
+
google.protobuf.Duration idle_timeout = 2;
|
|
40
|
+
|
|
41
|
+
// Connection timeout in milliseconds before the crypto handshake is finished.
|
|
42
|
+
//
|
|
43
|
+
// If it is less than 5000ms, Envoy will use 5000ms. 20000ms if not specified.
|
|
44
|
+
google.protobuf.Duration crypto_handshake_timeout = 3;
|
|
45
|
+
|
|
46
|
+
// Runtime flag that controls whether the listener is enabled or not. If not specified, defaults
|
|
47
|
+
// to enabled.
|
|
48
|
+
core.v3.RuntimeFeatureFlag enabled = 4;
|
|
49
|
+
|
|
50
|
+
// A multiplier to number of connections which is used to determine how many packets to read per
|
|
51
|
+
// event loop. A reasonable number should allow the listener to process enough payload but not
|
|
52
|
+
// starve TCP and other UDP sockets and also prevent long event loop duration.
|
|
53
|
+
// The default value is 32. This means if there are N QUIC connections, the total number of
|
|
54
|
+
// packets to read in each read event will be 32 * N.
|
|
55
|
+
// The actual number of packets to read in total by the UDP listener is also
|
|
56
|
+
// bound by 6000, regardless of this field or how many connections there are.
|
|
57
|
+
google.protobuf.UInt32Value packets_to_read_to_connection_count_ratio = 5
|
|
58
|
+
[(validate.rules).uint32 = {gte: 1}];
|
|
59
|
+
|
|
60
|
+
// Configure which implementation of ``quic::QuicCryptoClientStreamBase`` to be used for this listener.
|
|
61
|
+
// If not specified the :ref:`QUICHE default one configured by <envoy_v3_api_msg_extensions.quic.crypto_stream.v3.CryptoServerStreamConfig>` will be used.
|
|
62
|
+
// [#extension-category: envoy.quic.server.crypto_stream]
|
|
63
|
+
core.v3.TypedExtensionConfig crypto_stream_config = 6;
|
|
64
|
+
|
|
65
|
+
// Configure which implementation of ``quic::ProofSource`` to be used for this listener.
|
|
66
|
+
// If not specified the :ref:`default one configured by <envoy_v3_api_msg_extensions.quic.proof_source.v3.ProofSourceConfig>` will be used.
|
|
67
|
+
// [#extension-category: envoy.quic.proof_source]
|
|
68
|
+
core.v3.TypedExtensionConfig proof_source_config = 7;
|
|
69
|
+
|
|
70
|
+
// Config which implementation of ``quic::ConnectionIdGeneratorInterface`` to be used for this listener.
|
|
71
|
+
// If not specified the :ref:`default one configured by <envoy_v3_api_msg_extensions.quic.connection_id_generator.v3.DeterministicConnectionIdGeneratorConfig>` will be used.
|
|
72
|
+
// [#extension-category: envoy.quic.connection_id_generator]
|
|
73
|
+
core.v3.TypedExtensionConfig connection_id_generator_config = 8;
|
|
74
|
+
|
|
75
|
+
// Configure the server's preferred address to advertise so that client can migrate to it. See :ref:`example <envoy_v3_api_msg_extensions.quic.server_preferred_address.v3.FixedServerPreferredAddressConfig>` which configures a pair of v4 and v6 preferred addresses.
|
|
76
|
+
// The current QUICHE implementation will advertise only one of the preferred IPv4 and IPv6 addresses based on the address family the client initially connects with.
|
|
77
|
+
// If not specified, Envoy will not advertise any server's preferred address.
|
|
78
|
+
// [#extension-category: envoy.quic.server_preferred_address]
|
|
79
|
+
core.v3.TypedExtensionConfig server_preferred_address_config = 9
|
|
80
|
+
[(xds.annotations.v3.field_status).work_in_progress = true];
|
|
81
|
+
|
|
82
|
+
// Configure the server to send transport parameter `disable_active_migration <https://www.rfc-editor.org/rfc/rfc9000#section-18.2-4.30.1>`_.
|
|
83
|
+
// Defaults to false (do not send this transport parameter).
|
|
84
|
+
google.protobuf.BoolValue send_disable_active_migration = 10;
|
|
85
|
+
|
|
86
|
+
// Configure which implementation of ``quic::QuicConnectionDebugVisitor`` to be used for this listener.
|
|
87
|
+
// If not specified, no debug visitor will be attached to connections.
|
|
88
|
+
// [#extension-category: envoy.quic.connection_debug_visitor]
|
|
89
|
+
core.v3.TypedExtensionConfig connection_debug_visitor_config = 11;
|
|
90
|
+
|
|
91
|
+
// Configure a type of UDP cmsg to pass to listener filters via QuicReceivedPacket.
|
|
92
|
+
// Both level and type must be specified for cmsg to be saved.
|
|
93
|
+
// Cmsg may be truncated or omitted if expected size is not set.
|
|
94
|
+
// If not specified, no cmsg will be saved to QuicReceivedPacket.
|
|
95
|
+
repeated core.v3.SocketCmsgHeaders save_cmsg_config = 12
|
|
96
|
+
[(validate.rules).repeated = {max_items: 1}];
|
|
97
|
+
|
|
98
|
+
// If true, the listener will reject connection-establishing packets at the
|
|
99
|
+
// QUIC layer by replying with an empty version negotiation packet to the
|
|
100
|
+
// client.
|
|
101
|
+
bool reject_new_connections = 13;
|
|
102
|
+
|
|
103
|
+
// Maximum number of QUIC sessions to create per event loop.
|
|
104
|
+
// If not specified, the default value is 16.
|
|
105
|
+
// This is an equivalent of the TCP listener option
|
|
106
|
+
// max_connections_to_accept_per_socket_event.
|
|
107
|
+
google.protobuf.UInt32Value max_sessions_per_event_loop = 14 [(validate.rules).uint32 = {gt: 0}];
|
|
108
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
|
|
3
|
+
package envoy.config.listener.v3;
|
|
4
|
+
|
|
5
|
+
import "envoy/config/core/v3/extension.proto";
|
|
6
|
+
import "envoy/config/core/v3/udp_socket_config.proto";
|
|
7
|
+
import "envoy/config/listener/v3/quic_config.proto";
|
|
8
|
+
|
|
9
|
+
import "udpa/annotations/status.proto";
|
|
10
|
+
import "udpa/annotations/versioning.proto";
|
|
11
|
+
|
|
12
|
+
option java_package = "io.envoyproxy.envoy.config.listener.v3";
|
|
13
|
+
option java_outer_classname = "UdpListenerConfigProto";
|
|
14
|
+
option java_multiple_files = true;
|
|
15
|
+
option go_package = "github.com/envoyproxy/go-control-plane/envoy/config/listener/v3;listenerv3";
|
|
16
|
+
option (udpa.annotations.file_status).package_version_status = ACTIVE;
|
|
17
|
+
|
|
18
|
+
// [#protodoc-title: UDP listener config]
|
|
19
|
+
// Listener :ref:`configuration overview <config_listeners>`
|
|
20
|
+
|
|
21
|
+
// [#next-free-field: 9]
|
|
22
|
+
message UdpListenerConfig {
|
|
23
|
+
option (udpa.annotations.versioning).previous_message_type =
|
|
24
|
+
"envoy.api.v2.listener.UdpListenerConfig";
|
|
25
|
+
|
|
26
|
+
reserved 1, 2, 3, 4, 6;
|
|
27
|
+
|
|
28
|
+
reserved "config";
|
|
29
|
+
|
|
30
|
+
// UDP socket configuration for the listener. The default for
|
|
31
|
+
// :ref:`prefer_gro <envoy_v3_api_field_config.core.v3.UdpSocketConfig.prefer_gro>` is false for
|
|
32
|
+
// listener sockets. If receiving a large amount of datagrams from a small number of sources, it
|
|
33
|
+
// may be worthwhile to enable this option after performance testing.
|
|
34
|
+
core.v3.UdpSocketConfig downstream_socket_config = 5;
|
|
35
|
+
|
|
36
|
+
// Configuration for QUIC protocol. If empty, QUIC will not be enabled on this listener. Set
|
|
37
|
+
// to the default object to enable QUIC without modifying any additional options.
|
|
38
|
+
QuicProtocolOptions quic_options = 7;
|
|
39
|
+
|
|
40
|
+
// Configuration for the UDP packet writer. If empty, HTTP/3 will use GSO if available
|
|
41
|
+
// (:ref:`UdpDefaultWriterFactory <envoy_v3_api_msg_extensions.udp_packet_writer.v3.UdpGsoBatchWriterFactory>`)
|
|
42
|
+
// or the default kernel sendmsg if not,
|
|
43
|
+
// (:ref:`UdpDefaultWriterFactory <envoy_v3_api_msg_extensions.udp_packet_writer.v3.UdpDefaultWriterFactory>`)
|
|
44
|
+
// and raw UDP will use kernel sendmsg.
|
|
45
|
+
// [#extension-category: envoy.udp_packet_writer]
|
|
46
|
+
core.v3.TypedExtensionConfig udp_packet_packet_writer_config = 8;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
message ActiveRawUdpListenerConfig {
|
|
50
|
+
option (udpa.annotations.versioning).previous_message_type =
|
|
51
|
+
"envoy.api.v2.listener.ActiveRawUdpListenerConfig";
|
|
52
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# DO NOT EDIT. This file is generated by tools/proto_format/proto_sync.py.
|
|
2
|
+
|
|
3
|
+
load("@envoy_api//bazel:api_build_system.bzl", "api_proto_package")
|
|
4
|
+
|
|
5
|
+
licenses(["notice"]) # Apache 2
|
|
6
|
+
|
|
7
|
+
api_proto_package(
|
|
8
|
+
deps = [
|
|
9
|
+
"//envoy/annotations:pkg",
|
|
10
|
+
"//envoy/config/common/mutation_rules/v3:pkg",
|
|
11
|
+
"//envoy/config/core/v3:pkg",
|
|
12
|
+
"//envoy/type/matcher/v3:pkg",
|
|
13
|
+
"//envoy/type/metadata/v3:pkg",
|
|
14
|
+
"//envoy/type/tracing/v3:pkg",
|
|
15
|
+
"//envoy/type/v3:pkg",
|
|
16
|
+
"@com_github_cncf_xds//udpa/annotations:pkg",
|
|
17
|
+
"@com_github_cncf_xds//xds/type/matcher/v3:pkg",
|
|
18
|
+
],
|
|
19
|
+
)
|