Attention is currently required from: Arne Schwabe, Frank Lichtenheld, Lev 
Stipakov.

Răzvan Cojocaru has posted comments on this change by Lev Stipakov. ( 
https://gerrit.openvpn.net/c/openvpn/+/1965?usp=email )

Change subject: control_msg: Add a shared TLV codec and use it for early 
negotiation
......................................................................


Patch Set 6: Code-Review-1

(3 comments)

File src/openvpn/control_msg.h:

https://gerrit.openvpn.net/c/openvpn/+/1965/comment/7f20a6cf_6e9d416a?usp=email 
:
PS6, Line 45: /* TLV header bit layout of the first 16-bit field */
Should this comment be above `CTRL_MSG_TLV_OPTIONAL_FLAG` / 
`CTRL_MSG_TLV_TYPE_MASK`?


File src/openvpn/control_msg.c:

https://gerrit.openvpn.net/c/openvpn/+/1965/comment/e27aa5e4_fdbb0623?usp=email 
:
PS6, Line 62:     int field = buf_read_u16(buf);
Checking `BLEN(buf) < CTRL_MSG_TLV_HEADER_LEN` first would match the write side 
and not partly consume `buf` on failure cases.


File tests/unit_tests/openvpn/test_control_msg.c:

https://gerrit.openvpn.net/c/openvpn/+/1965/comment/553ee3d2_c799ce91?usp=email 
:
PS6, Line 40:  * client to resend its WKc, as older versions wrote it by hand. 
*/
I think Arne -2'd this in its previous version over this wording in test_pkt.c.

Maybe we could cut it to just "The early negotiation flags TLV of a reset 
packet asking a tls-crypt-v2 client to resend its WKc."?



--
To view, visit https://gerrit.openvpn.net/c/openvpn/+/1965?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.openvpn.net/settings?usp=email

Gerrit-MessageType: comment
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I89c3133e009dc75dc2c10c607b3f0a24c04e8146
Gerrit-Change-Number: 1965
Gerrit-PatchSet: 6
Gerrit-Owner: Lev Stipakov <[email protected]>
Gerrit-Reviewer: Arne Schwabe <[email protected]>
Gerrit-Reviewer: Frank Lichtenheld <[email protected]>
Gerrit-Reviewer: Răzvan Cojocaru <[email protected]>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: Lev Stipakov <[email protected]>
Gerrit-Attention: Arne Schwabe <[email protected]>
Gerrit-Attention: Frank Lichtenheld <[email protected]>
Gerrit-Comment-Date: Thu, 12 Nov 2026 15:35:56 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Reply via email to