tcp_proxy/ext_authz: Support authorization-driven routing for server-first protocols
Author: hjk068Created Aug 26, 2026Updated Sep 28, 2026
Labelsenhancementarea/ext_authz
Title: Support authorization-driven routing for server-first protocols
Description:
Currently, dynamic cluster selection through network ext_authz can be delayed until downstream data is received. This does not work for server-first protocols such as SMTP, where the upstream must send data before the downstream sends application data. Can we add a supported way for ext_authz to complete and set the cluster via filter state before tcp_proxy establishes the upstream connection, without requiring downstream data?
Relevant Links:
- #40827: earlier check_on_new_connection proposal
- #41283: related authorization-on-connection work
- #42389: check_on_transport_ready proposal
- #43760: ON_DOWNSTREAM_DATA support in set_filter_state
- #44109: delayed tcp_proxy route selection
Source: envoyproxy/envoy