From: "stipa (Code Review)" Date: Wed, 31 Jul 2024 14:12:10 +0000 In-Reply-To: References: Reply-To: lstipakov@...277..., arne-openvpn@...1227..., openvpn-devel@lists.sourceforge.net, frank@...2641... Message-ID: <7fa36718c520745470ce6c1d3f1498653aad19df-EmailReviewComments-HTML@...2715...> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="BlSjsXKipgI="; charset=UTF-8 Subject: [Openvpn-devel] [L] Change in openvpn[master]: Implement support for larger packet counter sizes List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: plaisthos Cc: flichtenheld , openvpn-devel --BlSjsXKipgI= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Attention is currently required from: plaisthos. stipa has posted comments on this change. ( http://gerrit.openvpn.net/c/ope= nvpn/+/507?usp=3Demail ) Change subject: Implement support for larger packet counter sizes ...................................................................... Patch Set 6: Code-Review+1 (6 comments) Patchset: PS6: A few minor comments, otherwise LGTM File src/openvpn/crypto.c: http://gerrit.openvpn.net/c/openvpn/+/507/comment/057e647e_235cce26 : PS6, Line 364: openvpn_decrypt_aead(struct buffer *buf, struct buffer work, Is it so that for DATA_V1: ad_start points to packet_id and for DATA_V2: ad_start points to opcode/peer-id ? File src/openvpn/init.c: http://gerrit.openvpn.net/c/openvpn/+/507/comment/68137a62_4480a3d5 : PS6, Line 2696: /* Ensure that for proto v3 is enabled fully or not= at all */ Ensure that both aead_tag_end and long_pkt_id are enabled for DATA_V3 ? File src/openvpn/ssl.c: http://gerrit.openvpn.net/c/openvpn/+/507/comment/758ca11c_70a5b728 : PS6, Line 1528: impl_iv_len =3D cipher_ctx_iv_length(ctx->cipher) -= packet_id_size(longiv); why not move declaration of impl_iv_len here? File src/openvpn/ssl_common.h: http://gerrit.openvpn.net/c/openvpn/+/507/comment/e1373829_32fe9ec0 : PS6, Line 314: bool disable_occ; this looks like an unrelated change http://gerrit.openvpn.net/c/openvpn/+/507/comment/b333e775_ad0af8c2 : PS6, Line 493: int limit_next; /* used for traffic shaping = on the control channel */ ditto -- To view, visit http://gerrit.openvpn.net/c/openvpn/+/507?usp=3Demail To unsubscribe, or for help writing mail filters, visit http://gerrit.openv= pn.net/settings Gerrit-Project: openvpn Gerrit-Branch: master Gerrit-Change-Id: I01e258e97351b5aa4b9e561f5b35ddc2318569e2 Gerrit-Change-Number: 507 Gerrit-PatchSet: 6 Gerrit-Owner: plaisthos Gerrit-Reviewer: flichtenheld Gerrit-Reviewer: stipa Gerrit-CC: openvpn-devel Gerrit-Attention: plaisthos Gerrit-Comment-Date: Wed, 31 Jul 2024 14:12:10 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: Yes Gerrit-MessageType: comment --BlSjsXKipgI= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Attention is currently required from: plaisthos.

Patch set 6:Code-Review +1=

Vi= ew Change

6 comments:

  • Patchset:

  • File src/openvpn/crypto.c= :

    • Patch Set #6, Lin= e 364: openvpn_decrypt_= aead(struct buffer *buf, struct buffer work,

      Is it so that for DATA_V1:

        ad_star=
      t points to packet_id

      and for DATA_V2:
        ad_start points to opco=
      de/peer-id

      ?
  • File src/openvpn/init.c:

    • Patch Set #6, Line 2696: /* Ensure that for proto v3 is enabled fully or not = at all */

      Ensure that both aead_tag_end and long_pkt_id are enabled for DATA_V3 ?=

  • File src/openvpn= /ssl.c:

    • Patch Set #= 6, Line 1528: i= mpl_iv_len =3D cipher_ctx_iv_length(ctx->cipher) - packet_id_size(longiv= );

      why= not move declaration of impl_iv_len here?

  • File src/openvpn/ssl_common.h:

To v= iew, visit change 507. To unsubscribe, or for help writing mail filters, visit <= a href=3D"http://gerrit.openvpn.net/settings">settings.

Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I01e258e97351b5aa4b9e561f5b3= 5ddc2318569e2
Gerrit-Change-Number: 507
Gerrit-PatchSet: 6
Gerrit-Owner: plaisthos <arne-openvpn@...1711...= 27...>
Gerrit-Reviewer: flichtenheld <frank@...2716...= 1...>
Gerrit-Reviewer: stipa <lstipakov@...277...= >
Gerrit-CC: openvpn-devel <openvpn-devel@...1484...= ts.sourceforge.net>
Gerrit-Attention: plaisthos <arne-openvpn@...220...= ..1227...>
Gerrit-Comment-Date: Wed, 31 Jul 2024 14:12:10= +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
--BlSjsXKipgI=--