chaosvpn
chaosvpn copied to clipboard
OpenWrt 18.06.4: <ERR> tincd manager slave has died with returncode 0, status 0
OpenWrt 18.06.4 chaosvpn v2.18 (from openwrt 18.06.4 repo) tincd 1.0.35 (from openwrt 18.06.4 repo)
When started, with valid configuration and keys in place, chaosvpn/tincd crashes:
root@router:/etc/tinc# chaosvpn -r -c /etc/tinc/chaosvpn.conf
<INFO> ChaosVPN client v2.18 starting.
<ERR> tincd manager slave has died with returncode 0, status 0.
Any ideas about what the problem can be?
Thank you for your awesome work - we've been using chaosvpn to create our own meshed network for a few years!
The problem exists also on openwrt 19.07.
When chaosvpn is called with -d parameter (detach), we get more info, the error is:
crypto_rsa_decrypt: rsa decrypt failed
This seems to be resolved by not using underscores in node name in my case, so more generally by only using letters in node name.
Without the -d parameter, chaosvpn still doesn't start -> the init script must be modified.