Files
vault/command
Rémi Lapeyre 1d06d25433 Add support for PROXY protocol v2 in TCP listener (#13540)
* Add support for PROXY protocol v2 in TCP listener

I did not find tests for this so I added one trying to cover different
configurations to make sure I did not break something. As far as I know,
the behavior should be exactly the same as before except for one thing
when proxy_protocol_behavior is set to "deny_unauthorized", unauthorized
requests were previously silently reject because of https://github.com/armon/go-proxyproto/blob/7e956b284f0a/protocol.go#L81-L84
but it will now be logged.

Also fixes https://github.com/hashicorp/vault/issues/9462 by adding
support for `PROXY UNKNOWN` for PROXY protocol v1.

Closes https://github.com/hashicorp/vault/issues/3807

* Add changelog
2022-03-08 12:13:00 -05:00
..
2022-01-27 10:06:34 -08:00
2019-03-25 10:56:04 -07:00
2022-02-18 08:50:05 -08:00
2022-02-18 08:50:05 -08:00
2019-02-14 11:54:47 -08:00
2022-02-24 15:16:15 -05:00
2022-02-18 08:50:05 -08:00
2022-01-27 10:06:34 -08:00
2022-02-15 10:43:49 -08:00
2022-02-15 10:43:49 -08:00
2022-02-15 10:43:49 -08:00
2022-02-15 10:43:49 -08:00
2022-02-15 10:43:49 -08:00
2022-02-15 10:43:49 -08:00
2022-02-15 10:43:49 -08:00
2022-02-15 10:43:49 -08:00
2022-01-27 10:06:34 -08:00
2022-02-15 10:43:49 -08:00
2018-07-12 10:18:50 -04:00
2019-09-26 08:46:41 -04:00
2019-07-05 13:36:44 -07:00
2021-10-26 10:52:29 -06:00
2020-03-17 09:46:44 -04:00
2022-01-27 10:06:34 -08:00
2018-11-06 17:21:24 -08:00
2018-08-14 14:20:49 -04:00
2022-02-18 08:50:05 -08:00
2022-02-14 18:06:02 -05:00