[SERVER-60677] Create a parser for proxy protocol headers Created: 13/Oct/21 Updated: 29/Oct/23 Resolved: 01/Nov/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 5.1.0-rc3, 5.0.7 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Tyler Seip (Inactive) | Assignee: | Tyler Seip (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||
| Backport Requested: |
v5.0
|
||||||||||||||||
| Sprint: | Service Arch 2021-11-01, Service Arch 2021-11-15 | ||||||||||||||||
| Participants: | |||||||||||||||||
| Linked BF Score: | 0 | ||||||||||||||||
| Story Points: | 3 | ||||||||||||||||
| Description |
|
https://www.haproxy.org/download/1.8/doc/proxy-protocol.txt outlines the specification for the proxy protocol header, which we need to be able to parse in order to support detecting load balanced connections. In this ticket, implement a parser that supports both V1 and V2 of the proxy protocol and surfaces the original source and destination IPs parsed from the headers to a user. See |
| Comments |
| Comment by Githook User [ 17/Mar/22 ] |
|
Author: {'name': 'Tyler Seip', 'email': 'Tyler.Seip@mongodb.com', 'username': 'tseip-mongo'}Message: (cherry picked from commit 786482da93c3e5e58b1c690cb060f00c60864f69) |
| Comment by Githook User [ 16/Mar/22 ] |
|
Author: {'name': 'Tyler Seip', 'email': 'Tyler.Seip@mongodb.com', 'username': 'tseip-mongo'}Message: (cherry picked from commit 786482da93c3e5e58b1c690cb060f00c60864f69) |
| Comment by Githook User [ 29/Oct/21 ] |
|
Author: {'name': 'Tyler Seip', 'email': 'Tyler.Seip@mongodb.com', 'username': 'tseip-mongo'}Message: |
| Comment by Githook User [ 28/Oct/21 ] |
|
Author: {'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}Message: Revert " This reverts commit 0220bb0c39c75858689c95d90e0c07e42773bf55. |
| Comment by Githook User [ 27/Oct/21 ] |
|
Author: {'name': 'Tyler Seip', 'email': 'Tyler.Seip@mongodb.com', 'username': 'tseip-mongo'}Message: |