Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    SafeNet SafeXcel 1141

    Scheduled Pinned Locked Moved Hardware
    12 Posts 5 Posters 8.5k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • W Offline
      wallabybob
      last edited by

      @brcisna:

      From what I have been able to see the SafeNet VPN accelerator mini-pci card is at least detected in pfSense-1.2.3-RELEASE , but does not actually get the driver to make it function properly?

      Please provide the startup output (from shell command dmesg) or the relevant part concerning the safenet and I'll tell you if the driver is present.

      1 Reply Last reply Reply Quote 0
      • stephenw10S Online
        stephenw10 Netgate Administrator
        last edited by

        As far as I can see the Safenet 1141 is fully supported by the safe(4) driver and the bootup seems to support that:

        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
        
        
        1 Reply Last reply Reply Quote 0
        • W Offline
          wallabybob
          last edited by

          @stephenw10:

          As far as I can see the Safenet 1141 is fully supported by the safe(4) driver and the bootup seems to support that:

          I agree, so perhaps the issue is whether something needs to be done to get the appropriate VPN code to use the card? Or maybe, whether there is anything to be gained on this particular platform from using the crypto card vs encryption purely in software.

          1 Reply Last reply Reply Quote 0
          • stephenw10S Online
            stephenw10 Netgate Administrator
            last edited by

            As long as you are using one of the supported encryptions I don't think you need to do anything. It will be used by freebsd automagically!  ;D
            Certainly on the Watchguard X-Core, which is a P3 hardware, it makes a big difference. Not that I have tested though! ::)
            I'd love to get some Safenet 1841 support but it looks very unlikely.

            Steve

            1 Reply Last reply Reply Quote 0
            • B Offline
              brcisna
              last edited by

              Hello All,

              Thank You to all that responded. I am going to start in on my initial install of pfSense-1.2.3-RELEASE on the x500 FB I have on Tuesday of this coming week. I will do some testing over VPN links with and without the vpn accelerator card with iperf/jperf and give a report.
              From the dmesg that was shown here by another poster  it appears the card is setup correctly,but who knows if it is actually providing any additional throughput, in the real world?…

              By the way. If anyone here is running Centos 5 I have made an rpm that installs jperf very easily. There is a readme at this url that explains how to setup jperf,in case you have never used it.
              JPerf is a frontend for iperf,of course.Very nice GUI,,,:)

              ftp://eazylivin.net/server/jperf/

              Thanks,
              Barry

              1 Reply Last reply Reply Quote 0
              • D Offline
                dreamslacker
                last edited by

                Have you enabled engine cryptodev in OpenVPN?  Having the OS support it is one thing, getting the software to actually use it is another.  I'm not sure if the OCF for safe is actually in the current implementation of Ovpn though.

                1 Reply Last reply Reply Quote 0
                • stephenw10S Online
                  stephenw10 Netgate Administrator
                  last edited by

                  Hmm. As I understood it a virtual ctrypto device, cryptosoft0, is setup that handles all encryption/decryption duties in freebsd. If a hardware device exists it registers itself as the default device for whatever algorithms it supports. Anything else is still handled by the software device.
                  As long as Openvpn is using the bsd crypto subsystem at all it should work.  ???

                  Steve

                  1 Reply Last reply Reply Quote 0
                  • D Offline
                    dreamslacker
                    last edited by

                    Hrmm..  The thing is, you need to explicitly tell OpenVPN to use engine cryptodev if you have a Soekris VPN accelerator card and Padlock (VIA), GSXLB (AMD Geode) so on and so forth.
                    I'm not sure how the pfSense build handles the crypto driver in the background but I do suppose entering engine cryptodev is worth a try if the safe driver is loaded.

                    1 Reply Last reply Reply Quote 0
                    • stephenw10S Online
                      stephenw10 Netgate Administrator
                      last edited by

                      Ah, well my knowledge was all gleaned from my efforts trying to enable the SafeXcell 1841, which ended in failure!
                      Your's is obviously from real experience so I imagine you're right.  ::)

                      Steve

                      1 Reply Last reply Reply Quote 0
                      • B Offline
                        brcisna
                        last edited by

                        Hello All,,,, again,

                        Thanks again for the feedback! OK, at present I have our two remote buildings setup with IPSECvpn tunnels. Site to Site. . Am I right in assuming that there is no possibility of leveraging' the SafeNet card with IPSECvpn? I guess I need to do some more homework on this. If i can use the SafeNet cards to gain some consistency for VPN's I will try and setup the FB's ( once I get pfSense installed) with OPENvpn, rather than IPSECvpn,.

                        Thanks,
                        Barry

                        1 Reply Last reply Reply Quote 0
                        • jimpJ Offline
                          jimp Rebel Alliance Developer Netgate
                          last edited by

                          IPsec should use any built in crypto accelerator automatically, so long as it hooks into the BSD crypto system as others have mentioned. It's only OpenVPN that requires a nudge in the config to use it.

                          Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                          Need help fast? Netgate Global Support!

                          Do not Chat/PM for help!

                          1 Reply Last reply Reply Quote 0
                          • First post
                            Last post
                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.