)]}'
{"id":"openvpn~1915","triplet_id":"openvpn~master~I24e5925a72aaede53ef9e863fe96fcd7363df402","project":"openvpn","branch":"master","full_branch":"refs/heads/master","topic":"oob-groundwork","attention_set":{},"removed_from_attention_set":{"1000041":{"account":{"_account_id":1000041,"name":"Ralf Lici","display_name":"Ralf Lici","email":"ralf@mandelbit.com","username":"ralf_lici"},"last_update":"2026-11-24 19:04:28.000000000","reason":"Change was submitted"},"1000008":{"account":{"_account_id":1000008,"name":"Lev Stipakov","display_name":"Lev Stipakov","email":"lstipakov@gmail.com","username":"stipa"},"last_update":"2026-11-24 19:04:28.000000000","reason":"Change was submitted"},"1000053":{"account":{"_account_id":1000053,"name":"Răzvan Cojocaru","display_name":"Razvan Cojocaru","email":"razvanc@mailbox.org","username":"razvanc"},"last_update":"2026-11-24 15:48:58.000000000","reason":"removed on reply"},"1000003":{"account":{"_account_id":1000003,"name":"Arne Schwabe","display_name":"Arne Schwabe","email":"arne-openvpn@rfc2549.org","username":"plaisthos"},"last_update":"2026-11-24 19:04:28.000000000","reason":"Change was submitted"}},"hashtags":[],"change_id":"I24e5925a72aaede53ef9e863fe96fcd7363df402","subject":"socket: Let an optional UDP socket give up on a failed bind","status":"MERGED","created":"2026-09-14 14:18:32.000000000","updated":"2026-11-24 19:04:28.000000000","submitted":"2026-11-24 19:04:28.000000000","submitter":{"_account_id":1000002,"name":"Gert Doering","display_name":"Gert Doering","email":"gert@greenie.muc.de","username":"cron2"},"total_comment_count":8,"unresolved_comment_count":0,"has_review_started":true,"submission_id":"1915-oob-groundwork","meta_rev_id":"8f93d2616ea9c5e016083270b0207b3a89eb4ea0","_number":1915,"virtual_id_number":1915,"owner":{"_account_id":1000008,"name":"Lev Stipakov","display_name":"Lev Stipakov","email":"lstipakov@gmail.com","username":"stipa"},"actions":{},"labels":{"Code-Review":{"all":[{"value":0,"_account_id":1000041,"name":"Ralf Lici","display_name":"Ralf Lici","email":"ralf@mandelbit.com","username":"ralf_lici"},{"value":0,"_account_id":1000053,"name":"Răzvan Cojocaru","display_name":"Razvan Cojocaru","email":"razvanc@mailbox.org","username":"razvanc"},{"value":0,"_account_id":1000002,"name":"Gert Doering","display_name":"Gert Doering","email":"gert@greenie.muc.de","username":"cron2"}],"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"},"description":"","default_value":0}},"removable_reviewers":[{"_account_id":1000003,"name":"Arne Schwabe","display_name":"Arne Schwabe","email":"arne-openvpn@rfc2549.org","username":"plaisthos"}],"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"},{"_account_id":1000053,"name":"Răzvan Cojocaru","display_name":"Razvan Cojocaru","email":"razvanc@mailbox.org","username":"razvanc"}],"CC":[{"_account_id":1000026,"name":"openvpn-devel","email":"openvpn-devel@lists.sourceforge.net","username":"openvpn-devel"}]},"pending_reviewers":{},"reviewer_updates":[{"updated":"2026-09-14 14:18:42.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-09-14 14:18:42.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-24 12:38:28.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"},{"updated":"2026-11-04 15:15:56.000000000","updated_by":{"_account_id":1000053,"name":"Răzvan Cojocaru","display_name":"Razvan Cojocaru","email":"razvanc@mailbox.org","username":"razvanc"},"real_updated_by":{"_account_id":1000053,"name":"Răzvan Cojocaru","display_name":"Razvan Cojocaru","email":"razvanc@mailbox.org","username":"razvanc"},"reviewer":{"_account_id":1000053,"name":"Răzvan Cojocaru","display_name":"Razvan Cojocaru","email":"razvanc@mailbox.org","username":"razvanc"},"state":"CC"},{"updated":"2026-11-04 15:29:14.000000000","updated_by":{"_account_id":1000053,"name":"Răzvan Cojocaru","display_name":"Razvan Cojocaru","email":"razvanc@mailbox.org","username":"razvanc"},"real_updated_by":{"_account_id":1000053,"name":"Răzvan Cojocaru","display_name":"Razvan Cojocaru","email":"razvanc@mailbox.org","username":"razvanc"},"reviewer":{"_account_id":1000053,"name":"Răzvan Cojocaru","display_name":"Razvan Cojocaru","email":"razvanc@mailbox.org","username":"razvanc"},"state":"REVIEWER"}],"messages":[{"id":"32753b072c651d9b485835070377465dc64a0864","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 1.","accounts_in_message":[],"_revision_number":1},{"id":"b12dc64ee562619a15260d4997c5a9c7e4539821","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":1000008,"name":"Lev Stipakov","display_name":"Lev Stipakov","email":"lstipakov@gmail.com","username":"stipa"},"date":"2026-09-15 12:59:19.000000000","message":"Uploaded patch set 2.","accounts_in_message":[],"_revision_number":2},{"id":"5023519a3353b01928591465a0fcdeb91156b3ca","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 3: Patch Set 2 was rebased.","accounts_in_message":[],"_revision_number":3},{"id":"076035be236330b85d9cb48b8232541efa30864c","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 4: Patch Set 3 was rebased.","accounts_in_message":[],"_revision_number":4},{"id":"e656805fe2e847bde3dcc7d9d5e7889502166a7c","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 5: Patch Set 4 was rebased.","accounts_in_message":[],"_revision_number":5},{"id":"810c81cb9d7949b29dde70c6b32fcc9a9ff831e1","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 6: Patch Set 5 was rebased.","accounts_in_message":[],"_revision_number":6},{"id":"6812c49242615e20b36d7c1d589c3d1b315bb854","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 7: Patch Set 6 was rebased.","accounts_in_message":[],"_revision_number":7},{"id":"24cd6f964b9dfce7e0667b152a1daededff364fd","author":{"_account_id":1000041,"name":"Ralf Lici","display_name":"Ralf Lici","email":"ralf@mandelbit.com","username":"ralf_lici"},"date":"2026-09-24 12:38:28.000000000","message":"Patch Set 7: Code-Review+1\n\n(1 comment)","accounts_in_message":[],"_revision_number":7},{"id":"b0e3004f255d4b3eb87f71d70a16f0c47242cbc2","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 8.\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":8},{"id":"cb36141c37e399ae05e268096c92c84352cad016","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 9: Patch Set 8 was rebased. Commit message was updated.","accounts_in_message":[],"_revision_number":9},{"id":"cda05b6d7f4e75209708821c6901569764e92d37","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 10: Patch Set 9 was rebased.","accounts_in_message":[],"_revision_number":10},{"id":"37f734b8b8f46e34041292f61390e74ee65a7eba","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":1000008,"name":"Lev Stipakov","display_name":"Lev Stipakov","email":"lstipakov@gmail.com","username":"stipa"},"date":"2026-11-04 14:29:40.000000000","message":"Uploaded patch set 11.","accounts_in_message":[],"_revision_number":11},{"id":"b5891b00bc5c6f60cb632675594ebde79afb42ad","author":{"_account_id":1000053,"name":"Răzvan Cojocaru","display_name":"Razvan Cojocaru","email":"razvanc@mailbox.org","username":"razvanc"},"date":"2026-11-04 15:15:56.000000000","message":"Patch Set 11:\n\n(3 comments)","accounts_in_message":[],"_revision_number":11},{"id":"3699a192e7d7e39a22641a663977050e9f0d5d12","author":{"_account_id":1000008,"name":"Lev Stipakov","display_name":"Lev Stipakov","email":"lstipakov@gmail.com","username":"stipa"},"date":"2026-11-04 15:24:19.000000000","message":"Patch Set 11:\n\n(4 comments)","accounts_in_message":[],"_revision_number":11},{"id":"2f1fc2e17a96219ac085f1af254c101fa1387057","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":1000008,"name":"Lev Stipakov","display_name":"Lev Stipakov","email":"lstipakov@gmail.com","username":"stipa"},"date":"2026-11-04 15:25:30.000000000","message":"Uploaded patch set 12.","accounts_in_message":[],"_revision_number":12},{"id":"02ed7ac4ff2001c41291cc2e1e07694755531e80","author":{"_account_id":1000053,"name":"Răzvan Cojocaru","display_name":"Razvan Cojocaru","email":"razvanc@mailbox.org","username":"razvanc"},"date":"2026-11-04 15:29:14.000000000","message":"Patch Set 12: Code-Review+2","accounts_in_message":[],"_revision_number":12},{"id":"845ab513b554a05919ff58a301d77d4af2bf4277","author":{"_account_id":1000041,"name":"Ralf Lici","display_name":"Ralf Lici","email":"ralf@mandelbit.com","username":"ralf_lici"},"date":"2026-11-04 15:31:04.000000000","message":"Patch Set 12: Code-Review+1","accounts_in_message":[],"_revision_number":12},{"id":"fe3473c1217d0a791a4963de2bd5c54d9252ad36","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":1000008,"name":"Lev Stipakov","display_name":"Lev Stipakov","email":"lstipakov@gmail.com","username":"stipa"},"date":"2026-11-24 15:39:32.000000000","message":"Uploaded patch set 13.\n\nOutdated Votes:\n* Code-Review+1, Code-Review+2 (copy condition: \"changekind:NO_CHANGE OR changekind:TRIVIAL_REBASE OR is:MIN\")\n","accounts_in_message":[],"_revision_number":13},{"id":"57d1cae605249c72421937231ed36d8c1b5e90d9","author":{"_account_id":1000053,"name":"Răzvan Cojocaru","display_name":"Razvan Cojocaru","email":"razvanc@mailbox.org","username":"razvanc"},"date":"2026-11-24 15:48:58.000000000","message":"Patch Set 13: Code-Review+2","accounts_in_message":[],"_revision_number":13},{"id":"8f93d2616ea9c5e016083270b0207b3a89eb4ea0","tag":"autogenerated:gerrit:merged","author":{"_account_id":1000002,"name":"Gert Doering","display_name":"Gert Doering","email":"gert@greenie.muc.de","username":"cron2"},"date":"2026-11-24 19:04:28.000000000","message":"Change has been successfully pushed.","accounts_in_message":[],"_revision_number":14}],"current_revision_number":14,"current_revision":"66ea3e05b6c67cc0438c58140d6ca76be0c315a0","revisions":{"563fb85b2ea27e5d94c6fe80f8ca5d995776eeae":{"kind":"REWORK","_number":1,"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/15/1915/1","fetch":{"anonymous http":{"url":"https://gerrit.openvpn.net/openvpn","ref":"refs/changes/15/1915/1","commands":{"Branch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/15/1915/1 \u0026\u0026 git checkout -b change-1915 FETCH_HEAD","Checkout":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/15/1915/1 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/15/1915/1 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/15/1915/1 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://gerrit.openvpn.net/openvpn refs/changes/15/1915/1","Reset To":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/15/1915/1 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"59fcf447804ec104eda104c0c9fb99db61d40348","subject":"oob: Add probe-result ranking for server selection"}],"author":{"name":"Lev Stipakov","email":"lev@openvpn.net","date":"2026-09-14 12:14:15.000000000","tz":180},"committer":{"name":"Lev Stipakov","email":"lev@openvpn.net","date":"2026-09-14 12:14:15.000000000","tz":180},"subject":"socket: let an optional UDP socket give up on a failed bind","message":"socket: let an optional UDP socket give up on a failed bind\n\ncreate_socket_udp_configured()\u0027s \"optional\" argument covers only the\nsocket() call: socket_bind() is fatal, so a caller that can do without\nthe socket still dies if the address is unavailable.\n\nThat is a problem for --server-probe, which binds a probe socket for\nevery address family in use, while a connection binds only the family of\nthe remote it is about to try. A --lport whose IPv6 port happens to be\ntaken by another process therefore kills a client that would have\nconnected over IPv4.\n\nGive socket_bind() a msglevel and a return value, and let \"optional\"\napply to the bind as well: the socket is closed and SOCKET_UNDEFINED is\nreturned, so the caller can skip that address family. Every existing\ncaller passes M_FATAL and keeps its behaviour.\n\nChange-Id: I24e5925a72aaede53ef9e863fe96fcd7363df402\nSigned-off-by: Lev Stipakov \u003clev@openvpn.net\u003e\n"},"branch":"refs/heads/master"},"f8b56895c8b30e954f0d3a12c95c420a24f8bea8":{"kind":"REWORK","_number":2,"created":"2026-09-15 12:59:19.000000000","uploader":{"_account_id":1000008,"name":"Lev Stipakov","display_name":"Lev Stipakov","email":"lstipakov@gmail.com","username":"stipa"},"ref":"refs/changes/15/1915/2","fetch":{"anonymous http":{"url":"https://gerrit.openvpn.net/openvpn","ref":"refs/changes/15/1915/2","commands":{"Branch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/15/1915/2 \u0026\u0026 git checkout -b change-1915 FETCH_HEAD","Checkout":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/15/1915/2 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/15/1915/2 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/15/1915/2 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://gerrit.openvpn.net/openvpn refs/changes/15/1915/2","Reset To":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/15/1915/2 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"59fcf447804ec104eda104c0c9fb99db61d40348","subject":"oob: Add probe-result ranking for server selection"}],"author":{"name":"Lev Stipakov","email":"lev@openvpn.net","date":"2026-09-14 12:14:15.000000000","tz":180},"committer":{"name":"Lev Stipakov","email":"lev@openvpn.net","date":"2026-09-15 12:18:53.000000000","tz":180},"subject":"socket: let an optional UDP socket give up on a failed bind","message":"socket: let an optional UDP socket give up on a failed bind\n\ncreate_socket_udp_configured()\u0027s \"optional\" argument covers only the\nsocket() call: socket_bind() is fatal, so a caller that can do without\nthe socket still dies if the address is unavailable.\n\nThat is a problem for --server-probe, which binds a probe socket for\nevery address family in use, while a connection binds only the family of\nthe remote it is about to try. A --lport whose IPv6 port happens to be\ntaken by another process therefore kills a client that would have\nconnected over IPv4.\n\nGive socket_bind() a msglevel and a return value, and let \"optional\"\napply to the bind as well: the socket is closed and SOCKET_UNDEFINED is\nreturned, so the caller can skip that address family. Every existing\ncaller passes M_FATAL and keeps its behaviour.\n\nChange-Id: I24e5925a72aaede53ef9e863fe96fcd7363df402\nSigned-off-by: Lev Stipakov \u003clev@openvpn.net\u003e\n"},"branch":"refs/heads/master"},"ee616146a2d951812e3a5608e30626f88a9c0da2":{"kind":"TRIVIAL_REBASE","_number":3,"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/15/1915/3","fetch":{"anonymous http":{"url":"https://gerrit.openvpn.net/openvpn","ref":"refs/changes/15/1915/3","commands":{"Branch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/15/1915/3 \u0026\u0026 git checkout -b change-1915 FETCH_HEAD","Checkout":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/15/1915/3 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/15/1915/3 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/15/1915/3 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://gerrit.openvpn.net/openvpn refs/changes/15/1915/3","Reset To":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/15/1915/3 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"16e2b183c7a230baef16215f37843c2e4cc37788","subject":"oob: Add probe-result ranking for server selection"}],"author":{"name":"Lev Stipakov","email":"lev@openvpn.net","date":"2026-09-14 12:14:15.000000000","tz":180},"committer":{"name":"Lev Stipakov","email":"lev@openvpn.net","date":"2026-09-17 06:52:12.000000000","tz":180},"subject":"socket: let an optional UDP socket give up on a failed bind","message":"socket: let an optional UDP socket give up on a failed bind\n\ncreate_socket_udp_configured()\u0027s \"optional\" argument covers only the\nsocket() call: socket_bind() is fatal, so a caller that can do without\nthe socket still dies if the address is unavailable.\n\nThat is a problem for --server-probe, which binds a probe socket for\nevery address family in use, while a connection binds only the family of\nthe remote it is about to try. A --lport whose IPv6 port happens to be\ntaken by another process therefore kills a client that would have\nconnected over IPv4.\n\nGive socket_bind() a msglevel and a return value, and let \"optional\"\napply to the bind as well: the socket is closed and SOCKET_UNDEFINED is\nreturned, so the caller can skip that address family. Every existing\ncaller passes M_FATAL and keeps its behaviour.\n\nChange-Id: I24e5925a72aaede53ef9e863fe96fcd7363df402\nSigned-off-by: Lev Stipakov \u003clev@openvpn.net\u003e\n"},"branch":"refs/heads/master"},"10bc7e6548619309c5c39c89b43c34d021371f68":{"kind":"TRIVIAL_REBASE","_number":4,"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/15/1915/4","fetch":{"anonymous http":{"url":"https://gerrit.openvpn.net/openvpn","ref":"refs/changes/15/1915/4","commands":{"Branch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/15/1915/4 \u0026\u0026 git checkout -b change-1915 FETCH_HEAD","Checkout":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/15/1915/4 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/15/1915/4 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/15/1915/4 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://gerrit.openvpn.net/openvpn refs/changes/15/1915/4","Reset To":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/15/1915/4 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"1422edb402e4f687bfe3192b8d8f356b94da5919","subject":"oob: Add probe-result ranking for server selection"}],"author":{"name":"Lev Stipakov","email":"lev@openvpn.net","date":"2026-09-14 12:14:15.000000000","tz":180},"committer":{"name":"Lev Stipakov","email":"lev@openvpn.net","date":"2026-09-17 07:54:06.000000000","tz":180},"subject":"socket: let an optional UDP socket give up on a failed bind","message":"socket: let an optional UDP socket give up on a failed bind\n\ncreate_socket_udp_configured()\u0027s \"optional\" argument covers only the\nsocket() call: socket_bind() is fatal, so a caller that can do without\nthe socket still dies if the address is unavailable.\n\nThat is a problem for --server-probe, which binds a probe socket for\nevery address family in use, while a connection binds only the family of\nthe remote it is about to try. A --lport whose IPv6 port happens to be\ntaken by another process therefore kills a client that would have\nconnected over IPv4.\n\nGive socket_bind() a msglevel and a return value, and let \"optional\"\napply to the bind as well: the socket is closed and SOCKET_UNDEFINED is\nreturned, so the caller can skip that address family. Every existing\ncaller passes M_FATAL and keeps its behaviour.\n\nChange-Id: I24e5925a72aaede53ef9e863fe96fcd7363df402\nSigned-off-by: Lev Stipakov \u003clev@openvpn.net\u003e\n"},"branch":"refs/heads/master"},"27f08e12c58e77cb7ab3de7b5571a7d4338a07f0":{"kind":"TRIVIAL_REBASE","_number":5,"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/15/1915/5","fetch":{"anonymous http":{"url":"https://gerrit.openvpn.net/openvpn","ref":"refs/changes/15/1915/5","commands":{"Branch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/15/1915/5 \u0026\u0026 git checkout -b change-1915 FETCH_HEAD","Checkout":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/15/1915/5 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/15/1915/5 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/15/1915/5 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://gerrit.openvpn.net/openvpn refs/changes/15/1915/5","Reset To":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/15/1915/5 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"f033251ac0d6b54e2017d85047d26df9db423eea","subject":"oob: Add probe-result ranking for server selection"}],"author":{"name":"Lev Stipakov","email":"lev@openvpn.net","date":"2026-09-14 12:14:15.000000000","tz":180},"committer":{"name":"Lev Stipakov","email":"lev@openvpn.net","date":"2026-09-17 11:45:24.000000000","tz":180},"subject":"socket: let an optional UDP socket give up on a failed bind","message":"socket: let an optional UDP socket give up on a failed bind\n\ncreate_socket_udp_configured()\u0027s \"optional\" argument covers only the\nsocket() call: socket_bind() is fatal, so a caller that can do without\nthe socket still dies if the address is unavailable.\n\nThat is a problem for --server-probe, which binds a probe socket for\nevery address family in use, while a connection binds only the family of\nthe remote it is about to try. A --lport whose IPv6 port happens to be\ntaken by another process therefore kills a client that would have\nconnected over IPv4.\n\nGive socket_bind() a msglevel and a return value, and let \"optional\"\napply to the bind as well: the socket is closed and SOCKET_UNDEFINED is\nreturned, so the caller can skip that address family. Every existing\ncaller passes M_FATAL and keeps its behaviour.\n\nChange-Id: I24e5925a72aaede53ef9e863fe96fcd7363df402\nSigned-off-by: Lev Stipakov \u003clev@openvpn.net\u003e\n"},"branch":"refs/heads/master"},"e6779f944ef6d34f5b8b52020d4c7b5b72813739":{"kind":"TRIVIAL_REBASE","_number":6,"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/15/1915/6","fetch":{"anonymous http":{"url":"https://gerrit.openvpn.net/openvpn","ref":"refs/changes/15/1915/6","commands":{"Branch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/15/1915/6 \u0026\u0026 git checkout -b change-1915 FETCH_HEAD","Checkout":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/15/1915/6 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/15/1915/6 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/15/1915/6 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://gerrit.openvpn.net/openvpn refs/changes/15/1915/6","Reset To":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/15/1915/6 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"1ea6db7a275b05608d479bc3a2a4f54c20921221","subject":"oob: Add probe-result ranking for server selection"}],"author":{"name":"Lev Stipakov","email":"lev@openvpn.net","date":"2026-09-14 12:14:15.000000000","tz":180},"committer":{"name":"Lev Stipakov","email":"lev@openvpn.net","date":"2026-09-18 08:26:42.000000000","tz":180},"subject":"socket: let an optional UDP socket give up on a failed bind","message":"socket: let an optional UDP socket give up on a failed bind\n\ncreate_socket_udp_configured()\u0027s \"optional\" argument covers only the\nsocket() call: socket_bind() is fatal, so a caller that can do without\nthe socket still dies if the address is unavailable.\n\nThat is a problem for --server-probe, which binds a probe socket for\nevery address family in use, while a connection binds only the family of\nthe remote it is about to try. A --lport whose IPv6 port happens to be\ntaken by another process therefore kills a client that would have\nconnected over IPv4.\n\nGive socket_bind() a msglevel and a return value, and let \"optional\"\napply to the bind as well: the socket is closed and SOCKET_UNDEFINED is\nreturned, so the caller can skip that address family. Every existing\ncaller passes M_FATAL and keeps its behaviour.\n\nChange-Id: I24e5925a72aaede53ef9e863fe96fcd7363df402\nSigned-off-by: Lev Stipakov \u003clev@openvpn.net\u003e\n"},"branch":"refs/heads/master"},"6d7faf037d7a3bc4be7c9e35649add2ec6d01e39":{"kind":"TRIVIAL_REBASE","_number":7,"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/15/1915/7","fetch":{"anonymous http":{"url":"https://gerrit.openvpn.net/openvpn","ref":"refs/changes/15/1915/7","commands":{"Branch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/15/1915/7 \u0026\u0026 git checkout -b change-1915 FETCH_HEAD","Checkout":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/15/1915/7 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/15/1915/7 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/15/1915/7 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://gerrit.openvpn.net/openvpn refs/changes/15/1915/7","Reset To":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/15/1915/7 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"3261272601348af46db4b111455b5e417c79139d","subject":"oob: Add probe-result ranking for server selection"}],"author":{"name":"Lev Stipakov","email":"lev@openvpn.net","date":"2026-09-14 12:14:15.000000000","tz":180},"committer":{"name":"Lev Stipakov","email":"lev@openvpn.net","date":"2026-09-18 12:45:02.000000000","tz":180},"subject":"socket: let an optional UDP socket give up on a failed bind","message":"socket: let an optional UDP socket give up on a failed bind\n\ncreate_socket_udp_configured()\u0027s \"optional\" argument covers only the\nsocket() call: socket_bind() is fatal, so a caller that can do without\nthe socket still dies if the address is unavailable.\n\nThat is a problem for --server-probe, which binds a probe socket for\nevery address family in use, while a connection binds only the family of\nthe remote it is about to try. A --lport whose IPv6 port happens to be\ntaken by another process therefore kills a client that would have\nconnected over IPv4.\n\nGive socket_bind() a msglevel and a return value, and let \"optional\"\napply to the bind as well: the socket is closed and SOCKET_UNDEFINED is\nreturned, so the caller can skip that address family. Every existing\ncaller passes M_FATAL and keeps its behaviour.\n\nChange-Id: I24e5925a72aaede53ef9e863fe96fcd7363df402\nSigned-off-by: Lev Stipakov \u003clev@openvpn.net\u003e\n"},"branch":"refs/heads/master"},"60955fa2850644ef36cf46527b2b44f5fa2c5a48":{"kind":"REWORK","_number":8,"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/15/1915/8","fetch":{"anonymous http":{"url":"https://gerrit.openvpn.net/openvpn","ref":"refs/changes/15/1915/8","commands":{"Branch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/15/1915/8 \u0026\u0026 git checkout -b change-1915 FETCH_HEAD","Checkout":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/15/1915/8 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/15/1915/8 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/15/1915/8 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://gerrit.openvpn.net/openvpn refs/changes/15/1915/8","Reset To":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/15/1915/8 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"ef2dda6b6946c457b100dad25d990b27fa2b2387","subject":"oob: Add probe-result ranking for server selection"}],"author":{"name":"Lev Stipakov","email":"lev@openvpn.net","date":"2026-09-14 12:14:15.000000000","tz":180},"committer":{"name":"Lev Stipakov","email":"lev@openvpn.net","date":"2026-09-29 13:05:05.000000000","tz":180},"subject":"socket: Let an optional UDP socket give up on a failed bind","message":"socket: Let an optional UDP socket give up on a failed bind\n\ncreate_socket_udp_configured()\u0027s \"optional\" argument covers only the\nsocket() call: socket_bind() is fatal, so a caller that can do without\nthe socket still dies if the address is unavailable.\n\nThat is a problem for the upcoming --server-probe, which binds a probe\nsocket for every address family in use, while a connection binds only\nthe family of the remote it is about to try. A --lport whose IPv6 port\nhappens to be taken by another process would therefore kill a client\nthat could have connected over IPv4.\n\nGive socket_bind() a msglevel and a return value, and let \"optional\"\napply to the bind as well: the socket is closed and SOCKET_UNDEFINED is\nreturned, so the caller can skip that address family. Every existing\ncaller passes M_FATAL and keeps its behaviour.\n\nChange-Id: I24e5925a72aaede53ef9e863fe96fcd7363df402\nSigned-off-by: Lev Stipakov \u003clev@openvpn.net\u003e\n"},"branch":"refs/heads/master"},"840214a21d0e2ef481177e118f9371c18f8def29":{"kind":"TRIVIAL_REBASE_WITH_MESSAGE_UPDATE","_number":9,"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/15/1915/9","fetch":{"anonymous http":{"url":"https://gerrit.openvpn.net/openvpn","ref":"refs/changes/15/1915/9","commands":{"Branch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/15/1915/9 \u0026\u0026 git checkout -b change-1915 FETCH_HEAD","Checkout":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/15/1915/9 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/15/1915/9 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/15/1915/9 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://gerrit.openvpn.net/openvpn refs/changes/15/1915/9","Reset To":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/15/1915/9 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"73cd070e6d71f9fa3d12a5d0b17a1a737018463b","subject":"oob: Add probe-result ranking for server selection"}],"author":{"name":"Lev Stipakov","email":"lev@openvpn.net","date":"2026-09-14 12:14:15.000000000","tz":180},"committer":{"name":"Lev Stipakov","email":"lev@openvpn.net","date":"2026-09-30 08:13:01.000000000","tz":180},"subject":"socket: Let an optional UDP socket give up on a failed bind","message":"socket: Let an optional UDP socket give up on a failed bind\n\ncreate_socket_udp_configured()\u0027s \"optional\" argument covers only the\nsocket() call: socket_bind() is fatal, so a caller that can do without\nthe socket still dies if the address is unavailable.\n\nThat is a problem for the upcoming --server-probe, which binds a probe\nsocket for every address family in use, while a connection binds only\nthe family of the remote it is about to try. A --lport whose IPv6 port\nhappens to be taken by another process would therefore kill a client\nthat could have connected over IPv4.\n\nGive socket_bind() a msglevel and a return value, and let \"optional\"\napply to the bind as well: the socket is closed and SOCKET_UNDEFINED is\nreturned, so the caller can skip that address family. Every existing\ncaller passes M_FATAL and keeps its behaviour.\n\nChange-Id: I24e5925a72aaede53ef9e863fe96fcd7363df402\nSigned-off-by: Lev Stipakov \u003clev@openvpn.net\u003e\n\n"},"branch":"refs/heads/master"},"6dc1baf0b934054476575edfb69fd377ed6d11d7":{"kind":"TRIVIAL_REBASE","_number":10,"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/15/1915/10","fetch":{"anonymous http":{"url":"https://gerrit.openvpn.net/openvpn","ref":"refs/changes/15/1915/10","commands":{"Branch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/15/1915/10 \u0026\u0026 git checkout -b change-1915 FETCH_HEAD","Checkout":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/15/1915/10 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/15/1915/10 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/15/1915/10 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://gerrit.openvpn.net/openvpn refs/changes/15/1915/10","Reset To":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/15/1915/10 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"c806740427b46f4abeb2bf59e7b2b96c0bea571d","subject":"oob: Add probe-result ranking for server selection"}],"author":{"name":"Lev Stipakov","email":"lev@openvpn.net","date":"2026-09-14 12:14:15.000000000","tz":180},"committer":{"name":"Lev Stipakov","email":"lev@openvpn.net","date":"2026-09-30 18:15:02.000000000","tz":180},"subject":"socket: Let an optional UDP socket give up on a failed bind","message":"socket: Let an optional UDP socket give up on a failed bind\n\ncreate_socket_udp_configured()\u0027s \"optional\" argument covers only the\nsocket() call: socket_bind() is fatal, so a caller that can do without\nthe socket still dies if the address is unavailable.\n\nThat is a problem for the upcoming --server-probe, which binds a probe\nsocket for every address family in use, while a connection binds only\nthe family of the remote it is about to try. A --lport whose IPv6 port\nhappens to be taken by another process would therefore kill a client\nthat could have connected over IPv4.\n\nGive socket_bind() a msglevel and a return value, and let \"optional\"\napply to the bind as well: the socket is closed and SOCKET_UNDEFINED is\nreturned, so the caller can skip that address family. Every existing\ncaller passes M_FATAL and keeps its behaviour.\n\nChange-Id: I24e5925a72aaede53ef9e863fe96fcd7363df402\nSigned-off-by: Lev Stipakov \u003clev@openvpn.net\u003e\n\n"},"branch":"refs/heads/master"},"784196dabfe07410b20b9197bd46d58894aef69e":{"kind":"REWORK","_number":11,"created":"2026-11-04 14:29:40.000000000","uploader":{"_account_id":1000008,"name":"Lev Stipakov","display_name":"Lev Stipakov","email":"lstipakov@gmail.com","username":"stipa"},"ref":"refs/changes/15/1915/11","fetch":{"anonymous http":{"url":"https://gerrit.openvpn.net/openvpn","ref":"refs/changes/15/1915/11","commands":{"Branch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/15/1915/11 \u0026\u0026 git checkout -b change-1915 FETCH_HEAD","Checkout":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/15/1915/11 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/15/1915/11 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/15/1915/11 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://gerrit.openvpn.net/openvpn refs/changes/15/1915/11","Reset To":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/15/1915/11 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"0200c99493db3dbf9e8a7c15c90fbaf7b6e956e5","subject":"init: Extract init_tls_wrap_ctx() control-channel wrap helper"}],"author":{"name":"Lev Stipakov","email":"lev@openvpn.net","date":"2026-09-14 12:14:15.000000000","tz":180},"committer":{"name":"Lev Stipakov","email":"lev@openvpn.net","date":"2026-11-04 14:03:15.000000000","tz":120},"subject":"socket: Let an optional UDP socket give up on a failed bind","message":"socket: Let an optional UDP socket give up on a failed bind\n\ncreate_socket_udp_configured()\u0027s \"optional\" argument covers only the\nsocket() call: socket_bind() is fatal, so a caller that can do without\nthe socket still dies if the address is unavailable.\n\nThat is a problem for the upcoming --server-probe, which binds a probe\nsocket for every address family in use, while a connection binds only\nthe family of the remote it is about to try. A --lport whose IPv6 port\nhappens to be taken by another process would therefore kill a client\nthat could have connected over IPv4.\n\nGive socket_bind() a msglevel and a return value, and let \"optional\"\napply to the bind as well: the socket is closed and SOCKET_UNDEFINED is\nreturned, so the caller can skip that address family. Every existing\ncaller passes M_FATAL and keeps its behaviour.\n\nChange-Id: I24e5925a72aaede53ef9e863fe96fcd7363df402\nSigned-off-by: Lev Stipakov \u003clev@openvpn.net\u003e\n"},"branch":"refs/heads/master"},"07c096a514de967e7fda4329f129d42478f3ac58":{"kind":"REWORK","_number":12,"created":"2026-11-04 15:25:30.000000000","uploader":{"_account_id":1000008,"name":"Lev Stipakov","display_name":"Lev Stipakov","email":"lstipakov@gmail.com","username":"stipa"},"ref":"refs/changes/15/1915/12","fetch":{"anonymous http":{"url":"https://gerrit.openvpn.net/openvpn","ref":"refs/changes/15/1915/12","commands":{"Branch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/15/1915/12 \u0026\u0026 git checkout -b change-1915 FETCH_HEAD","Checkout":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/15/1915/12 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/15/1915/12 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/15/1915/12 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://gerrit.openvpn.net/openvpn refs/changes/15/1915/12","Reset To":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/15/1915/12 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"f1721dc7c1c0eb7e257ec557d86e7ec38599586a","subject":"crypto_epoch: wipe key material with secure_memzero()"}],"author":{"name":"Lev Stipakov","email":"lev@openvpn.net","date":"2026-09-14 12:14:15.000000000","tz":180},"committer":{"name":"Lev Stipakov","email":"lev@openvpn.net","date":"2026-11-04 15:16:14.000000000","tz":120},"subject":"socket: Let an optional UDP socket give up on a failed bind","message":"socket: Let an optional UDP socket give up on a failed bind\n\ncreate_socket_udp_configured()\u0027s \"optional\" argument covers only the\nsocket() call: socket_bind() is fatal, so a caller that can do without\nthe socket still dies if the address is unavailable.\n\nThat is a problem for the upcoming --server-probe, which binds a probe\nsocket for every address family in use, while a connection binds only\nthe family of the remote it is about to try. A --lport whose IPv6 port\nhappens to be taken by another process would therefore kill a client\nthat could have connected over IPv4.\n\nGive socket_bind() a msglevel and a return value, and let \"optional\"\napply to the bind as well: the socket is closed and SOCKET_UNDEFINED is\nreturned, so the caller can skip that address family. Every existing\ncaller passes M_FATAL and keeps its behaviour.\n\nThe failure message now reports the address that was actually bound,\ncur, rather than the head of the list, local, which may belong to a\ndifferent address family. Until now that message was always followed by\na fatal exit; with an optional bind it is printed while the client\ncarries on, so it needs to name the right address.\n\nChange-Id: I24e5925a72aaede53ef9e863fe96fcd7363df402\nSigned-off-by: Lev Stipakov \u003clev@openvpn.net\u003e\n"},"branch":"refs/heads/master"},"ccd026cbe43b2526a79ee823cd93672b5a74a1d0":{"kind":"REWORK","_number":13,"created":"2026-11-24 15:39:32.000000000","uploader":{"_account_id":1000008,"name":"Lev Stipakov","display_name":"Lev Stipakov","email":"lstipakov@gmail.com","username":"stipa"},"ref":"refs/changes/15/1915/13","fetch":{"anonymous http":{"url":"https://gerrit.openvpn.net/openvpn","ref":"refs/changes/15/1915/13","commands":{"Branch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/15/1915/13 \u0026\u0026 git checkout -b change-1915 FETCH_HEAD","Checkout":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/15/1915/13 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/15/1915/13 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/15/1915/13 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://gerrit.openvpn.net/openvpn refs/changes/15/1915/13","Reset To":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/15/1915/13 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"d159055ede16e322548e46d154523e2fc31ccf74","subject":"options: let the interactive service add routes again"}],"author":{"name":"Lev Stipakov","email":"lev@openvpn.net","date":"2026-09-14 12:14:15.000000000","tz":180},"committer":{"name":"Lev Stipakov","email":"lev@openvpn.net","date":"2026-11-24 15:37:52.000000000","tz":120},"subject":"socket: Let an optional UDP socket give up on a failed bind","message":"socket: Let an optional UDP socket give up on a failed bind\n\ncreate_socket_udp_configured()\u0027s \"optional\" argument covers only the\nsocket() call: socket_bind() is fatal, so a caller that can do without\nthe socket still dies if the address is unavailable.\n\nThat is a problem for the upcoming --server-probe, which binds a probe\nsocket for every address family in use, while a connection binds only\nthe family of the remote it is about to try. A --lport whose IPv6 port\nhappens to be taken by another process would therefore kill a client\nthat could have connected over IPv4.\n\nGive socket_bind() a msglevel and a return value, and let \"optional\"\napply to the bind as well: the socket is closed and SOCKET_UNDEFINED is\nreturned, so the caller can skip that address family. Every existing\ncaller passes M_FATAL and keeps its behaviour. With more than one return\npath the gc arena no longer belongs at the top of the function, so it\nmoves into the bind failure, the only branch that formats an address.\n\nThe failure message now reports the address that was actually bound,\ncur, rather than the head of the list, local, which may belong to a\ndifferent address family. Until now that message was always followed by\na fatal exit; with an optional bind it is printed while the client\ncarries on, so it needs to name the right address.\n\nChange-Id: I24e5925a72aaede53ef9e863fe96fcd7363df402\nSigned-off-by: Lev Stipakov \u003clev@openvpn.net\u003e\n"},"branch":"refs/heads/master"},"66ea3e05b6c67cc0438c58140d6ca76be0c315a0":{"kind":"TRIVIAL_REBASE_WITH_MESSAGE_UPDATE","_number":14,"created":"2026-11-24 19:04:28.000000000","uploader":{"_account_id":1000002,"name":"Gert Doering","display_name":"Gert Doering","email":"gert@greenie.muc.de","username":"cron2"},"ref":"refs/changes/15/1915/14","fetch":{"anonymous http":{"url":"https://gerrit.openvpn.net/openvpn","ref":"refs/changes/15/1915/14","commands":{"Branch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/15/1915/14 \u0026\u0026 git checkout -b change-1915 FETCH_HEAD","Checkout":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/15/1915/14 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/15/1915/14 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/15/1915/14 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://gerrit.openvpn.net/openvpn refs/changes/15/1915/14","Reset To":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/15/1915/14 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"a8b521fddb1f35d045db6834b542a8201867b7c2","subject":"init: Extract init_tls_wrap_ctx() control-channel wrap helper"}],"author":{"name":"Lev Stipakov","email":"lev@openvpn.net","date":"2026-11-24 16:25:50.000000000","tz":60},"committer":{"name":"Gert Doering","email":"gert@greenie.muc.de","date":"2026-11-24 19:00:22.000000000","tz":60},"subject":"socket: Let an optional UDP socket give up on a failed bind","message":"socket: Let an optional UDP socket give up on a failed bind\n\ncreate_socket_udp_configured()\u0027s \"optional\" argument covers only the\nsocket() call: socket_bind() is fatal, so a caller that can do without\nthe socket still dies if the address is unavailable.\n\nThat is a problem for the upcoming --server-probe, which binds a probe\nsocket for every address family in use, while a connection binds only\nthe family of the remote it is about to try. A --lport whose IPv6 port\nhappens to be taken by another process would therefore kill a client\nthat could have connected over IPv4.\n\nGive socket_bind() a msglevel and a return value, and let \"optional\"\napply to the bind as well: the socket is closed and SOCKET_UNDEFINED is\nreturned, so the caller can skip that address family. Every existing\ncaller passes M_FATAL and keeps its behaviour. With more than one return\npath the gc arena no longer belongs at the top of the function, so it\nmoves into the bind failure, the only branch that formats an address.\n\nThe failure message now reports the address that was actually bound,\ncur, rather than the head of the list, local, which may belong to a\ndifferent address family. Until now that message was always followed by\na fatal exit; with an optional bind it is printed while the client\ncarries on, so it needs to name the right address.\n\nChange-Id: I24e5925a72aaede53ef9e863fe96fcd7363df402\nSigned-off-by: Lev Stipakov \u003clev@openvpn.net\u003e\nAcked-by: Razvan Cojocaru \u003crazvanc@mailbox.org\u003e\nGerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1915\nMessage-Id: \u003c20261124162555.722-1-gert@greenie.muc.de\u003e\nURL: https://lore.kernel.org/openvpn-devel/20261124162555.722-1-gert@greenie.muc.de\nSigned-off-by: Gert Doering \u003cgert@greenie.muc.de\u003e\n"},"branch":"refs/heads/master"}},"requirements":[],"submit_records":[]}
