)]}'
{"id":"openvpn~2408","triplet_id":"openvpn~master~Ie0f44579359d735c9a903185024f1cfb1e976dcf","project":"openvpn","branch":"master","full_branch":"refs/heads/master","topic":"fix-ssl-ncp-match-iv-ciphers-and-iv-comp-stubv2-only","attention_set":{"1000003":{"account":{"_account_id":1000003,"name":"Arne Schwabe","display_name":"Arne Schwabe","email":"arne-openvpn@rfc2549.org","username":"plaisthos"},"last_update":"2026-12-03 23:34:51.000000000","reason":"Reviewer was added"}},"removed_from_attention_set":{},"hashtags":[],"change_id":"Ie0f44579359d735c9a903185024f1cfb1e976dcf","subject":"ssl_ncp: match IV_CIPHERS and IV_COMP_STUBv2 only at the start of a line","status":"NEW","created":"2026-12-03 23:34:51.000000000","updated":"2026-12-03 23:34:51.000000000","submit_type":"CHERRY_PICK","total_comment_count":0,"unresolved_comment_count":0,"has_review_started":true,"meta_rev_id":"5976ac0cdb141f83346a897f1b568124dadbc9f9","_number":2408,"virtual_id_number":2408,"owner":{"_account_id":1000075,"name":"Nexory","email":"NexoryOSS@gmail.com","username":"Nexory"},"actions":{},"labels":{"Code-Review":{"all":[{"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":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"}],"CC":[{"_account_id":1000026,"name":"openvpn-devel","email":"openvpn-devel@lists.sourceforge.net","username":"openvpn-devel"}]},"pending_reviewers":{},"reviewer_updates":[{"updated":"2026-12-03 23:34:51.000000000","updated_by":{"_account_id":1000075,"name":"Nexory","email":"NexoryOSS@gmail.com","username":"Nexory"},"real_updated_by":{"_account_id":1000075,"name":"Nexory","email":"NexoryOSS@gmail.com","username":"Nexory"},"reviewer":{"_account_id":1000026,"name":"openvpn-devel","email":"openvpn-devel@lists.sourceforge.net","username":"openvpn-devel"},"state":"CC"},{"updated":"2026-12-03 23:34:51.000000000","updated_by":{"_account_id":1000075,"name":"Nexory","email":"NexoryOSS@gmail.com","username":"Nexory"},"real_updated_by":{"_account_id":1000075,"name":"Nexory","email":"NexoryOSS@gmail.com","username":"Nexory"},"reviewer":{"_account_id":1000003,"name":"Arne Schwabe","display_name":"Arne Schwabe","email":"arne-openvpn@rfc2549.org","username":"plaisthos"},"state":"REVIEWER"}],"messages":[{"id":"df388f1779143a26154f466a1c29808b49356449","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":1000075,"name":"Nexory","email":"NexoryOSS@gmail.com","username":"Nexory"},"date":"2026-12-03 23:34:51.000000000","message":"Uploaded patch set 1.","accounts_in_message":[],"_revision_number":1}],"current_revision_number":1,"current_revision":"3330752a340b2f1a005169cb59cfc01c310fe9e2","revisions":{"3330752a340b2f1a005169cb59cfc01c310fe9e2":{"kind":"REWORK","_number":1,"created":"2026-12-03 23:34:51.000000000","uploader":{"_account_id":1000075,"name":"Nexory","email":"NexoryOSS@gmail.com","username":"Nexory"},"ref":"refs/changes/08/2408/1","fetch":{"anonymous http":{"url":"https://gerrit.openvpn.net/openvpn","ref":"refs/changes/08/2408/1","commands":{"Branch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/08/2408/1 \u0026\u0026 git checkout -b change-2408 FETCH_HEAD","Checkout":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/08/2408/1 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/08/2408/1 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/08/2408/1 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://gerrit.openvpn.net/openvpn refs/changes/08/2408/1","Reset To":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/08/2408/1 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"d8da832e5bd899b7be59b95f1db511d70b492cfb","subject":"forward: drop datagrams from an unspecified source address"}],"author":{"name":"Nexory","email":"St4yl3r30@hotmail.de","date":"2026-12-02 18:55:04.000000000","tz":60},"committer":{"name":"Nexory","email":"St4yl3r30@hotmail.de","date":"2026-12-03 23:34:34.000000000","tz":60},"subject":"ssl_ncp: match IV_CIPHERS and IV_COMP_STUBv2 only at the start of a line","message":"ssl_ncp: match IV_CIPHERS and IV_COMP_STUBv2 only at the start of a line\n\nCommit 06ced3fd made the peer info helpers look for a variable only at\nthe start of a line, so that UV_IV_NCP is no longer taken for IV_NCP.\nThree checks still run strstr() over the whole peer info:\ntls_peer_supports_ncp() and ncp_get_best_cipher() for \"IV_CIPHERS\u003d\"\nand multi_client_connect_compress_migrate() for \"IV_COMP_STUBv2\u003d1\".\nThey also match UV_IV_CIPHERS\u003d... and the value of any other variable\nthat contains the string.\n\nIn ncp_get_best_cipher() the check disagrees with tls_peer_ncp_list()\na few lines above it. For a client that sends UV_IV_CIPHERS without\nIV_CIPHERS or IV_NCP\u003d2 the cipher list is empty, but the OCC cipher is\nignored as well, so the function returns NULL even if that cipher is\nin --data-ciphers.\n\nAdd peer_info_has_var() for the two IV_CIPHERS checks and read\nIV_COMP_STUBv2 with peer_info_extract_uint().\n\nChange-Id: Ie0f44579359d735c9a903185024f1cfb1e976dcf\nSigned-off-by: Nexory \u003cSt4yl3r30@hotmail.de\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"}]}]}
