Re: cryptodev and ssh on RELENG_7



At 03:27 AM 11/27/2007, Harald Schmalzbauer wrote:
Hello,

I have a HiFN crypto card and can remember that it was used for ssh
connections with 3des encryption (on 6.1 afair).
But with RELENG_7 it isn't used at all (no interrupts) if I
'ssh -v -c 3des-cbc user@host'

Any ideas what is wrong?

dmesg:
hifn0 mem
0x80000000-0x80000fff,0x80040000-0x80041fff,0x80080000-0x80087fff irq
12 at device 13.0 on pci0 hifn0: [ITHREAD] hifn0: Hifn 7955, rev 0,
32KB dram, pll=0x801<ext clk, 4x mult>

crw-rw-rw- 1 root wheel - 0, 41 Nov 27 08:13:41 2007 /dev/crypto


Hi,
Are you sure you have device crypto and device cryptodev in the kernel? Also, there is a program in /usr/src/tools/tools/crypto called hifnstats. It will show some usuage stats. e.g.

% hifnstats
input 43292952 bytes 182393 packets
output 43292952 bytes 182393 packets
invalid 0 nomem 0 abort 0
noirq 0 unaligned 67775
totbatch 0 maxbatch 0
nomem: map 0 load 0 mbuf 0 mcl 0 cr 0 sd 0

_______________________________________________
freebsd-stable@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: VAC or VAC+ on a Pix running 7.x
    ... MDF-FLR2-FW1# show crypto accelerator statistics ... Crypto Accelerator Status ... Number of active accelerators: 0 ... Output packets: 565569 ...
    (comp.dcom.sys.cisco)
  • Re: recommended SSL-friendly crypto accelerator
    ... it appears to be both ssh and apache w/ssl. ... Here's ssh alone, from console, with single session login with rsa key: ... output 485139168 bytes 1563934 packets ... And for the heck of it, here's my crypto stats, but this doesn't mean ...
    (FreeBSD-Security)