23.09.01 Hardware Crypto showing No Hardware Crypto Acceleration for system with crypto chip installed
-
Like throughput is lower in 23.09.1 compared to 23.05.1?
-
@stephenw10 let me test again hold on I turned 23.09.01 on again.
Nope it’s 130kbs with dsl on 23.09.01
It’s 123kb in 23.05.01Just checked with my pdfs again.
-
Hmm, those seem very low numbers. I can't imagine you'd be able to see the difference at those rates.
-
@stephenw10 low bill too :) that ID error is why I think it has issues would ath0 cause this ?
-
No this is nothing to do with the ath card or newer 2100s without the crypto cert device. OpenSSL no longer supports BSD cryptodev as an engine so the option to select it was removed from OpenVPN for all hardware.
Which ID error are you referring to?
-
The id error shows on 23.09.01 every time does not show in 23.05.01
-
Ah OK. That seems unlikely to be related to the crypto hardware. If you disable safeXcel but keep DCO enabled does it still show?
-
@stephenw10 I have to swap boot environments when my wife goes to work after that I can check.
To confirm you want me to disable the chip on the advanced menu?
-
Yes, then boot so the safexcel module is not loaded. Then check the openvpn logs again. I expect that ID error to still be present.
-
@stephenw10 side note, can I do a boot environment and load 24 dev os or will that cause issues going back to 23.09?
-
Yes you can do that. There's no problem booting back to 23.09.1.
-
Yes this is as you expected. It still occurs with the hardware disabled.
-
Ok digging into that. I can only see one other reference to that kind of ID error.
Is that process an OpenVPN server?
How are the clients defined?
-
I also see this id error in my 23.05.01 ssd on connects. I didn’t notice it until today
-
I see no error in the logs posted above but that aside.....
The message
dco_update_peer_stat: invalid peer ID 0 returned by kernel
is not related to the issue described.
This can happen if userland has already forgotten a peer and kernel sends "post-disconnect stats" which seems to be the caseopenvpn server 'ovpns1' user 'LeeFamilyVPN'address 'x.x.x.x' disconnected
right after the message.
-
Yup that's not an error that should ever prevent the service starting or cause connection issues etc.
Or has anything to do with hardware crypto support. -
@stephenw10 how can I prevent this issue?
-
You don't have to it's not an error that causes an problems.
-
I am seeing this same bug on 23.09.1 (I had to do a reinstall last week. This is a Lab/home license, install of 2.7 then upgrade to 23.09.1.) running on an HP thin client with AMD RX-427BB (x64) processor.
The Dashboard show AES + ChaCha Encryptions listed, but under OpenVPN server and clients it lists 'no hardware crypto acceleration' ?? I don't recall the processor usage before so I can not say what the difference is/is not. -
That's not a bug. There can never be a crypto accelerator listed there because OpenSSL no longer accepts user mode engines in FreeBSD.
If you have a crypto device that is supported by the cryptodev framework then kernel mode operations will use that. So that's OpenVPN with DCO or IPSec.