Howdy,
I’m running an IPsec VPN server on a Raspberry Pi 4 using the hwdsl2/ipsec-vpn-server image. It works perfectly fine with the device in local mode, however, as soon as I disable local mode, I get:
pluto[590]: ABORT: ASSERTION FAILED: event_initialized(&se->ev) (in free_signal_handlers() at server.c:448)
For reference, here’s server.c:448.
I’m using a Raspberry Pi 4, connected via Ethernet, running balenaOS 2.65.0+rev1
and supervisor 12.2.11
. The compose file looks like this (as advised here):
version: '2.1'
volumes:
resin-data:
services:
hwdsl2:
build: .
volumes:
- 'resin-data:/data'
ports:
- 500:500/udp
- 4500:4500/udp
cap_add:
- NET_ADMIN
devices:
- "/dev/ppp"
network_mode: host
sysctls:
net.ipv4.ip_forward: 1
net.ipv4.conf.all.accept_redirects: 0
net.ipv4.conf.all.send_redirects: 0
net.ipv4.conf.all.rp_filter: 0
net.ipv4.conf.default.accept_redirects: 0
net.ipv4.conf.default.send_redirects: 0
net.ipv4.conf.default.rp_filter: 0
net.ipv4.conf.eth0.send_redirects: 0
net.ipv4.conf.eth0.rp_filter: 0
I also tried privileged: true
instead of the cap_add/devices/sysctls/
, to the same effect.
Anybody have an idea what the reason might be for the different behaviour with local mode enabled?
Cheers!