zehome / MLVPN

Multi-link VPN (ADSL/SDSL/xDSL/Network aggregation / bonding)
http://www.mlvpn.fr/
BSD 2-Clause "Simplified" License
519 stars 126 forks source link

Error binding socket mlvpn.sock: Permission denied #36

Closed oza4h07 closed 9 years ago

oza4h07 commented 10 years ago

I'm trying MLVPN for the first time.

After issuing "mlvpn --user mlvpn -c /etc/mlvpn/mlvpn0.conf" on client, I'm seeing this in log files (Debian wheezy from repo): [16:29:13][mlvpn.c:1465] Created tap interface mlvpn0 [16:29:13][control.c:114] Error binding socket mlvpn.sock: Permission denied [16:29:13][mlvpn.c:320] Binding socket 6 to 192.168.64.13

Trying to reproduce provided example, I can't successfully ping proof.ovh.net.

Could it be possible to elaborate a bit further "Error binding socket mlvpn.sock: Permission denied", indicating for instance which resource is denying acces and which user is denied access ?

Changing /run/mlvpn ownership to mlvpn:root removes this error message.

zehome commented 10 years ago

[16:29:13][control.c:114] Error binding socket mlvpn.sock: Permission denied

Not binding the control socket is not very important. It should not forbid mlvpn from running.

Trying to reproduce provided example, I can't successfully ping proof.ovh.net.

Could it be possible to elaborate a bit further "Error binding socket mlvpn.sock: Permission denied", indicating for instance which resource is denying acces and which user is denied access ?

"binding" equals creating a file of type "socket". mlvpn uses privsep so thoses kind of creations are done under "mlvpn" user. (or whatever --user= user you have specified)

Thank for the report, I'll try to fix this error in a future release.

zehome commented 9 years ago

socket path can be configured in the configuration file.