open-vault/helper
Rémi Lapeyre e89bbd51d9
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
..
builtinplugins feature: multiplexing support for database plugins (#14033) 2022-02-17 08:50:33 -06:00
constants Convert to Go 1.17 go:build directive (#13579) 2022-01-05 12:02:03 -06:00
dhutil Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
fairshare reformat using 'make fmt' (#13794) 2022-01-27 10:06:34 -08:00
flag-kv Errwrap everywhere (#4252) 2018-04-05 11:49:21 -04:00
flag-slice command/server: add config loading 2015-03-12 15:21:11 -07:00
forwarding Login MFA (#14025) 2022-02-17 13:08:51 -08:00
hostutil Convert to Go 1.17 go:build directive (#13579) 2022-01-05 12:02:03 -06:00
identity Login MFA (#14025) 2022-02-17 13:08:51 -08:00
metricsutil Fix max measurements gauge test (#14024) 2022-02-23 13:36:25 -05:00
mfa reformat using 'make fmt' (#13794) 2022-01-27 10:06:34 -08:00
monitor Add a new "vault monitor" command (#8477) 2020-05-21 13:07:50 -07:00
namespace SSCT Optimizations (OSS) (#14323) 2022-03-01 12:24:45 -08:00
parseip Move to go 1.17 (#12868) 2021-10-21 09:32:03 -04:00
pgpkeys helper: deprecate errwrap.Wrapf() (#11556) 2021-05-07 08:53:20 -04:00
policies Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
proxyutil Add support for PROXY protocol v2 in TCP listener (#13540) 2022-03-08 12:13:00 -05:00
random Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
storagepacker Login MFA (#14025) 2022-02-17 13:08:51 -08:00
testhelpers secret/consul: Add Consul ACL roles support (#14014) 2022-02-16 19:31:08 -06:00
timeutil Fix Racy Activity Log Tests (#10484) 2020-12-02 13:48:13 -07:00