From: "flichtenheld (Code Review)" <gerrit@...515...>
To: plaisthos <arne-openvpn@...1227...>
Cc: openvpn-devel <openvpn-devel@lists.sourceforge.net>
Subject: [Openvpn-devel] [L] Change in openvpn[master]: Implement support for larger packet counter sizes
Date: Mon, 5 Feb 2024 11:24:24 +0000 [thread overview]
Message-ID: <8cdf8c81e5231b2f99d61634dae9cddcae74e945-EmailReviewComments-HTML@...2715...> (raw)
In-Reply-To: <gerrit.1706186293000.I01e258e97351b5aa4b9e561f5b35ddc2318569e2@...2715...>
[-- Attachment #1: Type: text/plain, Size: 3380 bytes --]
Attention is currently required from: plaisthos.
flichtenheld has posted comments on this change. ( http://gerrit.openvpn.net/c/openvpn/+/507?usp=email )
Change subject: Implement support for larger packet counter sizes
......................................................................
Patch Set 2: Code-Review-1
(11 comments)
Commit Message:
http://gerrit.openvpn.net/c/openvpn/+/507/comment/9474d66b_41a49dc1 :
PS2, Line 27: larger packet counters in any scenario since the other scenarios
Maybe nicer "in any other scenario since those are all legacy"
http://gerrit.openvpn.net/c/openvpn/+/507/comment/c459f6e9_1c6a2ee5 :
PS2, Line 38: 2^32 packet ids) forward. But this is an obscure edge that we can
remove second "forward"
http://gerrit.openvpn.net/c/openvpn/+/507/comment/e22305ad_aea02a52 :
PS2, Line 41: Change-Id: I01e258e97351b5aa4b9e561f5b35ddc2318569e2
Missing sign-off
Patchset:
PS2:
Didn't get through the whole change, yet, but since I accumulated already a sizeable number of comments, here they are...
File src/openvpn/crypto.h:
http://gerrit.openvpn.net/c/openvpn/+/507/comment/f5a0f5fa_c7d56d07 :
PS2, Line 287: /**< Bit-flag indicating that we should use a 64 bit (8 byte) packet
This needs WAY more explanation. What is the difference between CO_PACKET_ID_LONG_FORM and this? CO_PACKET_ID_LONG_FORM is only for non-AEAD data packets and this is only for AEAD packets, right? I think this should be mentioned here.
http://gerrit.openvpn.net/c/openvpn/+/507/comment/44aff7d2_675e1cf8 :
PS2, Line 288: * counter instead of the 32 bit that we normally use.
"normally use" -> "use by default". 32bit will remain the default, but hopefully not the norm.
File src/openvpn/packet_id.h:
http://gerrit.openvpn.net/c/openvpn/+/507/comment/586075bf_d6c272af :
PS2, Line 250: * Variant of packet_id_read that expect the timestamp first and packet
"expects"
http://gerrit.openvpn.net/c/openvpn/+/507/comment/01116f80_49cacdec :
PS2, Line 273: * will always use a variant of the packet id that can just be seens as
"seen"
http://gerrit.openvpn.net/c/openvpn/+/507/comment/27267e93_2e924d4c :
PS2, Line 274: * a flat 64 bit counter
add full stop at the end
http://gerrit.openvpn.net/c/openvpn/+/507/comment/a6ddc660_5b3f2b5e :
PS2, Line 277: * @param buf Buffer to write the packet ID too
"too" -> "to"
http://gerrit.openvpn.net/c/openvpn/+/507/comment/42ac15af_a6087522 :
PS2, Line 279: * @param prepend If true, prepend to buffer, otherwise append.
prepend parameter does not exist in this variant. Why is that? Is CO_AEAD_TAG_AT_THE_END now always true?
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/507?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I01e258e97351b5aa4b9e561f5b35ddc2318569e2
Gerrit-Change-Number: 507
Gerrit-PatchSet: 2
Gerrit-Owner: plaisthos <arne-openvpn@...1227...>
Gerrit-Reviewer: flichtenheld <frank@...2641...>
Gerrit-CC: openvpn-devel <openvpn-devel@lists.sourceforge.net>
Gerrit-Attention: plaisthos <arne-openvpn@...1227...>
Gerrit-Comment-Date: Mon, 05 Feb 2024 11:24:24 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
[-- Attachment #2: Type: text/html, Size: 6970 bytes --]
next prev parent reply other threads:[~2024-02-05 11:24 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <gerrit.1706186293000.I01e258e97351b5aa4b9e561f5b35ddc2318569e2@...2715...>
2024-01-25 12:38 ` [Openvpn-devel] [M] Change in openvpn[master]: Implement support for larger packet counter sizes plaisthos (Code Review)
2024-02-02 12:48 ` [Openvpn-devel] [L] " plaisthos (Code Review)
2024-02-05 11:24 ` flichtenheld (Code Review) [this message]
2024-02-05 12:24 ` flichtenheld (Code Review)
2024-02-09 14:52 ` plaisthos (Code Review)
2024-02-09 14:59 ` plaisthos (Code Review)
2024-03-18 15:54 ` flichtenheld (Code Review)
2024-03-27 10:34 ` plaisthos (Code Review)
2024-03-27 10:40 ` plaisthos (Code Review)
2024-03-27 11:33 ` flichtenheld (Code Review)
2024-04-29 15:50 ` plaisthos (Code Review)
2024-04-30 11:34 ` flichtenheld (Code Review)
2024-04-30 12:13 ` plaisthos (Code Review)
2024-07-12 12:15 ` flichtenheld (Code Review)
2024-07-31 14:12 ` stipa (Code Review)
2024-08-01 11:57 ` stipa (Code Review)
2024-08-01 12:12 ` plaisthos (Code Review)
2024-08-13 10:53 ` stipa (Code Review)
2024-08-13 10:53 ` stipa (Code Review)
2024-08-13 11:07 ` plaisthos (Code Review)
2024-08-13 11:23 ` plaisthos (Code Review)
2024-08-13 11:46 ` stipa (Code Review)
2024-08-14 13:16 ` flichtenheld (Code Review)
2024-09-10 9:24 ` plaisthos (Code Review)
2024-09-10 10:05 ` plaisthos (Code Review)
2024-09-10 10:37 ` flichtenheld (Code Review)
2024-09-10 10:46 ` [Openvpn-devel] [PATCH v10] " Frank Lichtenheld
2024-09-10 11:16 ` [Openvpn-devel] [L] Change in openvpn[master]: " plaisthos (Code Review)
2024-09-10 11:47 ` flichtenheld (Code Review)
2024-09-10 16:34 ` [Openvpn-devel] [PATCH v11] " Gert Doering
2024-09-10 19:51 ` Steffan Karger
2024-09-11 5:58 ` Gert Doering
2024-09-30 12:54 ` [Openvpn-devel] [L] Change in openvpn[master]: " plaisthos (Code Review)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8cdf8c81e5231b2f99d61634dae9cddcae74e945-EmailReviewComments-HTML@...2715... \
--to=openvpn-devel@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.