I just wanted to post here and say nice job on making the DCO module. I was
able to compile it and insmod it and I think OpenVPN auto picked it up even
running in TCP mode I believe. I wanted to confirm, does this DCO module
work with TCP mode or is it UDP client/server protocol only? Also, I'm not
very smart and I am unable to understand kernel-level C code as it is very
abstract and generalized but I was trying to see what read/write buffer
sizes it uses if I had a TUN MTU of 1500 bytes?
In normal C, you can see the tun read / socket write / socket read / tun
write calls and you can see the exact buffer sizes being used but in this
case I cannot see how much data is being read from TUN per call and how
much data is being written to the TCP socket per call? I tried reading
through the code in github but it was a bit tough for my limited knowledge
unfortunately :/ I always wished I knew more about reading/writing kernel
level C code but I never had the chance or time to really get into it over
the years.

I performed a speed test with it also but I could only get the same speed
as my modified OpenVPN setup (~650Mbps over WiFi 6GHz@160MHz) so I think
there is some other limiting factor elsewhere in my network setup. I don't
have a wired client, only a U7-Pro and I am running the VPN client in the
middle of my network on a Linux VM on a Mac Mini but it ran pretty smoothly
and nicely assuming it was indeed working correctly.

cd ovpn-dco-master/
vim ./drivers/net/ovpn-dco/udp.c #CONFIG_IPV6 -> #ifdef CONFIG_IPV6_NO
make
cp -fv ./drivers/net/ovpn-dco/ovpn-dco-v2.ko ../
modprobe udp_tunnel
insmod /root/dco/ovpn-dco-v2.ko

Thanks again,
Jon C
_______________________________________________
Openvpn-devel mailing list
Openvpn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Reply via email to