[SERVER-40645] Add tests for SNI/TLS behavior of Split Horizon Created: 15/Apr/19  Updated: 29/Oct/23  Resolved: 22/May/19

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 3.6.14, 4.1.12, 4.0.11

Type: Improvement Priority: Major - P3
Reporter: ADAM Martin (Inactive) Assignee: Henrik Edin
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Backwards Compatibility: Fully Compatible
Backport Requested:
v4.0, v3.6
Sprint: Dev Tools 2019-05-06, Dev Tools 2019-05-20, Dev Tools 2019-06-03
Participants:

 Description   

Test that SNI names from connections over TLS/SSL are used as horizon indicators (Except in the presence of `connectionTarget`).
Test that `connectionTarget` parameters are used as horizon indicators on non-TLS/SSL connections and TLS/SSL connections.

`connectionTarget` requires a port number – test alternate port numbers too.



 Comments   
Comment by Githook User [ 07/Jun/19 ]

Author:

{'name': 'Henrik Edin', 'email': 'henrik.edin@mongodb.com', 'username': 'henrikedin'}

Message: SERVER-40643 SERVER-40645 Add jstests that test the split horizon feature

Split horizon relies on SNI over TLS and we simulate this by using HOSTALIASES (Linux only)

(cherry picked from commit 00528cee4912c79713c94de7d161638c7653cb2e)
Branch: v3.6
https://github.com/mongodb/mongo/commit/87c7d42ec127f70a28f3079cca34fedc1a345f72

Comment by Githook User [ 29/May/19 ]

Author:

{'email': 'henrik.edin@mongodb.com', 'name': 'Henrik Edin', 'username': 'henrikedin'}

Message: SERVER-40643 SERVER-40645 Add jstests that test the split horizon feature

Split horizon relies on SNI over TLS and we simulate this by using HOSTALIASES (Linux only)

(cherry picked from commit 00528cee4912c79713c94de7d161638c7653cb2e)
Branch: v4.0
https://github.com/mongodb/mongo/commit/28c0f167d1791cb8c19158b0e10b3660030d5a75

Comment by Githook User [ 21/May/19 ]

Author:

{'name': 'Henrik Edin', 'email': 'henrik.edin@mongodb.com', 'username': 'henrikedin'}

Message: SERVER-40643 SERVER-40645 Add jstests that test the split horizon feature

Split horizon relies on SNI over TLS and we simulate this by using HOSTALIASES (Linux only)
Branch: master
https://github.com/mongodb/mongo/commit/00528cee4912c79713c94de7d161638c7653cb2e

Comment by ADAM Martin (Inactive) [ 15/May/19 ]

Since `connectionTarget` will not be implemented, this test will be much simpler to implement.

Generated at Thu Feb 08 04:55:36 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.