From: "ordex (Code Review)"
Date: Thu, 9 Mar 2023 14:37:36 +0000
In-Reply-To:
References:
Reply-To: a@...2181..., arne-openvpn@...1227...,
openvpn-devel@lists.sourceforge.net, lstipakov@...277...
Message-ID: <94cff27ac38a4623177efe4ac9365ae59c306ee0-EmailReviewComments-HTML@...2715...>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Content-Disposition: inline
Content-Type: multipart/alternative; boundary="BfBa82y8IKQ="; charset=UTF-8
Subject: [Openvpn-devel] [L] Change in openvpn[master]: dco: don't use
NetLink to exchange control packets
List-Id:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Cc: openvpn-devel@lists.sourceforge.net, Lev Stipakov , plaisthos
--BfBa82y8IKQ=
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Attention is currently required from: cron2, plaisthos.
ordex has posted comments on this change. ( http://gerrit.openvpn.net/c/ope=
nvpn/+/28?usp=3Demail )
Change subject: dco: don't use NetLink to exchange control packets
......................................................................
Patch Set 4:
(2 comments)
File src/openvpn/socket.h:
http://gerrit.openvpn.net/c/openvpn/+/28/comment/6956503d_6dfb58db
PS4, Line 1184: /* unified UDPv4 and UDPv6 and DCO (kernel adds siz=
e header) */
> when we have TCP we need to add the size header but in the DCO case, the =
kernel does that for us.
not anymore on linux as packets are just left untouched.
http://gerrit.openvpn.net/c/openvpn/+/28/comment/f80fb018_e8c00ace
PS4, Line 1069: * will strip the length header */
> Basically in this codepath it is basically more like read_packet_with_hea=
der vs read_packet_without_ [=E2=80=A6]
aaah makes sense now. However, now the length header has to be set/unset by=
userland, because control packets are left untouched by DCO-linux
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/28?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: Ia1297c3ae9a28b188ed21ad21ae96fff3d02ee4d
Gerrit-Change-Number: 28
Gerrit-PatchSet: 4
Gerrit-Owner: ordex
Gerrit-Reviewer: cron2
Gerrit-Reviewer: plaisthos
Gerrit-CC: stipa
Gerrit-Attention: plaisthos
Gerrit-Attention: cron2
Gerrit-Comment-Date: Thu, 09 Mar 2023 14:37:36 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: plaisthos
Comment-In-Reply-To: ordex
Gerrit-MessageType: comment
--BfBa82y8IKQ=
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Attention is currently required from: cron2, plaisthos.
View Ch=
ange
2 comments:
not anymore on linux as packets are just left untouched.
=
Patch Set #4, Line 1069: * will strip the length header */
Basically in this codepath it is basically more like read_packet_with_head=
er vs read_packet_without_ [=E2=80=A6]
aaah makes sense now. However, now t=
he length header has to be set/unset by userland, because control packets a=
re left untouched by DCO-linux
To view, visit change 28=
. To unsubscribe, or for help writing mail filters, visit settings.
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Ia1297c3ae9a28b188ed21ad21ae=
96fff3d02ee4d
Gerrit-Change-Number: 28
Gerrit-PatchSet: 4
Gerrit-Owner: ordex <a@...2181...>
Gerrit-Reviewer: cron2
Gerrit-Reviewer: plaisthos <arne-openvpn@...1186...=
.1227...>
Gerrit-CC: stipa <lstipakov@...277...> <=
/div>
Gerrit-Attention: plaisthos <arne-openvpn@...220...=
..1227...>
Gerrit-Attention: cron2
Gerrit-Comment-Date: Thu, 09 Mar 2023 14:37:36=
+0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: plaisthos <arne-openvp=
n@...1227...>
Comment-In-Reply-To: ordex <a@...2181...>=
;
Gerrit-MessageType: comment
--BfBa82y8IKQ=--