)]}'
{"id":"openvpn~2074","triplet_id":"openvpn~master~I70ebdadd660e41b40ed53f4238be6885f0a7bb8b","project":"openvpn","branch":"master","full_branch":"refs/heads/master","attention_set":{},"removed_from_attention_set":{"1000053":{"account":{"_account_id":1000053,"name":"Răzvan Cojocaru","display_name":"Razvan Cojocaru","email":"razvanc@mailbox.org","username":"razvanc"},"last_update":"2026-10-31 13:06:53.000000000","reason":"\u003cGERRIT_ACCOUNT_1000053\u003e replied on the change","reason_account":{"_account_id":1000053,"name":"Răzvan Cojocaru","display_name":"Razvan Cojocaru","email":"razvanc@mailbox.org","username":"razvanc"}},"1000003":{"account":{"_account_id":1000003,"name":"Arne Schwabe","display_name":"Arne Schwabe","email":"arne-openvpn@rfc2549.org","username":"plaisthos"},"last_update":"2026-10-31 14:04:38.000000000","reason":"\u003cGERRIT_ACCOUNT_1000003\u003e replied on the change","reason_account":{"_account_id":1000003,"name":"Arne Schwabe","display_name":"Arne Schwabe","email":"arne-openvpn@rfc2549.org","username":"plaisthos"}},"1000002":{"account":{"_account_id":1000002,"name":"Gert Doering","display_name":"Gert Doering","email":"gert@greenie.muc.de","username":"cron2"},"last_update":"2026-11-02 21:51:31.000000000","reason":"Change was submitted"}},"hashtags":[],"change_id":"I70ebdadd660e41b40ed53f4238be6885f0a7bb8b","subject":"port-share: do not write journal file through symlinks or hardlinks","status":"MERGED","created":"2026-10-31 12:41:11.000000000","updated":"2026-11-02 21:51:31.000000000","submitted":"2026-11-02 21:51:31.000000000","submitter":{"_account_id":1000002,"name":"Gert Doering","display_name":"Gert Doering","email":"gert@greenie.muc.de","username":"cron2"},"total_comment_count":4,"unresolved_comment_count":1,"has_review_started":true,"submission_id":"2080","meta_rev_id":"83f80f6500bee959d005b03d0d30da0d4e7b1802","_number":2074,"virtual_id_number":2074,"owner":{"_account_id":1000002,"name":"Gert Doering","display_name":"Gert Doering","email":"gert@greenie.muc.de","username":"cron2"},"actions":{},"labels":{"Code-Review":{"all":[{"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":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-10-31 12:41:11.000000000","updated_by":{"_account_id":1000002,"name":"Gert Doering","display_name":"Gert Doering","email":"gert@greenie.muc.de","username":"cron2"},"real_updated_by":{"_account_id":1000002,"name":"Gert Doering","display_name":"Gert Doering","email":"gert@greenie.muc.de","username":"cron2"},"reviewer":{"_account_id":1000026,"name":"openvpn-devel","email":"openvpn-devel@lists.sourceforge.net","username":"openvpn-devel"},"state":"CC"},{"updated":"2026-10-31 12:41:11.000000000","updated_by":{"_account_id":1000002,"name":"Gert Doering","display_name":"Gert Doering","email":"gert@greenie.muc.de","username":"cron2"},"real_updated_by":{"_account_id":1000002,"name":"Gert Doering","display_name":"Gert Doering","email":"gert@greenie.muc.de","username":"cron2"},"reviewer":{"_account_id":1000003,"name":"Arne Schwabe","display_name":"Arne Schwabe","email":"arne-openvpn@rfc2549.org","username":"plaisthos"},"state":"REVIEWER"},{"updated":"2026-10-31 12:52:47.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-02 09:36:36.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":"c89dfce40d0d18e1dbe37b10b278af2e94bdf945","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":1000002,"name":"Gert Doering","display_name":"Gert Doering","email":"gert@greenie.muc.de","username":"cron2"},"date":"2026-10-31 12:41:11.000000000","message":"Uploaded patch set 1.","accounts_in_message":[],"_revision_number":1},{"id":"b6d947f1ab4aecf97af446405241fcd16920a752","author":{"_account_id":1000053,"name":"Răzvan Cojocaru","display_name":"Razvan Cojocaru","email":"razvanc@mailbox.org","username":"razvanc"},"date":"2026-10-31 12:52:47.000000000","message":"Patch Set 1:\n\n(1 comment)","accounts_in_message":[],"_revision_number":1},{"id":"7a9e1b570d37bce92898c0e253ae1cff2cdd1ff6","author":{"_account_id":1000002,"name":"Gert Doering","display_name":"Gert Doering","email":"gert@greenie.muc.de","username":"cron2"},"date":"2026-10-31 12:58:36.000000000","message":"Patch Set 1:\n\n(1 comment)","accounts_in_message":[],"_revision_number":1},{"id":"c2502b2dadb6cf44b857cc8907c62cc6f39ff6d2","author":{"_account_id":1000053,"name":"Răzvan Cojocaru","display_name":"Razvan Cojocaru","email":"razvanc@mailbox.org","username":"razvanc"},"date":"2026-10-31 13:06:53.000000000","message":"Patch Set 1:\n\n(1 comment)","accounts_in_message":[],"_revision_number":1},{"id":"8226e172ffabbb385367d3984816ccc107e71507","author":{"_account_id":1000003,"name":"Arne Schwabe","display_name":"Arne Schwabe","email":"arne-openvpn@rfc2549.org","username":"plaisthos"},"date":"2026-10-31 14:04:38.000000000","message":"Patch Set 1:\n\n(1 comment)","accounts_in_message":[],"_revision_number":1},{"id":"6769f077f4eea6b4aa4bbe56fb3e76df998751f9","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":1000002,"name":"Gert Doering","display_name":"Gert Doering","email":"gert@greenie.muc.de","username":"cron2"},"date":"2026-11-02 09:31:26.000000000","message":"Uploaded patch set 2.","accounts_in_message":[],"_revision_number":2},{"id":"9e36c1d2c5a4681fe27f0669fd5009e89bbaa5c6","author":{"_account_id":1000053,"name":"Răzvan Cojocaru","display_name":"Razvan Cojocaru","email":"razvanc@mailbox.org","username":"razvanc"},"date":"2026-11-02 09:36:36.000000000","message":"Patch Set 2: Code-Review+2","accounts_in_message":[],"_revision_number":2},{"id":"83f80f6500bee959d005b03d0d30da0d4e7b1802","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-02 21:51:31.000000000","message":"Change has been successfully pushed.","accounts_in_message":[],"_revision_number":3}],"current_revision_number":3,"current_revision":"24946176aed52c23c52c956df43fd052c232f652","revisions":{"c8572113a1bc19f64d5e09a9e1d362e87611c823":{"kind":"REWORK","_number":1,"created":"2026-10-31 12:41:11.000000000","uploader":{"_account_id":1000002,"name":"Gert Doering","display_name":"Gert Doering","email":"gert@greenie.muc.de","username":"cron2"},"ref":"refs/changes/74/2074/1","fetch":{"anonymous http":{"url":"https://gerrit.openvpn.net/openvpn","ref":"refs/changes/74/2074/1","commands":{"Branch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/74/2074/1 \u0026\u0026 git checkout -b change-2074 FETCH_HEAD","Checkout":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/74/2074/1 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/74/2074/1 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/74/2074/1 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://gerrit.openvpn.net/openvpn refs/changes/74/2074/1","Reset To":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/74/2074/1 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"2115ebfacd6190fec4a872de060233b6497da337","subject":"interactive: validate message size for dns/nrpt/wins handlers"}],"author":{"name":"Naveed Khan","email":"dxbnaveed.k@gmail.com","date":"2026-10-15 16:50:39.000000000","tz":330},"committer":{"name":"Gert Doering","email":"gert@greenie.muc.de","date":"2026-10-31 12:39:06.000000000","tz":60},"subject":"port-share: do not follow symlinks when writing journal file","message":"port-share: do not follow symlinks when writing journal file\n\njournal_add() creates \u003cjournal dir\u003e/\u003clocal ip:port\u003e with\nO_CREAT | O_TRUNC and writes the remote client\u0027s address into it.\nThe name is predictable (the proxy connection\u0027s ephemeral local port)\nand the write is triggered by any TCP client sending non-OpenVPN data\nto the shared port. Anyone who can create entries in the journal\ndirectory can therefore plant symlinks and have the port-share process,\nwhich runs as root unless --user is used, truncate and overwrite an\narbitrary file with the client address.\n\nThe journal file is always a regular file that we create ourselves, so\nrefuse to follow a symlink when opening it.\n\nGithub: closes OpenVPN/openvpn#1124\nChange-Id: I70ebdadd660e41b40ed53f4238be6885f0a7bb8b\nSigned-off-by: Naveed Khan \u003cdxbnaveed.k@gmail.com\u003e\n"},"branch":"refs/heads/master"},"68c131725ae43bf4138fe6b46f9bbe17cd1a26be":{"kind":"REWORK","_number":2,"created":"2026-11-02 09:31:26.000000000","uploader":{"_account_id":1000002,"name":"Gert Doering","display_name":"Gert Doering","email":"gert@greenie.muc.de","username":"cron2"},"ref":"refs/changes/74/2074/2","fetch":{"anonymous http":{"url":"https://gerrit.openvpn.net/openvpn","ref":"refs/changes/74/2074/2","commands":{"Branch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/74/2074/2 \u0026\u0026 git checkout -b change-2074 FETCH_HEAD","Checkout":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/74/2074/2 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/74/2074/2 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/74/2074/2 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://gerrit.openvpn.net/openvpn refs/changes/74/2074/2","Reset To":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/74/2074/2 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"5f28589175a1cda2f5bf675e93655db229cb4116","subject":"cmake: don\u0027t prefix the event message DLL with lib"}],"author":{"name":"Naveed Khan","email":"dxbnaveed.k@gmail.com","date":"2026-10-15 16:50:39.000000000","tz":330},"committer":{"name":"Gert Doering","email":"gert@greenie.muc.de","date":"2026-11-02 09:31:12.000000000","tz":60},"subject":"port-share: do not write journal file through symlinks or hardlinks","message":"port-share: do not write journal file through symlinks or hardlinks\n\njournal_add() creates \u003cjournal dir\u003e/\u003clocal ip:port\u003e with\nO_CREAT | O_TRUNC and writes the remote client\u0027s address into it.\nThe name is predictable (the proxy connection\u0027s ephemeral local port)\nand the write is triggered by any TCP client sending non-OpenVPN data\nto the shared port. Anyone who can create entries in the journal\ndirectory can therefore plant symlinks or hardlinks and have the\nport-share process, which runs as root unless --user is used, truncate\nand overwrite an arbitrary file with the client address.\n\nCreate the journal file with O_EXCL | O_NOFOLLOW instead. Entries are\nremoved as soon as the proxied connection is closed, so an existing\nentry is either a leftover from a proxy process that exited without\ncleaning up, or something planted. Unlink it and retry the exclusive\ncreate once, which keeps the old behavior of replacing stale entries.\n\nAlso document that the journal directory must not be writable by other\nusers.\n\nGithub: closes OpenVPN/openvpn#1124\nChange-Id: I70ebdadd660e41b40ed53f4238be6885f0a7bb8b\nSigned-off-by: Naveed Khan \u003cdxbnaveed.k@gmail.com\u003e\n"},"branch":"refs/heads/master"},"24946176aed52c23c52c956df43fd052c232f652":{"kind":"TRIVIAL_REBASE_WITH_MESSAGE_UPDATE","_number":3,"created":"2026-11-02 21:51:31.000000000","uploader":{"_account_id":1000002,"name":"Gert Doering","display_name":"Gert Doering","email":"gert@greenie.muc.de","username":"cron2"},"ref":"refs/changes/74/2074/3","fetch":{"anonymous http":{"url":"https://gerrit.openvpn.net/openvpn","ref":"refs/changes/74/2074/3","commands":{"Branch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/74/2074/3 \u0026\u0026 git checkout -b change-2074 FETCH_HEAD","Checkout":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/74/2074/3 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/74/2074/3 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/74/2074/3 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://gerrit.openvpn.net/openvpn refs/changes/74/2074/3","Reset To":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/74/2074/3 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"b6cfa6924986c5371097b09034e25878a1868ee4","subject":"Clean up weak key check"}],"author":{"name":"Naveed Khan","email":"dxbnaveed.k@gmail.com","date":"2026-11-02 09:38:27.000000000","tz":60},"committer":{"name":"Gert Doering","email":"gert@greenie.muc.de","date":"2026-11-02 21:44:34.000000000","tz":60},"subject":"port-share: do not write journal file through symlinks or hardlinks","message":"port-share: do not write journal file through symlinks or hardlinks\n\njournal_add() creates \u003cjournal dir\u003e/\u003clocal ip:port\u003e with\nO_CREAT | O_TRUNC and writes the remote client\u0027s address into it.\nThe name is predictable (the proxy connection\u0027s ephemeral local port)\nand the write is triggered by any TCP client sending non-OpenVPN data\nto the shared port. Anyone who can create entries in the journal\ndirectory can therefore plant symlinks or hardlinks and have the\nport-share process, which runs as root unless --user is used, truncate\nand overwrite an arbitrary file with the client address.\n\nCreate the journal file with O_EXCL | O_NOFOLLOW instead. Entries are\nremoved as soon as the proxied connection is closed, so an existing\nentry is either a leftover from a proxy process that exited without\ncleaning up, or something planted. Unlink it and retry the exclusive\ncreate once, which keeps the old behavior of replacing stale entries.\n\nAlso document that the journal directory must not be writable by other\nusers.\n\nGithub: closes OpenVPN/openvpn#1124\nChange-Id: I70ebdadd660e41b40ed53f4238be6885f0a7bb8b\nSigned-off-by: Naveed Khan \u003cdxbnaveed.k@gmail.com\u003e\nAcked-by: Razvan Cojocaru \u003crazvanc@mailbox.org\u003e\nGerrit URL: https://gerrit.openvpn.net/c/openvpn/+/2074\nMessage-Id: \u003c20261102093834.29593-1-gert@greenie.muc.de\u003e\nURL: https://lore.kernel.org/openvpn-devel/20261102093834.29593-1-gert@greenie.muc.de\nSigned-off-by: Gert Doering \u003cgert@greenie.muc.de\u003e\n"},"branch":"refs/heads/master"}},"requirements":[],"submit_records":[]}
