Hi,
On Tue, Mar 02, 2021 at 03:22:33AM +0000, tincanteksup wrote:
> > Since IPv6 sockets can handle dual-stack connections, this is what we
> > do if we do not know yet if the other end is IPv4 or IPv6, and no protocol
> > is forced ("udp4" or "udp6").
> >
>
> I resubmit this as a genuine bug:
> * Openvpn should error out on the rare occasions that it cannot select
> the correct protocol, with an error directing the use of v4 or v6.
> Openvpn should not proceed to fail.. without error.
Please read what I write, then try to understand it. Then read the
documentation on getaddrinfo() and bind(), and *then* read the source.
And if you then still think it's a bug, send a patch.
(Actually, *printing this message* could be considered a bug, as it spurs
non-useful discussions. But the code itself, convoluted as it may be,
does the right thing in most cases we can programmatically detect - there
is a few linux edge cases where we can't)
gert
--
"If was one thing all people took for granted, was conviction that if you
feed honest figures into a computer, honest figures come out. Never doubted
it myself till I met a computer with a sense of humor."
Robert A. Heinlein, The Moon is a Harsh Mistress
Gert Doering - Munich, Germany [email protected]
signature.asc
Description: PGP signature
_______________________________________________ Openvpn-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openvpn-users
