envoyproxy/envoy

TCP Proxy protocol V2 : store data as base64 string

オープン

#18,580 opened on 2021/10/12

 (1 件のコメント) (0 件のリアクション) (0 人の担当者)C++ (5,373 件のフォーク)batch import
area/proxy_protohelp wanted

Repository metrics

Stars
 (27,997 個のスター)
PR merge metrics
 (平均マージ 8d) (30d で 378 merged PRs)

説明

If you are reporting any crash or any potential security issue, do not open an issue in this repo. Please report the issue via emailing envoy-security@googlegroups.com where the issue will be triaged appropriately.

Title: Store TLV data of proxy protocol V2 as base64

Description: Proxy protocol V2 uses binary data for TLV. When using the tcp proxy filter, we are able to store the tlv data in the metadata as a string. Since it's binary, it would be more appropriate to store it as base64. Currently, when we try to log it, we get an error saying it contains invalid characters.

コントリビューターガイド