[SERVER-58496] Detect connections made via the Proxy Protocol Created: 13/Jul/21  Updated: 14/Oct/21  Resolved: 14/Oct/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Matthew Saltz (Inactive) Assignee: Tyler Seip (Inactive)
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-58562 Add a boolean field _isFromLoadBalanc... Closed
depends on SERVER-60677 Create a parser for proxy protocol he... Closed
depends on SERVER-60678 Add peek functionality to ASIOSession Closed
depends on SERVER-60679 Open a port on Mongos that accepts pr... Closed
is depended on by SERVER-58498 Check for the loadBalancerCoordinatio... Closed
Sprint: Service Arch 2021-09-06, Service Arch 2021-09-20, Service Arch 2021-10-04, Service Arch 2021-10-18, Service Arch 2021-11-01
Participants:
Story Points: 7

 Description   

We should detect when a connection is made via the Proxy Protocol, and if so, when a new Client is created, we should mark it as having been created through a load balancer (e.g. via a boolean flag isFromLoadBalancer).

We'll need to figure out the best way to test this:

  • Rely on driver's tests?
  • Talk to Evergreen to add a "load balancer" build variant?
  • Use mongobridge?

Either way we should talk to Driver's and see what they do for tests.

If the testing is too much work, whoever works on this can split it into another ticket. It might be worth considering the testing concerns first in case we need to coordinate with other teams.

This ticket is timeboxed at 7 points, so if testing takes longer then another ticket will be required.



 Comments   
Comment by Tyler Seip (Inactive) [ 14/Oct/21 ]

Splitting this ticket up into three separate tickets; see linked.

Generated at Thu Feb 08 05:44:41 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.