SNI-based dynamic forward proxy filter (#10448)
Signed-off-by: Lizan Zhou <lizan@tetrate.io> Mirrored from https://github.com/envoyproxy/envoy @ bc4ea0a8202096b2eadaf17d05bdb7686418d603master-ci-test
parent
1d2af7862b
commit
bbc765afe5
4 changed files with 51 additions and 0 deletions
@ -0,0 +1,12 @@ |
||||
# DO NOT EDIT. This file is generated by tools/proto_sync.py. |
||||
|
||||
load("@envoy_api//bazel:api_build_system.bzl", "api_proto_package") |
||||
|
||||
licenses(["notice"]) # Apache 2 |
||||
|
||||
api_proto_package( |
||||
deps = [ |
||||
"//envoy/extensions/common/dynamic_forward_proxy/v3:pkg", |
||||
"@com_github_cncf_udpa//udpa/annotations:pkg", |
||||
], |
||||
) |
@ -0,0 +1,37 @@ |
||||
syntax = "proto3"; |
||||
|
||||
package envoy.extensions.filters.network.sni_dynamic_forward_proxy.v3alpha; |
||||
|
||||
import "envoy/extensions/common/dynamic_forward_proxy/v3/dns_cache.proto"; |
||||
|
||||
import "udpa/annotations/status.proto"; |
||||
import "udpa/annotations/versioning.proto"; |
||||
import "validate/validate.proto"; |
||||
|
||||
option java_package = "io.envoyproxy.envoy.extensions.filters.network.sni_dynamic_forward_proxy.v3alpha"; |
||||
option java_outer_classname = "SniDynamicForwardProxyProto"; |
||||
option java_multiple_files = true; |
||||
option (udpa.annotations.file_status).work_in_progress = true; |
||||
option (udpa.annotations.file_status).package_version_status = ACTIVE; |
||||
|
||||
// [#protodoc-title: SNI dynamic forward proxy] |
||||
|
||||
// Configuration for the SNI-based dynamic forward proxy filter. See the |
||||
// :ref:`architecture overview <arch_overview_http_dynamic_forward_proxy>` for |
||||
// more information. Note this filter must be configured along with |
||||
// :ref:`TLS inspector listener filter <config_listener_filters_tls_inspector>` |
||||
// to work. |
||||
// [#extension: envoy.filters.network.sni_dynamic_forward_proxy] |
||||
message FilterConfig { |
||||
// The DNS cache configuration that the filter will attach to. Note this |
||||
// configuration must match that of associated :ref:`dynamic forward proxy |
||||
// cluster configuration |
||||
// <envoy_api_field_extensions.clusters.dynamic_forward_proxy.v3.ClusterConfig.dns_cache_config>`. |
||||
common.dynamic_forward_proxy.v3.DnsCacheConfig dns_cache_config = 1 |
||||
[(validate.rules).message = {required: true}]; |
||||
|
||||
oneof port_specifier { |
||||
// The port number to connect to the upstream. |
||||
uint32 port_value = 2 [(validate.rules).uint32 = {lte: 65535 gt: 0}]; |
||||
} |
||||
} |
Loading…
Reference in new issue