From: "flichtenheld (Code Review)" Date: Mon, 14 Aug 2023 09:36:51 +0000 In-Reply-To: References: Reply-To: frank@...2641..., arne-openvpn@...1227..., openvpn-devel@lists.sourceforge.net Message-ID: <091d82e8ed5daef8999b075f1544e232c54e030a-EmailReviewComments-HTML@...2715...> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="QxOEu4OkcEk="; charset=UTF-8 Subject: [Openvpn-devel] [S] Change in openvpn[master]: Add warning if a p2p NCP client connects to a p2mp server List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: plaisthos Cc: openvpn-devel --QxOEu4OkcEk= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Attention is currently required from: plaisthos. flichtenheld has posted comments on this change. ( http://gerrit.openvpn.ne= t/c/openvpn/+/323?usp=3Demail ) Change subject: Add warning if a p2p NCP client connects to a p2mp server ...................................................................... Patch Set 1: Code-Review-1 (3 comments) Patchset: PS1: Looked some more at it, would prefer to move the code. Doesn't change anyth= ing about the functionality though. File src/openvpn/ssl_ncp.c: http://gerrit.openvpn.net/c/openvpn/+/323/comment/5b44de9c_0e26824c : PS1, Line 262: /* For client doing the newer version of NCP (that send = IV_CIPHER) > Since you have done other drive-by typo fixes, should say "clients" here. Also should be "IV_CIPHERS" http://gerrit.openvpn.net/c/openvpn/+/323/comment/e732bec1_3e5463dc : PS1, Line 270: if (extract_iv_proto(peer_info) & IV_PROTO_NCP_P2P) This function is only called from multi_client_set_protocol_options which a= lready extracts proto and does do various things based on it. I think this = code would be better added there instead of here. -- To view, visit http://gerrit.openvpn.net/c/openvpn/+/323?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: I85ae4e1167e1395b4f59d5d0ecf6c38befcaa8a7 Gerrit-Change-Number: 323 Gerrit-PatchSet: 1 Gerrit-Owner: plaisthos Gerrit-Reviewer: flichtenheld Gerrit-CC: openvpn-devel Gerrit-Attention: plaisthos Gerrit-Comment-Date: Mon, 14 Aug 2023 09:36:51 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: Yes Comment-In-Reply-To: flichtenheld Gerrit-MessageType: comment --QxOEu4OkcEk= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Attention is currently required from: plaisthos.

Patch set 1:Code-Review -1=

Vi= ew Change

3 comments:

  • Patchset:

    • Patch Set #1:

      Looked some more at it, would prefer to move = the code. Doesn't change anything about the functionality though.

  • File src/openvpn/ssl_n= cp.c:

    • Patch Set #1,= Line 262: /* For c= lient doing the newer version of NCP (that send IV_CIPHER)

      Since you have done other drive-by typo fixes, should say "clien= ts" here.

      Also should be "IV_CIPHERS"

    • Patch= Set #1, Line 270: = if (extract_iv_proto(peer_info) & IV_PROTO_NCP_P2P)

      This function is only ca= lled from multi_client_set_protocol_options which already extracts proto an= d does do various things based on it. I think this code would be better add= ed there instead of here.

To view, visit change 323. = To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I85ae4e1167e1395b4f59d5d0ecf= 6c38befcaa8a7
Gerrit-Change-Number: 323
Gerrit-PatchSet: 1
Gerrit-Owner: plaisthos <arne-openvpn@...1711...= 27...>
Gerrit-Reviewer: flichtenheld <frank@...2716...= 1...>
Gerrit-CC: openvpn-devel <openvpn-devel@...1484...= ts.sourceforge.net>
Gerrit-Attention: plaisthos <arne-openvpn@...220...= ..1227...>
Gerrit-Comment-Date: Mon, 14 Aug 2023 09:36:51= +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Comment-In-Reply-To: flichtenheld <frank@...1186...= .2641...>
Gerrit-MessageType: comment
--QxOEu4OkcEk=--