Re: openvpn can not detect kernel dco module

d tbsky <[email protected]>
Newsgroups gmane.network.openvpn.user
Message-ID <CAC6SzHLvcF7OCAQmun+K8=gOqaYYKMKMw5xxY9YZ61Voq_q4jA@mail.gmail.com>
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 12315992, reason 0
[10521.975690] encrypt crypto_alloc_aead failed, err=-2
[10521.995059] tun100: deleting peer with id 15799456, reason 0
[10550.351940] encrypt crypto_alloc_aead failed, err=-2
[10550.371824] tun100: deleting peer with id 3578645, reason 0

> I am wondering if support for chachapoly is compiled in the kernel
> crypto API. Maybe OpenWrt has that disabled by default (wireguard uses a
> different API)

 openwrt strip many things. I don't know what exactly dco needs.
wireguard need  a kernel module so I compiled it:
root@OpenWrt:~# lsmod | grep chacha
chacha20poly1305        5522  0

but as you said opevpn-dco need different things? I will need to check
"make menuconfig" to find out.







>
> Regards,
>
> --
> Antonio Quartulli
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.