I've bought a VIA based router for the only purpose to run OpenVPN on it. Unfortunately it seems that Padlock is not used. Here is the important part from dmesg:
OpenBSD 4.8 (GENERIC) #136: Mon Aug 16 09:06:23 MDT 2010 firstname.lastname@example.org:/usr/src/sys/arch/i386/compile/GENERIC cpu0: VIA C7 Processor 1500MHz ("CentaurHauls" 686-class) 1.51 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,APIC,SEP,MTRR,PGE,CMOV,PAT,CFLUSH,ACPI,MMX,FXSR,SSE,SSE2,TM,SBF,SSE3,EST,TM2,xTPR
My OpenVPN-Config has these options related to the ciphers/padlock:
cipher AES-128-CBC engine cryptodev
I can verify that usercrypto is enabled by benchmarking with openssl speed command. The sysctl also reads:
I'm deducing that Padlock is no used from these top informations which are taken @40 Mbit/sec (of 70/sec maximum) going through the VPN tunnel:
load averages: 0.66, 0.62, 0.54 crypto.b0nd4ge.de 21:03:04 28 processes: 2 running, 25 idle, 1 on processor CPU states: 1.9% user, 0.0% nice, 2.9% system, 3.2% interrupt, 92.1% idle Memory: Real: 30M/142M act/tot Free: 839M Swap: 0K/1214M used/tot PID USERNAME PRI NICE SIZE RES STATE WAIT TIME CPU COMMAND 20161 root 59 0 1224K 2676K run - 116:45 53.42% openvpn 11092 named 2 0 18M 19M sleep select 67:50 0.10% named
What else can I do to get Padlock working with OpenVPN? It's really a shame to no be able to max out my internet connection with this VPN.
Please help. Any suggestion would be appreciated. I've been googling for this since a couple of weeks.