|
|
|
# DO NOT EDIT. This file is generated by tools/proto_format/proto_sync.py.
|
|
|
|
|
|
|
|
load("@rules_proto//proto:defs.bzl", "proto_library")
|
|
|
|
|
|
|
|
licenses(["notice"]) # Apache 2
|
|
|
|
|
|
|
|
proto_library(
|
|
|
|
name = "v2_protos",
|
|
|
|
visibility = ["//visibility:public"],
|
|
|
|
deps = [
|
|
|
|
"//envoy/admin/v2alpha:pkg",
|
|
|
|
"//envoy/api/v2:pkg",
|
|
|
|
"//envoy/api/v2/auth:pkg",
|
|
|
|
"//envoy/api/v2/cluster:pkg",
|
|
|
|
"//envoy/api/v2/core:pkg",
|
|
|
|
"//envoy/api/v2/endpoint:pkg",
|
|
|
|
"//envoy/api/v2/listener:pkg",
|
|
|
|
"//envoy/api/v2/ratelimit:pkg",
|
|
|
|
"//envoy/api/v2/route:pkg",
|
|
|
|
"//envoy/config/bootstrap/v2:pkg",
|
|
|
|
"//envoy/config/filter/accesslog/v2:pkg",
|
|
|
|
"//envoy/config/filter/fault/v2:pkg",
|
|
|
|
"//envoy/config/filter/network/http_connection_manager/v2:pkg",
|
|
|
|
"//envoy/config/filter/network/redis_proxy/v2:pkg",
|
|
|
|
"//envoy/config/filter/network/tcp_proxy/v2:pkg",
|
|
|
|
"//envoy/config/filter/network/thrift_proxy/v2alpha1:pkg",
|
|
|
|
"//envoy/config/filter/thrift/router/v2alpha1:pkg",
|
|
|
|
"//envoy/config/health_checker/redis/v2:pkg",
|
|
|
|
"//envoy/config/listener/v2:pkg",
|
|
|
|
"//envoy/config/metrics/v2:pkg",
|
|
|
|
"//envoy/config/overload/v2alpha:pkg",
|
|
|
|
"//envoy/config/resource_monitor/fixed_heap/v2alpha:pkg",
|
|
|
|
"//envoy/config/resource_monitor/injected_resource/v2alpha:pkg",
|
|
|
|
"//envoy/config/retry/omit_canary_hosts/v2:pkg",
|
|
|
|
"//envoy/config/retry/previous_hosts/v2:pkg",
|
|
|
|
"//envoy/config/trace/v2:pkg",
|
|
|
|
"//envoy/config/trace/v2alpha:pkg",
|
|
|
|
"//envoy/config/transport_socket/alts/v2alpha:pkg",
|
|
|
|
"//envoy/data/accesslog/v2:pkg",
|
|
|
|
"//envoy/data/tap/v2alpha:pkg",
|
|
|
|
"//envoy/service/accesslog/v2:pkg",
|
|
|
|
"//envoy/service/auth/v2:pkg",
|
|
|
|
"//envoy/service/discovery/v2:pkg",
|
|
|
|
"//envoy/service/load_stats/v2:pkg",
|
|
|
|
"//envoy/service/metrics/v2:pkg",
|
|
|
|
"//envoy/service/ratelimit/v2:pkg",
|
|
|
|
"//envoy/service/status/v2:pkg",
|
|
|
|
"//envoy/service/tap/v2alpha:pkg",
|
|
|
|
"//envoy/type:pkg",
|
|
|
|
"//envoy/type/matcher:pkg",
|
|
|
|
"//envoy/type/metadata/v2:pkg",
|
|
|
|
"//envoy/type/tracing/v2:pkg",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
proto_library(
|
|
|
|
name = "v3_protos",
|
|
|
|
visibility = ["//visibility:public"],
|
|
|
|
deps = [
|
|
|
|
"//contrib/envoy/extensions/filters/http/squash/v3:pkg",
|
|
|
|
"//contrib/envoy/extensions/filters/http/sxg/v3alpha:pkg",
|
|
|
|
"//contrib/envoy/extensions/filters/network/kafka_broker/v3:pkg",
|
|
|
|
"//contrib/envoy/extensions/filters/network/kafka_mesh/v3alpha:pkg",
|
|
|
|
"//contrib/envoy/extensions/filters/network/mysql_proxy/v3:pkg",
|
|
|
|
"//contrib/envoy/extensions/filters/network/postgres_proxy/v3alpha:pkg",
|
|
|
|
"//contrib/envoy/extensions/filters/network/rocketmq_proxy/v3:pkg",
|
|
|
|
"//contrib/envoy/extensions/filters/network/sip_proxy/router/v3alpha:pkg",
|
|
|
|
"//contrib/envoy/extensions/filters/network/sip_proxy/v3alpha:pkg",
|
Add CryptoMB private key provider to contrib. (#17826)
Intel's IPP (Integrated Performance Primitives) crypto library has support for multi-buffer crypto operations. Briefly, multi-buffer
cryptography is implemented with AVX-512 instructions using a SIMD (single instruction, multiple data) mechanism. Up to eight RSA or ECDSA operations are gathered together into a buffer and processed at the same time, providing potentially improved performance. The AVX-512 instructions are available on recently launched 3rd generation Xeon Scalable server processors (Ice Lake server) processors.
This commit adds a private key provider to accelerate RSA and ECDSA crypto operations on recent Intel Xeon processors. Every worker thread has a queue of up-to-eight crypto operations. When the queue is full or when the timer is triggered, the queue is processed and all the pending handshakes are notified.
The potential performance benefit depends on many factors: the size of the cpuset Envoy is running on, incoming traffic pattern, encryption type (RSA or ECDSA), and key size. In my own testing I saw the biggest performance increase when long RSA keys were used on an Envoy running in a fairly limited environment serving lots of new incoming TLS requests. For more details, see this Intel whitepaper which contains some more information about the AVX-512 instructions and potential performance increase: https://www.intel.com/content/www/us/en/architecture-and-technology/crypto-acceleration-in-xeon-scalable-processors-wp.html
Additional Description:
One new dependency is introduced: Intel’s ipp-crypto library. Currently the PR is using a development version of ipp-crypto because BoringSSL support is not yet part of any release. The ipp-crypto team has indicated that BoringSSL version will be included in future ipp-crypto releases.
Basic tests are provided, and a fake library interface is included for testing on systems without the required AVX-512 instruction set.
Risk Level: Medium (TLS security feature, not enabled by default)
Testing: Unit tests
Docs Changes: API interface is documented
Release Notes: Added CryptoMB private key provider to contrib.
Platform Specific Features: Requires Intel 3rd generation Xeon Scalable server processor for the AVX-512 IFMA instruction set.
Fixes: #15871
Signed-off-by: Ismo Puustinen <ismo.puustinen@intel.com>
Co-authored-by: Greg Greenway <ggreenway@apple.com>
Mirrored from https://github.com/envoyproxy/envoy @ 2144166ca7a3f100ecae16700bc82920b2de4871
3 years ago
|
|
|
"//contrib/envoy/extensions/private_key_providers/cryptomb/v3alpha:pkg",
|
|
|
|
"//contrib/envoy/extensions/vcl/v3alpha:pkg",
|
|
|
|
"//envoy/admin/v3:pkg",
|
|
|
|
"//envoy/config/accesslog/v3:pkg",
|
|
|
|
"//envoy/config/bootstrap/v3:pkg",
|
|
|
|
"//envoy/config/cluster/v3:pkg",
|
|
|
|
"//envoy/config/common/key_value/v3:pkg",
|
|
|
|
"//envoy/config/common/matcher/v3:pkg",
|
|
|
|
"//envoy/config/core/v3:pkg",
|
|
|
|
"//envoy/config/endpoint/v3:pkg",
|
|
|
|
"//envoy/config/filter/thrift/router/v2alpha1:pkg",
|
|
|
|
"//envoy/config/grpc_credential/v3:pkg",
|
|
|
|
"//envoy/config/health_checker/redis/v2:pkg",
|
|
|
|
"//envoy/config/listener/v3:pkg",
|
|
|
|
"//envoy/config/metrics/v3:pkg",
|
|
|
|
"//envoy/config/overload/v3:pkg",
|
|
|
|
"//envoy/config/ratelimit/v3:pkg",
|
|
|
|
"//envoy/config/rbac/v3:pkg",
|
|
|
|
"//envoy/config/resource_monitor/fixed_heap/v2alpha:pkg",
|
|
|
|
"//envoy/config/resource_monitor/injected_resource/v2alpha:pkg",
|
|
|
|
"//envoy/config/retry/omit_canary_hosts/v2:pkg",
|
|
|
|
"//envoy/config/retry/previous_hosts/v2:pkg",
|
|
|
|
"//envoy/config/route/v3:pkg",
|
|
|
|
"//envoy/config/tap/v3:pkg",
|
|
|
|
"//envoy/config/trace/v3:pkg",
|
|
|
|
"//envoy/data/accesslog/v3:pkg",
|
|
|
|
"//envoy/data/cluster/v3:pkg",
|
|
|
|
"//envoy/data/core/v3:pkg",
|
|
|
|
"//envoy/data/dns/v3:pkg",
|
|
|
|
"//envoy/data/tap/v3:pkg",
|
|
|
|
"//envoy/extensions/access_loggers/file/v3:pkg",
|
|
|
|
"//envoy/extensions/access_loggers/grpc/v3:pkg",
|
|
|
|
"//envoy/extensions/access_loggers/open_telemetry/v3:pkg",
|
|
|
|
"//envoy/extensions/access_loggers/stream/v3:pkg",
|
|
|
|
"//envoy/extensions/access_loggers/wasm/v3:pkg",
|
|
|
|
"//envoy/extensions/cache/simple_http_cache/v3:pkg",
|
|
|
|
"//envoy/extensions/clusters/aggregate/v3:pkg",
|
|
|
|
"//envoy/extensions/clusters/dynamic_forward_proxy/v3:pkg",
|
|
|
|
"//envoy/extensions/clusters/redis/v3:pkg",
|
|
|
|
"//envoy/extensions/common/dynamic_forward_proxy/v3:pkg",
|
|
|
|
"//envoy/extensions/common/matching/v3:pkg",
|
|
|
|
"//envoy/extensions/common/ratelimit/v3:pkg",
|
|
|
|
"//envoy/extensions/common/tap/v3:pkg",
|
|
|
|
"//envoy/extensions/compression/brotli/compressor/v3:pkg",
|
|
|
|
"//envoy/extensions/compression/brotli/decompressor/v3:pkg",
|
|
|
|
"//envoy/extensions/compression/gzip/compressor/v3:pkg",
|
|
|
|
"//envoy/extensions/compression/gzip/decompressor/v3:pkg",
|
|
|
|
"//envoy/extensions/filters/common/dependency/v3:pkg",
|
|
|
|
"//envoy/extensions/filters/common/fault/v3:pkg",
|
|
|
|
"//envoy/extensions/filters/common/matcher/action/v3:pkg",
|
|
|
|
"//envoy/extensions/filters/http/adaptive_concurrency/v3:pkg",
|
|
|
|
"//envoy/extensions/filters/http/admission_control/v3:pkg",
|
|
|
|
"//envoy/extensions/filters/http/alternate_protocols_cache/v3:pkg",
|
|
|
|
"//envoy/extensions/filters/http/aws_lambda/v3:pkg",
|
|
|
|
"//envoy/extensions/filters/http/aws_request_signing/v3:pkg",
|
|
|
|
"//envoy/extensions/filters/http/bandwidth_limit/v3:pkg",
|
|
|
|
"//envoy/extensions/filters/http/buffer/v3:pkg",
|
|
|
|
"//envoy/extensions/filters/http/cache/v3:pkg",
|
|
|
|
"//envoy/extensions/filters/http/cdn_loop/v3:pkg",
|
|
|
|
"//envoy/extensions/filters/http/composite/v3:pkg",
|
|
|
|
"//envoy/extensions/filters/http/compressor/v3:pkg",
|
|
|
|
"//envoy/extensions/filters/http/cors/v3:pkg",
|
|
|
|
"//envoy/extensions/filters/http/csrf/v3:pkg",
|
|
|
|
"//envoy/extensions/filters/http/decompressor/v3:pkg",
|
|
|
|
"//envoy/extensions/filters/http/dynamic_forward_proxy/v3:pkg",
|
|
|
|
"//envoy/extensions/filters/http/dynamo/v3:pkg",
|
|
|
|
"//envoy/extensions/filters/http/ext_authz/v3:pkg",
|
|
|
|
"//envoy/extensions/filters/http/ext_proc/v3:pkg",
|
|
|
|
"//envoy/extensions/filters/http/fault/v3:pkg",
|
|
|
|
"//envoy/extensions/filters/http/grpc_http1_bridge/v3:pkg",
|
|
|
|
"//envoy/extensions/filters/http/grpc_http1_reverse_bridge/v3:pkg",
|
|
|
|
"//envoy/extensions/filters/http/grpc_json_transcoder/v3:pkg",
|
|
|
|
"//envoy/extensions/filters/http/grpc_stats/v3:pkg",
|
|
|
|
"//envoy/extensions/filters/http/grpc_web/v3:pkg",
|
|
|
|
"//envoy/extensions/filters/http/gzip/v3:pkg",
|
|
|
|
"//envoy/extensions/filters/http/header_to_metadata/v3:pkg",
|
|
|
|
"//envoy/extensions/filters/http/health_check/v3:pkg",
|
|
|
|
"//envoy/extensions/filters/http/ip_tagging/v3:pkg",
|
|
|
|
"//envoy/extensions/filters/http/jwt_authn/v3:pkg",
|
|
|
|
"//envoy/extensions/filters/http/kill_request/v3:pkg",
|
|
|
|
"//envoy/extensions/filters/http/local_ratelimit/v3:pkg",
|
|
|
|
"//envoy/extensions/filters/http/lua/v3:pkg",
|
|
|
|
"//envoy/extensions/filters/http/oauth2/v3:pkg",
|
|
|
|
"//envoy/extensions/filters/http/on_demand/v3:pkg",
|
|
|
|
"//envoy/extensions/filters/http/original_src/v3:pkg",
|
|
|
|
"//envoy/extensions/filters/http/ratelimit/v3:pkg",
|
|
|
|
"//envoy/extensions/filters/http/rbac/v3:pkg",
|
|
|
|
"//envoy/extensions/filters/http/router/v3:pkg",
|
|
|
|
"//envoy/extensions/filters/http/set_metadata/v3:pkg",
|
|
|
|
"//envoy/extensions/filters/http/tap/v3:pkg",
|
|
|
|
"//envoy/extensions/filters/http/wasm/v3:pkg",
|
|
|
|
"//envoy/extensions/filters/listener/http_inspector/v3:pkg",
|
|
|
|
"//envoy/extensions/filters/listener/original_dst/v3:pkg",
|
|
|
|
"//envoy/extensions/filters/listener/original_src/v3:pkg",
|
|
|
|
"//envoy/extensions/filters/listener/proxy_protocol/v3:pkg",
|
|
|
|
"//envoy/extensions/filters/listener/tls_inspector/v3:pkg",
|
|
|
|
"//envoy/extensions/filters/network/client_ssl_auth/v3:pkg",
|
|
|
|
"//envoy/extensions/filters/network/connection_limit/v3:pkg",
|
|
|
|
"//envoy/extensions/filters/network/direct_response/v3:pkg",
|
|
|
|
"//envoy/extensions/filters/network/dubbo_proxy/router/v3:pkg",
|
|
|
|
"//envoy/extensions/filters/network/dubbo_proxy/v3:pkg",
|
|
|
|
"//envoy/extensions/filters/network/echo/v3:pkg",
|
|
|
|
"//envoy/extensions/filters/network/ext_authz/v3:pkg",
|
|
|
|
"//envoy/extensions/filters/network/http_connection_manager/v3:pkg",
|
|
|
|
"//envoy/extensions/filters/network/local_ratelimit/v3:pkg",
|
|
|
|
"//envoy/extensions/filters/network/mongo_proxy/v3:pkg",
|
|
|
|
"//envoy/extensions/filters/network/ratelimit/v3:pkg",
|
|
|
|
"//envoy/extensions/filters/network/rbac/v3:pkg",
|
|
|
|
"//envoy/extensions/filters/network/redis_proxy/v3:pkg",
|
|
|
|
"//envoy/extensions/filters/network/sni_cluster/v3:pkg",
|
|
|
|
"//envoy/extensions/filters/network/sni_dynamic_forward_proxy/v3:pkg",
|
|
|
|
"//envoy/extensions/filters/network/tcp_proxy/v3:pkg",
|
|
|
|
"//envoy/extensions/filters/network/thrift_proxy/filters/ratelimit/v3:pkg",
|
|
|
|
"//envoy/extensions/filters/network/thrift_proxy/router/v3:pkg",
|
|
|
|
"//envoy/extensions/filters/network/thrift_proxy/v3:pkg",
|
|
|
|
"//envoy/extensions/filters/network/wasm/v3:pkg",
|
|
|
|
"//envoy/extensions/filters/network/zookeeper_proxy/v3:pkg",
|
|
|
|
"//envoy/extensions/filters/udp/dns_filter/v3:pkg",
|
|
|
|
"//envoy/extensions/filters/udp/udp_proxy/v3:pkg",
|
|
|
|
"//envoy/extensions/formatter/metadata/v3:pkg",
|
|
|
|
"//envoy/extensions/formatter/req_without_query/v3:pkg",
|
|
|
|
"//envoy/extensions/health_checkers/redis/v3:pkg",
|
|
|
|
"//envoy/extensions/http/header_formatters/preserve_case/v3:pkg",
|
|
|
|
"//envoy/extensions/http/original_ip_detection/custom_header/v3:pkg",
|
|
|
|
"//envoy/extensions/http/original_ip_detection/xff/v3:pkg",
|
|
|
|
"//envoy/extensions/internal_redirect/allow_listed_routes/v3:pkg",
|
|
|
|
"//envoy/extensions/internal_redirect/previous_routes/v3:pkg",
|
|
|
|
"//envoy/extensions/internal_redirect/safe_cross_scheme/v3:pkg",
|
|
|
|
"//envoy/extensions/key_value/file_based/v3:pkg",
|
|
|
|
"//envoy/extensions/matching/common_inputs/environment_variable/v3:pkg",
|
|
|
|
"//envoy/extensions/matching/input_matchers/consistent_hashing/v3:pkg",
|
|
|
|
"//envoy/extensions/matching/input_matchers/ip/v3:pkg",
|
|
|
|
"//envoy/extensions/network/dns_resolver/apple/v3:pkg",
|
|
|
|
"//envoy/extensions/network/dns_resolver/cares/v3:pkg",
|
|
|
|
"//envoy/extensions/network/socket_interface/v3:pkg",
|
|
|
|
"//envoy/extensions/quic/crypto_stream/v3:pkg",
|
|
|
|
"//envoy/extensions/quic/proof_source/v3:pkg",
|
|
|
|
"//envoy/extensions/rate_limit_descriptors/expr/v3:pkg",
|
|
|
|
"//envoy/extensions/rbac/matchers/upstream_ip_port/v3:pkg",
|
|
|
|
"//envoy/extensions/request_id/uuid/v3:pkg",
|
|
|
|
"//envoy/extensions/resource_monitors/fixed_heap/v3:pkg",
|
|
|
|
"//envoy/extensions/resource_monitors/injected_resource/v3:pkg",
|
|
|
|
"//envoy/extensions/retry/host/omit_canary_hosts/v3:pkg",
|
|
|
|
"//envoy/extensions/retry/host/omit_host_metadata/v3:pkg",
|
|
|
|
"//envoy/extensions/retry/host/previous_hosts/v3:pkg",
|
|
|
|
"//envoy/extensions/retry/priority/previous_priorities/v3:pkg",
|
|
|
|
"//envoy/extensions/stat_sinks/graphite_statsd/v3:pkg",
|
|
|
|
"//envoy/extensions/stat_sinks/wasm/v3:pkg",
|
|
|
|
"//envoy/extensions/transport_sockets/alts/v3:pkg",
|
|
|
|
"//envoy/extensions/transport_sockets/proxy_protocol/v3:pkg",
|
|
|
|
"//envoy/extensions/transport_sockets/quic/v3:pkg",
|
|
|
|
"//envoy/extensions/transport_sockets/raw_buffer/v3:pkg",
|
|
|
|
"//envoy/extensions/transport_sockets/s2a/v3:pkg",
|
|
|
|
"//envoy/extensions/transport_sockets/starttls/v3:pkg",
|
|
|
|
"//envoy/extensions/transport_sockets/tap/v3:pkg",
|
|
|
|
"//envoy/extensions/transport_sockets/tcp_stats/v3:pkg",
|
|
|
|
"//envoy/extensions/transport_sockets/tls/v3:pkg",
|
|
|
|
"//envoy/extensions/upstreams/http/generic/v3:pkg",
|
|
|
|
"//envoy/extensions/upstreams/http/http/v3:pkg",
|
|
|
|
"//envoy/extensions/upstreams/http/tcp/v3:pkg",
|
|
|
|
"//envoy/extensions/upstreams/http/v3:pkg",
|
|
|
|
"//envoy/extensions/upstreams/tcp/generic/v3:pkg",
|
|
|
|
"//envoy/extensions/wasm/v3:pkg",
|
|
|
|
"//envoy/extensions/watchdog/profile_action/v3:pkg",
|
|
|
|
"//envoy/service/accesslog/v3:pkg",
|
|
|
|
"//envoy/service/auth/v3:pkg",
|
|
|
|
"//envoy/service/cluster/v3:pkg",
|
|
|
|
"//envoy/service/discovery/v3:pkg",
|
|
|
|
"//envoy/service/endpoint/v3:pkg",
|
|
|
|
"//envoy/service/event_reporting/v3:pkg",
|
|
|
|
"//envoy/service/ext_proc/v3:pkg",
|
|
|
|
"//envoy/service/extension/v3:pkg",
|
|
|
|
"//envoy/service/health/v3:pkg",
|
|
|
|
"//envoy/service/listener/v3:pkg",
|
|
|
|
"//envoy/service/load_stats/v3:pkg",
|
|
|
|
"//envoy/service/metrics/v3:pkg",
|
|
|
|
"//envoy/service/ratelimit/v3:pkg",
|
|
|
|
"//envoy/service/route/v3:pkg",
|
|
|
|
"//envoy/service/runtime/v3:pkg",
|
|
|
|
"//envoy/service/secret/v3:pkg",
|
|
|
|
"//envoy/service/status/v3:pkg",
|
|
|
|
"//envoy/service/tap/v3:pkg",
|
|
|
|
"//envoy/service/trace/v3:pkg",
|
|
|
|
"//envoy/type/http/v3:pkg",
|
|
|
|
"//envoy/type/matcher/v3:pkg",
|
|
|
|
"//envoy/type/metadata/v3:pkg",
|
|
|
|
"//envoy/type/tracing/v3:pkg",
|
|
|
|
"//envoy/type/v3:pkg",
|
|
|
|
"//envoy/watchdog/v3:pkg",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
proto_library(
|
|
|
|
name = "all_protos",
|
|
|
|
visibility = ["//visibility:public"],
|
|
|
|
deps = [
|
|
|
|
":v2_protos",
|
|
|
|
":v3_protos",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
filegroup(
|
|
|
|
name = "proto_breaking_change_detector_buf_config",
|
|
|
|
srcs = [
|
|
|
|
"buf.yaml",
|
|
|
|
],
|
|
|
|
visibility = ["//visibility:public"],
|
|
|
|
)
|