)]}'
{"id":"openvpn~1746","triplet_id":"openvpn~master~I55da68cc341bcfc707fd34ca2f84ff9b6a55501f","project":"openvpn","branch":"master","full_branch":"refs/heads/master","topic":"oob-server-probe","attention_set":{"1000041":{"account":{"_account_id":1000041,"name":"Ralf Lici","display_name":"Ralf Lici","email":"ralf@mandelbit.com","username":"ralf_lici"},"last_update":"2026-09-11 15:23:13.000000000","reason":"Vote got outdated and was removed: Code-Review+1"},"1000003":{"account":{"_account_id":1000003,"name":"Arne Schwabe","display_name":"Arne Schwabe","email":"arne-openvpn@rfc2549.org","username":"plaisthos"},"last_update":"2026-09-17 11:30:36.000000000","reason":"Vote got outdated and was removed: Code-Review-1"}},"removed_from_attention_set":{"1000008":{"account":{"_account_id":1000008,"name":"Lev Stipakov","display_name":"Lev Stipakov","email":"lstipakov@gmail.com","username":"stipa"},"last_update":"2026-09-17 12:28:45.000000000","reason":"\u003cGERRIT_ACCOUNT_1000008\u003e replied on the change","reason_account":{"_account_id":1000008,"name":"Lev Stipakov","display_name":"Lev Stipakov","email":"lstipakov@gmail.com","username":"stipa"}}},"hashtags":[],"change_id":"I55da68cc341bcfc707fd34ca2f84ff9b6a55501f","subject":"probe: Add probe-result ranking for server selection","status":"NEW","created":"2026-06-29 07:58:31.000000000","updated":"2026-12-04 14:34:36.000000000","submit_type":"CHERRY_PICK","total_comment_count":8,"unresolved_comment_count":0,"has_review_started":true,"meta_rev_id":"419085c75193d779106a4193e4b555b4416a512b","_number":1746,"virtual_id_number":1746,"owner":{"_account_id":1000008,"name":"Lev Stipakov","display_name":"Lev Stipakov","email":"lstipakov@gmail.com","username":"stipa"},"actions":{},"labels":{"Code-Review":{"all":[{"value":0,"permitted_voting_range":{"min":-2,"max":2},"_account_id":1000041,"name":"Ralf Lici","display_name":"Ralf Lici","email":"ralf@mandelbit.com","username":"ralf_lici"},{"value":0,"permitted_voting_range":{"min":-2,"max":2},"_account_id":1000003,"name":"Arne Schwabe","display_name":"Arne Schwabe","email":"arne-openvpn@rfc2549.org","username":"plaisthos"}],"values":{"-2":"This shall not be submitted","-1":"I would prefer this is not submitted as is"," 0":"No score","+1":"Looks good to me, but someone else must approve","+2":"Looks good to me, approved"},"default_value":0},"Build-Request":{"all":[{"value":0,"permitted_voting_range":{"min":0,"max":1},"_account_id":1000041,"name":"Ralf Lici","display_name":"Ralf Lici","email":"ralf@mandelbit.com","username":"ralf_lici"},{"value":0,"permitted_voting_range":{"min":0,"max":1},"_account_id":1000003,"name":"Arne Schwabe","display_name":"Arne Schwabe","email":"arne-openvpn@rfc2549.org","username":"plaisthos"}],"values":{" 0":"No score","+1":"Please trigger a build"},"description":"Ask buildbot to do a full build on this change version","default_value":0,"optional":true}},"removable_reviewers":[],"reviewers":{"REVIEWER":[{"_account_id":1000003,"name":"Arne Schwabe","display_name":"Arne Schwabe","email":"arne-openvpn@rfc2549.org","username":"plaisthos"},{"_account_id":1000041,"name":"Ralf Lici","display_name":"Ralf Lici","email":"ralf@mandelbit.com","username":"ralf_lici"}],"CC":[{"_account_id":1000026,"name":"openvpn-devel","email":"openvpn-devel@lists.sourceforge.net","username":"openvpn-devel"}]},"pending_reviewers":{},"reviewer_updates":[{"updated":"2026-06-29 07:58:38.000000000","updated_by":{"_account_id":1000008,"name":"Lev Stipakov","display_name":"Lev Stipakov","email":"lstipakov@gmail.com","username":"stipa"},"real_updated_by":{"_account_id":1000008,"name":"Lev Stipakov","display_name":"Lev Stipakov","email":"lstipakov@gmail.com","username":"stipa"},"reviewer":{"_account_id":1000026,"name":"openvpn-devel","email":"openvpn-devel@lists.sourceforge.net","username":"openvpn-devel"},"state":"CC"},{"updated":"2026-06-29 07:58:38.000000000","updated_by":{"_account_id":1000008,"name":"Lev Stipakov","display_name":"Lev Stipakov","email":"lstipakov@gmail.com","username":"stipa"},"real_updated_by":{"_account_id":1000008,"name":"Lev Stipakov","display_name":"Lev Stipakov","email":"lstipakov@gmail.com","username":"stipa"},"reviewer":{"_account_id":1000003,"name":"Arne Schwabe","display_name":"Arne Schwabe","email":"arne-openvpn@rfc2549.org","username":"plaisthos"},"state":"REVIEWER"},{"updated":"2026-09-09 11:43:19.000000000","updated_by":{"_account_id":1000041,"name":"Ralf Lici","display_name":"Ralf Lici","email":"ralf@mandelbit.com","username":"ralf_lici"},"real_updated_by":{"_account_id":1000041,"name":"Ralf Lici","display_name":"Ralf Lici","email":"ralf@mandelbit.com","username":"ralf_lici"},"reviewer":{"_account_id":1000041,"name":"Ralf Lici","display_name":"Ralf Lici","email":"ralf@mandelbit.com","username":"ralf_lici"},"state":"REVIEWER"}],"messages":[{"id":"cbeb6a654c451b8e9cb4686f0733876c155db355","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":1000008,"name":"Lev Stipakov","display_name":"Lev Stipakov","email":"lstipakov@gmail.com","username":"stipa"},"date":"2026-06-29 07:58:31.000000000","message":"Uploaded patch set 1.","accounts_in_message":[],"_revision_number":1},{"id":"d67c16f6546ba363f1193340f87bd413b2dcbe68","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":1000008,"name":"Lev Stipakov","display_name":"Lev Stipakov","email":"lstipakov@gmail.com","username":"stipa"},"date":"2026-06-29 12:08:26.000000000","message":"Uploaded patch set 2.","accounts_in_message":[],"_revision_number":2},{"id":"7a6772c22bf40022345501071c7555fbfd6c3be2","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":1000008,"name":"Lev Stipakov","display_name":"Lev Stipakov","email":"lstipakov@gmail.com","username":"stipa"},"date":"2026-06-29 12:37:47.000000000","message":"Uploaded patch set 3: Patch Set 2 was rebased.","accounts_in_message":[],"_revision_number":3},{"id":"035698da2ed63c23084a3c09d10d7a7fd53f2469","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":1000008,"name":"Lev Stipakov","display_name":"Lev Stipakov","email":"lstipakov@gmail.com","username":"stipa"},"date":"2026-07-02 12:30:33.000000000","message":"Uploaded patch set 4: Patch Set 3 was rebased.","accounts_in_message":[],"_revision_number":4},{"id":"7a129a8d3d892b7b898127bc1abdf18c73ed3af9","tag":"autogenerated:gerrit:setTopic","author":{"_account_id":1000008,"name":"Lev Stipakov","display_name":"Lev Stipakov","email":"lstipakov@gmail.com","username":"stipa"},"date":"2026-07-06 07:11:38.000000000","message":"Topic set to oob-server-probe","accounts_in_message":[],"_revision_number":4},{"id":"20bf9686e46a97b8c0f248ffba7d2b2345f2723e","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":1000008,"name":"Lev Stipakov","display_name":"Lev Stipakov","email":"lstipakov@gmail.com","username":"stipa"},"date":"2026-07-09 13:47:21.000000000","message":"Uploaded patch set 5: Patch Set 4 was rebased.","accounts_in_message":[],"_revision_number":5},{"id":"9f6d1d4201998abc7cb760a39e88f642843be2c8","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":1000008,"name":"Lev Stipakov","display_name":"Lev Stipakov","email":"lstipakov@gmail.com","username":"stipa"},"date":"2026-07-14 08:14:41.000000000","message":"Uploaded patch set 6: New patch set was added with same tree, parent tree, and commit message as Patch Set 5.","accounts_in_message":[],"_revision_number":6},{"id":"1d07560a2651056936e87af8da1705c2420d4d58","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":1000008,"name":"Lev Stipakov","display_name":"Lev Stipakov","email":"lstipakov@gmail.com","username":"stipa"},"date":"2026-07-14 12:32:24.000000000","message":"Uploaded patch set 7: Patch Set 6 was rebased.","accounts_in_message":[],"_revision_number":7},{"id":"cb5afd3ac57a83fbc363edf037a5a73825b6b273","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":1000008,"name":"Lev Stipakov","display_name":"Lev Stipakov","email":"lstipakov@gmail.com","username":"stipa"},"date":"2026-07-16 08:09:01.000000000","message":"Uploaded patch set 8: Patch Set 7 was rebased.","accounts_in_message":[],"_revision_number":8},{"id":"d1771be9a8e57369ff9cfc952257311e7037ef28","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":1000008,"name":"Lev Stipakov","display_name":"Lev Stipakov","email":"lstipakov@gmail.com","username":"stipa"},"date":"2026-07-21 12:35:24.000000000","message":"Uploaded patch set 9: Patch Set 8 was rebased.","accounts_in_message":[],"_revision_number":9},{"id":"44793df272620f403e82a25d76d331b63066e55e","author":{"_account_id":1000003,"name":"Arne Schwabe","display_name":"Arne Schwabe","email":"arne-openvpn@rfc2549.org","username":"plaisthos"},"date":"2026-07-26 01:25:40.000000000","message":"Patch Set 9:\n\n(1 comment)","accounts_in_message":[],"_revision_number":9},{"id":"81c87a967bbbeab6df74d7f3439e1750fd625c4c","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":1000008,"name":"Lev Stipakov","display_name":"Lev Stipakov","email":"lstipakov@gmail.com","username":"stipa"},"date":"2026-07-28 15:03:23.000000000","message":"Uploaded patch set 10.","accounts_in_message":[],"_revision_number":10},{"id":"00b83a2be238c5938f32611d284dcf34cc0ccfcf","author":{"_account_id":1000008,"name":"Lev Stipakov","display_name":"Lev Stipakov","email":"lstipakov@gmail.com","username":"stipa"},"date":"2026-07-28 15:07:15.000000000","message":"Patch Set 10:\n\n(1 comment)","accounts_in_message":[],"_revision_number":10},{"id":"ebd945ba53175ee97ed719795c2c38597f96ac71","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":1000008,"name":"Lev Stipakov","display_name":"Lev Stipakov","email":"lstipakov@gmail.com","username":"stipa"},"date":"2026-07-29 12:22:54.000000000","message":"Uploaded patch set 11.","accounts_in_message":[],"_revision_number":11},{"id":"d7e5dbed6b6048ea85bdd6dae3e76651db071cbf","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":1000008,"name":"Lev Stipakov","display_name":"Lev Stipakov","email":"lstipakov@gmail.com","username":"stipa"},"date":"2026-08-04 08:10:28.000000000","message":"Uploaded patch set 12: Patch Set 11 was rebased.","accounts_in_message":[],"_revision_number":12},{"id":"a5d0fd19f55587a9efe1ec3a0794447e7f293049","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":1000008,"name":"Lev Stipakov","display_name":"Lev Stipakov","email":"lstipakov@gmail.com","username":"stipa"},"date":"2026-08-28 12:51:00.000000000","message":"Uploaded patch set 13.","accounts_in_message":[],"_revision_number":13},{"id":"177e703f42b7d73e4f8ad0e821fb5cade8cbb57a","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":1000008,"name":"Lev Stipakov","display_name":"Lev Stipakov","email":"lstipakov@gmail.com","username":"stipa"},"date":"2026-09-09 07:27:02.000000000","message":"Uploaded patch set 14: Patch Set 13 was rebased.","accounts_in_message":[],"_revision_number":14},{"id":"95ee253f5ae5661e53b81b32a7c1f5ca108f31b7","author":{"_account_id":1000041,"name":"Ralf Lici","display_name":"Ralf Lici","email":"ralf@mandelbit.com","username":"ralf_lici"},"date":"2026-09-09 11:43:19.000000000","message":"Patch Set 14: Code-Review+1\n\n(3 comments)","accounts_in_message":[],"_revision_number":14},{"id":"1aa81b277174c88cbc4a785705971ed03d094979","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":1000008,"name":"Lev Stipakov","display_name":"Lev Stipakov","email":"lstipakov@gmail.com","username":"stipa"},"date":"2026-09-11 09:11:03.000000000","message":"Uploaded patch set 15: Patch Set 14 was rebased.\n\nCopied Votes:\n* Code-Review+1 (copy condition: \"changekind:NO_CHANGE OR **changekind:TRIVIAL_REBASE** OR is:MIN\")\n","accounts_in_message":[],"_revision_number":15},{"id":"bc5b75ffa945103e90b3533fac294e1e9cf5731c","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":1000008,"name":"Lev Stipakov","display_name":"Lev Stipakov","email":"lstipakov@gmail.com","username":"stipa"},"date":"2026-09-11 15:23:13.000000000","message":"Uploaded patch set 16.\n\nOutdated Votes:\n* Code-Review+1 (copy condition: \"changekind:NO_CHANGE OR changekind:TRIVIAL_REBASE OR is:MIN\")\n","accounts_in_message":[],"_revision_number":16},{"id":"874a4695b58dad3da57fa9d9b86704fa02e2f63e","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":1000008,"name":"Lev Stipakov","display_name":"Lev Stipakov","email":"lstipakov@gmail.com","username":"stipa"},"date":"2026-09-14 14:18:32.000000000","message":"Uploaded patch set 17.","accounts_in_message":[],"_revision_number":17},{"id":"d1f9633a773bd33642ac1992d3d56f0d26683b06","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":1000008,"name":"Lev Stipakov","display_name":"Lev Stipakov","email":"lstipakov@gmail.com","username":"stipa"},"date":"2026-09-17 07:01:11.000000000","message":"Uploaded patch set 18: Patch Set 17 was rebased.","accounts_in_message":[],"_revision_number":18},{"id":"9d47be9cba987528a5d69f4a6d1cf86cc9614b29","author":{"_account_id":1000008,"name":"Lev Stipakov","display_name":"Lev Stipakov","email":"lstipakov@gmail.com","username":"stipa"},"date":"2026-09-17 07:58:06.000000000","message":"Patch Set 18:\n\n(1 comment)","accounts_in_message":[],"_revision_number":18},{"id":"049a9da64d0ff0c58543f30d31c8567ffc90def9","author":{"_account_id":1000003,"name":"Arne Schwabe","display_name":"Arne Schwabe","email":"arne-openvpn@rfc2549.org","username":"plaisthos"},"date":"2026-09-17 11:29:44.000000000","message":"Patch Set 18: Code-Review-1\n\n(1 comment)","accounts_in_message":[],"_revision_number":18},{"id":"5a455778e15ca9a417a187ee956f52c172402341","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":1000008,"name":"Lev Stipakov","display_name":"Lev Stipakov","email":"lstipakov@gmail.com","username":"stipa"},"date":"2026-09-17 11:30:36.000000000","message":"Uploaded patch set 19.\n\nOutdated Votes:\n* Code-Review-1 (copy condition: \"changekind:NO_CHANGE OR changekind:TRIVIAL_REBASE OR is:MIN\")\n","accounts_in_message":[],"_revision_number":19},{"id":"4868e3f80794483cf251947c63cb99bc6550fde5","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":1000008,"name":"Lev Stipakov","display_name":"Lev Stipakov","email":"lstipakov@gmail.com","username":"stipa"},"date":"2026-09-17 12:28:12.000000000","message":"Uploaded patch set 20.","accounts_in_message":[],"_revision_number":20},{"id":"654373bbb244790f6796956a436fd27b2dfdac6c","author":{"_account_id":1000008,"name":"Lev Stipakov","display_name":"Lev Stipakov","email":"lstipakov@gmail.com","username":"stipa"},"date":"2026-09-17 12:28:45.000000000","message":"Patch Set 20:\n\n(1 comment)","accounts_in_message":[],"_revision_number":20},{"id":"6991f456033a19c647cc5c7f1e2d11910a525070","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":1000008,"name":"Lev Stipakov","display_name":"Lev Stipakov","email":"lstipakov@gmail.com","username":"stipa"},"date":"2026-09-18 08:31:39.000000000","message":"Uploaded patch set 21.","accounts_in_message":[],"_revision_number":21},{"id":"ae6e352989c8ce23a6a505abec0298aae6603a69","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":1000008,"name":"Lev Stipakov","display_name":"Lev Stipakov","email":"lstipakov@gmail.com","username":"stipa"},"date":"2026-09-22 13:11:05.000000000","message":"Uploaded patch set 22: Patch Set 21 was rebased.","accounts_in_message":[],"_revision_number":22},{"id":"a332b5802fcb201f80cdddaaf733311047838cee","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":1000008,"name":"Lev Stipakov","display_name":"Lev Stipakov","email":"lstipakov@gmail.com","username":"stipa"},"date":"2026-09-29 13:16:31.000000000","message":"Uploaded patch set 23.","accounts_in_message":[],"_revision_number":23},{"id":"5695d6781880d80578d4c637d33784858f6685a7","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":1000008,"name":"Lev Stipakov","display_name":"Lev Stipakov","email":"lstipakov@gmail.com","username":"stipa"},"date":"2026-09-30 08:25:29.000000000","message":"Uploaded patch set 24.","accounts_in_message":[],"_revision_number":24},{"id":"38d0c35f0e0c4054a789d4b30a709662b9262ee9","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":1000008,"name":"Lev Stipakov","display_name":"Lev Stipakov","email":"lstipakov@gmail.com","username":"stipa"},"date":"2026-09-30 20:19:52.000000000","message":"Uploaded patch set 25: Patch Set 24 was rebased.","accounts_in_message":[],"_revision_number":25},{"id":"2bcf9cef889e609985d1d03143dd8549acf2561d","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":1000008,"name":"Lev Stipakov","display_name":"Lev Stipakov","email":"lstipakov@gmail.com","username":"stipa"},"date":"2026-12-02 13:47:59.000000000","message":"Uploaded patch set 26.","accounts_in_message":[],"_revision_number":26},{"id":"58be36e28e014f7ff8df69321cee076d7267fa7a","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":1000008,"name":"Lev Stipakov","display_name":"Lev Stipakov","email":"lstipakov@gmail.com","username":"stipa"},"date":"2026-12-02 17:25:31.000000000","message":"Uploaded patch set 27: Patch Set 26 was rebased.","accounts_in_message":[],"_revision_number":27},{"id":"419085c75193d779106a4193e4b555b4416a512b","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":1000008,"name":"Lev Stipakov","display_name":"Lev Stipakov","email":"lstipakov@gmail.com","username":"stipa"},"date":"2026-12-04 14:34:36.000000000","message":"Uploaded patch set 28: Patch Set 27 was rebased.","accounts_in_message":[],"_revision_number":28}],"current_revision_number":28,"current_revision":"ad945f5a7a1cf5c6661a2c080f9e5e1770ca062d","revisions":{"07fcd8df66eb54dcfd0265176bfd9831304905b8":{"kind":"REWORK","_number":1,"created":"2026-06-29 07:58:31.000000000","uploader":{"_account_id":1000008,"name":"Lev Stipakov","display_name":"Lev Stipakov","email":"lstipakov@gmail.com","username":"stipa"},"ref":"refs/changes/46/1746/1","fetch":{"anonymous http":{"url":"https://gerrit.openvpn.net/openvpn","ref":"refs/changes/46/1746/1","commands":{"Branch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/1 \u0026\u0026 git checkout -b change-1746 FETCH_HEAD","Checkout":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/1 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/1 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/1 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://gerrit.openvpn.net/openvpn refs/changes/46/1746/1","Reset To":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/1 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"37dc5fef7fc916feb3d6c8b3ed6576111ddcc2f4","subject":"oob: Add client PROBE_REPLY parser"}],"author":{"name":"Lev Stipakov","email":"lev@openvpn.net","date":"2026-06-18 14:13:05.000000000","tz":180},"committer":{"name":"Lev Stipakov","email":"lev@openvpn.net","date":"2026-06-29 07:58:02.000000000","tz":180},"subject":"oob: Add probe-result ranking for server selection","message":"oob: Add probe-result ranking for server selection\n\nAdd oob_rank_probe_results(), which orders remotes best-first from their probe\nresults, following the DNS-SRV (RFC 2782) semantics of the probe_reply TLV:\n\n  - remotes that answered rank before those that did not (non-responders keep\n    their original relative order, last);\n  - responders are grouped by priority, lowest value first (an absolute\n    ordering, never overridden by latency or weight);\n  - within a priority group the \"candidates\" are the responders whose RTT is\n    within a margin of the fastest (see oob_effective_margin()); candidates\n    rank ahead of non-candidates;\n  - candidates are ordered by RFC-2782 weighted-random selection by weight, so\n    a server is chosen first with probability proportional to its weight (load\n    distribution); non-candidates follow, ordered by RTT.\n\nThe RNG is injected as a function pointer so this module stays free of the\ncrypto layer and the weighted ordering is deterministically unit-testable\n(production passes get_random; the tests pass stubs).\n\nRTT is only populated once the client measures it (a later commit); until then\nevery responder sits in the band and selection is purely weighted-random.\n\nChange-Id: I55da68cc341bcfc707fd34ca2f84ff9b6a55501f\nSigned-off-by: Lev Stipakov \u003clev@openvpn.net\u003e\n"},"branch":"refs/heads/master"},"52c7c6d63f22545538ec405c368ae9a7f58f34f6":{"kind":"REWORK","_number":2,"created":"2026-06-29 12:08:26.000000000","uploader":{"_account_id":1000008,"name":"Lev Stipakov","display_name":"Lev Stipakov","email":"lstipakov@gmail.com","username":"stipa"},"ref":"refs/changes/46/1746/2","fetch":{"anonymous http":{"url":"https://gerrit.openvpn.net/openvpn","ref":"refs/changes/46/1746/2","commands":{"Branch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/2 \u0026\u0026 git checkout -b change-1746 FETCH_HEAD","Checkout":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/2 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/2 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/2 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://gerrit.openvpn.net/openvpn refs/changes/46/1746/2","Reset To":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/2 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"37dc5fef7fc916feb3d6c8b3ed6576111ddcc2f4","subject":"oob: Add client PROBE_REPLY parser"}],"author":{"name":"Lev Stipakov","email":"lev@openvpn.net","date":"2026-06-18 14:13:05.000000000","tz":180},"committer":{"name":"Lev Stipakov","email":"lev@openvpn.net","date":"2026-06-29 11:45:13.000000000","tz":180},"subject":"oob: Add probe-result ranking for server selection","message":"oob: Add probe-result ranking for server selection\n\nAdd oob_rank_probe_results(), which orders remotes best-first from their probe\nresults, following the DNS-SRV (RFC 2782) semantics of the probe_reply TLV:\n\n  - remotes that answered rank before those that did not (non-responders keep\n    their original relative order, last);\n  - responders are grouped by priority, lowest value first (an absolute\n    ordering, never overridden by latency or weight);\n  - within a priority group the \"candidates\" are the responders whose RTT is\n    within a margin of the fastest (see oob_effective_margin()); candidates\n    rank ahead of non-candidates;\n  - candidates are ordered by RFC-2782 weighted-random selection by weight, so\n    a server is chosen first with probability proportional to its weight (load\n    distribution); non-candidates follow, ordered by RTT.\n\nThe RNG is injected as a function pointer so this module stays free of the\ncrypto layer and the weighted ordering is deterministically unit-testable\n(production passes get_random; the tests pass stubs).\n\nRTT is only populated once the client measures it (a later commit); until then\nevery responder sits in the band and selection is purely weighted-random.\n\nChange-Id: I55da68cc341bcfc707fd34ca2f84ff9b6a55501f\nSigned-off-by: Lev Stipakov \u003clev@openvpn.net\u003e\n"},"branch":"refs/heads/master"},"26683f003b3f61802a6b673e0f658126a7eee788":{"kind":"TRIVIAL_REBASE","_number":3,"created":"2026-06-29 12:37:47.000000000","uploader":{"_account_id":1000008,"name":"Lev Stipakov","display_name":"Lev Stipakov","email":"lstipakov@gmail.com","username":"stipa"},"ref":"refs/changes/46/1746/3","fetch":{"anonymous http":{"url":"https://gerrit.openvpn.net/openvpn","ref":"refs/changes/46/1746/3","commands":{"Branch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/3 \u0026\u0026 git checkout -b change-1746 FETCH_HEAD","Checkout":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/3 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/3 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/3 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://gerrit.openvpn.net/openvpn refs/changes/46/1746/3","Reset To":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/3 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"6f3764e878c1d299bf51a788716ac525ae71d6c1","subject":"oob: Add client PROBE_REPLY parser"}],"author":{"name":"Lev Stipakov","email":"lev@openvpn.net","date":"2026-06-18 14:13:05.000000000","tz":180},"committer":{"name":"Lev Stipakov","email":"lev@openvpn.net","date":"2026-06-29 12:32:06.000000000","tz":180},"subject":"oob: Add probe-result ranking for server selection","message":"oob: Add probe-result ranking for server selection\n\nAdd oob_rank_probe_results(), which orders remotes best-first from their probe\nresults, following the DNS-SRV (RFC 2782) semantics of the probe_reply TLV:\n\n  - remotes that answered rank before those that did not (non-responders keep\n    their original relative order, last);\n  - responders are grouped by priority, lowest value first (an absolute\n    ordering, never overridden by latency or weight);\n  - within a priority group the \"candidates\" are the responders whose RTT is\n    within a margin of the fastest (see oob_effective_margin()); candidates\n    rank ahead of non-candidates;\n  - candidates are ordered by RFC-2782 weighted-random selection by weight, so\n    a server is chosen first with probability proportional to its weight (load\n    distribution); non-candidates follow, ordered by RTT.\n\nThe RNG is injected as a function pointer so this module stays free of the\ncrypto layer and the weighted ordering is deterministically unit-testable\n(production passes get_random; the tests pass stubs).\n\nRTT is only populated once the client measures it (a later commit); until then\nevery responder sits in the band and selection is purely weighted-random.\n\nChange-Id: I55da68cc341bcfc707fd34ca2f84ff9b6a55501f\nSigned-off-by: Lev Stipakov \u003clev@openvpn.net\u003e\n"},"branch":"refs/heads/master"},"4da7d4cdae1bef9d8fd6fb0c549756903743e2ba":{"kind":"TRIVIAL_REBASE","_number":4,"created":"2026-07-02 12:30:33.000000000","uploader":{"_account_id":1000008,"name":"Lev Stipakov","display_name":"Lev Stipakov","email":"lstipakov@gmail.com","username":"stipa"},"ref":"refs/changes/46/1746/4","fetch":{"anonymous http":{"url":"https://gerrit.openvpn.net/openvpn","ref":"refs/changes/46/1746/4","commands":{"Branch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/4 \u0026\u0026 git checkout -b change-1746 FETCH_HEAD","Checkout":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/4 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/4 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/4 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://gerrit.openvpn.net/openvpn refs/changes/46/1746/4","Reset To":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/4 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"c0c4c8c7a403a33c6432af04dbcc01428cb751e1","subject":"oob: Add client PROBE_REPLY parser"}],"author":{"name":"Lev Stipakov","email":"lev@openvpn.net","date":"2026-06-18 14:13:05.000000000","tz":180},"committer":{"name":"Lev Stipakov","email":"lev@openvpn.net","date":"2026-07-02 12:11:48.000000000","tz":180},"subject":"oob: Add probe-result ranking for server selection","message":"oob: Add probe-result ranking for server selection\n\nAdd oob_rank_probe_results(), which orders remotes best-first from their probe\nresults, following the DNS-SRV (RFC 2782) semantics of the probe_reply TLV:\n\n  - remotes that answered rank before those that did not (non-responders keep\n    their original relative order, last);\n  - responders are grouped by priority, lowest value first (an absolute\n    ordering, never overridden by latency or weight);\n  - within a priority group the \"candidates\" are the responders whose RTT is\n    within a margin of the fastest (see oob_effective_margin()); candidates\n    rank ahead of non-candidates;\n  - candidates are ordered by RFC-2782 weighted-random selection by weight, so\n    a server is chosen first with probability proportional to its weight (load\n    distribution); non-candidates follow, ordered by RTT.\n\nThe RNG is injected as a function pointer so this module stays free of the\ncrypto layer and the weighted ordering is deterministically unit-testable\n(production passes get_random; the tests pass stubs).\n\nRTT is only populated once the client measures it (a later commit); until then\nevery responder sits in the band and selection is purely weighted-random.\n\nChange-Id: I55da68cc341bcfc707fd34ca2f84ff9b6a55501f\nSigned-off-by: Lev Stipakov \u003clev@openvpn.net\u003e\n"},"branch":"refs/heads/master"},"9b96f3adb5d50579efc12f2ffb1ee1145e46d50c":{"kind":"TRIVIAL_REBASE","_number":5,"created":"2026-07-09 13:47:21.000000000","uploader":{"_account_id":1000008,"name":"Lev Stipakov","display_name":"Lev Stipakov","email":"lstipakov@gmail.com","username":"stipa"},"ref":"refs/changes/46/1746/5","fetch":{"anonymous http":{"url":"https://gerrit.openvpn.net/openvpn","ref":"refs/changes/46/1746/5","commands":{"Branch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/5 \u0026\u0026 git checkout -b change-1746 FETCH_HEAD","Checkout":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/5 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/5 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/5 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://gerrit.openvpn.net/openvpn refs/changes/46/1746/5","Reset To":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/5 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"17aeb88328b35b5e61ad53228a082682a5091f30","subject":"oob: Add client PROBE_REPLY parser"}],"author":{"name":"Lev Stipakov","email":"lev@openvpn.net","date":"2026-06-18 14:13:05.000000000","tz":180},"committer":{"name":"Lev Stipakov","email":"lev@openvpn.net","date":"2026-07-09 13:39:43.000000000","tz":180},"subject":"oob: Add probe-result ranking for server selection","message":"oob: Add probe-result ranking for server selection\n\nAdd oob_rank_probe_results(), which orders remotes best-first from their probe\nresults, following the DNS-SRV (RFC 2782) semantics of the probe_reply TLV:\n\n  - remotes that answered rank before those that did not (non-responders keep\n    their original relative order, last);\n  - responders are grouped by priority, lowest value first (an absolute\n    ordering, never overridden by latency or weight);\n  - within a priority group the \"candidates\" are the responders whose RTT is\n    within a margin of the fastest (see oob_effective_margin()); candidates\n    rank ahead of non-candidates;\n  - candidates are ordered by RFC-2782 weighted-random selection by weight, so\n    a server is chosen first with probability proportional to its weight (load\n    distribution); non-candidates follow, ordered by RTT.\n\nThe RNG is injected as a function pointer so this module stays free of the\ncrypto layer and the weighted ordering is deterministically unit-testable\n(production passes get_random; the tests pass stubs).\n\nRTT is only populated once the client measures it (a later commit); until then\nevery responder sits in the band and selection is purely weighted-random.\n\nChange-Id: I55da68cc341bcfc707fd34ca2f84ff9b6a55501f\nSigned-off-by: Lev Stipakov \u003clev@openvpn.net\u003e\n"},"branch":"refs/heads/master"},"c6f6bc8979ca9ee359c588eaec1e335a688960f4":{"kind":"NO_CHANGE","_number":6,"created":"2026-07-14 08:14:41.000000000","uploader":{"_account_id":1000008,"name":"Lev Stipakov","display_name":"Lev Stipakov","email":"lstipakov@gmail.com","username":"stipa"},"ref":"refs/changes/46/1746/6","fetch":{"anonymous http":{"url":"https://gerrit.openvpn.net/openvpn","ref":"refs/changes/46/1746/6","commands":{"Branch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/6 \u0026\u0026 git checkout -b change-1746 FETCH_HEAD","Checkout":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/6 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/6 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/6 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://gerrit.openvpn.net/openvpn refs/changes/46/1746/6","Reset To":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/6 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"f2a44c75216e6733dccaec4fd084d816e4254e44","subject":"oob: Add client PROBE_REPLY parser"}],"author":{"name":"Lev Stipakov","email":"lev@openvpn.net","date":"2026-06-18 14:13:05.000000000","tz":180},"committer":{"name":"Lev Stipakov","email":"lev@openvpn.net","date":"2026-07-14 08:13:52.000000000","tz":180},"subject":"oob: Add probe-result ranking for server selection","message":"oob: Add probe-result ranking for server selection\n\nAdd oob_rank_probe_results(), which orders remotes best-first from their probe\nresults, following the DNS-SRV (RFC 2782) semantics of the probe_reply TLV:\n\n  - remotes that answered rank before those that did not (non-responders keep\n    their original relative order, last);\n  - responders are grouped by priority, lowest value first (an absolute\n    ordering, never overridden by latency or weight);\n  - within a priority group the \"candidates\" are the responders whose RTT is\n    within a margin of the fastest (see oob_effective_margin()); candidates\n    rank ahead of non-candidates;\n  - candidates are ordered by RFC-2782 weighted-random selection by weight, so\n    a server is chosen first with probability proportional to its weight (load\n    distribution); non-candidates follow, ordered by RTT.\n\nThe RNG is injected as a function pointer so this module stays free of the\ncrypto layer and the weighted ordering is deterministically unit-testable\n(production passes get_random; the tests pass stubs).\n\nRTT is only populated once the client measures it (a later commit); until then\nevery responder sits in the band and selection is purely weighted-random.\n\nChange-Id: I55da68cc341bcfc707fd34ca2f84ff9b6a55501f\nSigned-off-by: Lev Stipakov \u003clev@openvpn.net\u003e\n"},"branch":"refs/heads/master"},"02841e75346b965a6119bacc3b6fcc613187941a":{"kind":"TRIVIAL_REBASE","_number":7,"created":"2026-07-14 12:32:24.000000000","uploader":{"_account_id":1000008,"name":"Lev Stipakov","display_name":"Lev Stipakov","email":"lstipakov@gmail.com","username":"stipa"},"ref":"refs/changes/46/1746/7","fetch":{"anonymous http":{"url":"https://gerrit.openvpn.net/openvpn","ref":"refs/changes/46/1746/7","commands":{"Branch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/7 \u0026\u0026 git checkout -b change-1746 FETCH_HEAD","Checkout":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/7 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/7 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/7 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://gerrit.openvpn.net/openvpn refs/changes/46/1746/7","Reset To":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/7 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"89d8c3058d3369edeeea91454dcc37f28a7f909a","subject":"oob: Add client PROBE_REPLY parser"}],"author":{"name":"Lev Stipakov","email":"lev@openvpn.net","date":"2026-06-18 14:13:05.000000000","tz":180},"committer":{"name":"Lev Stipakov","email":"lev@openvpn.net","date":"2026-07-14 12:14:32.000000000","tz":180},"subject":"oob: Add probe-result ranking for server selection","message":"oob: Add probe-result ranking for server selection\n\nAdd oob_rank_probe_results(), which orders remotes best-first from their probe\nresults, following the DNS-SRV (RFC 2782) semantics of the probe_reply TLV:\n\n  - remotes that answered rank before those that did not (non-responders keep\n    their original relative order, last);\n  - responders are grouped by priority, lowest value first (an absolute\n    ordering, never overridden by latency or weight);\n  - within a priority group the \"candidates\" are the responders whose RTT is\n    within a margin of the fastest (see oob_effective_margin()); candidates\n    rank ahead of non-candidates;\n  - candidates are ordered by RFC-2782 weighted-random selection by weight, so\n    a server is chosen first with probability proportional to its weight (load\n    distribution); non-candidates follow, ordered by RTT.\n\nThe RNG is injected as a function pointer so this module stays free of the\ncrypto layer and the weighted ordering is deterministically unit-testable\n(production passes get_random; the tests pass stubs).\n\nRTT is only populated once the client measures it (a later commit); until then\nevery responder sits in the band and selection is purely weighted-random.\n\nChange-Id: I55da68cc341bcfc707fd34ca2f84ff9b6a55501f\nSigned-off-by: Lev Stipakov \u003clev@openvpn.net\u003e\n"},"branch":"refs/heads/master"},"81cf112afb54abcbf9f2928d6fa033a90fbc317d":{"kind":"TRIVIAL_REBASE","_number":8,"created":"2026-07-16 08:09:01.000000000","uploader":{"_account_id":1000008,"name":"Lev Stipakov","display_name":"Lev Stipakov","email":"lstipakov@gmail.com","username":"stipa"},"ref":"refs/changes/46/1746/8","fetch":{"anonymous http":{"url":"https://gerrit.openvpn.net/openvpn","ref":"refs/changes/46/1746/8","commands":{"Branch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/8 \u0026\u0026 git checkout -b change-1746 FETCH_HEAD","Checkout":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/8 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/8 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/8 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://gerrit.openvpn.net/openvpn refs/changes/46/1746/8","Reset To":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/8 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"894aa954953b31c11c7a8d8ab9872b609cfbb120","subject":"oob: Add client PROBE_REPLY parser"}],"author":{"name":"Lev Stipakov","email":"lev@openvpn.net","date":"2026-06-18 14:13:05.000000000","tz":180},"committer":{"name":"Lev Stipakov","email":"lev@openvpn.net","date":"2026-07-16 08:08:35.000000000","tz":180},"subject":"oob: Add probe-result ranking for server selection","message":"oob: Add probe-result ranking for server selection\n\nAdd oob_rank_probe_results(), which orders remotes best-first from their probe\nresults, following the DNS-SRV (RFC 2782) semantics of the probe_reply TLV:\n\n  - remotes that answered rank before those that did not (non-responders keep\n    their original relative order, last);\n  - responders are grouped by priority, lowest value first (an absolute\n    ordering, never overridden by latency or weight);\n  - within a priority group the \"candidates\" are the responders whose RTT is\n    within a margin of the fastest (see oob_effective_margin()); candidates\n    rank ahead of non-candidates;\n  - candidates are ordered by RFC-2782 weighted-random selection by weight, so\n    a server is chosen first with probability proportional to its weight (load\n    distribution); non-candidates follow, ordered by RTT.\n\nThe RNG is injected as a function pointer so this module stays free of the\ncrypto layer and the weighted ordering is deterministically unit-testable\n(production passes get_random; the tests pass stubs).\n\nRTT is only populated once the client measures it (a later commit); until then\nevery responder sits in the band and selection is purely weighted-random.\n\nChange-Id: I55da68cc341bcfc707fd34ca2f84ff9b6a55501f\nSigned-off-by: Lev Stipakov \u003clev@openvpn.net\u003e\n"},"branch":"refs/heads/master"},"02d01e3b98567bfaf5e65af63da53c7b8fb77c97":{"kind":"TRIVIAL_REBASE","_number":9,"created":"2026-07-21 12:35:24.000000000","uploader":{"_account_id":1000008,"name":"Lev Stipakov","display_name":"Lev Stipakov","email":"lstipakov@gmail.com","username":"stipa"},"ref":"refs/changes/46/1746/9","fetch":{"anonymous http":{"url":"https://gerrit.openvpn.net/openvpn","ref":"refs/changes/46/1746/9","commands":{"Branch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/9 \u0026\u0026 git checkout -b change-1746 FETCH_HEAD","Checkout":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/9 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/9 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/9 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://gerrit.openvpn.net/openvpn refs/changes/46/1746/9","Reset To":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/9 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"dc49b3ff37024a0bb810a18c1c03e2ec6f9df2e2","subject":"oob: Add client PROBE_REPLY parser"}],"author":{"name":"Lev Stipakov","email":"lev@openvpn.net","date":"2026-06-18 14:13:05.000000000","tz":180},"committer":{"name":"Lev Stipakov","email":"lev@openvpn.net","date":"2026-07-21 12:30:44.000000000","tz":180},"subject":"oob: Add probe-result ranking for server selection","message":"oob: Add probe-result ranking for server selection\n\nAdd oob_rank_probe_results(), which orders remotes best-first from their probe\nresults, following the DNS-SRV (RFC 2782) semantics of the probe_reply TLV:\n\n  - remotes that answered rank before those that did not (non-responders keep\n    their original relative order, last);\n  - responders are grouped by priority, lowest value first (an absolute\n    ordering, never overridden by latency or weight);\n  - within a priority group the \"candidates\" are the responders whose RTT is\n    within a margin of the fastest (see oob_effective_margin()); candidates\n    rank ahead of non-candidates;\n  - candidates are ordered by RFC-2782 weighted-random selection by weight, so\n    a server is chosen first with probability proportional to its weight (load\n    distribution); non-candidates follow, ordered by RTT.\n\nThe RNG is injected as a function pointer so this module stays free of the\ncrypto layer and the weighted ordering is deterministically unit-testable\n(production passes get_random; the tests pass stubs).\n\nRTT is only populated once the client measures it (a later commit); until then\nevery responder sits in the band and selection is purely weighted-random.\n\nChange-Id: I55da68cc341bcfc707fd34ca2f84ff9b6a55501f\nSigned-off-by: Lev Stipakov \u003clev@openvpn.net\u003e\n"},"branch":"refs/heads/master"},"c5e88395585325f1c756413fc87b21be31a11935":{"kind":"REWORK","_number":10,"created":"2026-07-28 15:03:23.000000000","uploader":{"_account_id":1000008,"name":"Lev Stipakov","display_name":"Lev Stipakov","email":"lstipakov@gmail.com","username":"stipa"},"ref":"refs/changes/46/1746/10","fetch":{"anonymous http":{"url":"https://gerrit.openvpn.net/openvpn","ref":"refs/changes/46/1746/10","commands":{"Branch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/10 \u0026\u0026 git checkout -b change-1746 FETCH_HEAD","Checkout":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/10 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/10 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/10 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://gerrit.openvpn.net/openvpn refs/changes/46/1746/10","Reset To":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/10 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"7d80f4557b644c45e9d40edeff4c64e1e19ca1d1","subject":"oob: Add client PROBE_REPLY parser"}],"author":{"name":"Lev Stipakov","email":"lev@openvpn.net","date":"2026-06-18 14:13:05.000000000","tz":180},"committer":{"name":"Lev Stipakov","email":"lev@openvpn.net","date":"2026-07-28 15:00:13.000000000","tz":180},"subject":"oob: Add probe-result ranking for server selection","message":"oob: Add probe-result ranking for server selection\n\nAdd oob_rank_probe_results(), which orders remotes best-first from their probe\nresults, following the DNS-SRV (RFC 2782) semantics of the probe_reply TLV:\n\n  - remotes that answered rank before those that did not (non-responders keep\n    their original relative order, last);\n  - responders are grouped by priority, lowest value first (an absolute\n    ordering, never overridden by latency or weight);\n  - within a priority group the \"candidates\" are the responders whose RTT is\n    within a margin of the fastest (see oob_effective_margin()); candidates\n    rank ahead of non-candidates;\n  - candidates are ordered by RFC-2782 weighted-random selection by weight, so\n    a server is chosen first with probability proportional to its weight (load\n    distribution); non-candidates follow, ordered by RTT.\n\nThe RNG is injected as a function pointer so this module stays free of the\ncrypto layer and the weighted ordering is deterministically unit-testable\n(production passes get_random; the tests pass stubs).\n\nRTT is only populated once the client measures it (a later commit); until then\nevery responder sits in the band and selection is purely weighted-random.\n\nChange-Id: I55da68cc341bcfc707fd34ca2f84ff9b6a55501f\nSigned-off-by: Lev Stipakov \u003clev@openvpn.net\u003e\n"},"branch":"refs/heads/master"},"835db5e4eb2775196d037c341e2da7d3a855e84a":{"kind":"REWORK","_number":11,"created":"2026-07-29 12:22:54.000000000","uploader":{"_account_id":1000008,"name":"Lev Stipakov","display_name":"Lev Stipakov","email":"lstipakov@gmail.com","username":"stipa"},"ref":"refs/changes/46/1746/11","fetch":{"anonymous http":{"url":"https://gerrit.openvpn.net/openvpn","ref":"refs/changes/46/1746/11","commands":{"Branch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/11 \u0026\u0026 git checkout -b change-1746 FETCH_HEAD","Checkout":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/11 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/11 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/11 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://gerrit.openvpn.net/openvpn refs/changes/46/1746/11","Reset To":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/11 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"363a9e9e502bee415af934684db1c2088453f23f","subject":"oob: Add client PROBE_REPLY parser"}],"author":{"name":"Lev Stipakov","email":"lev@openvpn.net","date":"2026-06-18 14:13:05.000000000","tz":180},"committer":{"name":"Lev Stipakov","email":"lev@openvpn.net","date":"2026-07-29 11:38:38.000000000","tz":180},"subject":"oob: Add probe-result ranking for server selection","message":"oob: Add probe-result ranking for server selection\n\nAdd oob_rank_probe_results(), which orders remotes best-first from their probe\nresults, following the DNS-SRV (RFC 2782) semantics of the probe_reply TLV:\n\n  - remotes that answered rank before those that did not (non-responders keep\n    their original relative order, last);\n  - responders are grouped by priority, lowest value first (an absolute\n    ordering, never overridden by latency or weight);\n  - within a priority group the \"candidates\" are the responders whose RTT is\n    within a margin of the fastest; candidates rank ahead of non-candidates;\n  - candidates are ordered by RFC-2782 weighted-random selection by weight, so\n    a server is chosen first with probability proportional to its weight (load\n    distribution); non-candidates follow, ordered by RTT.\n\noob_effective_margin() decides that margin: the client\u0027s --server-probe value if\nit set one, otherwise the server\u0027s advertised max_latency_diff, otherwise 10 ms.\n\nThe RNG is injected as a function pointer so this module stays free of the\ncrypto layer and the weighted ordering is deterministically unit-testable (the\nclient will pass get_random; the tests pass stubs).\n\nExercised by unit tests; the client probe path calls it in a follow-up, which\nalso populates RTT -- until then every responder sits in the band and selection\nis purely weighted-random.\n\nChange-Id: I55da68cc341bcfc707fd34ca2f84ff9b6a55501f\nSigned-off-by: Lev Stipakov \u003clev@openvpn.net\u003e\n"},"branch":"refs/heads/master"},"fa0a19b780db681dade4e00ae766a784fc7978a4":{"kind":"TRIVIAL_REBASE","_number":12,"created":"2026-08-04 08:10:28.000000000","uploader":{"_account_id":1000008,"name":"Lev Stipakov","display_name":"Lev Stipakov","email":"lstipakov@gmail.com","username":"stipa"},"ref":"refs/changes/46/1746/12","fetch":{"anonymous http":{"url":"https://gerrit.openvpn.net/openvpn","ref":"refs/changes/46/1746/12","commands":{"Branch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/12 \u0026\u0026 git checkout -b change-1746 FETCH_HEAD","Checkout":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/12 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/12 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/12 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://gerrit.openvpn.net/openvpn refs/changes/46/1746/12","Reset To":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/12 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"69f5aa3b1df74d92be67e0f3f604935a1ccc590d","subject":"oob: Add client PROBE_REPLY parser"}],"author":{"name":"Lev Stipakov","email":"lev@openvpn.net","date":"2026-06-18 14:13:05.000000000","tz":180},"committer":{"name":"Lev Stipakov","email":"lev@openvpn.net","date":"2026-08-04 08:08:32.000000000","tz":180},"subject":"oob: Add probe-result ranking for server selection","message":"oob: Add probe-result ranking for server selection\n\nAdd oob_rank_probe_results(), which orders remotes best-first from their probe\nresults, following the DNS-SRV (RFC 2782) semantics of the probe_reply TLV:\n\n  - remotes that answered rank before those that did not (non-responders keep\n    their original relative order, last);\n  - responders are grouped by priority, lowest value first (an absolute\n    ordering, never overridden by latency or weight);\n  - within a priority group the \"candidates\" are the responders whose RTT is\n    within a margin of the fastest; candidates rank ahead of non-candidates;\n  - candidates are ordered by RFC-2782 weighted-random selection by weight, so\n    a server is chosen first with probability proportional to its weight (load\n    distribution); non-candidates follow, ordered by RTT.\n\noob_effective_margin() decides that margin: the client\u0027s --server-probe value if\nit set one, otherwise the server\u0027s advertised max_latency_diff, otherwise 10 ms.\n\nThe RNG is injected as a function pointer so this module stays free of the\ncrypto layer and the weighted ordering is deterministically unit-testable (the\nclient will pass get_random; the tests pass stubs).\n\nExercised by unit tests; the client probe path calls it in a follow-up, which\nalso populates RTT -- until then every responder sits in the band and selection\nis purely weighted-random.\n\nChange-Id: I55da68cc341bcfc707fd34ca2f84ff9b6a55501f\nSigned-off-by: Lev Stipakov \u003clev@openvpn.net\u003e\n"},"branch":"refs/heads/master"},"62443009c1616a4d86f76f5c08264ed79b9926ee":{"kind":"REWORK","_number":13,"created":"2026-08-28 12:51:00.000000000","uploader":{"_account_id":1000008,"name":"Lev Stipakov","display_name":"Lev Stipakov","email":"lstipakov@gmail.com","username":"stipa"},"ref":"refs/changes/46/1746/13","fetch":{"anonymous http":{"url":"https://gerrit.openvpn.net/openvpn","ref":"refs/changes/46/1746/13","commands":{"Branch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/13 \u0026\u0026 git checkout -b change-1746 FETCH_HEAD","Checkout":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/13 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/13 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/13 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://gerrit.openvpn.net/openvpn refs/changes/46/1746/13","Reset To":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/13 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"e7f2021d892ea700a998d25f87b8059cec160049","subject":"oob: Add client PROBE_REPLY parser"}],"author":{"name":"Lev Stipakov","email":"lev@openvpn.net","date":"2026-06-18 14:13:05.000000000","tz":180},"committer":{"name":"Lev Stipakov","email":"lev@openvpn.net","date":"2026-08-28 12:33:23.000000000","tz":180},"subject":"oob: Add probe-result ranking for server selection","message":"oob: Add probe-result ranking for server selection\n\nAdd oob_rank_probe_results(), which orders remotes best-first from their probe\nresults, following the DNS-SRV (RFC 2782) semantics of the probe_reply TLV:\n\n  - remotes that answered rank before those that did not (non-responders keep\n    their original relative order, last);\n  - responders are grouped by priority, lowest value first (an absolute\n    ordering, never overridden by latency or weight);\n  - within a priority group the \"candidates\" are the responders whose RTT is\n    no more than a margin larger than the fastest, so the fastest is always\n    one; candidates rank ahead of non-candidates;\n  - candidates are ordered by RFC-2782 weighted-random selection by weight, so\n    a server is chosen first with probability proportional to its weight (load\n    distribution); non-candidates follow, ordered by RTT.\n\noob_effective_margin() decides that margin: the client\u0027s --server-probe value if\nit set one, otherwise the server\u0027s advertised max_latency_diff, where 0 admits\nonly the fastest responder and whatever ties with it.\n\nThe RNG is injected as a function pointer so this module stays free of the\ncrypto layer and the weighted ordering is deterministically unit-testable (the\nclient will pass get_random; the tests pass stubs).\n\nExercised by unit tests; the client probe path calls it in a follow-up, which\nalso populates RTT -- until then every responder sits in the band and selection\nis purely weighted-random.\n\nChange-Id: I55da68cc341bcfc707fd34ca2f84ff9b6a55501f\nSigned-off-by: Lev Stipakov \u003clev@openvpn.net\u003e\n"},"branch":"refs/heads/master"},"cce38c5f2703f7386944ddbdd8f4e962f94ffc95":{"kind":"TRIVIAL_REBASE","_number":14,"created":"2026-09-09 07:27:02.000000000","uploader":{"_account_id":1000008,"name":"Lev Stipakov","display_name":"Lev Stipakov","email":"lstipakov@gmail.com","username":"stipa"},"ref":"refs/changes/46/1746/14","fetch":{"anonymous http":{"url":"https://gerrit.openvpn.net/openvpn","ref":"refs/changes/46/1746/14","commands":{"Branch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/14 \u0026\u0026 git checkout -b change-1746 FETCH_HEAD","Checkout":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/14 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/14 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/14 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://gerrit.openvpn.net/openvpn refs/changes/46/1746/14","Reset To":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/14 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"9fbd7ea4380f1158846bb9346d3b6d35712e7a8f","subject":"oob: Add client PROBE_REPLY parser"}],"author":{"name":"Lev Stipakov","email":"lev@openvpn.net","date":"2026-06-18 14:13:05.000000000","tz":180},"committer":{"name":"Lev Stipakov","email":"lev@openvpn.net","date":"2026-09-09 06:52:00.000000000","tz":180},"subject":"oob: Add probe-result ranking for server selection","message":"oob: Add probe-result ranking for server selection\n\nAdd oob_rank_probe_results(), which orders remotes best-first from their probe\nresults, following the DNS-SRV (RFC 2782) semantics of the probe_reply TLV:\n\n  - remotes that answered rank before those that did not (non-responders keep\n    their original relative order, last);\n  - responders are grouped by priority, lowest value first (an absolute\n    ordering, never overridden by latency or weight);\n  - within a priority group the \"candidates\" are the responders whose RTT is\n    no more than a margin larger than the fastest, so the fastest is always\n    one; candidates rank ahead of non-candidates;\n  - candidates are ordered by RFC-2782 weighted-random selection by weight, so\n    a server is chosen first with probability proportional to its weight (load\n    distribution); non-candidates follow, ordered by RTT.\n\noob_effective_margin() decides that margin: the client\u0027s --server-probe value if\nit set one, otherwise the server\u0027s advertised max_latency_diff, where 0 admits\nonly the fastest responder and whatever ties with it.\n\nThe RNG is injected as a function pointer so this module stays free of the\ncrypto layer and the weighted ordering is deterministically unit-testable (the\nclient will pass get_random; the tests pass stubs).\n\nExercised by unit tests; the client probe path calls it in a follow-up, which\nalso populates RTT -- until then every responder sits in the band and selection\nis purely weighted-random.\n\nChange-Id: I55da68cc341bcfc707fd34ca2f84ff9b6a55501f\nSigned-off-by: Lev Stipakov \u003clev@openvpn.net\u003e\n"},"branch":"refs/heads/master"},"cb8c5e1e123fa2e835c21f7486dbf5fb9131a380":{"kind":"TRIVIAL_REBASE","_number":15,"created":"2026-09-11 09:11:03.000000000","uploader":{"_account_id":1000008,"name":"Lev Stipakov","display_name":"Lev Stipakov","email":"lstipakov@gmail.com","username":"stipa"},"ref":"refs/changes/46/1746/15","fetch":{"anonymous http":{"url":"https://gerrit.openvpn.net/openvpn","ref":"refs/changes/46/1746/15","commands":{"Branch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/15 \u0026\u0026 git checkout -b change-1746 FETCH_HEAD","Checkout":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/15 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/15 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/15 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://gerrit.openvpn.net/openvpn refs/changes/46/1746/15","Reset To":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/15 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"297b264aad0f8b50bc7faa11d3993a2964fa9a3c","subject":"oob: Add client PROBE_REPLY parser"}],"author":{"name":"Lev Stipakov","email":"lev@openvpn.net","date":"2026-06-18 14:13:05.000000000","tz":180},"committer":{"name":"Lev Stipakov","email":"lev@openvpn.net","date":"2026-09-11 09:03:49.000000000","tz":180},"subject":"oob: Add probe-result ranking for server selection","message":"oob: Add probe-result ranking for server selection\n\nAdd oob_rank_probe_results(), which orders remotes best-first from their probe\nresults, following the DNS-SRV (RFC 2782) semantics of the probe_reply TLV:\n\n  - remotes that answered rank before those that did not (non-responders keep\n    their original relative order, last);\n  - responders are grouped by priority, lowest value first (an absolute\n    ordering, never overridden by latency or weight);\n  - within a priority group the \"candidates\" are the responders whose RTT is\n    no more than a margin larger than the fastest, so the fastest is always\n    one; candidates rank ahead of non-candidates;\n  - candidates are ordered by RFC-2782 weighted-random selection by weight, so\n    a server is chosen first with probability proportional to its weight (load\n    distribution); non-candidates follow, ordered by RTT.\n\noob_effective_margin() decides that margin: the client\u0027s --server-probe value if\nit set one, otherwise the server\u0027s advertised max_latency_diff, where 0 admits\nonly the fastest responder and whatever ties with it.\n\nThe RNG is injected as a function pointer so this module stays free of the\ncrypto layer and the weighted ordering is deterministically unit-testable (the\nclient will pass get_random; the tests pass stubs).\n\nExercised by unit tests; the client probe path calls it in a follow-up, which\nalso populates RTT -- until then every responder sits in the band and selection\nis purely weighted-random.\n\nChange-Id: I55da68cc341bcfc707fd34ca2f84ff9b6a55501f\nSigned-off-by: Lev Stipakov \u003clev@openvpn.net\u003e\n"},"branch":"refs/heads/master"},"cc33d9e8dcc963889db83d71d209ea7573859095":{"kind":"REWORK","_number":16,"created":"2026-09-11 15:23:13.000000000","uploader":{"_account_id":1000008,"name":"Lev Stipakov","display_name":"Lev Stipakov","email":"lstipakov@gmail.com","username":"stipa"},"ref":"refs/changes/46/1746/16","fetch":{"anonymous http":{"url":"https://gerrit.openvpn.net/openvpn","ref":"refs/changes/46/1746/16","commands":{"Branch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/16 \u0026\u0026 git checkout -b change-1746 FETCH_HEAD","Checkout":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/16 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/16 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/16 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://gerrit.openvpn.net/openvpn refs/changes/46/1746/16","Reset To":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/16 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"297b264aad0f8b50bc7faa11d3993a2964fa9a3c","subject":"oob: Add client PROBE_REPLY parser"}],"author":{"name":"Lev Stipakov","email":"lev@openvpn.net","date":"2026-06-18 14:13:05.000000000","tz":180},"committer":{"name":"Lev Stipakov","email":"lev@openvpn.net","date":"2026-09-11 15:00:42.000000000","tz":180},"subject":"oob: Add probe-result ranking for server selection","message":"oob: Add probe-result ranking for server selection\n\nAdd oob_rank_probe_results(), which orders remotes best-first from their\nprobe results, following the DNS-SRV (RFC 2782) semantics of the\nprobe_reply TLV:\n\n  - remotes that answered rank before those that did not (non-responders\n    keep their original relative order, last);\n  - responders are grouped by priority, lowest value first (an absolute\n    ordering, never overridden by latency or weight);\n  - within a priority group the \"candidates\" are the responders whose\n    RTT is no more than a margin larger than the fastest, so the fastest\n    is always one; candidates rank ahead of non-candidates;\n  - candidates are ordered by RFC-2782 weighted-random selection by\n    weight, so a server is chosen first with probability proportional to\n    its weight (load distribution); non-candidates follow, ordered by\n    RTT.\n\noob_effective_margin() decides that margin: the client\u0027s --server-probe\nvalue if it set one, otherwise the server\u0027s advertised max_latency_diff,\nwhere 0 admits only the fastest responder and whatever ties with it.\n\nThe RNG is injected as a function pointer so this module stays free of\nthe crypto layer and the weighted ordering is deterministically\nunit-testable (the client will pass get_random; the tests pass stubs).\n\nExercised by unit tests; the client probe path calls it in a follow-up,\nwhich also populates RTT -- until then every responder sits in the band\nand selection is purely weighted-random.\n\nChange-Id: I55da68cc341bcfc707fd34ca2f84ff9b6a55501f\nSigned-off-by: Lev Stipakov \u003clev@openvpn.net\u003e\n"},"branch":"refs/heads/master"},"59fcf447804ec104eda104c0c9fb99db61d40348":{"kind":"REWORK","_number":17,"created":"2026-09-14 14:18:32.000000000","uploader":{"_account_id":1000008,"name":"Lev Stipakov","display_name":"Lev Stipakov","email":"lstipakov@gmail.com","username":"stipa"},"ref":"refs/changes/46/1746/17","fetch":{"anonymous http":{"url":"https://gerrit.openvpn.net/openvpn","ref":"refs/changes/46/1746/17","commands":{"Branch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/17 \u0026\u0026 git checkout -b change-1746 FETCH_HEAD","Checkout":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/17 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/17 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/17 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://gerrit.openvpn.net/openvpn refs/changes/46/1746/17","Reset To":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/17 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"614803bd35c56b363a664eedf5f2377196b4cf27","subject":"oob: Add client PROBE_REPLY parser"}],"author":{"name":"Lev Stipakov","email":"lev@openvpn.net","date":"2026-06-18 14:13:05.000000000","tz":180},"committer":{"name":"Lev Stipakov","email":"lev@openvpn.net","date":"2026-09-14 11:54:54.000000000","tz":180},"subject":"oob: Add probe-result ranking for server selection","message":"oob: Add probe-result ranking for server selection\n\nAdd oob_rank_probe_results(), which orders remotes best-first from their\nprobe results, following the DNS-SRV (RFC 2782) semantics of the\nprobe_reply TLV:\n\n  - remotes that answered rank before those that did not (non-responders\n    keep their original relative order, last);\n  - responders are grouped by priority, lowest value first (an absolute\n    ordering, never overridden by latency or weight);\n  - within a priority group the \"candidates\" are the responders whose\n    RTT is no more than a margin larger than the fastest, so the fastest\n    is always one; candidates rank ahead of non-candidates;\n  - candidates are ordered by RFC-2782 weighted-random selection by\n    weight, so a server is chosen first with probability proportional to\n    its weight (load distribution); non-candidates follow, ordered by\n    RTT.\n\noob_effective_margin() decides that margin: the client\u0027s --server-probe\nvalue if it set one, otherwise the server\u0027s advertised max_latency_diff,\nwhere 0 admits only the fastest responder and whatever ties with it.\n\nThe RNG is injected as a function pointer so this module stays free of\nthe crypto layer and the weighted ordering is deterministically\nunit-testable (the client will pass get_random; the tests pass stubs).\n\nExercised by unit tests; the client probe path calls it in a follow-up,\nwhich also populates RTT -- until then every responder sits in the band\nand selection is purely weighted-random.\n\nChange-Id: I55da68cc341bcfc707fd34ca2f84ff9b6a55501f\nSigned-off-by: Lev Stipakov \u003clev@openvpn.net\u003e\n"},"branch":"refs/heads/master"},"16e2b183c7a230baef16215f37843c2e4cc37788":{"kind":"TRIVIAL_REBASE","_number":18,"created":"2026-09-17 07:01:11.000000000","uploader":{"_account_id":1000008,"name":"Lev Stipakov","display_name":"Lev Stipakov","email":"lstipakov@gmail.com","username":"stipa"},"ref":"refs/changes/46/1746/18","fetch":{"anonymous http":{"url":"https://gerrit.openvpn.net/openvpn","ref":"refs/changes/46/1746/18","commands":{"Branch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/18 \u0026\u0026 git checkout -b change-1746 FETCH_HEAD","Checkout":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/18 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/18 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/18 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://gerrit.openvpn.net/openvpn refs/changes/46/1746/18","Reset To":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/18 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"a582e09d78c49d79f9ee9c107c43a015485796e5","subject":"oob: Add client PROBE_REPLY parser"}],"author":{"name":"Lev Stipakov","email":"lev@openvpn.net","date":"2026-06-18 14:13:05.000000000","tz":180},"committer":{"name":"Lev Stipakov","email":"lev@openvpn.net","date":"2026-09-17 06:52:12.000000000","tz":180},"subject":"oob: Add probe-result ranking for server selection","message":"oob: Add probe-result ranking for server selection\n\nAdd oob_rank_probe_results(), which orders remotes best-first from their\nprobe results, following the DNS-SRV (RFC 2782) semantics of the\nprobe_reply TLV:\n\n  - remotes that answered rank before those that did not (non-responders\n    keep their original relative order, last);\n  - responders are grouped by priority, lowest value first (an absolute\n    ordering, never overridden by latency or weight);\n  - within a priority group the \"candidates\" are the responders whose\n    RTT is no more than a margin larger than the fastest, so the fastest\n    is always one; candidates rank ahead of non-candidates;\n  - candidates are ordered by RFC-2782 weighted-random selection by\n    weight, so a server is chosen first with probability proportional to\n    its weight (load distribution); non-candidates follow, ordered by\n    RTT.\n\noob_effective_margin() decides that margin: the client\u0027s --server-probe\nvalue if it set one, otherwise the server\u0027s advertised max_latency_diff,\nwhere 0 admits only the fastest responder and whatever ties with it.\n\nThe RNG is injected as a function pointer so this module stays free of\nthe crypto layer and the weighted ordering is deterministically\nunit-testable (the client will pass get_random; the tests pass stubs).\n\nExercised by unit tests; the client probe path calls it in a follow-up,\nwhich also populates RTT -- until then every responder sits in the band\nand selection is purely weighted-random.\n\nChange-Id: I55da68cc341bcfc707fd34ca2f84ff9b6a55501f\nSigned-off-by: Lev Stipakov \u003clev@openvpn.net\u003e\n"},"branch":"refs/heads/master"},"1422edb402e4f687bfe3192b8d8f356b94da5919":{"kind":"REWORK","_number":19,"created":"2026-09-17 11:30:36.000000000","uploader":{"_account_id":1000008,"name":"Lev Stipakov","display_name":"Lev Stipakov","email":"lstipakov@gmail.com","username":"stipa"},"ref":"refs/changes/46/1746/19","fetch":{"anonymous http":{"url":"https://gerrit.openvpn.net/openvpn","ref":"refs/changes/46/1746/19","commands":{"Branch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/19 \u0026\u0026 git checkout -b change-1746 FETCH_HEAD","Checkout":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/19 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/19 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/19 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://gerrit.openvpn.net/openvpn refs/changes/46/1746/19","Reset To":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/19 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"a582e09d78c49d79f9ee9c107c43a015485796e5","subject":"oob: Add client PROBE_REPLY parser"}],"author":{"name":"Lev Stipakov","email":"lev@openvpn.net","date":"2026-06-18 14:13:05.000000000","tz":180},"committer":{"name":"Lev Stipakov","email":"lev@openvpn.net","date":"2026-09-17 07:54:06.000000000","tz":180},"subject":"oob: Add probe-result ranking for server selection","message":"oob: Add probe-result ranking for server selection\n\nAdd oob_rank_probe_results(), which orders remotes best-first from their\nprobe results, following the DNS-SRV (RFC 2782) semantics of the\nprobe_reply TLV:\n\n  - remotes that answered rank before those that did not (non-responders\n    keep their original relative order, last);\n  - responders are grouped by priority, lowest value first (an absolute\n    ordering, never overridden by latency or weight);\n  - within a priority group the \"candidates\" are the responders whose\n    RTT is no more than a margin larger than the fastest, so the fastest\n    is always one; candidates rank ahead of non-candidates;\n  - candidates are ordered by RFC-2782 weighted-random selection by\n    weight, so a server is chosen first with probability proportional to\n    its weight (load distribution); non-candidates follow, ordered by\n    RTT.\n\noob_effective_margin() decides that margin: the client\u0027s --server-probe\nvalue if it set one, otherwise the server\u0027s advertised max_latency_diff,\nwhere 0 admits only the fastest responder and whatever ties with it.\n\nThe RNG is injected as a function pointer so this module stays free of\nthe crypto layer and the weighted ordering is deterministically\nunit-testable (the client will pass get_random; the tests pass stubs).\n\nExercised by unit tests; the client probe path calls it in a follow-up,\nwhich also populates RTT -- until then every responder sits in the band\nand selection is purely weighted-random.\n\nChange-Id: I55da68cc341bcfc707fd34ca2f84ff9b6a55501f\nSigned-off-by: Lev Stipakov \u003clev@openvpn.net\u003e\n"},"branch":"refs/heads/master"},"f033251ac0d6b54e2017d85047d26df9db423eea":{"kind":"REWORK","_number":20,"created":"2026-09-17 12:28:12.000000000","uploader":{"_account_id":1000008,"name":"Lev Stipakov","display_name":"Lev Stipakov","email":"lstipakov@gmail.com","username":"stipa"},"ref":"refs/changes/46/1746/20","fetch":{"anonymous http":{"url":"https://gerrit.openvpn.net/openvpn","ref":"refs/changes/46/1746/20","commands":{"Branch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/20 \u0026\u0026 git checkout -b change-1746 FETCH_HEAD","Checkout":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/20 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/20 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/20 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://gerrit.openvpn.net/openvpn refs/changes/46/1746/20","Reset To":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/20 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"a582e09d78c49d79f9ee9c107c43a015485796e5","subject":"oob: Add client PROBE_REPLY parser"}],"author":{"name":"Lev Stipakov","email":"lev@openvpn.net","date":"2026-06-18 14:13:05.000000000","tz":180},"committer":{"name":"Lev Stipakov","email":"lev@openvpn.net","date":"2026-09-17 11:45:24.000000000","tz":180},"subject":"oob: Add probe-result ranking for server selection","message":"oob: Add probe-result ranking for server selection\n\nAdd oob_rank_probe_results(), which orders remotes best-first from their\nprobe results, following the DNS-SRV (RFC 2782) semantics of the\nprobe_reply TLV:\n\n  - remotes that answered rank before those that did not (non-responders\n    keep their original relative order, last);\n  - responders are grouped by priority, lowest value first (an absolute\n    ordering, never overridden by latency or weight);\n  - within a priority group the \"candidates\" are the responders whose\n    RTT is no more than a margin larger than the fastest, so the fastest\n    is always one; candidates rank ahead of non-candidates;\n  - candidates are ordered by RFC-2782 weighted-random selection by\n    weight, so a server is chosen first with probability proportional to\n    its weight (load distribution); non-candidates follow, ordered by\n    RTT.\n\noob_effective_margin() decides that margin: the client\u0027s --server-probe\nvalue if it set one, otherwise the server\u0027s advertised max_latency_diff,\nwhere 0 admits only the fastest responder and whatever ties with it.\n\nThe RNG is injected as a function pointer so this module stays free of\nthe crypto layer and the weighted ordering is deterministically\nunit-testable (the client will pass get_random; the tests pass stubs).\n\nExercised by unit tests; the client probe path calls it in a follow-up,\nwhich also populates RTT -- until then every responder sits in the band\nand selection is purely weighted-random.\n\nChange-Id: I55da68cc341bcfc707fd34ca2f84ff9b6a55501f\nSigned-off-by: Lev Stipakov \u003clev@openvpn.net\u003e\n"},"branch":"refs/heads/master"},"1ea6db7a275b05608d479bc3a2a4f54c20921221":{"kind":"REWORK","_number":21,"created":"2026-09-18 08:31:39.000000000","uploader":{"_account_id":1000008,"name":"Lev Stipakov","display_name":"Lev Stipakov","email":"lstipakov@gmail.com","username":"stipa"},"ref":"refs/changes/46/1746/21","fetch":{"anonymous http":{"url":"https://gerrit.openvpn.net/openvpn","ref":"refs/changes/46/1746/21","commands":{"Branch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/21 \u0026\u0026 git checkout -b change-1746 FETCH_HEAD","Checkout":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/21 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/21 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/21 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://gerrit.openvpn.net/openvpn refs/changes/46/1746/21","Reset To":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/21 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"aa2e40a596f149e904cb65b62b1105983971e6f3","subject":"oob: Add client PROBE_REPLY parser"}],"author":{"name":"Lev Stipakov","email":"lev@openvpn.net","date":"2026-06-18 14:13:05.000000000","tz":180},"committer":{"name":"Lev Stipakov","email":"lev@openvpn.net","date":"2026-09-18 08:26:41.000000000","tz":180},"subject":"oob: Add probe-result ranking for server selection","message":"oob: Add probe-result ranking for server selection\n\nAdd oob_rank_probe_results(), which orders remotes best-first from their\nprobe results, following the DNS-SRV (RFC 2782) semantics of the\nprobe_reply TLV:\n\n  - remotes that answered rank before those that did not (non-responders\n    keep their original relative order, last);\n  - responders are grouped by priority, lowest value first (an absolute\n    ordering, never overridden by latency or weight);\n  - within a priority group the \"candidates\" are the responders whose\n    RTT is no more than a margin larger than the fastest, so the fastest\n    is always one; candidates rank ahead of non-candidates;\n  - candidates are ordered by RFC-2782 weighted-random selection by\n    weight, so a server is chosen first with probability proportional to\n    its weight (load distribution); non-candidates follow, ordered by\n    RTT.\n\noob_effective_margin() decides that margin: the client\u0027s --server-probe\nvalue if it set one, otherwise the server\u0027s advertised max_latency_diff,\nwhere 0 admits only the fastest responder and whatever ties with it.\n\nThe RNG is injected as a function pointer so this module stays free of\nthe crypto layer and the weighted ordering is deterministically\nunit-testable (the client will pass get_random; the tests pass stubs).\n\nExercised by unit tests; the client probe path calls it in a follow-up,\nwhich also populates RTT -- until then every responder sits in the band\nand selection is purely weighted-random.\n\nChange-Id: I55da68cc341bcfc707fd34ca2f84ff9b6a55501f\nSigned-off-by: Lev Stipakov \u003clev@openvpn.net\u003e\n"},"branch":"refs/heads/master"},"3261272601348af46db4b111455b5e417c79139d":{"kind":"TRIVIAL_REBASE","_number":22,"created":"2026-09-22 13:11:05.000000000","uploader":{"_account_id":1000008,"name":"Lev Stipakov","display_name":"Lev Stipakov","email":"lstipakov@gmail.com","username":"stipa"},"ref":"refs/changes/46/1746/22","fetch":{"anonymous http":{"url":"https://gerrit.openvpn.net/openvpn","ref":"refs/changes/46/1746/22","commands":{"Branch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/22 \u0026\u0026 git checkout -b change-1746 FETCH_HEAD","Checkout":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/22 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/22 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/22 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://gerrit.openvpn.net/openvpn refs/changes/46/1746/22","Reset To":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/22 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"fe1df01d8f4419fdb75d6a1e46a660b9a13e1cb0","subject":"oob: Add client PROBE_REPLY parser"}],"author":{"name":"Lev Stipakov","email":"lev@openvpn.net","date":"2026-06-18 14:13:05.000000000","tz":180},"committer":{"name":"Lev Stipakov","email":"lev@openvpn.net","date":"2026-09-18 12:45:01.000000000","tz":180},"subject":"oob: Add probe-result ranking for server selection","message":"oob: Add probe-result ranking for server selection\n\nAdd oob_rank_probe_results(), which orders remotes best-first from their\nprobe results, following the DNS-SRV (RFC 2782) semantics of the\nprobe_reply TLV:\n\n  - remotes that answered rank before those that did not (non-responders\n    keep their original relative order, last);\n  - responders are grouped by priority, lowest value first (an absolute\n    ordering, never overridden by latency or weight);\n  - within a priority group the \"candidates\" are the responders whose\n    RTT is no more than a margin larger than the fastest, so the fastest\n    is always one; candidates rank ahead of non-candidates;\n  - candidates are ordered by RFC-2782 weighted-random selection by\n    weight, so a server is chosen first with probability proportional to\n    its weight (load distribution); non-candidates follow, ordered by\n    RTT.\n\noob_effective_margin() decides that margin: the client\u0027s --server-probe\nvalue if it set one, otherwise the server\u0027s advertised max_latency_diff,\nwhere 0 admits only the fastest responder and whatever ties with it.\n\nThe RNG is injected as a function pointer so this module stays free of\nthe crypto layer and the weighted ordering is deterministically\nunit-testable (the client will pass get_random; the tests pass stubs).\n\nExercised by unit tests; the client probe path calls it in a follow-up,\nwhich also populates RTT -- until then every responder sits in the band\nand selection is purely weighted-random.\n\nChange-Id: I55da68cc341bcfc707fd34ca2f84ff9b6a55501f\nSigned-off-by: Lev Stipakov \u003clev@openvpn.net\u003e\n"},"branch":"refs/heads/master"},"ef2dda6b6946c457b100dad25d990b27fa2b2387":{"kind":"REWORK","_number":23,"created":"2026-09-29 13:16:31.000000000","uploader":{"_account_id":1000008,"name":"Lev Stipakov","display_name":"Lev Stipakov","email":"lstipakov@gmail.com","username":"stipa"},"ref":"refs/changes/46/1746/23","fetch":{"anonymous http":{"url":"https://gerrit.openvpn.net/openvpn","ref":"refs/changes/46/1746/23","commands":{"Branch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/23 \u0026\u0026 git checkout -b change-1746 FETCH_HEAD","Checkout":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/23 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/23 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/23 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://gerrit.openvpn.net/openvpn refs/changes/46/1746/23","Reset To":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/23 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"44eefe30d48e9f18fa1123ae50336228e5e95977","subject":"oob: Add client PROBE_REPLY parser"}],"author":{"name":"Lev Stipakov","email":"lev@openvpn.net","date":"2026-06-18 14:13:05.000000000","tz":180},"committer":{"name":"Lev Stipakov","email":"lev@openvpn.net","date":"2026-09-29 13:05:05.000000000","tz":180},"subject":"oob: Add probe-result ranking for server selection","message":"oob: Add probe-result ranking for server selection\n\nAdd oob_rank_probe_results(), which orders remotes best-first from their\nprobe results, following the DNS-SRV (RFC 2782) semantics of the\nprobe_reply TLV:\n\n  - remotes that answered rank before those that did not (non-responders\n    keep their original relative order, last);\n  - responders are grouped by priority, lowest value first (an absolute\n    ordering, never overridden by latency or weight);\n  - within a priority group the \"candidates\" are the responders whose\n    RTT is no more than a margin larger than the fastest, so the fastest\n    is always one; candidates rank ahead of non-candidates;\n  - candidates are ordered by RFC 2782 weighted-random selection by\n    weight, so a server is chosen first with probability proportional to\n    its weight (load distribution); non-candidates follow, ordered by\n    RTT.\n\noob_effective_margin() decides that margin: the client\u0027s own margin if\nit set one (--server-probe, added later), otherwise the max_latency_diff\nadvertised by the fastest server of the group, where 0 admits only the\nservers tying it.\n\nThe RNG is injected as a function pointer so this module stays free of\nthe crypto layer and the weighted ordering is deterministically\nunit-testable.\n\nExercised by unit tests; the client probe path calls it in a follow-up,\nand measures RTT in a later one -- until then every responder sits in\nthe band and selection is purely weighted-random.\n\nChange-Id: I55da68cc341bcfc707fd34ca2f84ff9b6a55501f\nSigned-off-by: Lev Stipakov \u003clev@openvpn.net\u003e\n"},"branch":"refs/heads/master"},"73cd070e6d71f9fa3d12a5d0b17a1a737018463b":{"kind":"REWORK","_number":24,"created":"2026-09-30 08:25:29.000000000","uploader":{"_account_id":1000008,"name":"Lev Stipakov","display_name":"Lev Stipakov","email":"lstipakov@gmail.com","username":"stipa"},"ref":"refs/changes/46/1746/24","fetch":{"anonymous http":{"url":"https://gerrit.openvpn.net/openvpn","ref":"refs/changes/46/1746/24","commands":{"Branch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/24 \u0026\u0026 git checkout -b change-1746 FETCH_HEAD","Checkout":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/24 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/24 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/24 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://gerrit.openvpn.net/openvpn refs/changes/46/1746/24","Reset To":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/24 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"b8f89d082547bc326614472e943b08150b2df26d","subject":"oob: Add client probe reply parser"}],"author":{"name":"Lev Stipakov","email":"lev@openvpn.net","date":"2026-06-18 14:13:05.000000000","tz":180},"committer":{"name":"Lev Stipakov","email":"lev@openvpn.net","date":"2026-09-30 08:13:01.000000000","tz":180},"subject":"oob: Add probe-result ranking for server selection","message":"oob: Add probe-result ranking for server selection\n\nAdd oob_rank_probe_results(), which orders remotes best-first from their\nprobe results, following the DNS-SRV (RFC 2782) semantics of the\nprobe_reply TLV:\n\n  - remotes that answered rank before those that did not (non-responders\n    keep their original relative order, last);\n  - responders are grouped by priority, lowest value first (an absolute\n    ordering, never overridden by latency or weight);\n  - within a priority group the \"candidates\" are the responders whose\n    RTT is no more than a margin larger than the fastest, so the fastest\n    is always one; candidates rank ahead of non-candidates;\n  - candidates are ordered by RFC 2782 weighted-random selection by\n    weight, so a server is chosen first with probability proportional to\n    its weight (load distribution); non-candidates follow, ordered by\n    RTT.\n\noob_effective_margin() decides that margin: the client\u0027s own margin if\nit set one (--server-probe, added later), otherwise the max_latency_diff\nadvertised by the fastest server of the group, where 0 admits only the\nservers tying it.\n\nThe RNG is injected as a function pointer so this module stays free of\nthe crypto layer and the weighted ordering is deterministically\nunit-testable.\n\nExercised by unit tests; the client probe path calls it in a follow-up,\nand measures RTT in a later one -- until then every responder sits in\nthe band and selection is purely weighted-random.\n\nChange-Id: I55da68cc341bcfc707fd34ca2f84ff9b6a55501f\nSigned-off-by: Lev Stipakov \u003clev@openvpn.net\u003e\n\n"},"branch":"refs/heads/master"},"c806740427b46f4abeb2bf59e7b2b96c0bea571d":{"kind":"TRIVIAL_REBASE","_number":25,"created":"2026-09-30 20:19:52.000000000","uploader":{"_account_id":1000008,"name":"Lev Stipakov","display_name":"Lev Stipakov","email":"lstipakov@gmail.com","username":"stipa"},"ref":"refs/changes/46/1746/25","fetch":{"anonymous http":{"url":"https://gerrit.openvpn.net/openvpn","ref":"refs/changes/46/1746/25","commands":{"Branch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/25 \u0026\u0026 git checkout -b change-1746 FETCH_HEAD","Checkout":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/25 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/25 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/25 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://gerrit.openvpn.net/openvpn refs/changes/46/1746/25","Reset To":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/25 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"de2d263d91e79ceae0c6d3e315e38483cdc8443c","subject":"oob: Add client probe reply parser"}],"author":{"name":"Lev Stipakov","email":"lev@openvpn.net","date":"2026-06-18 14:13:05.000000000","tz":180},"committer":{"name":"Lev Stipakov","email":"lev@openvpn.net","date":"2026-09-30 18:15:02.000000000","tz":180},"subject":"oob: Add probe-result ranking for server selection","message":"oob: Add probe-result ranking for server selection\n\nAdd oob_rank_probe_results(), which orders remotes best-first from their\nprobe results, following the DNS-SRV (RFC 2782) semantics of the\nprobe_reply TLV:\n\n  - remotes that answered rank before those that did not (non-responders\n    keep their original relative order, last);\n  - responders are grouped by priority, lowest value first (an absolute\n    ordering, never overridden by latency or weight);\n  - within a priority group the \"candidates\" are the responders whose\n    RTT is no more than a margin larger than the fastest, so the fastest\n    is always one; candidates rank ahead of non-candidates;\n  - candidates are ordered by RFC 2782 weighted-random selection by\n    weight, so a server is chosen first with probability proportional to\n    its weight (load distribution); non-candidates follow, ordered by\n    RTT.\n\noob_effective_margin() decides that margin: the client\u0027s own margin if\nit set one (--server-probe, added later), otherwise the max_latency_diff\nadvertised by the fastest server of the group, where 0 admits only the\nservers tying it.\n\nThe RNG is injected as a function pointer so this module stays free of\nthe crypto layer and the weighted ordering is deterministically\nunit-testable.\n\nExercised by unit tests; the client probe path calls it in a follow-up,\nand measures RTT in a later one -- until then every responder sits in\nthe band and selection is purely weighted-random.\n\nChange-Id: I55da68cc341bcfc707fd34ca2f84ff9b6a55501f\nSigned-off-by: Lev Stipakov \u003clev@openvpn.net\u003e\n\n"},"branch":"refs/heads/master"},"de1d8c93aa5904bf441408a3a0a7b5a80a24159c":{"kind":"REWORK","_number":26,"created":"2026-12-02 13:47:59.000000000","uploader":{"_account_id":1000008,"name":"Lev Stipakov","display_name":"Lev Stipakov","email":"lstipakov@gmail.com","username":"stipa"},"ref":"refs/changes/46/1746/26","fetch":{"anonymous http":{"url":"https://gerrit.openvpn.net/openvpn","ref":"refs/changes/46/1746/26","commands":{"Branch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/26 \u0026\u0026 git checkout -b change-1746 FETCH_HEAD","Checkout":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/26 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/26 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/26 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://gerrit.openvpn.net/openvpn refs/changes/46/1746/26","Reset To":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/26 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"4715f2d23f9a1b7adb0e6cefc09528e1dafe015c","subject":"probe: Add client probe reply parser"}],"author":{"name":"Lev Stipakov","email":"lev@openvpn.net","date":"2026-12-02 13:26:16.000000000","tz":120},"committer":{"name":"Lev Stipakov","email":"lev@openvpn.net","date":"2026-12-02 13:36:25.000000000","tz":120},"subject":"probe: Add probe-result ranking for server selection","message":"probe: Add probe-result ranking for server selection\n\nAdd probe_rank_results(), which orders probe results best-first:\nresponders before non-responders, responders grouped by priority (lowest\nvalue first), and within a priority group the candidates -- those whose\nRTT is within the fastest target\u0027s margin -- ahead of the rest, ordered\nby DNS-SRV (RFC 2782) weighted-random selection so load is distributed\nby weight. Non-candidates follow by RTT.\n\nprobe_effective_margin() is the band: the client\u0027s own setting when it\nconfigured one, else the max_latency_diff the fastest target advertised.\n\nThe candidates are a prefix of the RTT-sorted run, so the split needs a\ncount rather than a partition, and the ranking allocates nothing.\n\nThe RNG is a parameter rather than a direct get_random() call, so this\nmodule stays free of the crypto layer and the weighted ordering is\ndeterministically testable.\n\nExercised by unit tests; the client probe path calls it in a follow-up.\n\nChange-Id: I55da68cc341bcfc707fd34ca2f84ff9b6a55501f\nSigned-off-by: Lev Stipakov \u003clev@openvpn.net\u003e\n"},"branch":"refs/heads/master"},"955182cabbf14d83e9a6a1021458b1efe3b6efae":{"kind":"TRIVIAL_REBASE","_number":27,"created":"2026-12-02 17:25:31.000000000","uploader":{"_account_id":1000008,"name":"Lev Stipakov","display_name":"Lev Stipakov","email":"lstipakov@gmail.com","username":"stipa"},"ref":"refs/changes/46/1746/27","fetch":{"anonymous http":{"url":"https://gerrit.openvpn.net/openvpn","ref":"refs/changes/46/1746/27","commands":{"Branch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/27 \u0026\u0026 git checkout -b change-1746 FETCH_HEAD","Checkout":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/27 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/27 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/27 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://gerrit.openvpn.net/openvpn refs/changes/46/1746/27","Reset To":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/27 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"a6926eddf2431d96e1167398c1bbf3a1a4c942ad","subject":"probe: Add client probe reply parser"}],"author":{"name":"Lev Stipakov","email":"lev@openvpn.net","date":"2026-12-02 13:26:16.000000000","tz":120},"committer":{"name":"Lev Stipakov","email":"lev@openvpn.net","date":"2026-12-02 17:22:59.000000000","tz":120},"subject":"probe: Add probe-result ranking for server selection","message":"probe: Add probe-result ranking for server selection\n\nAdd probe_rank_results(), which orders probe results best-first:\nresponders before non-responders, responders grouped by priority (lowest\nvalue first), and within a priority group the candidates -- those whose\nRTT is within the fastest target\u0027s margin -- ahead of the rest, ordered\nby DNS-SRV (RFC 2782) weighted-random selection so load is distributed\nby weight. Non-candidates follow by RTT.\n\nprobe_effective_margin() is the band: the client\u0027s own setting when it\nconfigured one, else the max_latency_diff the fastest target advertised.\n\nThe candidates are a prefix of the RTT-sorted run, so the split needs a\ncount rather than a partition, and the ranking allocates nothing.\n\nThe RNG is a parameter rather than a direct get_random() call, so this\nmodule stays free of the crypto layer and the weighted ordering is\ndeterministically testable.\n\nExercised by unit tests; the client probe path calls it in a follow-up.\n\nChange-Id: I55da68cc341bcfc707fd34ca2f84ff9b6a55501f\nSigned-off-by: Lev Stipakov \u003clev@openvpn.net\u003e\n"},"branch":"refs/heads/master"},"ad945f5a7a1cf5c6661a2c080f9e5e1770ca062d":{"kind":"TRIVIAL_REBASE","_number":28,"created":"2026-12-04 14:34:36.000000000","uploader":{"_account_id":1000008,"name":"Lev Stipakov","display_name":"Lev Stipakov","email":"lstipakov@gmail.com","username":"stipa"},"ref":"refs/changes/46/1746/28","fetch":{"anonymous http":{"url":"https://gerrit.openvpn.net/openvpn","ref":"refs/changes/46/1746/28","commands":{"Branch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/28 \u0026\u0026 git checkout -b change-1746 FETCH_HEAD","Checkout":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/28 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/28 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/28 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://gerrit.openvpn.net/openvpn refs/changes/46/1746/28","Reset To":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/46/1746/28 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"4a9e745d32da2090e76690eecb807f83349b753b","subject":"probe: Add client probe reply parser"}],"author":{"name":"Lev Stipakov","email":"lev@openvpn.net","date":"2026-12-02 13:26:16.000000000","tz":120},"committer":{"name":"Lev Stipakov","email":"lev@openvpn.net","date":"2026-12-04 14:23:28.000000000","tz":120},"subject":"probe: Add probe-result ranking for server selection","message":"probe: Add probe-result ranking for server selection\n\nAdd probe_rank_results(), which orders probe results best-first:\nresponders before non-responders, responders grouped by priority (lowest\nvalue first), and within a priority group the candidates -- those whose\nRTT is within the fastest target\u0027s margin -- ahead of the rest, ordered\nby DNS-SRV (RFC 2782) weighted-random selection so load is distributed\nby weight. Non-candidates follow by RTT.\n\nprobe_effective_margin() is the band: the client\u0027s own setting when it\nconfigured one, else the max_latency_diff the fastest target advertised.\n\nThe candidates are a prefix of the RTT-sorted run, so the split needs a\ncount rather than a partition, and the ranking allocates nothing.\n\nThe RNG is a parameter rather than a direct get_random() call, so this\nmodule stays free of the crypto layer and the weighted ordering is\ndeterministically testable.\n\nExercised by unit tests; the client probe path calls it in a follow-up.\n\nChange-Id: I55da68cc341bcfc707fd34ca2f84ff9b6a55501f\nSigned-off-by: Lev Stipakov \u003clev@openvpn.net\u003e\n"},"branch":"refs/heads/master"}},"requirements":[{"status":"NOT_READY","fallback_text":"All required checks must pass","type":"checks_pass"}],"submit_records":[{"rule_name":"gerrit~DefaultSubmitRule","status":"NOT_READY","labels":[{"label":"Code-Review","status":"NEED"},{"label":"Build-Request","status":"MAY"}]},{"rule_name":"checks~ChecksSubmitRule","status":"NOT_READY","requirements":[{"status":"NOT_READY","fallback_text":"All required checks must pass","type":"checks_pass"}]}]}
