Hi Arne, I encountered segmentation fault in your dco branch. Master branch is OK. I reverted the commit "Linux data-channel offload support", but it still happens. Anything wrong? Can you reproduce?
root@vm-ubuntu-2004:/project/openvpn/schwabe/openvpn# gdb ./src/openvpn/openvpn GNU gdb (Ubuntu 9.2-0ubuntu1~20.04) 9.2 Copyright (C) 2020 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: < http://www.gnu.org/software/gdb/bugs/>. Find the GDB manual and other documentation resources online at: < http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from ./src/openvpn/openvpn... (gdb) r --ifconfig 10.200.0.1 10.200.0.2 --dev tun Starting program: /project/openvpn/schwabe/openvpn/src/openvpn/openvpn --ifconfig 10.200.0.1 10.200.0.2 --dev tun [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". 2021-03-03 07:28:55 OpenVPN 2.6_git [git:dco/8be9bbd16b2c5e1b] x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [MH/PKTINFO] [AEAD] [DCO] built on Mar 3 2021 2021-03-03 07:28:55 library versions: OpenSSL 1.1.1f 31 Mar 2020, LZO 2.10 2021-03-03 07:28:55 ******* WARNING *******: All encryption and authentication features disabled -- All data will be tunnelled as clear text and will not be protected against man-in-the-middle changes. PLEASE DO RECONSIDER THIS CONFIGURATION! 2021-03-03 07:28:55 sitnl_send: rtnl: generic error (-17): File exists 2021-03-03 07:28:55 net_iface_mtu_set: mtu 1500 for ovpn-dco1 2021-03-03 07:28:55 net_iface_up: set ovpn-dco1 up 2021-03-03 07:28:55 net_addr_ptp_v4_add: 10.200.0.1 peer 10.200.0.2 dev ovpn-dco1 2021-03-03 07:28:55 Could not determine IPv4/IPv6 protocol. Using AF_INET 2021-03-03 07:28:55 UDPv4 link local (bound): [AF_INET][undef]:1194 2021-03-03 07:28:55 UDPv4 link remote: [AF_UNSPEC] Program received signal SIGSEGV, Segmentation fault. encrypt_sign (c=c@entry=0x7fffffffd2b0, comp_frag=comp_frag@entry=true) at forward.c:567 567 if (c->c2.tls_multi->context_auth != CAS_SUCCEEDED) Tony
_______________________________________________ Openvpn-devel mailing list Openvpn-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openvpn-devel