envoyproxy/envoy

Setting TLVs in Proxy Protocol V2 header

Open

#18,520 opened on Oct 8, 2021

View on GitHub
 (8 comments) (9 reactions) (0 assignees)C++ (5,373 forks)batch import
area/proxy_protohelp wanted

Repository metrics

Stars
 (27,997 stars)
PR merge metrics
 (Avg merge 8d) (378 merged PRs in 30d)

Description

Title: Setting TLVs in Proxy Protocol V2 header

Description: Proxy Protocol V2 allows application specific TLVs in the header (https://www.haproxy.org/download/2.1/doc/proxy-protocol.txt). Currently, the listener filter for proxy protocol has mechanism to read those TLVs but the upstream transport socket for PPV2 does not allow setting your own TLVs. It would be helpful because proxy protocol can then carry addition information such as instance id, cluster name etc.

Contributor guide