ovpn-dco icon indicating copy to clipboard operation
ovpn-dco copied to clipboard

bug when using mptcp kernel

Open Kalimeiro opened this issue 11 months ago • 7 comments

Hi,

We have strange bug when using dco on 6.1 kernel and mptcp, reported by a bad socket or socket operation on non-socket :

dco_new_peer: netlink reports error (-3): Bad socket dco_new_peer: failed to send netlink message: Socket operation on non-socket (-88) Cannot add peer to DCO for xxxx/123.123.123.123:12345: Socket operation on non-socket (-88)

i am on debian 12 with openvpn 2.6.9 and dco-dkms 0.2.20231117

Kalimeiro avatar Mar 10 '24 15:03 Kalimeiro

this is the netlink socket that was maybe closed or messed up. is it easy to reproduce?

ordex avatar Mar 10 '24 19:03 ordex

@Kalimeiro while mptcp is mostly transparent to user space application, the transparency might not be there for a kernel module like ovpn-dco. So this has been probably not really tested/implementend yet.

schwabe avatar Mar 10 '24 22:03 schwabe

Thanks all for your response.

yes it's easy to reproduced, you need to use 6.1 kernel, configure multiple wan with mptcp, install openvpn/openvpn dco module from official repo, create an vpn with tcp protocol.

In UDP it's working fine, but it's normal.

Kalimeiro avatar Mar 14 '24 06:03 Kalimeiro

@Kalimeiro does it mean that the issue shows up always in that configuration?

ordex avatar Mar 14 '24 07:03 ordex

yes, you can use OpenMPTCProuter easily to test, but i have abandonned this project.

Kalimeiro avatar May 14 '24 11:05 Kalimeiro

Hello,

FYI, I closed the same ticket that was opened on MPTCP side (https://github.com/multipath-tcp/mptcp_net-next/issues/479), because there is not much we can do on our side.

Do not hesitate to ping us if you have are looking at supporting MPTCP and have questions ;)

matttbe avatar May 15 '24 14:05 matttbe

Thanks @matttbe I'm keeping this ticket open because I will come back to this later for sure.

ordex avatar May 15 '24 19:05 ordex