Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-104272

Add testing for clientSourceAuthenticationRestrictionMode when set to peer

    • Type: Icon: Task Task
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Server Security
    • Server Security 2025-04-28, Server Security 2025-05-09
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Currently, we only test clientSourceAuthenticationRestrictionMode when it is set to origin. We are unable to test that it works correctly with a load balancer when set to peer because the mock proxy protocol server does not support specifying an outbound local IP address to bind to that differs from the one used by the mongo shell itself.

      We should change the mock proxy protocol server to achieve this so that the test can cover this case as well.

            Assignee:
            varun.ravichandran@mongodb.com Varun Ravichandran
            Reporter:
            varun.ravichandran@mongodb.com Varun Ravichandran
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: