Regression #13603
Updated by Marcos M about 2 years ago
Tested on @pfSense-23.01.a.20221026.0600@.
Client/Server crashes with DCO enabled:
> dco_set_ifmode: failed to set ifmode=00008002: Operation not supported (errno=45)
See attached logs.
Client/Server (happens only after a reboot - starting it manually afterwards works):
<pre>
Oct 31 10:36:55 openvpn 18667 OpenVPN 2.6_git amd64-portbld-freebsd14.0 [SSL (OpenSSL)] [LZO] [LZ4] [MH/RECVDA] [AEAD] [DCO]
Oct 31 10:36:55 openvpn 18667 library versions: OpenSSL 1.1.1q-freebsd 5 Jul 2022, LZO 2.10
Oct 31 10:36:55 openvpn 18667 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
Oct 31 10:36:55 openvpn 18667 Initializing OpenSSL support for engine 'rdrand'
Oct 31 10:36:55 openvpn 18667 WARNING: experimental option --capath /var/etc/openvpn/server1/ca
Oct 31 10:36:55 openvpn 18667 Using random OpenVPN auth-token server key.
Oct 31 10:36:55 openvpn 18667 TUN/TAP device ovpns1 exists previously, keep at program end
Oct 31 10:36:55 openvpn 18667 TUN/TAP device /dev/tun1 opened
Oct 31 10:36:55 openvpn 18667 ioctl(TUNSIFMODE): Device busy (errno=16)
Oct 31 10:36:55 openvpn 18667 /sbin/ifconfig ovpns1 172.25.1.1/24 mtu 1500 up
Oct 31 10:36:55 openvpn 18667 FreeBSD ifconfig failed: external program exited with error status: 1
Oct 31 10:36:55 openvpn 18667 Exiting due to fatal error
Oct 31 10:39:07 openvpn 74815 OpenVPN 2.6_git amd64-portbld-freebsd14.0 [SSL (OpenSSL)] [LZO] [LZ4] [MH/RECVDA] [AEAD] [DCO]
Oct 31 10:39:07 openvpn 74815 library versions: OpenSSL 1.1.1q-freebsd 5 Jul 2022, LZO 2.10
Oct 31 10:39:07 openvpn 74815 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
Oct 31 10:39:07 openvpn 74815 Initializing OpenSSL support for engine 'rdrand'
Oct 31 10:39:07 openvpn 74815 WARNING: experimental option --capath /var/etc/openvpn/server1/ca
Oct 31 10:39:07 openvpn 74815 Using random OpenVPN auth-token server key.
Oct 31 10:39:07 openvpn 74815 TUN/TAP device ovpns1 exists previously, keep at program end
Oct 31 10:39:07 openvpn 74815 TUN/TAP device /dev/tun1 opened
Oct 31 10:39:07 openvpn 74815 /sbin/ifconfig ovpns1 172.25.1.1/24 mtu 1500 up
Oct 31 10:39:07 openvpn 74815 /usr/local/sbin/ovpn-linkup ovpns1 1500 0 172.25.1.1 255.255.255.0 init
Oct 31 10:39:07 openvpn 74815 UDPv4 link local (bound): [AF_INET]127.0.0.1:1195
Oct 31 10:39:07 openvpn 74815 UDPv4 link remote: [AF_UNSPEC]
Oct 31 10:39:07 openvpn 74815 Initialization Sequence Completed
</pre>