Hi On Mon, Sep 13, 2021 at 3:23 PM Antonio Quartulli <a...@unstable.cc> wrote:
> Hi, > > On 13/09/2021 18:51, Selva Nair wrote: > > Hi > > > > On Mon, Sep 13, 2021 at 10:22 AM Jonathan K. Bullard > > <jkbull...@gmail.com <mailto:jkbull...@gmail.com>> wrote: > > > > Hi, > > > > On Mon, Sep 13, 2021 at 8:37 AM Gert Doering <g...@greenie.muc.de > > <mailto:g...@greenie.muc.de>> wrote: > > > > > > Hi, > > > > > > On Sat, Sep 04, 2021 at 11:56:29AM +0200, Antonio Quartulli wrote: > > > > Add warning at startup to notify users about the change. > > > [..] > > > > + /* Give a general warning at the end of initialisation that > > defaults > > > > + * have changed */ > > > > + msg(M_WARN, "Note that modernisation of defaults in OpenVPN > > 2.6 limits " > > > > + "compatibility with old versions. See > > Changes.rst and " > > > > + "--compat-mode in the manual for details."); > > > > } > > > > > > I have my doubts if this is a good way forward. > > > > > > This warning will be printed on *every single startup* on OpenVPN > now. > > > > > > Is this useful? Or will people just ignore it. Like, "all of a > > sudden > > > my Tunnelblick shows some giberrish in red at me, but the VPN is > > working, > > > so let's just ignore all warnings now". > > > > ( Actually, Tunnelblick will show it in **yellow** : ) > > > > I don't think the warning will be very useful. Most Tunnelblick users > > don't look at the log. Those who do usually ignore warnings. Those > who > > look at the log and don't ignore warnings often focus on ones which > > sound scary but whose benefits usually outweigh the risks or ask why > > the VPN works even though there are warnings. (Maybe there's less of > a > > distinction between warning and error in other languages than there > is > > in English? Or our translations aren't as clear about the > > distinction?) > > > > > > +1 > > > > > > > > Tunnelblick warnings usually include a "do not warn about this again" > > option, which the OpenVPN log can't include. > > > > > > OpenVPN-GUI for windows will show this in red (I find yellow too hard to > > read on light backgrounds). Looks like we also will have to implement > > this "do not show this again (or ever?)" feature. > > > > Ideally, this warning should be targeted to cases like a mismatched > > option is detected. But that may be hard. What about printing this only > > when an "old" client connects (on server) or when an "old" server > > responds (on client)? Where "old" = 2.5 or older? > > > > IMHO this warning should just not be added. > It creates noise and confusion. > > On top of that, we will need an even longer discussion to figure out > when to remove it, even though we know it is not really benefiting users. > > I vote for just dropping this patch. +1 to that. My "targeted warnings" comment was meant as a soft way of saying please drop this.. That said, had not Gert picked this up, I wouldn't have noticed until the GUI started showing red lines in the logs... Cheers, Selva
_______________________________________________ Openvpn-devel mailing list Openvpn-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openvpn-devel