Hi, On Mon, Mar 27, 2023 at 01:12:36PM -0400, selva.n...@gmail.com wrote: > From: Selva Nair <selva.n...@gmail.com> > > We persist peer-stats when restarting, but an early restart > before open_tun results in a segfault in dco_get_peer_stats(). > To reproduce, trigger a TLS handshake error due to lack of common > protocols, for example.
This definitely looks like a good catch, and the "TLS handshake error" is part of what is needed to trigger it - "just having a connection failure" (TCP refused) is *not*, but "--tls-version-max 1.0" *in connection with* --management + "bytecount" is... 2023-03-27 20:52:41 TCP connection established with [AF_INET6]2607:fc50:1001:5200::4:51194 2023-03-27 20:52:41 TCPv6_CLIENT link local: (not bound) 2023-03-27 20:52:41 TCPv6_CLIENT link remote: [AF_INET6]2607:fc50:1001:5200::4:51194 Segmentation fault interesting combination of features. Need to extend my test rig to add management-driven tests, and also TLS failure tests (*using management*). 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 g...@greenie.muc.de
signature.asc
Description: PGP signature
_______________________________________________ Openvpn-devel mailing list Openvpn-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openvpn-devel