)]}'
{"/PATCHSET_LEVEL":[{"author":{"_account_id":1000008,"name":"Lev Stipakov","display_name":"Lev Stipakov","email":"lstipakov@gmail.com","username":"stipa"},"change_message_id":"61c7f8b0504b49254890071144295c7f6ef49ce1","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":4,"id":"f557c5b3_0f070926","updated":"2024-07-24 11:15:00.000000000","message":"Please note that in case of (Windows) client dco_set_peer() is now calling twice. Once, as before, in \n\n  do_up()-\u003ep2p_set_dco_keepalive()\n  \nand another one in\n\n  do_up()-\u003edo_deferred_options_part2()-\u003etls_session_update_crypto_params()\n\nIs the problem solved by this patch is server-specific? Maybe ensure that dco_set_peer() call inside do_deferred_p2p_ncp() is called only for server? Note that existing code also works in P2P without --pull.","commit_id":"2ecae97135c0157b54639e399aff4a87d7a39beb"},{"author":{"_account_id":1000034,"name":"Gianmarco De Gregori","display_name":"Gianmarco De Gregori","email":"gianmarco@mandelbit.com","username":"its_Giaan"},"change_message_id":"69f38028cd6fe79dc74472827293751f88d42767","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":4,"id":"8c3e5c39_e4c1241b","in_reply_to":"7fba0808_8d345e4a","updated":"2024-07-24 14:16:42.000000000","message":"Done","commit_id":"2ecae97135c0157b54639e399aff4a87d7a39beb"},{"author":{"_account_id":1000034,"name":"Gianmarco De Gregori","display_name":"Gianmarco De Gregori","email":"gianmarco@mandelbit.com","username":"its_Giaan"},"change_message_id":"9d87e939c833432ffd05ddf050d2576ae2c9309f","unresolved":true,"context_lines":[],"source_content_type":"","patch_set":4,"id":"7fba0808_8d345e4a","in_reply_to":"f557c5b3_0f070926","updated":"2024-07-24 11:42:32.000000000","message":"Yes, it is server-specific indeed, I will update this accordingly.","commit_id":"2ecae97135c0157b54639e399aff4a87d7a39beb"},{"author":{"_account_id":1000002,"name":"Gert Doering","display_name":"Gert Doering","email":"gert@greenie.muc.de","username":"cron2"},"change_message_id":"88b2340fd8e1dd603f0dbecf600158655f033ec1","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":5,"id":"03a78141_e39377fd","updated":"2024-09-09 10:45:48.000000000","message":"I\u0027m not sure the patch is actually fixing the problematic behaviour (\"not updating mssfix correctly on pushed values\").\n\nIf I run the code with `--tun-mtu 500` on the command line (proto UDP, IPv4), I see\n\n```\n2024-09-09 12:36:53 us\u003d890850 dco_set_peer: peer-id 0, keepalive 10/30, mss 460\n```\n\nwhich sounds reasonable.\n\nif I run with `--tun-mtu 1500` locally, and the server pushes `--tun-mtu 1400`, I get\n\n```\n2024-09-09 12:37:43 us\u003d641363 net_iface_mtu_set: mtu 1400 for tun7\n2024-09-09 12:37:43 us\u003d642421 Data Channel MTU parms [ mss_fix:1400 max_frag:0 tun_mtu:1400 tun_max_mtu:1600 headroom:136 payload:1768 tailroom:562 ET:0 ]\n2024-09-09 12:37:43 us\u003d642891 dco_set_peer: peer-id 1, keepalive 10/30, mss 1400\n```\n\nwhich is not what I\u0027d expect - but it is the same behaviour as \"without this patch\".\n\nSo, to proceed here, I need instructions for \"how to demonstrate the problem\", which actually see a change in behaviour with the patch...","commit_id":"4a4adce7bbb80c28548d3c30d862d6208f3244aa"}],"src/openvpn/init.c":[{"author":{"_account_id":1000008,"name":"Lev Stipakov","display_name":"Lev Stipakov","email":"lstipakov@gmail.com","username":"stipa"},"change_message_id":"0e9515097a9fe8de7de822f2a63c84b52a62da45","unresolved":true,"context_lines":[{"line_number":2177,"context_line":"    return memcmp(a, b, sizeof(struct sha256_digest))"},{"line_number":2178,"context_line":"           || !memcmp(a, \u0026zero, sizeof(struct sha256_digest));"},{"line_number":2179,"context_line":"}"},{"line_number":2180,"context_line":""},{"line_number":2181,"context_line":"/**"},{"line_number":2182,"context_line":" * Helper function for tls_print_deferred_options_results"},{"line_number":2183,"context_line":" * Adds the \", \" delimitor if there already some data in the"}],"source_content_type":"text/x-csrc","patch_set":5,"id":"be9fd53e_44557d0b","line":2180,"updated":"2024-07-24 15:18:56.000000000","message":"I think this will break pure P2P mode. See\nhttps://github.com/OpenVPN/openvpn/commit/7c66a6dab54d8efcde57c8fb562f95d95f9b18d4","commit_id":"4a4adce7bbb80c28548d3c30d862d6208f3244aa"},{"author":{"_account_id":1000034,"name":"Gianmarco De Gregori","display_name":"Gianmarco De Gregori","email":"gianmarco@mandelbit.com","username":"its_Giaan"},"change_message_id":"db13a623fea311638c20150b4aac96386895d8ce","unresolved":false,"context_lines":[{"line_number":2177,"context_line":"    return memcmp(a, b, sizeof(struct sha256_digest))"},{"line_number":2178,"context_line":"           || !memcmp(a, \u0026zero, sizeof(struct sha256_digest));"},{"line_number":2179,"context_line":"}"},{"line_number":2180,"context_line":""},{"line_number":2181,"context_line":"/**"},{"line_number":2182,"context_line":" * Helper function for tls_print_deferred_options_results"},{"line_number":2183,"context_line":" * Adds the \", \" delimitor if there already some data in the"}],"source_content_type":"text/x-csrc","patch_set":5,"id":"df5a2824_f9a8a7ae","line":2180,"in_reply_to":"be9fd53e_44557d0b","updated":"2024-07-24 15:59:25.000000000","message":"Done","commit_id":"4a4adce7bbb80c28548d3c30d862d6208f3244aa"}],"src/openvpn/ssl.c":[{"author":{"_account_id":1000001,"name":"Frank Lichtenheld","display_name":"Frank Lichtenheld","email":"frank@lichtenheld.com","username":"flichtenheld","status":"OpenVPN Inc."},"change_message_id":"abc79459e984ef90f110ca6ce4d377c02f545f7d","unresolved":true,"context_lines":[{"line_number":1626,"context_line":"        int ret;"},{"line_number":1627,"context_line":"        if (options-\u003eping_send_timeout || frame-\u003emss_fix)"},{"line_number":1628,"context_line":"        {"},{"line_number":1629,"context_line":"            ret \u003d dco_set_peer(dco,"},{"line_number":1630,"context_line":"                               multi-\u003edco_peer_id,"},{"line_number":1631,"context_line":"                               options-\u003eping_send_timeout,"},{"line_number":1632,"context_line":"                               options-\u003eping_rec_timeout,"}],"source_content_type":"text/x-csrc","patch_set":1,"id":"2a154988_9c01f88f","line":1629,"updated":"2024-07-09 13:01:19.000000000","message":"Nitpick: no reason not to move the \"int\" here. ret is not used outside this if","commit_id":"74219b63ff82184d3371557fc5b74c1e69e24614"},{"author":{"_account_id":1000034,"name":"Gianmarco De Gregori","display_name":"Gianmarco De Gregori","email":"gianmarco@mandelbit.com","username":"its_Giaan"},"change_message_id":"82e29acc2ef981c8d493351e6a6999efa78ab893","unresolved":false,"context_lines":[{"line_number":1626,"context_line":"        int ret;"},{"line_number":1627,"context_line":"        if (options-\u003eping_send_timeout || frame-\u003emss_fix)"},{"line_number":1628,"context_line":"        {"},{"line_number":1629,"context_line":"            ret \u003d dco_set_peer(dco,"},{"line_number":1630,"context_line":"                               multi-\u003edco_peer_id,"},{"line_number":1631,"context_line":"                               options-\u003eping_send_timeout,"},{"line_number":1632,"context_line":"                               options-\u003eping_rec_timeout,"}],"source_content_type":"text/x-csrc","patch_set":1,"id":"5d8f4c52_8c86a333","line":1629,"in_reply_to":"2a154988_9c01f88f","updated":"2024-07-10 15:35:02.000000000","message":"Done","commit_id":"74219b63ff82184d3371557fc5b74c1e69e24614"},{"author":{"_account_id":1000001,"name":"Frank Lichtenheld","display_name":"Frank Lichtenheld","email":"frank@lichtenheld.com","username":"flichtenheld","status":"OpenVPN Inc."},"change_message_id":"8de617e7cf34ed2d78f974bdd6e2f7fbbe878a81","unresolved":true,"context_lines":[{"line_number":1633,"context_line":"        }"},{"line_number":1634,"context_line":"    }"},{"line_number":1635,"context_line":""},{"line_number":1636,"context_line":"    if (dco_enabled(options))"},{"line_number":1637,"context_line":"    {"},{"line_number":1638,"context_line":"        if (options-\u003eping_send_timeout || frame-\u003emss_fix)"},{"line_number":1639,"context_line":"        {"}],"source_content_type":"text/x-csrc","patch_set":2,"id":"bbf05c6d_45e6087d","line":1636,"updated":"2024-07-19 15:19:09.000000000","message":"I think it would be good to have a comment that explains why this code is here. My understanding from the code and the commit message is that this is about mss_fix. But I think this is not obvious so a comment would make sense.","commit_id":"92cc38c6cef408b63d6b38fd868acaf5be37fff5"},{"author":{"_account_id":1000034,"name":"Gianmarco De Gregori","display_name":"Gianmarco De Gregori","email":"gianmarco@mandelbit.com","username":"its_Giaan"},"change_message_id":"62ac59e83cd8d000a163d8232c0bf7aab9e99231","unresolved":false,"context_lines":[{"line_number":1633,"context_line":"        }"},{"line_number":1634,"context_line":"    }"},{"line_number":1635,"context_line":""},{"line_number":1636,"context_line":"    if (dco_enabled(options))"},{"line_number":1637,"context_line":"    {"},{"line_number":1638,"context_line":"        if (options-\u003eping_send_timeout || frame-\u003emss_fix)"},{"line_number":1639,"context_line":"        {"}],"source_content_type":"text/x-csrc","patch_set":2,"id":"03d57823_32be42fb","line":1636,"in_reply_to":"bbf05c6d_45e6087d","updated":"2024-07-22 14:35:54.000000000","message":"Done","commit_id":"92cc38c6cef408b63d6b38fd868acaf5be37fff5"},{"author":{"_account_id":1000002,"name":"Gert Doering","display_name":"Gert Doering","email":"gert@greenie.muc.de","username":"cron2"},"change_message_id":"17f47a628910bac62cbef1b334545981306048e4","unresolved":true,"context_lines":[{"line_number":1636,"context_line":"    if (dco_enabled(options))"},{"line_number":1637,"context_line":"    {"},{"line_number":1638,"context_line":"        /* dco_set_peer() must be called only when both"},{"line_number":1639,"context_line":"         * keepalive and mss_fix are properly set. */"},{"line_number":1640,"context_line":"        if (options-\u003eping_send_timeout || frame-\u003emss_fix)"},{"line_number":1641,"context_line":"        {"},{"line_number":1642,"context_line":"            int ret \u003d dco_set_peer(dco,"}],"source_content_type":"text/x-csrc","patch_set":5,"id":"d42a3650_bc1c9ab6","line":1639,"updated":"2024-09-09 10:46:43.000000000","message":"this comment needs to be corrected (if we do another round anyway, otherwise I\u0027ll do this on-commit) - the comment says \"AND\", the code says \"OR\"...","commit_id":"4a4adce7bbb80c28548d3c30d862d6208f3244aa"}],"src/openvpn/ssl.h":[{"author":{"_account_id":1000001,"name":"Frank Lichtenheld","display_name":"Frank Lichtenheld","email":"frank@lichtenheld.com","username":"flichtenheld","status":"OpenVPN Inc."},"change_message_id":"abc79459e984ef90f110ca6ce4d377c02f545f7d","unresolved":true,"context_lines":[{"line_number":453,"context_line":" * @param lsi             link socket info to adjust MTU related options"},{"line_number":454,"context_line":" *                        depending on the current protocol"},{"line_number":455,"context_line":" * @param dco             The dco context to perform dco_set_peer()"},{"line_number":456,"context_line":" *                        whenever a crypto param update occur."},{"line_number":457,"context_line":" *"},{"line_number":458,"context_line":" * @return true if updating succeeded or keys are already generated, false otherwise."},{"line_number":459,"context_line":" */"}],"source_content_type":"text/x-csrc","patch_set":1,"id":"9b3ef809_11ff49e8","line":456,"updated":"2024-07-09 13:01:19.000000000","message":"Nitpick: occurs","commit_id":"74219b63ff82184d3371557fc5b74c1e69e24614"},{"author":{"_account_id":1000034,"name":"Gianmarco De Gregori","display_name":"Gianmarco De Gregori","email":"gianmarco@mandelbit.com","username":"its_Giaan"},"change_message_id":"82e29acc2ef981c8d493351e6a6999efa78ab893","unresolved":false,"context_lines":[{"line_number":453,"context_line":" * @param lsi             link socket info to adjust MTU related options"},{"line_number":454,"context_line":" *                        depending on the current protocol"},{"line_number":455,"context_line":" * @param dco             The dco context to perform dco_set_peer()"},{"line_number":456,"context_line":" *                        whenever a crypto param update occur."},{"line_number":457,"context_line":" *"},{"line_number":458,"context_line":" * @return true if updating succeeded or keys are already generated, false otherwise."},{"line_number":459,"context_line":" */"}],"source_content_type":"text/x-csrc","patch_set":1,"id":"6eecde57_67a036a4","line":456,"in_reply_to":"9b3ef809_11ff49e8","updated":"2024-07-10 15:35:02.000000000","message":"Done","commit_id":"74219b63ff82184d3371557fc5b74c1e69e24614"}]}
