dswd / vpncloud

Peer-to-peer VPN
https://vpncloud.ddswd.de
Other
1.81k stars 158 forks source link

thread 'main' panicked, message: "Address family not supported by protocol" #350

Closed gutleib closed 1 year ago

gutleib commented 1 year ago

Describe the bug

service does not start after the initial configuration

Details of your setup

I'm configuring the service on the first server in batch. After the initial setup as a tap device in switch mode I have tried to start the service to no avail. It fails with a single line in syslog, which I will post further.

VpnCloud version: vpncloud 2.2.0

Description of your VPN setup

syslog states:

Jun 13 02:05:52 gw1z1 vpncloud[7494]: INFO - Reading config file '/etc/vpncloud/p-mesh.net'
Jun 13 02:05:52 gw1z1 vpncloud[7494]: INFO - Opened device vpncloud0
Jun 13 02:05:52 gw1z1 vpncloud[7494]: INFO - Setting MTU 1413 on device vpncloud0
Jun 13 02:05:52 gw1z1 vpncloud[7494]: WARN - Your networking configuration might be affected by a vulnerability (https://vpncloud.ddswd.de/docs/security/cve-2019-14899/), please change your rp_filter setting to>
Jun 13 02:05:52 gw1z1 vpncloud[7494]: thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 97, kind: Other, message: "Address family not supported by protocol" }', src/net.rs:25:39
Jun 13 02:05:52 gw1z1 vpncloud[7494]: note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
dswd commented 1 year ago

Please try the current master, that should fix the issue.