Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • V Vault
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
    • Requirements
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • 小 白蛋
  • Vault
  • Repository
Switch branch/tag
  • vault
  • changelog
  • 13540.txt
Find file BlameHistoryPermalink
  • hghaf099's avatar
    Add support for PROXY protocol v2 in TCP listener (#13540) (#14404) · 15db3c0e
    hghaf099 authored Mar 09, 2022
    * 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
    Co-authored-by: default avatarRémi Lapeyre <remi.lapeyre@lenstra.fr>
    15db3c0e

免费DevSecOps平台,让您的项目体验完整的DevSecOps流程,让项目更安全