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

Squid package can utilize hardware based cryptographic acceleration

Scheduled Pinned Locked Moved Cache/Proxy
4 Posts 3 Posters 176 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.
  • J
    JonathanLee
    last edited by Apr 1, 2025, 12:56 AM

    Hello fellow Netgate community members,

    I wanted to let you know after some research that you can access the cryptographic acceleration for certificate generation with use of ssl intercept mode. This vastly improves performance.

    I am using this directive within an older Squid package.

    ssl_engine devcrypto
    

    6235bdf3-9459-451d-bec0-740be0d0b1c8-image.png

    Testing of this with ssl bump active and system certificates installed shows vast improvements.

    Also you can check useage with

    vmstat -i | grep safexcel
    

    366c3f53-5252-4c76-9e8f-a865e29be118-image.png

    It will increment when loading webpages with the proxy active in ssl intercept mode.

    This is amazing!!!! Keep in mind not all Squid versions have support for the ssl_engine directive.

    A quote from Squid Support...

    ".... BUT "ssl_engine" is ...
    
    >
    >        Not supported in builds with OpenSSL 3.0 or newer.
    >
    
    
    If your Squid is built for libssl 3.0 or later, you may be able to
    configure /etc/ssl/openssl.cnf default provider to be the one you want.
    Such that Squid does not have to do anything for it to work.
    
    
    I expect all the details relating to how devcrypto does its thing to be
    configured in /etc/ssl/openssl.cnf.
    
    You may find this discussion from the OpenSSL community helpful:
      <https://github.com/openssl/openssl/issues/10701>
    
    (FTR; the
    
    HTH
    Amos"
    

    Ref:
    https://www.squid-cache.org/Doc/config/ssl_engine/

    Make sure to upvote

    M N 2 Replies Last reply Apr 1, 2025, 7:32 PM Reply Quote 1
    • M
      michmoor LAYER 8 Rebel Alliance @JonathanLee
      last edited by Apr 1, 2025, 7:32 PM

      @JonathanLee
      dude...you are now the official maintainer of the Squid package!
      All jokes aside, have you considered reaching out to Netgate to see what can be done by you to be the maintainer? You clearly have the knowledge about the application and importantly you have the desire to see it improve for everyone. I say go for it.....

      Firewall: NetGate,Palo Alto-VM,Juniper SRX
      Routing: Juniper, Arista, Cisco
      Switching: Juniper, Arista, Cisco
      Wireless: Unifi, Aruba IAP
      JNCIP,CCNP Enterprise

      1 Reply Last reply Reply Quote 1
      • N
        ngr2001 @JonathanLee
        last edited by Apr 2, 2025, 4:12 PM

        @JonathanLee

        Does that include QAT Support ?

        J 1 Reply Last reply Apr 2, 2025, 4:41 PM Reply Quote 0
        • J
          JonathanLee @ngr2001
          last edited by Apr 2, 2025, 4:41 PM

          @ngr2001 I don’t know try the directive to see it if works, I do not have that crypto chip

          Make sure to upvote

          1 Reply Last reply Reply Quote 0
          4 out of 4
          • First post
            4/4
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
            This community forum collects and processes your personal information.
            consent.not_received