From: "cron2 (Code Review)"
Date: Sun, 2 Feb 2025 21:12:12 +0000
In-Reply-To:
References:
Reply-To: gert@...1296..., arne-openvpn@...1227...,
gianmarco@...2726..., openvpn-devel@lists.sourceforge.net,
frank@...2641..., a@...2181...
Message-ID:
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Content-Disposition: inline
Content-Type: multipart/alternative; boundary="ar7E87AcsDk="; charset=UTF-8
Subject: [Openvpn-devel] [S] Change in openvpn[master]: if a local IPv6
address is provided, socket must be v6-only
List-Id:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
To: its_Giaan
Cc: flichtenheld , plaisthos , openvpn-devel
--ar7E87AcsDk=
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Attention is currently required from: flichtenheld, its_Giaan, ordex, plais=
thos.
cron2 has posted comments on this change. ( http://gerrit.openvpn.net/c/ope=
nvpn/+/761?usp=3Demail )
Change subject: if a local IPv6 address is provided, socket must be v6-only
......................................................................
Patch Set 16: Code-Review-1
(1 comment)
Commit Message:
http://gerrit.openvpn.net/c/openvpn/+/761/comment/78420fab_8b8d4fb4 :
PS1, Line 7: if
> The only thing that comes to my mind is that if we wanted to have a wildc=
ard ipv6 socket (i.e. [=E2=80=A6]
The more I think about this, the more I find that we should cover this by d=
ocumentation :-) - changing the default bind behaviour will break people's =
config on upgrading a server config with `local ::` or `proto udp6`, becaus=
e it will stop listening to IPv4.
So what we should do is to document that `* udp6` or `::`will default to `i=
pv4 + ipv6`, unless `bind ipv6only` is configured - and not try to solve th=
is in code, at least not for 2.7 when "just one socket" configs will be the=
normal case on upgrading.
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/761?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: I705fd9bf9298a54560eca12e3797351f4af321a7
Gerrit-Change-Number: 761
Gerrit-PatchSet: 16
Gerrit-Owner: its_Giaan
Gerrit-Reviewer: cron2
Gerrit-Reviewer: flichtenheld
Gerrit-Reviewer: plaisthos
Gerrit-CC: openvpn-devel
Gerrit-CC: ordex
Gerrit-Attention: plaisthos
Gerrit-Attention: its_Giaan
Gerrit-Attention: flichtenheld
Gerrit-Attention: ordex
Gerrit-Comment-Date: Sun, 02 Feb 2025 21:12:12 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Comment-In-Reply-To: flichtenheld
Comment-In-Reply-To: ordex
Gerrit-MessageType: comment
--ar7E87AcsDk=
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
The only=
thing that comes to my mind is that if we wanted to have a wildcard ipv6 s=
ocket (i.e. [=E2=80=A6]
The more I think about this, the more I find that w=
e should cover this by documentation :-) - changing the default bind behavi=
our will break people's config on upgrading a server config with `local=
::` or `proto udp6`, because it will stop listening to IPv4.
So what we should do is =
to document that `* udp6` or `::`will default to `ipv4 + ipv6`, unless `bin=
d ipv6only` is configured - and not try to solve this in code, at least not=
for 2.7 when "just one socket" configs will be the normal case o=
n upgrading.
To view, visit change 761. To unsubscribe=
, or for help writing mail filters, visit settings.