)]}'
{"id":"openvpn~1783","triplet_id":"openvpn~master~Ia1e7db95615d99ef9687de7c4e996dc8033e2631","project":"openvpn","branch":"master","full_branch":"refs/heads/master","topic":"multi subnet-pool","attention_set":{"1000003":{"account":{"_account_id":1000003,"name":"Arne Schwabe","display_name":"Arne Schwabe","email":"arne-openvpn@rfc2549.org","username":"plaisthos"},"last_update":"2026-07-14 22:17:30.000000000","reason":"Reviewer was added"},"1000001":{"account":{"_account_id":1000001,"name":"Frank Lichtenheld","display_name":"Frank Lichtenheld","email":"frank@lichtenheld.com","username":"flichtenheld","status":"OpenVPN Inc."},"last_update":"2026-07-15 07:56:56.000000000","reason":"Vote got outdated and was removed: Code-Review-1"}},"removed_from_attention_set":{"1000007":{"account":{"_account_id":1000007,"name":"Antonio Quartulli","display_name":"Antonio Quartulli","email":"antonio@mandelbit.com","username":"ordex"},"last_update":"2026-10-18 11:32:55.000000000","reason":"removed on reply"}},"hashtags":[],"change_id":"Ia1e7db95615d99ef9687de7c4e996dc8033e2631","subject":"multi: assign clients from a named subnet-pool","status":"NEW","created":"2026-07-14 22:17:28.000000000","updated":"2026-12-02 11:38:24.000000000","submit_type":"CHERRY_PICK","total_comment_count":5,"unresolved_comment_count":0,"has_review_started":true,"meta_rev_id":"032d3f5b088fa020c95777a13957174fcf77ee8e","_number":1783,"virtual_id_number":1783,"owner":{"_account_id":1000007,"name":"Antonio Quartulli","display_name":"Antonio Quartulli","email":"antonio@mandelbit.com","username":"ordex"},"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"},{"value":0,"date":"2026-12-02 11:38:24.000000000","permitted_voting_range":{"min":-2,"max":2},"_account_id":1000002,"name":"Gert Doering","display_name":"Gert Doering","email":"gert@greenie.muc.de","username":"cron2"},{"value":0,"permitted_voting_range":{"min":-2,"max":2},"_account_id":1000001,"name":"Frank Lichtenheld","display_name":"Frank Lichtenheld","email":"frank@lichtenheld.com","username":"flichtenheld","status":"OpenVPN Inc."}],"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"},{"value":0,"permitted_voting_range":{"min":0,"max":1},"_account_id":1000002,"name":"Gert Doering","display_name":"Gert Doering","email":"gert@greenie.muc.de","username":"cron2"},{"value":0,"permitted_voting_range":{"min":0,"max":1},"_account_id":1000001,"name":"Frank Lichtenheld","display_name":"Frank Lichtenheld","email":"frank@lichtenheld.com","username":"flichtenheld","status":"OpenVPN Inc."}],"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":1000001,"name":"Frank Lichtenheld","display_name":"Frank Lichtenheld","email":"frank@lichtenheld.com","username":"flichtenheld","status":"OpenVPN Inc."},{"_account_id":1000002,"name":"Gert Doering","display_name":"Gert Doering","email":"gert@greenie.muc.de","username":"cron2"},{"_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-07-14 22:17:30.000000000","updated_by":{"_account_id":1000007,"name":"Antonio Quartulli","display_name":"Antonio Quartulli","email":"antonio@mandelbit.com","username":"ordex"},"real_updated_by":{"_account_id":1000007,"name":"Antonio Quartulli","display_name":"Antonio Quartulli","email":"antonio@mandelbit.com","username":"ordex"},"reviewer":{"_account_id":1000026,"name":"openvpn-devel","email":"openvpn-devel@lists.sourceforge.net","username":"openvpn-devel"},"state":"CC"},{"updated":"2026-07-14 22:17:30.000000000","updated_by":{"_account_id":1000007,"name":"Antonio Quartulli","display_name":"Antonio Quartulli","email":"antonio@mandelbit.com","username":"ordex"},"real_updated_by":{"_account_id":1000007,"name":"Antonio Quartulli","display_name":"Antonio Quartulli","email":"antonio@mandelbit.com","username":"ordex"},"reviewer":{"_account_id":1000003,"name":"Arne Schwabe","display_name":"Arne Schwabe","email":"arne-openvpn@rfc2549.org","username":"plaisthos"},"state":"REVIEWER"},{"updated":"2026-07-14 22:32:02.000000000","updated_by":{"_account_id":1000001,"name":"Frank Lichtenheld","display_name":"Frank Lichtenheld","email":"frank@lichtenheld.com","username":"flichtenheld","status":"OpenVPN Inc."},"real_updated_by":{"_account_id":1000001,"name":"Frank Lichtenheld","display_name":"Frank Lichtenheld","email":"frank@lichtenheld.com","username":"flichtenheld","status":"OpenVPN Inc."},"reviewer":{"_account_id":1000001,"name":"Frank Lichtenheld","display_name":"Frank Lichtenheld","email":"frank@lichtenheld.com","username":"flichtenheld","status":"OpenVPN Inc."},"state":"REVIEWER"},{"updated":"2026-10-18 09:08:28.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":1000002,"name":"Gert Doering","display_name":"Gert Doering","email":"gert@greenie.muc.de","username":"cron2"},"state":"REVIEWER"}],"messages":[{"id":"32e2769d301c8cf7967c1e3f16b8e79cb848698f","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":1000007,"name":"Antonio Quartulli","display_name":"Antonio Quartulli","email":"antonio@mandelbit.com","username":"ordex"},"date":"2026-07-14 22:17:28.000000000","message":"Uploaded patch set 1.","accounts_in_message":[],"_revision_number":1},{"id":"55c0efda82062aa55c53bb9ef592ec8154ad2ee1","tag":"autogenerated:gerrit:setTopic","author":{"_account_id":1000007,"name":"Antonio Quartulli","display_name":"Antonio Quartulli","email":"antonio@mandelbit.com","username":"ordex"},"date":"2026-07-14 22:18:09.000000000","message":"Topic set to multi subnet-pool","accounts_in_message":[],"_revision_number":1},{"id":"169701a2dc07852ec1702c7ed12c3ce3f7c86d7b","author":{"_account_id":1000001,"name":"Frank Lichtenheld","display_name":"Frank Lichtenheld","email":"frank@lichtenheld.com","username":"flichtenheld","status":"OpenVPN Inc."},"date":"2026-07-14 22:32:02.000000000","message":"Patch Set 1: Code-Review-1\n\n(1 comment)","accounts_in_message":[],"_revision_number":1},{"id":"04556e562728bd0f9203d56fa3135bb98c84da71","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":1000007,"name":"Antonio Quartulli","display_name":"Antonio Quartulli","email":"antonio@mandelbit.com","username":"ordex"},"date":"2026-07-15 07:56:56.000000000","message":"Uploaded patch set 2.\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":2},{"id":"e31fbc79eb423cd231b9796dc25ea3968031cb0c","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":1000007,"name":"Antonio Quartulli","display_name":"Antonio Quartulli","email":"antonio@mandelbit.com","username":"ordex"},"date":"2026-07-15 13:23:53.000000000","message":"Uploaded patch set 3.","accounts_in_message":[],"_revision_number":3},{"id":"2c9a56cca49e4ecc0ba06d8965e5c8c34bc12f62","author":{"_account_id":1000007,"name":"Antonio Quartulli","display_name":"Antonio Quartulli","email":"antonio@mandelbit.com","username":"ordex"},"date":"2026-07-15 13:24:41.000000000","message":"Patch Set 3:\n\n(1 comment)","accounts_in_message":[],"_revision_number":3},{"id":"d7b7c42137a8bd0415c235d07dcff401773452b4","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":1000007,"name":"Antonio Quartulli","display_name":"Antonio Quartulli","email":"antonio@mandelbit.com","username":"ordex"},"date":"2026-10-17 22:52:22.000000000","message":"Uploaded patch set 4.","accounts_in_message":[],"_revision_number":4},{"id":"af2e9596f1c25334694dbbcc4aee2bf71441e772","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":1000007,"name":"Antonio Quartulli","display_name":"Antonio Quartulli","email":"antonio@mandelbit.com","username":"ordex"},"date":"2026-10-17 23:53:52.000000000","message":"Uploaded patch set 5.","accounts_in_message":[],"_revision_number":5},{"id":"7479539036d834406decd421a4d96b22190b222e","author":{"_account_id":1000007,"name":"Antonio Quartulli","display_name":"Antonio Quartulli","email":"antonio@mandelbit.com","username":"ordex"},"date":"2026-10-17 23:54:58.000000000","message":"Patch Set 5:\n\nChanges since PS3 (PS4/PS5), rebased on current master:\n\n- --subnet-pool is now validated when the config is loaded, with the same bounds as --server: contiguous netmask between /16 and /29, gateway a host address inside the subnet (an unparsable gateway is an error), unique tags, no overlap with another pool or with the --server network. It requires --server, --dev tun and --topology subnet, and is refused outside server mode. Before, an invalid pool (e.g. a /30 or wider than /16) made the server abort when the first client of that tag connected.\n- All pools are created at startup instead of on first use.\n- The pool gateway is reserved in the pool and never handed out to a client (an explicit gateway inside the range could be assigned before).\n- The tag is resolved again after every client-connect handler, so a client-connect script, plugin or the management interface can override the tag set in the CCD file; the client is then served from the new group.\n- The server now routes each pool subnet into its tun device (as a regular --route, so it honours --route-table, --route-metric and --route-noexec and is visible to --route-up). Under DCO on Linux and FreeBSD the kernel selects the peer by the route\u0027s next hop, so a route via the --server gateway delivered packets for unassigned pool addresses to the client owning that address: there the route is installed on-link on the tun device instead (new on_link route option flag), and each pool client gets its own on-link host route on connect, so such packets match no peer.\n- The route-gateway / server-VPN-IP doc paragraph moved to 1787.\n- New unit tests for the option validation.\n\nTested end to end with a server and two clients (one tagged, one not): in userspace, and with DCO in a VM (also with --user nobody), including that traffic for unassigned pool addresses is not delivered to another client. Invalid pool definitions are rejected at startup.","accounts_in_message":[],"_revision_number":5},{"id":"ce30883d797f9849e39310b35c68f3ba10c21bb9","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":1000007,"name":"Antonio Quartulli","display_name":"Antonio Quartulli","email":"antonio@mandelbit.com","username":"ordex"},"date":"2026-10-18 08:39:43.000000000","message":"Uploaded patch set 6.","accounts_in_message":[],"_revision_number":6},{"id":"601bbe29036177e9aaeb48af99569381618c2aae","author":{"_account_id":1000002,"name":"Gert Doering","display_name":"Gert Doering","email":"gert@greenie.muc.de","username":"cron2"},"date":"2026-10-18 09:08:28.000000000","message":"Patch Set 6: Code-Review-2\n\n(1 comment)","accounts_in_message":[],"_revision_number":6},{"id":"ac3301d05b7c5f4c4a10312ad6897699d3de30a9","author":{"_account_id":1000002,"name":"Gert Doering","display_name":"Gert Doering","email":"gert@greenie.muc.de","username":"cron2"},"date":"2026-10-18 09:09:15.000000000","message":"Patch Set 6:\n\n(1 comment)","accounts_in_message":[],"_revision_number":6},{"id":"b39fb5beb9c36d748c2d25ca62ace96bcfceb3c1","author":{"_account_id":1000002,"name":"Gert Doering","display_name":"Gert Doering","email":"gert@greenie.muc.de","username":"cron2"},"date":"2026-10-18 09:10:17.000000000","message":"Patch Set 6:\n\n(1 comment)","accounts_in_message":[],"_revision_number":6},{"id":"a336240704d661da0554aa28715a5d7adfa55d22","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":1000007,"name":"Antonio Quartulli","display_name":"Antonio Quartulli","email":"antonio@mandelbit.com","username":"ordex"},"date":"2026-10-18 11:32:19.000000000","message":"Uploaded patch set 7.\n\nCopied Votes:\n* Code-Review-2 (copy condition: \"changekind:NO_CHANGE OR changekind:TRIVIAL_REBASE OR **is:MIN**\")\n","accounts_in_message":[],"_revision_number":7},{"id":"ba33be23858b92828e78552b4acd984d7fee4d8b","author":{"_account_id":1000007,"name":"Antonio Quartulli","display_name":"Antonio Quartulli","email":"antonio@mandelbit.com","username":"ordex"},"date":"2026-10-18 11:32:55.000000000","message":"Patch Set 7:\n\nPS7: cppcheck cleanup only, no functional change.\n\n- test_subnet_pool.c: the overlap test now uses a separate pair of pool definitions per scenario instead of rewriting the fields of one struct between checks (cppcheck reported redundantAssignment, as it does not see the second struct being read through the first one\u0027s next pointer).\n\nWith this, \"make cppcheck CPPCHECK_CHECK_LEVEL\u003dnormal\" reports no new findings for this patch compared to master.","accounts_in_message":[],"_revision_number":7},{"id":"a19e2e1806879cda3e57218f8b6a90a9c1b2fb13","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":1000007,"name":"Antonio Quartulli","display_name":"Antonio Quartulli","email":"antonio@mandelbit.com","username":"ordex"},"date":"2026-10-25 23:09:46.000000000","message":"Uploaded patch set 8.\n\nCopied Votes:\n* Code-Review-2 (copy condition: \"changekind:NO_CHANGE OR changekind:TRIVIAL_REBASE OR **is:MIN**\")\n","accounts_in_message":[],"_revision_number":8},{"id":"368280cb8c10a88d4b57496a230bba3eeae85cf6","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":1000007,"name":"Antonio Quartulli","display_name":"Antonio Quartulli","email":"antonio@mandelbit.com","username":"ordex"},"date":"2026-10-26 14:57:08.000000000","message":"Uploaded patch set 9.\n\nCopied Votes:\n* Code-Review-2 (copy condition: \"changekind:NO_CHANGE OR changekind:TRIVIAL_REBASE OR **is:MIN**\")\n","accounts_in_message":[],"_revision_number":9},{"id":"db208dbd6d7b866d6112988ce175dffb1d6e113d","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":1000007,"name":"Antonio Quartulli","display_name":"Antonio Quartulli","email":"antonio@mandelbit.com","username":"ordex"},"date":"2026-10-26 15:05:16.000000000","message":"Uploaded patch set 10: Patch Set 9 was rebased.\n\nCopied Votes:\n* Code-Review-2 (copy condition: \"changekind:NO_CHANGE OR **changekind:TRIVIAL_REBASE** OR **is:MIN**\")\n","accounts_in_message":[],"_revision_number":10},{"id":"d69979604b1b0e5403520997b41448eb89f849c2","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":1000007,"name":"Antonio Quartulli","display_name":"Antonio Quartulli","email":"antonio@mandelbit.com","username":"ordex"},"date":"2026-10-26 15:17:56.000000000","message":"Uploaded patch set 11.\n\nCopied Votes:\n* Code-Review-2 (copy condition: \"changekind:NO_CHANGE OR changekind:TRIVIAL_REBASE OR **is:MIN**\")\n","accounts_in_message":[],"_revision_number":11},{"id":"6719eb1cc6c1ad4efead5725c0d85ab6036dfa4f","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":1000007,"name":"Antonio Quartulli","display_name":"Antonio Quartulli","email":"antonio@mandelbit.com","username":"ordex"},"date":"2026-10-26 20:59:55.000000000","message":"Uploaded patch set 12.\n\nCopied Votes:\n* Code-Review-2 (copy condition: \"changekind:NO_CHANGE OR changekind:TRIVIAL_REBASE OR **is:MIN**\")\n","accounts_in_message":[],"_revision_number":12},{"id":"032d3f5b088fa020c95777a13957174fcf77ee8e","author":{"_account_id":1000002,"name":"Gert Doering","display_name":"Gert Doering","email":"gert@greenie.muc.de","username":"cron2"},"date":"2026-12-02 11:38:24.000000000","message":"Patch Set 12: -Code-Review","accounts_in_message":[],"_revision_number":12}],"current_revision_number":12,"current_revision":"e94e2da2f9045c18e28b128707d12d8a8df6f619","revisions":{"4786ae8ca577fea293664e3d0ece8dbabf8d91b0":{"kind":"REWORK","_number":1,"created":"2026-07-14 22:17:28.000000000","uploader":{"_account_id":1000007,"name":"Antonio Quartulli","display_name":"Antonio Quartulli","email":"antonio@mandelbit.com","username":"ordex"},"ref":"refs/changes/83/1783/1","fetch":{"anonymous http":{"url":"https://gerrit.openvpn.net/openvpn","ref":"refs/changes/83/1783/1","commands":{"Branch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/83/1783/1 \u0026\u0026 git checkout -b change-1783 FETCH_HEAD","Checkout":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/83/1783/1 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/83/1783/1 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/83/1783/1 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://gerrit.openvpn.net/openvpn refs/changes/83/1783/1","Reset To":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/83/1783/1 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"e8d39061007b0a29f78cecce72a0269d6dd3ecde","subject":"buffer: Add buf_read_u64() and buf_write_u64()"}],"author":{"name":"Antonio Quartulli","email":"antonio@mandelbit.com","date":"2026-07-14 13:24:12.000000000","tz":120},"committer":{"name":"Antonio Quartulli","email":"antonio@mandelbit.com","date":"2026-07-14 22:17:07.000000000","tz":120},"subject":"multi: assign clients from a named, tagged subnet-pool","message":"multi: assign clients from a named, tagged subnet-pool\n\nAdd two server directives:\n\n  subnet-pool \u003ctag\u003e \u003cnetwork\u003e \u003cnetmask\u003e [\u003cgateway\u003e]   (main config)\n  subnet-pool-tag \u003ctag\u003e                               (per-client CCD)\n\nso groups of clients can be given addresses from subnets other than the\n--server network (per-group firewall rules under --topology subnet, and\nthus DCO). A client\u0027s subnet-pool-tag is resolved to its pool and served\na virtual IP from that subnet: a static --ifconfig-push within it, or the\nnext free address from a dynamic per-group pool shared by tag and created\non first use. Such a client is validated against its own subnet instead\nof the global tunnel-network constraint and never falls back to the\nglobal pool; a tag matching no configured pool is declined with\nAUTH_FAILED.\n\nChange-Id: Ia1e7db95615d99ef9687de7c4e996dc8033e2631\nGitHub: closes openvpn/OpenVPN#987\nSigned-off-by: Antonio Quartulli \u003cantonio@mandelbit.com\u003e\n"},"branch":"refs/heads/master"},"eb960603f5aeb60dfd37b47e67d33b709acabb56":{"kind":"REWORK","_number":2,"created":"2026-07-15 07:56:56.000000000","uploader":{"_account_id":1000007,"name":"Antonio Quartulli","display_name":"Antonio Quartulli","email":"antonio@mandelbit.com","username":"ordex"},"ref":"refs/changes/83/1783/2","fetch":{"anonymous http":{"url":"https://gerrit.openvpn.net/openvpn","ref":"refs/changes/83/1783/2","commands":{"Branch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/83/1783/2 \u0026\u0026 git checkout -b change-1783 FETCH_HEAD","Checkout":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/83/1783/2 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/83/1783/2 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/83/1783/2 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://gerrit.openvpn.net/openvpn refs/changes/83/1783/2","Reset To":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/83/1783/2 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"a3942a62ff3c8e8f0a5dc577e24552a4d4fa5fb0","subject":"test_tls_crypt: Fix test failure on Windows"}],"author":{"name":"Antonio Quartulli","email":"antonio@mandelbit.com","date":"2026-07-15 07:35:00.000000000","tz":120},"committer":{"name":"Antonio Quartulli","email":"antonio@mandelbit.com","date":"2026-07-15 07:35:00.000000000","tz":120},"subject":"multi: assign clients from a named, tagged subnet-pool","message":"multi: assign clients from a named, tagged subnet-pool\n\nAdd two server directives:\n\n  subnet-pool \u003ctag\u003e \u003cnetwork\u003e \u003cnetmask\u003e [\u003cgateway\u003e]   (main config)\n  subnet-pool-tag \u003ctag\u003e                               (per-client CCD)\n\nso groups of clients can be given addresses from subnets other than the\n--server network (per-group firewall rules under --topology subnet, and\nthus DCO). A client\u0027s subnet-pool-tag is resolved to its pool and served\na virtual IP from that subnet: a static --ifconfig-push within it, or the\nnext free address from a dynamic per-group pool shared by tag and created\non first use. Such a client is validated against its own subnet instead\nof the global tunnel-network constraint and never falls back to the\nglobal pool; a tag matching no configured pool is declined with\nAUTH_FAILED.\n\nChange-Id: Ia1e7db95615d99ef9687de7c4e996dc8033e2631\nGitHub: closes openvpn/OpenVPN#987\nSigned-off-by: Antonio Quartulli \u003cantonio@mandelbit.com\u003e\n"},"branch":"refs/heads/master"},"e81f65f2b97d657d6747bef40e2911b19ea1a938":{"kind":"REWORK","_number":3,"created":"2026-07-15 13:23:53.000000000","uploader":{"_account_id":1000007,"name":"Antonio Quartulli","display_name":"Antonio Quartulli","email":"antonio@mandelbit.com","username":"ordex"},"ref":"refs/changes/83/1783/3","fetch":{"anonymous http":{"url":"https://gerrit.openvpn.net/openvpn","ref":"refs/changes/83/1783/3","commands":{"Branch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/83/1783/3 \u0026\u0026 git checkout -b change-1783 FETCH_HEAD","Checkout":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/83/1783/3 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/83/1783/3 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/83/1783/3 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://gerrit.openvpn.net/openvpn refs/changes/83/1783/3","Reset To":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/83/1783/3 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"a3942a62ff3c8e8f0a5dc577e24552a4d4fa5fb0","subject":"test_tls_crypt: Fix test failure on Windows"}],"author":{"name":"Antonio Quartulli","email":"antonio@mandelbit.com","date":"2026-07-15 11:54:57.000000000","tz":120},"committer":{"name":"Antonio Quartulli","email":"antonio@mandelbit.com","date":"2026-07-15 11:54:57.000000000","tz":120},"subject":"multi: assign clients from a named, tagged subnet-pool","message":"multi: assign clients from a named, tagged subnet-pool\n\nAdd two server directives:\n\n  subnet-pool \u003ctag\u003e \u003cnetwork\u003e \u003cnetmask\u003e [\u003cgateway\u003e]   (main config)\n  subnet-pool-tag \u003ctag\u003e                               (per-client CCD)\n\nso groups of clients can be given addresses from subnets other than the\n--server network (per-group firewall rules under --topology subnet, and\nthus DCO). A client\u0027s subnet-pool-tag is resolved to its pool and served\na virtual IP from that subnet: a static --ifconfig-push within it, or the\nnext free address from a dynamic per-group pool shared by tag and created\non first use. Such a client is validated against its own subnet instead\nof the global tunnel-network constraint and never falls back to the\nglobal pool; a tag matching no configured pool is declined with\nAUTH_FAILED.\n\nChange-Id: Ia1e7db95615d99ef9687de7c4e996dc8033e2631\nGitHub: closes openvpn/OpenVPN#987\nSigned-off-by: Antonio Quartulli \u003cantonio@mandelbit.com\u003e\n"},"branch":"refs/heads/master"},"3e543fe30b84e2f41c8c75aba832014e14ed0af2":{"kind":"REWORK","_number":4,"created":"2026-10-17 22:52:22.000000000","uploader":{"_account_id":1000007,"name":"Antonio Quartulli","display_name":"Antonio Quartulli","email":"antonio@mandelbit.com","username":"ordex"},"ref":"refs/changes/83/1783/4","fetch":{"anonymous http":{"url":"https://gerrit.openvpn.net/openvpn","ref":"refs/changes/83/1783/4","commands":{"Branch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/83/1783/4 \u0026\u0026 git checkout -b change-1783 FETCH_HEAD","Checkout":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/83/1783/4 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/83/1783/4 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/83/1783/4 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://gerrit.openvpn.net/openvpn refs/changes/83/1783/4","Reset To":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/83/1783/4 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"dda75df387f83ae10741d74a516495466ca78964","subject":"configure: Add --enable-code-coverage"}],"author":{"name":"Antonio Quartulli","email":"antonio@mandelbit.com","date":"2026-07-15 11:54:57.000000000","tz":120},"committer":{"name":"Antonio Quartulli","email":"antonio@mandelbit.com","date":"2026-10-17 21:23:10.000000000","tz":120},"subject":"multi: assign clients from a named, tagged subnet-pool","message":"multi: assign clients from a named, tagged subnet-pool\n\nAdd two server directives:\n\n  subnet-pool \u003ctag\u003e \u003cnetwork\u003e \u003cnetmask\u003e [\u003cgateway\u003e]   (main config)\n  subnet-pool-tag \u003ctag\u003e                               (per-client CCD)\n\nso groups of clients can be given addresses from subnets other than the\n--server network (per-group firewall rules under --topology subnet, and\nthus DCO). A client\u0027s subnet-pool-tag is resolved to its pool and served\na virtual IP from that subnet: a static --ifconfig-push within it, or the\nnext free address from a dynamic per-group pool shared by tag. Such a\nclient is validated against its own subnet instead of the global\ntunnel-network constraint and never falls back to the global pool; a tag\nmatching no configured pool is declined with AUTH_FAILED. The tag is\nresolved again after every client-connect handler, so a script, plugin\nor management interface may override the one set by the CCD file.\n\nThe pools are checked when the config is loaded, as for --server: the\nnetmask must be contiguous and between /16 and /29, the gateway a host\naddress inside the subnet, tags unique, and no pool may overlap another\nor the --server network. Every pool is created at startup, and its\ngateway is reserved so it is never handed out to a client.\n\nThe server routes each pool\u0027s subnet into its tun device, as the device\nis only configured with the --server network: without this the server\ncannot reach its subnet-pool clients when the data channel runs in\nuserspace (with DCO each such client additionally gets an on-link host\nroute on connect, as its address is outside the --ifconfig network).\n\nChange-Id: Ia1e7db95615d99ef9687de7c4e996dc8033e2631\nGitHub: closes openvpn/OpenVPN#987\nSigned-off-by: Antonio Quartulli \u003cantonio@mandelbit.com\u003e\n\n"},"branch":"refs/heads/master"},"df02c7ab40bfaf61fcaf7f5b03b2a1fbf180fe74":{"kind":"REWORK","_number":5,"created":"2026-10-17 23:53:52.000000000","uploader":{"_account_id":1000007,"name":"Antonio Quartulli","display_name":"Antonio Quartulli","email":"antonio@mandelbit.com","username":"ordex"},"ref":"refs/changes/83/1783/5","fetch":{"anonymous http":{"url":"https://gerrit.openvpn.net/openvpn","ref":"refs/changes/83/1783/5","commands":{"Branch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/83/1783/5 \u0026\u0026 git checkout -b change-1783 FETCH_HEAD","Checkout":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/83/1783/5 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/83/1783/5 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/83/1783/5 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://gerrit.openvpn.net/openvpn refs/changes/83/1783/5","Reset To":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/83/1783/5 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"dda75df387f83ae10741d74a516495466ca78964","subject":"configure: Add --enable-code-coverage"}],"author":{"name":"Antonio Quartulli","email":"antonio@mandelbit.com","date":"2026-07-15 11:54:57.000000000","tz":120},"committer":{"name":"Antonio Quartulli","email":"antonio@mandelbit.com","date":"2026-10-17 23:28:49.000000000","tz":120},"subject":"multi: assign clients from a named, tagged subnet-pool","message":"multi: assign clients from a named, tagged subnet-pool\n\nAdd two server directives:\n\n  subnet-pool \u003ctag\u003e \u003cnetwork\u003e \u003cnetmask\u003e [\u003cgateway\u003e]   (main config)\n  subnet-pool-tag \u003ctag\u003e                               (per-client CCD)\n\nso groups of clients can be given addresses from subnets other than the\n--server network (per-group firewall rules under --topology subnet, and\nthus DCO). A client\u0027s subnet-pool-tag is resolved to its pool and served\na virtual IP from that subnet: a static --ifconfig-push within it, or the\nnext free address from a dynamic per-group pool shared by tag. Such a\nclient is validated against its own subnet instead of the global\ntunnel-network constraint and never falls back to the global pool; a tag\nmatching no configured pool is declined with AUTH_FAILED. The tag is\nresolved again after every client-connect handler, so a script, plugin\nor management interface may override the one set by the CCD file.\n\nThe pools are checked when the config is loaded, as for --server: the\nnetmask must be contiguous and between /16 and /29, the gateway a host\naddress inside the subnet, tags unique, and no pool may overlap another\nor the --server network. Every pool is created at startup, and its\ngateway is reserved so it is never handed out to a client.\n\nThe server routes each pool\u0027s subnet into its tun device, as the device\nis only configured with the --server network: without this the server\ncannot reach its subnet-pool clients. This is a regular --route, so it\nis installed before privileges are dropped and honours --route-table,\n--route-metric and --route-noexec. Under DCO on Linux and FreeBSD,\nthough, the kernel selects the peer by the route\u0027s next hop, so a route\nvia a gateway would deliver every packet for an unassigned pool address\nto the client owning that gateway address: there the route is installed\non-link on the tun device instead (a new on_link route option flag), and\neach client of the pool gets its own on-link host route on connect (as\nits address is outside the --ifconfig network), so such packets match\nno peer.\n\nChange-Id: Ia1e7db95615d99ef9687de7c4e996dc8033e2631\nGitHub: closes openvpn/OpenVPN#987\nSigned-off-by: Antonio Quartulli \u003cantonio@mandelbit.com\u003e\n"},"branch":"refs/heads/master"},"690ed32a0c87a92f2be1aecd90650d31f56953b4":{"kind":"REWORK","_number":6,"created":"2026-10-18 08:39:43.000000000","uploader":{"_account_id":1000007,"name":"Antonio Quartulli","display_name":"Antonio Quartulli","email":"antonio@mandelbit.com","username":"ordex"},"ref":"refs/changes/83/1783/6","fetch":{"anonymous http":{"url":"https://gerrit.openvpn.net/openvpn","ref":"refs/changes/83/1783/6","commands":{"Branch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/83/1783/6 \u0026\u0026 git checkout -b change-1783 FETCH_HEAD","Checkout":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/83/1783/6 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/83/1783/6 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/83/1783/6 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://gerrit.openvpn.net/openvpn refs/changes/83/1783/6","Reset To":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/83/1783/6 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"dda75df387f83ae10741d74a516495466ca78964","subject":"configure: Add --enable-code-coverage"}],"author":{"name":"Antonio Quartulli","email":"antonio@mandelbit.com","date":"2026-07-15 11:54:57.000000000","tz":120},"committer":{"name":"Antonio Quartulli","email":"antonio@mandelbit.com","date":"2026-10-18 08:34:44.000000000","tz":120},"subject":"multi: assign clients from a named, tagged subnet-pool","message":"multi: assign clients from a named, tagged subnet-pool\n\nAdd two server directives:\n\n  subnet-pool \u003ctag\u003e \u003cnetwork\u003e \u003cnetmask\u003e [\u003cgateway\u003e]   (main config)\n  subnet-pool-tag \u003ctag\u003e                               (per-client CCD)\n\nso groups of clients can be given addresses from subnets other than the\n--server network (per-group firewall rules under --topology subnet, and\nthus DCO). A client\u0027s subnet-pool-tag is resolved to its pool and served\na virtual IP from that subnet: a static --ifconfig-push within it, or the\nnext free address from a dynamic per-group pool shared by tag. Such a\nclient is validated against its own subnet instead of the global\ntunnel-network constraint and never falls back to the global pool; a tag\nmatching no configured pool is declined with AUTH_FAILED. The tag is\nresolved again after every client-connect handler, so a script, plugin\nor management interface may override the one set by the CCD file.\n\nThe pools are checked when the config is loaded, as for --server: the\nnetmask must be contiguous and between /16 and /29, the gateway a host\naddress inside the subnet, tags unique, and no pool may overlap another\nor the --server network. Every pool is created at startup, and its\ngateway is reserved so it is never handed out to a client.\n\nThe server routes each pool\u0027s subnet into its tun device, as the device\nis only configured with the --server network: without this the server\ncannot reach its subnet-pool clients. This is a regular --route, so it\nis installed before privileges are dropped and honours --route-table,\n--route-metric and --route-noexec. Under DCO on Linux and FreeBSD,\nthough, the kernel selects the peer by the route\u0027s next hop, so a route\nvia a gateway would deliver every packet for an unassigned pool address\nto the client owning that gateway address: there the route is installed\non-link on the tun device instead (a new on_link route option flag), and\neach client of the pool gets its own on-link host route on connect (as\nits address is outside the --ifconfig network), so such packets match\nno peer.\n\nChange-Id: Ia1e7db95615d99ef9687de7c4e996dc8033e2631\nGitHub: closes openvpn/OpenVPN#987\nSigned-off-by: Antonio Quartulli \u003cantonio@mandelbit.com\u003e\n"},"branch":"refs/heads/master"},"9cb5d3bc93878e351b5f822e8ff2ddd21dddf0f6":{"kind":"REWORK","_number":7,"created":"2026-10-18 11:32:19.000000000","uploader":{"_account_id":1000007,"name":"Antonio Quartulli","display_name":"Antonio Quartulli","email":"antonio@mandelbit.com","username":"ordex"},"ref":"refs/changes/83/1783/7","fetch":{"anonymous http":{"url":"https://gerrit.openvpn.net/openvpn","ref":"refs/changes/83/1783/7","commands":{"Branch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/83/1783/7 \u0026\u0026 git checkout -b change-1783 FETCH_HEAD","Checkout":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/83/1783/7 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/83/1783/7 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/83/1783/7 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://gerrit.openvpn.net/openvpn refs/changes/83/1783/7","Reset To":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/83/1783/7 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"dda75df387f83ae10741d74a516495466ca78964","subject":"configure: Add --enable-code-coverage"}],"author":{"name":"Antonio Quartulli","email":"antonio@mandelbit.com","date":"2026-07-15 11:54:57.000000000","tz":120},"committer":{"name":"Antonio Quartulli","email":"antonio@mandelbit.com","date":"2026-10-18 09:53:18.000000000","tz":120},"subject":"multi: assign clients from a named, tagged subnet-pool","message":"multi: assign clients from a named, tagged subnet-pool\n\nAdd two server directives:\n\n  subnet-pool \u003ctag\u003e \u003cnetwork\u003e \u003cnetmask\u003e [\u003cgateway\u003e]   (main config)\n  subnet-pool-tag \u003ctag\u003e                               (per-client CCD)\n\nso groups of clients can be given addresses from subnets other than the\n--server network (per-group firewall rules under --topology subnet, and\nthus DCO). A client\u0027s subnet-pool-tag is resolved to its pool and served\na virtual IP from that subnet: a static --ifconfig-push within it, or the\nnext free address from a dynamic per-group pool shared by tag. Such a\nclient is validated against its own subnet instead of the global\ntunnel-network constraint and never falls back to the global pool; a tag\nmatching no configured pool is declined with AUTH_FAILED. The tag is\nresolved again after every client-connect handler, so a script, plugin\nor management interface may override the one set by the CCD file.\n\nThe pools are checked when the config is loaded, as for --server: the\nnetmask must be contiguous and between /16 and /29, the gateway a host\naddress inside the subnet, tags unique, and no pool may overlap another\nor the --server network. Every pool is created at startup, and its\ngateway is reserved so it is never handed out to a client.\n\nThe server routes each pool\u0027s subnet into its tun device, as the device\nis only configured with the --server network: without this the server\ncannot reach its subnet-pool clients. This is a regular --route, so it\nis installed before privileges are dropped and honours --route-table,\n--route-metric and --route-noexec. Under DCO on Linux and FreeBSD,\nthough, the kernel selects the peer by the route\u0027s next hop, so a route\nvia a gateway would deliver every packet for an unassigned pool address\nto the client owning that gateway address: there the route is installed\non-link on the tun device instead (a new on_link route option flag), and\neach client of the pool gets its own on-link host route on connect (as\nits address is outside the --ifconfig network), so such packets match\nno peer.\n\nChange-Id: Ia1e7db95615d99ef9687de7c4e996dc8033e2631\nGitHub: closes openvpn/OpenVPN#987\nSigned-off-by: Antonio Quartulli \u003cantonio@mandelbit.com\u003e\n"},"branch":"refs/heads/master"},"b3c3dcb6b4f5a77a24615227dd188f8600969ae5":{"kind":"REWORK","_number":8,"created":"2026-10-25 23:09:46.000000000","uploader":{"_account_id":1000007,"name":"Antonio Quartulli","display_name":"Antonio Quartulli","email":"antonio@mandelbit.com","username":"ordex"},"ref":"refs/changes/83/1783/8","fetch":{"anonymous http":{"url":"https://gerrit.openvpn.net/openvpn","ref":"refs/changes/83/1783/8","commands":{"Branch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/83/1783/8 \u0026\u0026 git checkout -b change-1783 FETCH_HEAD","Checkout":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/83/1783/8 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/83/1783/8 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/83/1783/8 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://gerrit.openvpn.net/openvpn refs/changes/83/1783/8","Reset To":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/83/1783/8 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"ccd058e75be6af15c8a2427acb76be3a7a641213","subject":"Make run-cppcheck.sh run on FreeBSD and macOS"}],"author":{"name":"Antonio Quartulli","email":"antonio@mandelbit.com","date":"2026-07-15 11:54:57.000000000","tz":120},"committer":{"name":"Antonio Quartulli","email":"antonio@mandelbit.com","date":"2026-10-25 23:07:51.000000000","tz":60},"subject":"multi: assign clients from a named, tagged subnet-pool","message":"multi: assign clients from a named, tagged subnet-pool\n\nAdd two server directives:\n\n  subnet-pool \u003ctag\u003e \u003cnetwork\u003e \u003cnetmask\u003e [\u003cgateway\u003e [\u003cstart\u003e \u003cend\u003e]]\n                                                      (main config)\n  subnet-pool-tag \u003ctag\u003e                               (per-client CCD)\n\nso groups of clients can be given addresses from subnets other than the\n--server network (per-group firewall rules under --topology subnet, and\nthus DCO). A client\u0027s subnet-pool-tag is resolved to its pool and served\na virtual IP from that subnet: a static --ifconfig-push within it, or\nthe next free address from a dynamic per-group pool shared by tag. The\ndynamic pool spans the whole subnet unless a start-end range is given,\nwhich leaves the rest of the subnet to static addresses (these are not\nreserved in the pool). Such a client is validated against its own subnet\ninstead of the global tunnel-network constraint and never falls back to\nthe global pool; a tag matching no configured pool is declined with\nAUTH_FAILED. The tag is resolved again after every client-connect\nhandler, so a script, plugin or management interface may override the\none set by the CCD file.\n\nThe pools are checked when the config is loaded, as for --server: the\nnetmask must be contiguous and between /16 and /29, the gateway a host\naddress inside the subnet, a range (if any) at least two host addresses\nof the subnet, tags unique, and no pool may overlap another or the\n--server network. Every pool is created at startup, and its gateway is\nreserved so it is never handed out to a client.\n\nThe server routes each pool\u0027s subnet into its tun device, as the device\nis only configured with the --server network: without this the server\ncannot reach its subnet-pool clients. This is a regular --route, so it\nis installed before privileges are dropped and honours --route-table,\n--route-metric and --route-noexec. Under DCO on Linux and FreeBSD,\nthough, the kernel selects the peer by the route\u0027s next hop, so a route\nvia a gateway would deliver every packet for an unassigned pool address\nto the client owning that gateway address: there the route is installed\non-link on the tun device instead (a new on_link route option flag), and\neach client of the pool gets its own on-link host route on connect (as\nits address is outside the --ifconfig network), so such packets match\nno peer.\n\nWhile here, the tunnel-network constraint violation is logged as a\nWARNING instead of MULTI ERROR, as it does not fail the connection.\n\nChange-Id: Ia1e7db95615d99ef9687de7c4e996dc8033e2631\nGitHub: closes openvpn/OpenVPN#987\nSigned-off-by: Antonio Quartulli \u003cantonio@mandelbit.com\u003e\n"},"branch":"refs/heads/master"},"dd33eed86d7714ebd42786612f184546042f1eb7":{"kind":"REWORK","_number":9,"created":"2026-10-26 14:57:08.000000000","uploader":{"_account_id":1000007,"name":"Antonio Quartulli","display_name":"Antonio Quartulli","email":"antonio@mandelbit.com","username":"ordex"},"ref":"refs/changes/83/1783/9","fetch":{"anonymous http":{"url":"https://gerrit.openvpn.net/openvpn","ref":"refs/changes/83/1783/9","commands":{"Branch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/83/1783/9 \u0026\u0026 git checkout -b change-1783 FETCH_HEAD","Checkout":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/83/1783/9 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/83/1783/9 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/83/1783/9 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://gerrit.openvpn.net/openvpn refs/changes/83/1783/9","Reset To":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/83/1783/9 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"ccd058e75be6af15c8a2427acb76be3a7a641213","subject":"Make run-cppcheck.sh run on FreeBSD and macOS"}],"author":{"name":"Antonio Quartulli","email":"antonio@mandelbit.com","date":"2026-07-15 11:54:57.000000000","tz":120},"committer":{"name":"Antonio Quartulli","email":"antonio@mandelbit.com","date":"2026-10-26 14:44:17.000000000","tz":60},"subject":"multi: assign clients from a named, tagged subnet-pool","message":"multi: assign clients from a named, tagged subnet-pool\n\nAdd two server directives:\n\n  subnet-pool \u003ctag\u003e \u003cnetwork\u003e \u003cnetmask\u003e [\u003cgateway\u003e [\u003cstart\u003e \u003cend\u003e]]\n                                                      (main config)\n  subnet-pool-tag \u003ctag\u003e                               (per-client CCD)\n\nso groups of clients can be given addresses from subnets other than the\n--server network (per-group firewall rules under --topology subnet, and\nthus DCO). A client\u0027s subnet-pool-tag is resolved to its pool and served\na virtual IP from that subnet: a static --ifconfig-push within it, or\nthe next free address from a dynamic per-group pool shared by tag. The\ndynamic pool spans the whole subnet unless a start-end range is given,\nwhich leaves the rest of the subnet to static addresses (these are not\nreserved in the pool). Such a client is validated against its own subnet\ninstead of the global tunnel-network constraint and never falls back to\nthe global pool; a tag matching no configured pool is declined with\nAUTH_FAILED. The tag is resolved again after every client-connect\nhandler, so a script, plugin or management interface may override the\none set by the CCD file.\n\nThe pools are checked when the config is loaded, as for --server: the\nnetmask must be contiguous and between /16 and /29, the gateway a host\naddress inside the subnet, a range (if any) at least two host addresses\nof the subnet, tags unique, and no pool may overlap another or the\n--server network. Every pool is created at startup, and its gateway is\nreserved so it is never handed out to a client.\n\nThe server routes each pool\u0027s subnet into its tun device, as the device\nis only configured with the --server network: without this the server\ncannot reach its subnet-pool clients. This is a regular --route, so it\nis installed before privileges are dropped and honours --route-table,\n--route-metric and --route-noexec. Under DCO on Linux and FreeBSD,\nthough, the kernel selects the peer by the route\u0027s next hop, so a route\nvia a gateway would deliver every packet for an unassigned pool address\nto the client owning that gateway address: there the route is installed\non-link on the tun device instead (a new on_link route option flag), and\neach client of the pool gets its own on-link host route on connect (as\nits address is outside the --ifconfig network), so such packets match\nno peer.\n\nWhile here, the tunnel-network constraint violation is logged as a\nWARNING instead of MULTI ERROR, as it does not fail the connection.\n\nChange-Id: Ia1e7db95615d99ef9687de7c4e996dc8033e2631\nGitHub: closes openvpn/OpenVPN#987\nSigned-off-by: Antonio Quartulli \u003cantonio@mandelbit.com\u003e\n"},"branch":"refs/heads/master"},"b2727d59ee3c4a572a8a439233104a26aaa54ea7":{"kind":"TRIVIAL_REBASE","_number":10,"created":"2026-10-26 15:05:16.000000000","uploader":{"_account_id":1000007,"name":"Antonio Quartulli","display_name":"Antonio Quartulli","email":"antonio@mandelbit.com","username":"ordex"},"ref":"refs/changes/83/1783/10","fetch":{"anonymous http":{"url":"https://gerrit.openvpn.net/openvpn","ref":"refs/changes/83/1783/10","commands":{"Branch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/83/1783/10 \u0026\u0026 git checkout -b change-1783 FETCH_HEAD","Checkout":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/83/1783/10 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/83/1783/10 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/83/1783/10 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://gerrit.openvpn.net/openvpn refs/changes/83/1783/10","Reset To":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/83/1783/10 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"54a66f355ace8e89b25ed9e85c659d290eb700d2","subject":"run-cppcheck.sh: Make CPPCHECK_CHECK_LEVEL\u003dnormal the default"}],"author":{"name":"Antonio Quartulli","email":"antonio@mandelbit.com","date":"2026-07-15 11:54:57.000000000","tz":120},"committer":{"name":"Antonio Quartulli","email":"antonio@mandelbit.com","date":"2026-10-26 14:59:47.000000000","tz":60},"subject":"multi: assign clients from a named, tagged subnet-pool","message":"multi: assign clients from a named, tagged subnet-pool\n\nAdd two server directives:\n\n  subnet-pool \u003ctag\u003e \u003cnetwork\u003e \u003cnetmask\u003e [\u003cgateway\u003e [\u003cstart\u003e \u003cend\u003e]]\n                                                      (main config)\n  subnet-pool-tag \u003ctag\u003e                               (per-client CCD)\n\nso groups of clients can be given addresses from subnets other than the\n--server network (per-group firewall rules under --topology subnet, and\nthus DCO). A client\u0027s subnet-pool-tag is resolved to its pool and served\na virtual IP from that subnet: a static --ifconfig-push within it, or\nthe next free address from a dynamic per-group pool shared by tag. The\ndynamic pool spans the whole subnet unless a start-end range is given,\nwhich leaves the rest of the subnet to static addresses (these are not\nreserved in the pool). Such a client is validated against its own subnet\ninstead of the global tunnel-network constraint and never falls back to\nthe global pool; a tag matching no configured pool is declined with\nAUTH_FAILED. The tag is resolved again after every client-connect\nhandler, so a script, plugin or management interface may override the\none set by the CCD file.\n\nThe pools are checked when the config is loaded, as for --server: the\nnetmask must be contiguous and between /16 and /29, the gateway a host\naddress inside the subnet, a range (if any) at least two host addresses\nof the subnet, tags unique, and no pool may overlap another or the\n--server network. Every pool is created at startup, and its gateway is\nreserved so it is never handed out to a client.\n\nThe server routes each pool\u0027s subnet into its tun device, as the device\nis only configured with the --server network: without this the server\ncannot reach its subnet-pool clients. This is a regular --route, so it\nis installed before privileges are dropped and honours --route-table,\n--route-metric and --route-noexec. Under DCO on Linux and FreeBSD,\nthough, the kernel selects the peer by the route\u0027s next hop, so a route\nvia a gateway would deliver every packet for an unassigned pool address\nto the client owning that gateway address: there the route is installed\non-link on the tun device instead (a new on_link route option flag), and\neach client of the pool gets its own on-link host route on connect (as\nits address is outside the --ifconfig network), so such packets match\nno peer.\n\nWhile here, the tunnel-network constraint violation is logged as a\nWARNING instead of MULTI ERROR, as it does not fail the connection.\n\nChange-Id: Ia1e7db95615d99ef9687de7c4e996dc8033e2631\nGitHub: closes openvpn/OpenVPN#987\nSigned-off-by: Antonio Quartulli \u003cantonio@mandelbit.com\u003e\n"},"branch":"refs/heads/master"},"f4c5a1f3167797600c27038c812faf967865b689":{"kind":"REWORK","_number":11,"created":"2026-10-26 15:17:56.000000000","uploader":{"_account_id":1000007,"name":"Antonio Quartulli","display_name":"Antonio Quartulli","email":"antonio@mandelbit.com","username":"ordex"},"ref":"refs/changes/83/1783/11","fetch":{"anonymous http":{"url":"https://gerrit.openvpn.net/openvpn","ref":"refs/changes/83/1783/11","commands":{"Branch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/83/1783/11 \u0026\u0026 git checkout -b change-1783 FETCH_HEAD","Checkout":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/83/1783/11 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/83/1783/11 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/83/1783/11 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://gerrit.openvpn.net/openvpn refs/changes/83/1783/11","Reset To":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/83/1783/11 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"54a66f355ace8e89b25ed9e85c659d290eb700d2","subject":"run-cppcheck.sh: Make CPPCHECK_CHECK_LEVEL\u003dnormal the default"}],"author":{"name":"Antonio Quartulli","email":"antonio@mandelbit.com","date":"2026-07-15 11:54:57.000000000","tz":120},"committer":{"name":"Antonio Quartulli","email":"antonio@mandelbit.com","date":"2026-10-26 15:11:09.000000000","tz":60},"subject":"multi: assign clients from a named subnet-pool","message":"multi: assign clients from a named subnet-pool\n\nAdd two server directives:\n\n  subnet-pool \u003cname\u003e \u003cnetwork\u003e \u003cnetmask\u003e [\u003cgateway\u003e [\u003cstart\u003e \u003cend\u003e]]\n                                                      (main config)\n  subnet-pool-name \u003cname\u003e                             (per-client CCD)\n\nso groups of clients can be given addresses from subnets other than the\n--server network (per-group firewall rules under --topology subnet, and\nthus DCO). A client\u0027s subnet-pool-name is resolved to its pool and served\na virtual IP from that subnet: a static --ifconfig-push within it, or\nthe next free address from a dynamic per-group pool shared by name. The\ndynamic pool spans the whole subnet unless a start-end range is given,\nwhich leaves the rest of the subnet to static addresses (these are not\nreserved in the pool). Such a client is validated against its own subnet\ninstead of the global tunnel-network constraint and never falls back to\nthe global pool; a name matching no configured pool is declined with\nAUTH_FAILED. The name is resolved again after every client-connect\nhandler, so a script, plugin or management interface may override the\none set by the CCD file.\n\nThe pools are checked when the config is loaded, as for --server: the\nnetmask must be contiguous and between /16 and /29, the gateway a host\naddress inside the subnet, a range (if any) at least two host addresses\nof the subnet, names unique, and no pool may overlap another or the\n--server network. Every pool is created at startup, and its gateway is\nreserved so it is never handed out to a client.\n\nThe server routes each pool\u0027s subnet into its tun device, as the device\nis only configured with the --server network: without this the server\ncannot reach its subnet-pool clients. This is a regular --route, so it\nis installed before privileges are dropped and honours --route-table,\n--route-metric and --route-noexec. Under DCO on Linux and FreeBSD,\nthough, the kernel selects the peer by the route\u0027s next hop, so a route\nvia a gateway would deliver every packet for an unassigned pool address\nto the client owning that gateway address: there the route is installed\non-link on the tun device instead (a new on_link route option flag), and\neach client of the pool gets its own on-link host route on connect (as\nits address is outside the --ifconfig network), so such packets match\nno peer.\n\nWhile here, the tunnel-network constraint violation is logged as a\nWARNING instead of MULTI ERROR, as it does not fail the connection.\n\nChange-Id: Ia1e7db95615d99ef9687de7c4e996dc8033e2631\nGitHub: closes openvpn/OpenVPN#987\nSigned-off-by: Antonio Quartulli \u003cantonio@mandelbit.com\u003e\n\n"},"branch":"refs/heads/master"},"e94e2da2f9045c18e28b128707d12d8a8df6f619":{"kind":"REWORK","_number":12,"created":"2026-10-26 20:59:55.000000000","uploader":{"_account_id":1000007,"name":"Antonio Quartulli","display_name":"Antonio Quartulli","email":"antonio@mandelbit.com","username":"ordex"},"ref":"refs/changes/83/1783/12","fetch":{"anonymous http":{"url":"https://gerrit.openvpn.net/openvpn","ref":"refs/changes/83/1783/12","commands":{"Branch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/83/1783/12 \u0026\u0026 git checkout -b change-1783 FETCH_HEAD","Checkout":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/83/1783/12 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/83/1783/12 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/83/1783/12 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://gerrit.openvpn.net/openvpn refs/changes/83/1783/12","Reset To":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/83/1783/12 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"54a66f355ace8e89b25ed9e85c659d290eb700d2","subject":"run-cppcheck.sh: Make CPPCHECK_CHECK_LEVEL\u003dnormal the default"}],"author":{"name":"Antonio Quartulli","email":"antonio@mandelbit.com","date":"2026-07-15 11:54:57.000000000","tz":120},"committer":{"name":"Antonio Quartulli","email":"antonio@mandelbit.com","date":"2026-10-26 20:59:22.000000000","tz":60},"subject":"multi: assign clients from a named subnet-pool","message":"multi: assign clients from a named subnet-pool\n\nAdd two server directives:\n\n  subnet-pool \u003cname\u003e \u003cnetwork\u003e \u003cnetmask\u003e [\u003cgateway\u003e [\u003cstart\u003e \u003cend\u003e]]\n                                                      (main config)\n  subnet-pool-name \u003cname\u003e                             (per-client CCD)\n\nso groups of clients can be given addresses from subnets other than the\n--server network (per-group firewall rules under --topology subnet, and\nthus DCO). A client\u0027s subnet-pool-name is resolved to its pool and served\na virtual IP from that subnet: a static --ifconfig-push within it, or\nthe next free address from a dynamic per-group pool shared by name. The\ndynamic pool spans the whole subnet unless a start-end range is given,\nwhich leaves the rest of the subnet to static addresses (these are not\nreserved in the pool). Such a client is validated against its own subnet\ninstead of the global tunnel-network constraint and never falls back to\nthe global pool; a name matching no configured pool is declined with\nAUTH_FAILED. The name is resolved again after every client-connect\nhandler, so a script, plugin or management interface may override the\none set by the CCD file.\n\nThe pools are checked when the config is loaded, as for --server: the\nnetmask must be contiguous and between /16 and /29, the gateway a host\naddress inside the subnet, a range (if any) at least two host addresses\nof the subnet, names unique, and no pool may overlap another or the\n--server network. Every pool is created at startup, and its gateway is\nreserved so it is never handed out to a client.\n\nThe server routes each pool\u0027s subnet into its tun device, as the device\nis only configured with the --server network: without this the server\ncannot reach its subnet-pool clients. This is a regular --route, so it\nis installed before privileges are dropped and honours --route-table,\n--route-metric and --route-noexec. Under DCO on Linux and FreeBSD,\nthough, the kernel selects the peer by the route\u0027s next hop, so a route\nvia a gateway would deliver every packet for an unassigned pool address\nto the client owning that gateway address: there the route is installed\non-link on the tun device instead (a new on_link route option flag), and\neach client of the pool gets its own on-link host route on connect (as\nits address is outside the --ifconfig network), so such packets match\nno peer.\n\nWhile here, the tunnel-network constraint violation is logged as a\nWARNING instead of MULTI ERROR, as it does not fail the connection.\n\nChange-Id: Ia1e7db95615d99ef9687de7c4e996dc8033e2631\nGitHub: closes openvpn/OpenVPN#987\nSigned-off-by: Antonio Quartulli \u003cantonio@mandelbit.com\u003e\n\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"}]}]}
