VPN server crashes when it tried to connect with L2TP

Post your questions about SoftEther VPN software here. Please answer questions if you can afford.
Post Reply
pyo970120
Posts: 3
Joined: Thu Jun 10, 2021 5:48 pm

VPN server crashes when it tried to connect with L2TP

Post by pyo970120 » Mon Apr 01, 2024 6:24 am

Hello, I'm using SoftetherVPN 5.02.5182 on the KVM hypervisor. (The based OS is Truenas, and the VPN OS is an Ubuntu 20.04 server.)
I've attached two NICs with VirtIO for the VM hardware, as shown below.

ens3: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.25.38 netmask 255.255.255.0 broadcast 192.168.25.255
inet6 fe80::2a0:98ff:fe23:400e prefixlen 64 scopeid 0x20<link>
inet6 fd9e:5b38:eba1:8643:2a0:98ff:fe23:400e prefixlen 64 scopeid 0x0<global>
ether 00:a0:98:23:40:0e txqueuelen 1000 (Ethernet)

ens4: flags=4419<UP,BROADCAST,RUNNING,PROMISC,MULTICAST> mtu 1986
inet6 fe80::2a0:98ff:fe4f:8ed5 prefixlen 64 scopeid 0x20<link>
inet6 fd9e:5b38:eba1:8643:2a0:98ff:fe4f:8ed5 prefixlen 64 scopeid 0x0<global>
ether 00:a0:98:4f:8e:d5 txqueuelen 1000 (Ethernet)

00:03.0 Ethernet controller: Red Hat, Inc. Virtio network device
00:04.0 Ethernet controller: Red Hat, Inc. Virtio network device

After setting up the VPN server, when I tried to connect the VPN server with the L2TP protocol, the Softether VPN crashed; more likely, the NIC attached to the VPN server crashed with an error message, as shown below.

[ 3401.426019] vpnserver[1268]: segfault at 2 ip 00007f5c1d63186d sp 00007f5c1ca7b418 error 4 in libmayaqua.so[7f5c1d602000+66000]
[ 3401.426036] Code: bb fd ff 66 2e 0f 1f 84 00 00 00 00 00 f3 0f 1e fa ba 14 00 00 00 e9 62 db fd ff 66 90 f3 0f 1e fa 48 85 ff 74 1f 48 8d 47 06 <80> 3f 00 75 16 48 83 c7 01 48 39 c7 75 f2 b8 01 00 00 00 c3 0f 1f
The error message was acquired from dmesg

I've set two NICs with VirtIO for the VM hardware.
I've tried reinstalling the OS, changing the version of Softethert VPN, and installing it on Windows, but I'm still getting the same error.
However, in the case of Windows, the L2TP setting was disabled.

In case you need anything, I'm sharing the Google Drive link for the install script that I used to set up the VPN server and the configuration file for the VPN server.
https://drive.google.com/drive/folders/ ... sp=sharing

Did anyone have a similar error, and how can I resolve this problem?

solo
Posts: 1349
Joined: Sun Feb 14, 2021 10:31 am

Re: VPN server crashes when it tried to connect with L2TP

Post by solo » Mon Apr 01, 2024 8:29 am

pyo970120 wrote:
Mon Apr 01, 2024 6:24 am
in the case of Windows, the L2TP setting was disabled.
It is not disabled in v5.02.5378 https://dev.azure.com/SoftEther-VPN/004 ... format=zip

pyo970120
Posts: 3
Joined: Thu Jun 10, 2021 5:48 pm

Re: VPN server crashes when it tried to connect with L2TP

Post by pyo970120 » Mon Apr 01, 2024 8:35 am

solo wrote:
Mon Apr 01, 2024 8:29 am
pyo970120 wrote:
Mon Apr 01, 2024 6:24 am
in the case of Windows, the L2TP setting was disabled.
It is not disabled in v5.02.5378 https://dev.azure.com/SoftEther-VPN/004 ... format=zip
I mean, when I tried with the Windows version of Softeter VPN, after getting disconnected from the GUI setting, the L2TP function got unchecked.

solo
Posts: 1349
Joined: Sun Feb 14, 2021 10:31 am

Re: VPN server crashes when it tried to connect with L2TP

Post by solo » Tue Apr 02, 2024 1:54 am

Note the linked version number, it's the latest, last week's DE build - try it.

pyo970120
Posts: 3
Joined: Thu Jun 10, 2021 5:48 pm

Re: VPN server crashes when it tried to connect with L2TP

Post by pyo970120 » Tue Apr 02, 2024 2:16 am

I've already tried, but it is still crashing.

Based on the dmesg and error log, "libmayaqua.so" indicates that one of the SoftethetVPN packages is causing the problem.

solo
Posts: 1349
Joined: Sun Feb 14, 2021 10:31 am

Re: VPN server crashes when it tried to connect with L2TP

Post by solo » Tue Apr 02, 2024 2:38 am


Post Reply