From: "cron2 (Code Review)" Date: Fri, 14 Feb 2025 10:20:55 +0000 In-Reply-To: References: Reply-To: gert@...1296..., arne-openvpn@...1227..., marco@...2726..., openvpn-devel@lists.sourceforge.net, frank@...2641... Message-ID: <58c83d180b7b3b0188676da3b86f4bb8f75c2e40-EmailReviewComments-HTML@...2715...> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="u14Ofs1Zwpo="; charset=UTF-8 Subject: [Openvpn-devel] [XS] Change in openvpn[master]: get_dafault_gateway(): Make sure the get_default_gateway() function n... List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: mrbff Cc: plaisthos , flichtenheld , openvpn-devel --u14Ofs1Zwpo= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Attention is currently required from: flichtenheld, mrbff, plaisthos. cron2 has posted comments on this change. ( http://gerrit.openvpn.net/c/ope= nvpn/+/898?usp=3Demail ) Change subject: get_dafault_gateway(): Make sure the get_default_gateway() = function never receives IPV4_INVALID_ADDR as a destination. ...................................................................... Patch Set 1: Code-Review-1 (2 comments) Patchset: PS1: Typo in `get_dafault...` in the commit message, and please add a few words = why this is needed ("commit ... added using the remote VPN host address to = query the default gateway which fails when connecting using IPv6") File src/openvpn/options.c: http://gerrit.openvpn.net/c/openvpn/+/898/comment/4d8cea43_70bff5a2 : PS1, Line 5876: get_default_gateway_ipv6(&rgi6, &remote_ipv6, &net_= ctx); this change is not needed. get_ip_addr() will return `0` on everything tha= t is not a valid IPv4 address (or can resolve to one). -- To view, visit http://gerrit.openvpn.net/c/openvpn/+/898?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: I02afe6817433ca21aae76671c35151ec6a066933 Gerrit-Change-Number: 898 Gerrit-PatchSet: 1 Gerrit-Owner: mrbff Gerrit-Reviewer: cron2 Gerrit-Reviewer: flichtenheld Gerrit-Reviewer: plaisthos Gerrit-CC: openvpn-devel Gerrit-Attention: plaisthos Gerrit-Attention: flichtenheld Gerrit-Attention: mrbff Gerrit-Comment-Date: Fri, 14 Feb 2025 10:20:55 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: Yes Gerrit-MessageType: comment --u14Ofs1Zwpo= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Attention is currently required from: flichtenheld, mrbff, plaisthos. <= /p>

Patch set 1:Code-Review -1=

Vi= ew Change

2 comments:

  • Patchset:

    • Patch Set #1:

      Typo in `get_dafault...` in the commit messag= e, and please add a few words why this is needed ("commit ... added us= ing the remote VPN host address to query the default gateway which fails wh= en connecting using IPv6")

  • File src/openvpn/options.c:

    • Patch Set #1, Line 5876: get_default_gateway_ipv6(&rgi6, &= remote_ipv6, &net_ctx);

      this change is not needed. get_ip_addr() will return= `0` on everything that is not a valid IPv4 address (or can resolve to one)= .

To view, visit change 898. To unsubscribe, or for he= lp writing mail filters, visit settings.

Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I02afe6817433ca21aae76671c35= 151ec6a066933
Gerrit-Change-Number: 898
Gerrit-PatchSet: 1
Gerrit-Owner: mrbff <marco@...2726...> <= /div>
Gerrit-Reviewer: cron2 <gert@...1296...>=
Gerrit-Reviewer: flichtenheld <frank@...2716...= 1...>
Gerrit-Reviewer: plaisthos <arne-openvpn@...1186...= .1227...>
Gerrit-CC: openvpn-devel <openvpn-devel@...1484...= ts.sourceforge.net>
Gerrit-Attention: plaisthos <arne-openvpn@...220...= ..1227...>
Gerrit-Attention: flichtenheld <frank@...2375...= 41...>
Gerrit-Attention: mrbff <marco@...2726...&g= t;
Gerrit-Comment-Date: Fri, 14 Feb 2025 10:20:55= +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
--u14Ofs1Zwpo=--