SafeNet crypto devices not displayed on dashboard



  • Firebox SafeNet crypto device is supported by freebsd 8 and appears to be functional. It can be used by openssh, openvpn through the cryptodev engine, however it is not identified and displayed on the dashboard under hardware crypto section.

    The device is identified as follow on dmesg:

    
    safe0 mem 0xe7bfe000-0xe7bfffff irq 3 at device 6.0 on pci2
    safe0: [ITHREAD]
    safe0: SafeNet SafeXcel-1141 rng des/3des aes md5 sha1 null
    
    

    The regular expression on line 168 of /usr/local/www/index.php ("/^safe.: (.*?),/") does not correctly matches the device description on dmesg.

    if the regular expression for this device is changed to ("/^safe.: (\w.*)/" the device is displayed correctly as "SafeNet SafeXcel-1141 rng des/3des aes md5 sha1 null".


  • Rebel Alliance Developer Netgate

    Committed, thanks!


Locked