Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

when using openvpn in tcp with dco, we have a bug #479

Closed
Kalimeiro opened this issue Mar 14, 2024 · 3 comments
Closed

when using openvpn in tcp with dco, we have a bug #479

Kalimeiro opened this issue Mar 14, 2024 · 3 comments
Labels

Comments

@Kalimeiro
Copy link

Hi,

According to ovpn-dco github, we contact you for a problem when using 6.1 kernel with multiple wan with mptcp, openvpn latest version from official repo, and latest openvpn dco module.

When using TCP protocol in openvpn, we have this error from the DCO module :

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)

we think netlink socket that was maybe closed or messed up and 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.

can you help to understand what's the problem and found a solution ?

@matttbe
Copy link
Member

matttbe commented Mar 14, 2024

Hi @Kalimeiro

According to ovpn-dco github

I guess this is linked to this issue, right? OpenVPN/ovpn-dco#60

I didn't know what was DCO, it looks like an out-of-tree kernel modules. MPTCP is transparent for the userspace, probably not with what they do in kernelspace. I guess the kernel module will need to be adapted to support MPTCP.

6.1 kernel with multiple wan with mptcp, openvpn latest version from official repo, and latest openvpn dco module.

It is not clear to me what you did to have OpenVPN using MPTCP. Can you explain a bit please? Did you use mptcpize and changed OpenVPN config to use TCP instead of UDP?
Or do you have issues with MPTCP connections inside a UDP tunnel?

I don't think the MPTCP kernel code needs to be adapted, probably more the OpenVPN DCO module. I guess it should help if you provide them more details about your setup: how you start OpenVPN, what's your OpenVPN configuration, how you configured MPTCP, etc.

@matttbe
Copy link
Member

matttbe commented Mar 21, 2024

Hi @Kalimeiro

What configuration are you using?
I guess it is best to continue the discussion on the ovpn-dco ticket you created, no?

@Kalimeiro
Copy link
Author

Hello, i'm so sorry for late response, the problem is only with OpenMPTCProuter instance, it using MPTCP NEXT kernel based on OpenWRT, but I have abandoned OpenMPTCProuter for several weeks/months due to major flaws in its development.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants