Project

General

Profile

Actions

Regression #13613

closed

OpenVPN crashes due to if_tuntap changes

Added by Marcos M about 2 years ago. Updated almost 2 years ago.

Status:
Resolved
Priority:
High
Category:
OpenVPN
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Release Notes:
Force Exclusion
Affected Plus Version:
Affected Architecture:

Description

Tested on pfSense-23.01.a.20221031.0600.

Client/Server (no DCO) crashes only after a reboot - starting it manually afterwards works:

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 

Actions

Also available in: Atom PDF