Re: [Openvpn-users] openvpn can not detect kernel dco module

2024-04-26 Thread d tbsky
Hi: Antonio Quartulli > Where did you get the ovpn-dco package from? > Because I have my own dev package, but I hardly believe that was pulled > upstream. openwrt had ovpn-dco module since 2022. but the included openvpn version is 2.5 or 2.6 without dco enabled. so it seems nobody test it

Re: [Openvpn-users] openvpn can not detect kernel dco module

2024-04-26 Thread Antonio Quartulli
Hi, On 26/04/2024 10:16, d tbsky wrote: These modules will be auto-loaded by ovpn-dco if they exist in the system. the problem is that openwrt won't install them by default. openwrt ovpn-dco config file needs to be fixed so the required modules will be installed together. Agreed. Where did

Re: [Openvpn-users] openvpn can not detect kernel dco module

2024-04-26 Thread d tbsky
Antonio Quartulli > Thanks for testing! > I'd expect CRYPTO_CHACHA20POLY1305 to pull what's needed. Strange that > it didn't happen. > On my workstation I did not have such problem. > Anyway, I will double check if there is something missing on our side. These modules will be auto-loaded by

Re: [Openvpn-users] openvpn can not detect kernel dco module

2024-04-25 Thread Antonio Quartulli
Hi, On 25/04/2024 12:07, d tbsky wrote: Hi: I think you should look for CONFIG_CRYPTO_CHACHA20POLY1305 in the kernel config. after trying and testing, I found besides "CONFIG_CRYPTO_CHACHA20POLY1305", I also need "CONFIG_CRYPTO_LIB_POLY1305" and "CONFIG_CRYPTO_LIB_CHACHA". ovpn-dco will

Re: [Openvpn-users] openvpn can not detect kernel dco module

2024-04-25 Thread d tbsky
Hi: > I think you should look for CONFIG_CRYPTO_CHACHA20POLY1305 in the kernel > config. after trying and testing, I found besides "CONFIG_CRYPTO_CHACHA20POLY1305", I also need "CONFIG_CRYPTO_LIB_POLY1305" and "CONFIG_CRYPTO_LIB_CHACHA". ovpn-dco will auto-load the three modules when doing

Re: [Openvpn-users] openvpn can not detect kernel dco module

2024-04-24 Thread d tbsky
Hi: Antonio Quartulli > > Hi, > > On 24/04/2024 11:38, d tbsky wrote: > > [ 9652.965804] encrypt crypto_alloc_aead failed, err=-2 > > This is exactly it. The kernel crypto engine is reporting "not found". > > I think you should look for CONFIG_CRYPTO_CHACHA20POLY1305 in the kernel > config. I

Re: [Openvpn-users] openvpn can not detect kernel dco module

2024-04-24 Thread Antonio Quartulli
Hi, On 24/04/2024 11:38, d tbsky wrote: [ 9652.965804] encrypt crypto_alloc_aead failed, err=-2 This is exactly it. The kernel crypto engine is reporting "not found". I think you should look for CONFIG_CRYPTO_CHACHA20POLY1305 in the kernel config. Regards, -- Antonio Quartulli

Re: [Openvpn-users] openvpn can not detect kernel dco module

2024-04-24 Thread d tbsky
Hi: > Can you please check if dmesg is reporting any error while you are > attempting to connect? dmesg report like this: [ 9078.296036] tun100: deleting peer with id 11699696, reason 0 [ 9652.965804] encrypt crypto_alloc_aead failed, err=-2 [ 9652.983698] tun100: deleting peer with id

Re: [Openvpn-users] openvpn can not detect kernel dco module

2024-04-24 Thread Antonio Quartulli
Hi, On 24/04/2024 11:21, d tbsky wrote: Hi: Antonio Quartulli Unfortunately there will be no difference as this is an issue between openvpn and ovpn-dco. thanks a lot for hint! Could you please re-run with --verb 6 ? That will include DCO specific debug messages. Thanks a lot for

Re: [Openvpn-users] openvpn can not detect kernel dco module

2024-04-24 Thread d tbsky
Hi: Antonio Quartulli > Unfortunately there will be no difference as this is an issue between > openvpn and ovpn-dco. thanks a lot for hint! > Could you please re-run with --verb 6 ? That will include DCO specific > debug messages. root@OpenWrt:~# openvpn --verb 6 --tls-client --dev tun100

Re: [Openvpn-users] openvpn can not detect kernel dco module

2024-04-24 Thread Antonio Quartulli
Hi, On 24/04/2024 11:03, d tbsky wrote: Hi: Antonio Quartulli Yes, 2.6.10 requires ovpn-dco-v2. ok. so I can not downgrade. wireguard uses chacha20poly1305, therefore it'd be essential to test with this algorithm in order to make a full comparison. Do you have a full log to provide

Re: [Openvpn-users] openvpn can not detect kernel dco module

2024-04-24 Thread d tbsky
Hi: Antonio Quartulli > > Yes, 2.6.10 requires ovpn-dco-v2. ok. so I can not downgrade. > wireguard uses chacha20poly1305, therefore it'd be essential to test > with this algorithm in order to make a full comparison. > > Do you have a full log to provide regarding the error "dco_new_key: >

Re: [Openvpn-users] openvpn can not detect kernel dco module

2024-04-24 Thread Antonio Quartulli
Hi, Yes, 2.6.10 requires ovpn-dco-v2. On 24/04/2024 10:43, d tbsky wrote: anyway the dco speed is still very poor. wireguard can run "190Mbit/300Mbit" upload/download speed at this device. openvpn can only do "40mb/20mb". but openvpn is more stable and feature rich than wiregurad. so I think I

Re: [Openvpn-users] openvpn can not detect kernel dco module

2024-04-24 Thread d tbsky
Hi: d tbsky > > Antonio Quartulli > > What is the exact openvpn and dc oversion that you compiled in your last > > test? > > > Hi: > > openvpn: 2.6.10 > dco: 0.2.20240320 I finally compiled dco module with full info and test it under openwrt. using iperf3 to test the tunnel, the upload speed

Re: [Openvpn-users] openvpn can not detect kernel dco module

2024-04-18 Thread d tbsky
Hi: > What is the exact openvpn and dc oversion that you compiled in your last > test? After checking, I found dco modules compiled under openwrt seems lacking something, like "version" root@OpenWrt:~# ls -la /sys/module/ovpn_dco_v2/ drwxr-xr-x3 root root 0 Mar 23 06:10 .

Re: [Openvpn-users] openvpn can not detect kernel dco module

2024-04-18 Thread Antonio Quartulli
Hi, On 18/04/2024 07:47, d tbsky wrote: Hi: I want to try openvn dco at openwrt. the official openwrt distribution stay at openvpn 2.5. so I tried compiled 2.6 and found it can not find kernel dco module. I thought maybe the distributed dco module is too old so I compiled lasted

Re: [Openvpn-users] openvpn can not detect kernel dco module

2024-04-18 Thread d tbsky
Antonio Quartulli > What is the exact openvpn and dc oversion that you compiled in your last > test? > Hi: openvpn: 2.6.10 dco: 0.2.20240320 ___ Openvpn-users mailing list Openvpn-users@lists.sourceforge.net

[Openvpn-users] openvpn can not detect kernel dco module

2024-04-17 Thread d tbsky
Hi: I want to try openvn dco at openwrt. the official openwrt distribution stay at openvpn 2.5. so I tried compiled 2.6 and found it can not find kernel dco module. I thought maybe the distributed dco module is too old so I compiled lasted kmod_ovpn_dco_v2 module but "openvpn --version" still