Slashdot Mirror


Build an Open Source SSL Accelerator

Amin Zelfani writes "SSL accelerators like Big-IP 6900 from F5 Networks typically carry a $50k or more price tag. An article over at o3magazine.com shows you how to build an SSL accelerator that's on par with the commercial solutions, using Open Source projects. SSL Accelerators offload the encryption / decryption process from web servers, reducing load and reducing the number of certificates needed."

136 comments

  1. Huh? by TheRaven64 · · Score: 1, Interesting

    A miniPCI card with an OpenSSL-supported crypto engine that can handle saturate the bus costs around $50. What do you get by spending three orders of magnitude more? Something that can handle multiple, 10GigE connections?

    --
    I am TheRaven on Soylent News
    1. Re:Huh? by jd · · Score: 1, Funny

      You forgot to mention the fancy box with the plush anti-static bag for the card. What, did you think you were just giving the companies those $5,000? It costs a lot to make something that's both plush AND anti-static, you know!

      --
      It's a small world and it smells funny; I'd buy another if it wasn't for the money; Take back what I paid (SoM)
    2. Re:Huh? by Trepidity · · Score: 4, Informative

      Partly the article is quoting prices on a whole box, not just the SSL acceleration. The Big-IP 6900 mentioned in the summary, for example, is a dual-core rackmount server with 10GigE, and hardware SSL and compression. Presumably much of that money you're paying is going for the actual server, not just the SSL-accelerating coprocessor. Of course, you're probably also paying a markup for buying a specialty server of that sort, rather than slapping an SSL accelerator in a server from a commodity vendor.

    3. Re:Huh? by Anonymous Coward · · Score: 2, Informative

      Actually you forgot to mention that most licensing systems require multiple licenses per 'machine'. One of the advantages of using one of these SSL accelerators, besides offloading the work, is being able to consolidate certs onto one machine for many front-edge machines.

    4. Re:Huh? by BigBuckHunter · · Score: 1

      A miniPCI card with an OpenSSL-supported crypto engine that can handle saturate the bus costs around $50.

      You would pay $50.. for a ssl crypto PCI card, and you're implying that 'other' people are being suckered?

      BBH

    5. Re:Huh? by upside · · Score: 4, Informative

      The BIGIP does load balancing, active-active clustering, routing, packet manipulation using scripts etc. It's extortionately priced but is very powerful and very user friendly.

      --
      I'm sorry if I haven't offended anyone
    6. Re:Huh? by GNUbuntu · · Score: 0, Troll

      Well then they should just buy the Ninnle SSL accelerator that is a octo-core rackmount server with 100GigE and only costs you 500 dollars. This is all thanks to the new innovations constantly coming out of Ninnle Labs.

    7. Re:Huh? by TheRaven64 · · Score: 1

      I've not bought one, but I know a couple of people who use them in little embedded firewall boxes. These typically have something like a 266MHz Geode CPU which can't handle SSL or IPSEC at line speed without the accelerator, but can with the (mini)PCI card installed.

      --
      I am TheRaven on Soylent News
    8. Re:Huh? by Anonymous Coward · · Score: 2, Interesting

      you combine nginx, haproxy, varnish-cache and you've got 80% of what Big-IP does!

    9. Re:Huh? by Anonymous Coward · · Score: 0

      any leave all the sensitive traffic on your (hopefully) private network unencrypted. Yay! what a smart idea.

    10. Re:Huh? by Anonymous Coward · · Score: 0

      yeah : you combine nginx, haproxy, varnish-cache and you've got 80% of what Big-IP does!

    11. Re:Huh? by jgtg32a · · Score: 1

      For 10% of the price

    12. Re:Huh? by Anonymous Coward · · Score: 0

      How about an approved FIPS 140-2 compliant solution

    13. Re:Huh? by Bert64 · · Score: 1

      Dont the geode processors have some sort of AES capability built in? At least the 500mhz Geode-LX does, i have one and it has a kernel driver for the loop-aes device...
      Is there any way to have OpenSSL use this hardware on linux? One of the soekris net5501 boxes would make a good little vpn box if i could do that.

      --
      http://spamdecoy.net - free throwaway anonymous email - avoid spam!
    14. Re:Huh? by TheRaven64 · · Score: 2, Insightful

      I think the newer Geodes do, but the older ones have been around for a long while and are still cheap. No idea about Linux - I've no idea why you'd run anything other than OpenBSD on a machine like that.

      --
      I am TheRaven on Soylent News
    15. Re:Huh? by Anonymous Coward · · Score: 0

      You're missing the point. In a SSL accelerator scenario, you're only encrypting this traffic at the border. Between the accelerator and the web server, the traffic is unencrypted. If it's sensitive enough to encrypt at the border, should you be assuming your network is pure?

    16. Re:Huh? by Idiomatick · · Score: 1

      How is this offtopic?

    17. Re:Huh? by Anonymous Coward · · Score: 5, Insightful

      nginx, haproxy, varnish-cache

      Ok. Lets say your geek is $65k+stuff a year. It takes your geek 6 months to fully ascend the nginx/haproxy/varnish-cache learning curve and get the stack working properly. A geek making only $65k WILL take that long trying to achieve some semblance of parity with a commercial quality, regression tested appliance. That's around $50k in labor (remember, employers pay hidden costs) + hardware (still not free, that.) Meanwhile, you've lost some number of eyeballs to glitches and poor performance and disappointed whomever wanted it 12 weeks ago.

      You could use a better geek, but those cost more and you overrun your $50k budget faster, so that's a wash. Might lose fewer eyeballs that way...

      Now you rely on a "one off" mystery that your geek, and only your geek, can possibly manage without learning the hard way WHY he's the only one. On the upside you also have the beginnings of a network appliance you might try to productize... if you can get your geek to document it.

      Or you could drop $50k now and put your geek on something that doesn't come in a box.

      I know, I know. "SIX MONTHS!!!111 What kind of idiot..." I've been involved with this stuff a long time. It isn't done when the light comes on. It takes lots of effort to go from "oh look, it lit up!" to a finished product. In the end you'll spend every damn minute of that 6 months whether you do it up front or amortize it over half a decade. If you take the long view you realize that there is a reason BigIP has customers.

    18. Re:Huh? by Anonymous Coward · · Score: 0

      It's not, but this is Slashdot.

    19. Re:Huh? by Anonymous Coward · · Score: 1, Insightful

      And an order of magnitude less user-friendliness.

    20. Re:Huh? by Anonymous Coward · · Score: 0

      "Ninnle" is some lame attempt to start a troll meme.

    21. Re:Huh? by Nethead · · Score: 1

      Looks like some guys on Elliot Bay have mod points today.

      --
      -- I have a private email server in my basement.
    22. Re:Huh? by Anonymous Coward · · Score: 0

      You are leaving out PC build time, OS install, config and maintenance, and applications and of course your time is free.
      If you are really cheap but want reasonably good - especially for the money - get a Barracuda.
      I work with Cisco Local Directors,CSS, NetScalers and Barracuda and for reasonably nice ( port redirection, ssl offload, various performance load parameters ) they are hard to beat.

      Course I did this 6 years ago with 750 MHz P3s and then ran Stunnel back to remote servers thereby maintaining encryption all the way. 2 Cisco Local directors at the front end handled the actual load distribution.

      You might still be able to pick up used Alteon/Intel SSL boxes as well.

    23. Re:Huh? by BiggerIsBetter · · Score: 1

      Mini-PCI card? How about doing it on the GPU instead?

      --
      Forget thrust, drag, lift and weight. Airplanes fly because of money.
    24. Re:Huh? by Anonymous Coward · · Score: 0

      which one please? name you names...

    25. Re:Huh? by Anonymous Coward · · Score: 0

      Just because you don't understand doesn't mean he's missing the point. He gets it, you don't.

    26. Re:Huh? by Anonymous Coward · · Score: 0

      But wouldn't the opensource project want a company to pay a geek to do this for them, so as to have the geek contribute back to the opensource project (a requirement since it's, um, well, under an opensource license)... So, as long as a few of these companies are willing to support the required number of geeks, the project will float. Perhaps this whole article is all a ploy to get this opensource project into the mainstream by getting some companies to fund some geeks. Heh. Good luck, if that's the case.

    27. Re:Huh? by Anonymous Coward · · Score: 1, Insightful

      You're confusing 'the time it takes to solve the problem' (i.e., accelerate SSL performance by offloading) against 'the time it takes to produce a a shrink wrapped product that I can sell.'

      See, the 50K big-iron will solve the problem; yes. But the goal isn't to replicate what that big-iron never-ever-fail comes-with-a-cherry-on-top can do, the goal is to accelerate *this web server*. Not your web server, not everyone's web servers, but THIS one.

      And on THIS web server, we might not *care* about 90% of the things that are supposidly tested on that commerical grade piece of equipment, which is why the geek will only take a week to get it working.

      (It's also been my experience that commerical grade tested stuff somehow doesn't seem to work with your piece of equipment, even though the brouchure said it did, meaning you've got both the 50K expenditure AND all the geek time required to get the 50K box doing what it was supposed to do.)

      Big iron gear is usually unnecessary. The main question is whether this open source box can keep up with the demand - and, for a lot of situations, it can.

    28. Re:Huh? by afidel · · Score: 1

      Not when you include the man months to do all the configuration and tweaking needed to get it working perfectly. Plus it's not like you can really simulate the real world load these types of boxes experience so you would have to put your homebrew solution in front of a webfarm where downtime is many multiples the cost of the BigIP solution. The fact is only a cash poor startup is likely to use such a solution because it's about the only situation where you would have sufficient traffic without the revenue to justify the commercial solution.

      --
      There are 4 boxes to use in the defense of liberty: soap, ballot, jury, ammo. Use in that order. Starting now.
    29. Re:Huh? by Otterley · · Score: 1

      The other 20%, and your time, is what makes it worth $25k.

    30. Re:Huh? by Anonymous Coward · · Score: 0

      Double whoosh...

    31. Re:Huh? by binarylarry · · Score: 1

      Fortunately, this is a complex area anyway and the person installing it should really know what they're doing.

      I wouldn't want some moron from geeksquad configuring my company's SSL stuff.

      --
      Mod me down, my New Earth Global Warmingist friends!
    32. Re:Huh? by Anonymous Coward · · Score: 0

      Doesn't have to contribute anything back as long as it is an internal project.

    33. Re:Huh? by jgruber · · Score: 1

      Actually BIG-IP has no problems decrypting... working with app data...load balancing...tcp multi-plexing...etc... then re-encrypting. You can get offloading for caching and compression and at the same time be SSLed on both the client and server side of the proxy.

    34. Re:Huh? by Cylix · · Score: 1

      Still wrong...

      It's support... plain and simple...

      It is rather simple to get an over night RMA if a unit behaves strangely or begins to fail sporadically. At the same time, there is a support channel available to assist with configuration or other types of soft issues.

      I'm not arguing for or against this type of solution, but rather pointing out why it is so high.

      There are multiple components to consider when determining what type of purchase to make.

      --
      "You should always go to other people's funerals; otherwise, they won't come to yours." -- Yogi Berra
  2. SSL Accelerator?? by Narnie · · Score: 0, Redundant

    Why bother with that? I just encrypt everything with ROT-13... twice. Much faster.

    --
    greed@All_Evils:~#
    1. Re:SSL Accelerator?? by Zaurus · · Score: 3, Funny

      The problem with that is that you still have the performance hit of calling the ROT-13 function times four (twice for encryption, twice for decryption).

      I'll sell you my ROT-52 accelerator card for $50,000 which will do it all in one function call, and hardware accelerated to boot! Did I mention it supports unicode?

    2. Re:SSL Accelerator?? by fuzzyfuzzyfungus · · Score: 0, Redundant

      Double rot-13 is, perhaps, the only algorith that can be optimised using only the delete key...

    3. Re:SSL Accelerator?? by Narnie · · Score: 0, Redundant

      Hmmm... not too sure if ROT-52 is enough. If you can make a ROT-208 accelerator for $100,000, you might just have a sale.

      --
      greed@All_Evils:~#
  3. an OPen sourse by geekoid · · Score: 1, Funny

    particle accelerator I can build? cool..oh wait. damn.

    --
    The Kruger Dunning explains most post on /. http://en.wikipedia.org/wiki/Dunning%E2%80%93Kruger_effect
    1. Re:an OPen sourse by jd · · Score: 1, Funny

      We did the particle accelerator some time back. Do a search for "scotch tape" and "x-rays".

      --
      It's a small world and it smells funny; I'd buy another if it wasn't for the money; Take back what I paid (SoM)
  4. Tangental question... by Richard_at_work · · Score: 1, Offtopic

    At the moment I have two OpenBSD servers acting as a single firewall infront of two IIS6 Windows 2003 R2 servers - the OpenBSD servers are acting as an Apache2 reverse proxy for IIS. Only one of the IIS6 servers is 'live' at any one time, the second is the spare.

    Currently, the setup has an automatic failover for the OpenBSD servers via CARP, which works great. However, the IIS servers are currently limited to manual failover, they cant use MS Network Load Balancing because I need session based balancing, and not just IP based balancing.

    Can anyone recommend an easy way to implement session based failover? I took a look at Nginx before settling on Apache simply because the Nginx documentation was terrible, and also very highly 'you already know the product' orientated.

    1. Re:Tangental question... by jd · · Score: 1

      One thing to consider is whether you need session-based fail-over. If you're going to only treat one as live at a time, then send the spare computer the same packets you are sending the live computer, but drop the responses. If the live computer stops responding, allow the responses from the spare to go through.

      The problem will be getting the machines back in sync once the first machine is rebooted. If you assume that the time between the two machines failing is going to be great enough, forward new connections only to the rebooted machine on the basis that all older sessions will terminate before the second machine fails.

      --
      It's a small world and it smells funny; I'd buy another if it wasn't for the money; Take back what I paid (SoM)
    2. Re:Tangental question... by Richard_at_work · · Score: 1

      Well, that is one option, but ideally because the IIS servers will be running .Net apps, it would be nice to actually load balance them, so they would both be 'live' in that situation. At the moment, I have to physically repoint the Apache2 proxy at the other server to fail over (or change IP addresses on the IIS box).

    3. Re:Tangental question... by Anonymous Coward · · Score: 0

      Well, that is one option, but ideally because the IIS servers will be running .Net apps, it would be nice to actually load balance them, so they would both be 'live' in that situation.

      You can have a .net farm of machines where session state is stored in an sql database and not by the web server (assuming that you have a robust live replicated or clustered database). Works well.

    4. Re:Tangental question... by awpoopy · · Score: 1

      What I think you're looking for is "carp" and all flavors of bsd do it. You may want to check out pfsense: http://www.pfsense.org/. I've used it for years. Depending on requirements, just throw the appropriate amount of hardware together. You can fail-over ipsec tunnels with it. Suitable for all enterprise uses.

      --
      I say things which affects my Karma negatively. (and I don't care) For instance; All religion is false.
    5. Re:Tangental question... by mat · · Score: 1

      Just use mod_proxy_balancer (included in Apache) either to load-balance sessions between the two servers using session tracking, or to to use a server as a backup with the parameter "status=+H" (only available for the latests Apache versions).
      http://httpd.apache.org/docs/2.3/mod/mod_proxy_balancer.html

    6. Re:Tangental question... by nacturation · · Score: 1

      What I think you're looking for is "carp" and all flavors of bsd do it.

      Here is the third sentence of the post you replied to:

      "Currently, the setup has an automatic failover for the OpenBSD servers via CARP, which works great."

      Given that, he's most likely talking about .NET Session state.

      --
      Want to improve your Karma? Instead of "Post Anonymously", try the "Post Humously" option.
    7. Re:Tangental question... by awpoopy · · Score: 1

      Oops. Carp does session failover - at least ipsec tunnel sessions.
      If it's .nut - well I'll pass that over to the nuts that use it.

      --
      I say things which affects my Karma negatively. (and I don't care) For instance; All religion is false.
  5. uh by anthonyclark · · Score: 3, Informative

    you *do* know that an F5 Big-IP is more than an SSL accelerator? Like, a load balancer with lots of cool features.

    I guess you could duplicate the features of an f5 with nginx and more, but I guess it'd take a developer more than 50k worth of time to do it.

    --
    ----- Documentation is worth it just to be able to answer all your mail with 'RTFM' - Alan Cox.
    1. Re:uh by Puzzleer · · Score: 2, Interesting

      50k? Are you insane? I worked at a company that built similar products, and we had six developers working on it for five years.

      Don't trivialize how hard it can be do build a piece of high performance equipment (especially where you are doing crypto in hardware).

    2. Re:uh by deraj123 · · Score: 3, Informative

      but I guess it'd take a developer more than 50k worth of time to do it.

      He wasn't trivializing. He was, in a somewhat roundabout way, saying that 50k is a lot cheaper than what it would cost to implement the same solution yourself. The summary (don't know about the article, didn't read it) was trivializing the difficulty, the GP was refuting the summary.

    3. Re:uh by hackstraw · · Score: 1

      you *do* know that an F5 Big-IP is more than an SSL accelerator? Like, a load balancer with lots of cool features.

      Yes, that is true. What this also means is that after spending the big bucks for the front end like this, you will save money in the long run because you now have the ability to throw as many boxes behind the SSL switch/load balancer box up until all of its links are used. You don't have to buy new certificates or wildcard certificates for any of the backend devices and/or worry about name mismatches, or any of the common issues with SSL certs.

      I didn't see it on their website, and couldn't really read the site either (marketing/manager speak or some other language I don't know), but many of these devices like the F5 Big-IP also have pretty much tamper proof storage of the private keys for the certificates. These things will zero out the device if tampered with and whatnot, which may or may not be of importance to you. Its likely to be more important to you if you are in a colo setup.

      I guess you could duplicate the features of an f5 with nginx and more, but I guess it'd take a developer more than 50k worth of time to do it.

      What is almost sad is that the box probably already runs ngix or some variant of Linux and/or SSLeay.

    4. Re:uh by bugs2squash · · Score: 1

      Sure, But what if you don't need all the cool features ?
      And what if you want several of them (multiple locations, redundancy etc) ? High-end boxes hunt in packs.
      The $50k a pop adds up quickly and I quite like the idea of factoring out each feature into a separate cheap box.
      The argument is also cited that building something in house means that there is only one person who understands it. That may be true, but I've seen bought-in systems deployed where no-one in house understands fully what it does or how it works and expensive support contracts that have not been that great a help.
      One way or another, my experience has been that the onus to truly understand the system falls onto me, not the vendor. And in that regard I've found many OSS packages to be much easier to assimilate than systems shrouded in marketing buzzwords and secrecy about their inner workings and deliberately obfuscated/not supported interfaces.

      --
      Nullius in verba
  6. Ideally... by jd · · Score: 4, Interesting

    ...you'd offload the entire TCP/IP stack (Linux' networking isn't the fastest) as well as the SSL. Preferably get the IPSEC in there as well. It shouldn't be too hard to build a card that does the lot. You could then use VCHAN or some other kernel bypass method to forward the data as though Linux had just processed the packets within its own networking stack. The software doesn't need to know where the operation is taking place, so long as the API is the same.

    However, just getting the SSL onto a card is a definite advantage, as SSL is a heavy processor consumer and is used frequently-enough that it's a drag on systems.

    There are many encryption chips out there (Freescale's S1, for example) and there are projects on OpenCores that you can download right into a low-cost FPGA, so you can get pretty much whatever speed you want at whatever budget you're prepared to set aside.

    --
    It's a small world and it smells funny; I'd buy another if it wasn't for the money; Take back what I paid (SoM)
  7. Only slightly OT by Anonymous Coward · · Score: 0

    Frank Shoemaker dies at 86.

  8. It can't be that good by Anonymous Coward · · Score: 3, Funny

    If their solution was really worthwhile, wouldn't the link to the article have been https:/// instead of just http:// ?

  9. It'd be nice to see SSL on all web sites by Matt+Perry · · Score: 1

    It'd be nice to see SSL used on all web sites. Apache can now handle SSL virtual hosts so that obstacle is gone.

    --
    Slashdot: Failed Car Analogies. Amateur Lawyering. Anecdote Battles.
    1. Re:It'd be nice to see SSL on all web sites by fuzzyfuzzyfungus · · Score: 2, Interesting

      Y'know who else thinks that it would be nice to see SSL used on all web sites?

      Verisign.

    2. Re:It'd be nice to see SSL on all web sites by jd · · Score: 2, Interesting

      Better yet, it'd be nice to see SSL used on all pages on all web sites. One of the first rules of security is that context can tell you a lot about what is being encrypted and can potentially weaken that encryption. It also allows attackers to distinguish packets of interest from context.

      Using SSL for only critical stuff is like using encryption for only shell passwords. It's better than nothing, but exposes far far too much.

      (One might argue that there's so much valuable data placed on computers in corporate DMZ's that further security is pointless until that is fixed. That's true, but one reason corporations don't bother with security is that customers don't demand it. One reason customers don't demand it is that SSL is slow, so sites that don't have good security give a better response, which is what the customer thinks they want. If the response was fixed, customers might start considering sites with competent security preferable to those that effectively hand out bank details to any cracker that asks.)

      --
      It's a small world and it smells funny; I'd buy another if it wasn't for the money; Take back what I paid (SoM)
    3. Re:It'd be nice to see SSL on all web sites by Anonymous Coward · · Score: 0

      Y'know who else thinks that it would be nice to see SSL used on all web sites?

      There are many sites that don't really require SSL. It just isn't private or sensitive information, and the crypto overhead isn't trivial.

      Further, regular SSL requires a dedicated IP address for each certificate. You can't have multiple SSL websites on the same IP address.

      On the other hand, this would push for IPv6...

    4. Re:It'd be nice to see SSL on all web sites by TheRaven64 · · Score: 1

      Further, regular SSL requires a dedicated IP address for each certificate

      Yes you can. The standard was published almost a decade ago, and I think it's pretty well-supported now. It requires connecting and then doing the SSL handshake once you've identified the server (just as STARTTLS extensions on most other protocols do).

      --
      I am TheRaven on Soylent News
    5. Re:It'd be nice to see SSL on all web sites by Goyuix · · Score: 1, Informative

      Apache is only half the problem at best, the real issue is the lack of compliant clients at a significant level. Server Name Identifcation (the extension to allow for virtual hosts behind SSL/TLS connections) has been supported in Firefox since v2 I believe, and Internet Explorer 7 - though I think that is only on Vista for some reason. I have no idea what Safari, Opera and other browsers and platforms might support.

    6. Re:It'd be nice to see SSL on all web sites by Darby · · Score: 1

      Y'know who else thinks that it would be nice to see SSL used on all web sites?

      Verisign.

      You know who is missing (part of) the point of an SSL accelerator? You are!

      One wildcard cert + one pair of SSL accelerating Load Balancers = All of your sites can now be SSL.

    7. Re:It'd be nice to see SSL on all web sites by Matt+Perry · · Score: 1

      Apache is only half the problem at best, the real issue is the lack of compliant clients at a significant level.

      What do you mean by significant? All of the major browsers currently support SNI.

      --
      Slashdot: Failed Car Analogies. Amateur Lawyering. Anecdote Battles.
    8. Re:It'd be nice to see SSL on all web sites by Matt+Perry · · Score: 1

      Further, regular SSL requires a dedicated IP address for each certificate.

      No they don't.

      You can't have multiple SSL websites on the same IP address.

      Yes you can. Read.

      --
      Slashdot: Failed Car Analogies. Amateur Lawyering. Anecdote Battles.
    9. Re:It'd be nice to see SSL on all web sites by Anonymous Coward · · Score: 0

      Read that again. IE6 and IE7 on XP don't support SNI. Vista has flopped and IE8 hasn't even been out for a month, so writing off all those users is not going to be an option for at least another year.

    10. Re:It'd be nice to see SSL on all web sites by Mr.+Slippery · · Score: 1

      Yes you can.

      ...as soon as you get old OSes and browsers off the net. Read the article to which you link, the scheme doesn't work with Win XP running IE 6 or 7.

      So even if you were silly enough to run experimental code in your server, a large percentage of your clients can't use the extension anyway.

      The GP is correct: regular SSL requires a dedicated IP address for each certificate. The fact that an experimental extension to SSL gets around this requirement does not alter that fact.

      --
      Tom Swiss | the infamous tms | my blog
      You cannot wash away blood with blood
    11. Re:It'd be nice to see SSL on all web sites by Anonymous Coward · · Score: 0

      As the wikipedia article you link to states, IE only supports SNI on Vista, so the most used browser on the most used OS doesn't support SNI. It'll be some time yet before SNI can be widely used to solve the SSL vhosts problem.

    12. Re:It'd be nice to see SSL on all web sites by DavidTC · · Score: 1

      Actually, strictly speaking, you can run it on a single IP and different ports.

      But no one likes that solution.

      --
      If corporations are people, aren't stockholders guilty of slavery?
    13. Re:It'd be nice to see SSL on all web sites by DavidTC · · Score: 1

      Yeah, except for that whole 'XP running IE6 or IE7', which is something like 60% of all web browsers.

      --
      If corporations are people, aren't stockholders guilty of slavery?
    14. Re:It'd be nice to see SSL on all web sites by Mr.+Slippery · · Score: 1

      You don't consider IE 6, or 7 on XP, to be "major" browsers? What odd traffic patterns you must get. I see over 30% IE 6 on my personal server.

      --
      Tom Swiss | the infamous tms | my blog
      You cannot wash away blood with blood
    15. Re:It'd be nice to see SSL on all web sites by rootofevil · · Score: 1

      if you dig into that a little youll realize that the necessary TLS extension isnt officially part of apache yet, and even IE7 on XP doesnt support it.

      effectively, at this point, for the vast majority if the internet it is not supported. which is a shame, because id love to use it right now on a project im working on.

      --
      turn up the jukebox and tell me a lie
    16. Re:It'd be nice to see SSL on all web sites by Matt+Perry · · Score: 1

      Win XP running IE 6 or 7.

      Those clients represent an ever decreasing share of the browser market. By the time SSL virtual hosts are deployed on a wide scale, those browsers may be a tiny fraction of the ones in use. A service provider may also decide that the ability to support SSL virtual hosts outweighs the loss of those clients and instead encourage them to upgrade to a different browser such as Firefox.

      So even if you were silly enough to run experimental code in your server, a large percentage of your clients can't use the extension anyway.

      You're making the faulty assumption that a large portion of my visitors would be using those browsers.

      The GP is correct:

      No, the GP is demonstrably wrong. Just because you think something can't be done, you should not get in the way of those who are currently doing it.

      regular SSL requires a dedicated IP address for each certificate. The fact that an experimental extension to SSL gets around this requirement does not alter that fact.

      You state that SSL requires a dedicated IP then you admit that it doesn't. Make up your mind. Since software exists that allows SSL virtual hosts to be used, multiple IP addresses are not a requirement. You may still have a business or technical requirement for multiple IPs because you are not using the approrpriate software, but that's another matter entirely.

      --
      Slashdot: Failed Car Analogies. Amateur Lawyering. Anecdote Battles.
    17. Re:It'd be nice to see SSL on all web sites by Matt+Perry · · Score: 1

      Yeah, except for that whole 'XP running IE6 or IE7', which is something like 60% of all web browsers.

      And steadily declining. It's also only relevant if you care about being accessible to everyone. Do you think Amazon.com or Ebay is going to fret over hosting multiple sites behind a single IP address? Of course not. SSL virtual hosts are most important to home users like you and me. That's where the value it. Not all of those sites care about being accessible by every browser. If people can't access my site, they can upgrade to Firefox or do without.

      --
      Slashdot: Failed Car Analogies. Amateur Lawyering. Anecdote Battles.
    18. Re:It'd be nice to see SSL on all web sites by DavidTC · · Score: 1

      It's also only relevant if you care about being accessible to everyone.

      Except that you started off this conversation talking about 'all websites', you loon.

      But from now on you feel free to pretend 'all websites' are run by hobbyists who can afford to ignore 60% or more of the people out there, and everyone else can freely ignore you.

      --
      If corporations are people, aren't stockholders guilty of slavery?
    19. Re:It'd be nice to see SSL on all web sites by Matt+Perry · · Score: 1

      Except that you started off this conversation talking about 'all websites', you loon.

      Please do not use personal attacks. I will be glad to engage you in conversation but only if you can be civil.

      --
      Slashdot: Failed Car Analogies. Amateur Lawyering. Anecdote Battles.
    20. Re:It'd be nice to see SSL on all web sites by Matt+Perry · · Score: 1

      Except that you started off this conversation talking about 'all websites'

      Yes, I did. Specifically, I said that I'd like to see SSL used on all web sites. Here's the exact quote:

      It'd be nice to see SSL used on all web sites. Apache can now handle SSL virtual hosts so that obstacle is gone.

      One obstacle to all sites using SSL is the lack of support for SSL virtual hosts. That obstacle is now gone thanks to SNI.

      Many sites have dedicated IP addresses and can use SSL just fine. But there are many other web sites that use shared hosting and are shared behind a single IP. Since Apache and several other web servers now support SNI, along with most modern web browsers, this is a service that hosting providers could offer to their customers. Customers can weigh the cost of using SSL without paying for a dedicated IP, but with the limitations for users of IE on XP, or spend the money for a dedicated IP address. IPv6 is being deployed quite slowly so IP addresses will likely cost customers more money over the next several years than they do today.

      Now is the time to start including Apache with the SNI patches as a package in major distros. This would help SNI gain exposure and get the code tested by more users. Valuable feedback can be collected and used to improve the software. Users could choose to install it over the regular Apache packages if they wanted to try out SSL virtual hosts. If they don't want to use it, they can install the regular Apache package. Debian and Ubuntu are two distros that already include packages for different versions of Apache. Distros have included packages and experimental code before. This is nothing new.

      As the bugs get fixed over the next year or two, we may see the SNI patches make their way into a regular Apache release which would be included in distros. By that time Windows XP will be well on the decline as it enters the twilight of its support cycle and Vista and Windows 7 displace it. I suspect that Firefox will continue to gain significant marketshare.

      Of course, by that time IPv6 may be widely deployed and SSL virtual hosts, or virtual hosts specifically, will be a non-issue. I'm not going to hold my breath waiting for that to happen.

      But from now on you feel free to pretend 'all websites' are run by hobbyists who can afford to ignore 60% or more of the people out there

      No where have I made that claim. Please read my posts again.

      --
      Slashdot: Failed Car Analogies. Amateur Lawyering. Anecdote Battles.
  10. Summary: use nginx. by mystik · · Score: 1

    Nginx has been getting a lot of press lately, much of which is well deserved.

    This article is simply that -- use a front-end reverse proxy (like nginx) to your backend server, and let nginx handle the ssl transaction and pass the body of the HTTP request to your backend server where it handles the important stuff.

    This is not an uncommon strategy, and lets you have a lot of flexability.

    --
    Why aren't you encrypting your e-mail?
  11. Did anyone else read the headline and think by rford · · Score: 1

    that they were building an open source Synchrotron Light Source accelerator.

    1. Re:Did anyone else read the headline and think by compro01 · · Score: 1

      I somehow read it as SSC.

      --
      upon the advice of my lawyer, i have no sig at this time
  12. UltraSparc T2 server as competitor? by owlstead · · Score: 3, Interesting

    It doesn't cost 50K to buy a T2 based server from Sun (more like 15K at entry-level prices). This would give you 8 crypto-accelerated cores with 2x 10GBit ports straight into the processor. They are also not that power hungry. You could use this to both accelerate your web server as well as your SSL. Wouldn't this be a better solution than building two servers?

    Just thinking out loud, maybe I've overlooked something as I'm not a network engineer or anything.

    1. Re:UltraSparc T2 server as competitor? by bajan_on_ice · · Score: 1

      Done and done... $50k and equivalent performance of the high end BIGIP stuff
      http://www.zeus.com/news/press_articles/zeus-price-performance-press-release.html

      --
      "The greatest dangers to liberty lurk in insidious encroachment by men of zeal, well-meaning but without understanding."
    2. Re:UltraSparc T2 server as competitor? by BobSixtyFour · · Score: 0

      Big mistake.

      What Sun DOESN'T tell you is that each of those eight 1.2 GHZ "cores" are actually 4 threads (read: cores)... running at 300mhz each.

      So what you REALLY get is.... 32 cores, each running 1 thread (total of 32 threads) at a speed of 300mhz. They just group four of them together and market them as a core.

    3. Re:UltraSparc T2 server as competitor? by owlstead · · Score: 1

      32 cores at 300 MHz? Only if you really don't understand the difference. And it seems you don't.

      I am self-educated in basic processor design, and that's just plain wrong if you look at the hardware. If you look at it from the OS, you will indeed see 32 cores, but if you are using 8 threads you will get higher speeds than a single core running at 300 MHz. The reason Sun uses 4 threads per core is to optimize the use of the ALU's of the core.

      That's the theory, but I was wondering if you could buy a T2 and easily configure it for SSL acceleration. It does have the 8 (EIGHT) cores including crypto accelleration and 2 x 10 GBit eithernet connections, so in theory it should be great. However, theory != practice. For instance I don't know how much you'd have to spend after the initial 15K, and if there are any easy to install/free SSL-proxies available.

    4. Re:UltraSparc T2 server as competitor? by Anonymous Coward · · Score: 0

      Big mistake.

      What Sun DOESN'T tell you is that each of those eight 1.2 GHZ "cores" are actually 4 threads (read: cores)... running at 300mhz each.

      So what you REALLY get is.... 32 cores, each running 1 thread (total of 32 threads) at a speed of 300mhz. They just group four of them together and market them as a core.

      Where did you learn this from?

      There are only 8 cores running at full speed (not at 1/4 speed as you state). There are not 32 cores, but 4 threads per core. Most of the core's units are shared among threads.

    5. Re:UltraSparc T2 server as competitor? by owlstead · · Score: 1

      Yes, but then you are back to the 50K pricepoint. OK, that's INCLUDING the application server, but it might still be a bit steep for many applications. And you'd have to port/reconfigure the applications to run on the T2 server.

      One of the advantages of an SSL-offloader is that you only have to remove the SSL from the port running SSL. Hmm, maybe the T2 is not such a good idea if you're having other deadlines pending. System admin time and knowledge is a costly thing.

    6. Re:UltraSparc T2 server as competitor? by otis+wildflower · · Score: 1

      You mean how a 1.6ghz Atom CPU's hyperthreading means it has 2 800mhz threads?

      Care to share your crack pipe with the rest of the class?

    7. Re:UltraSparc T2 server as competitor? by Anonymous Coward · · Score: 1, Informative

      What Sun DOESN'T tell you is that each of those eight 1.2 GHZ "cores" are actually 4 threads (read: cores)... running at 300mhz each.

      So what you REALLY get is.... 32 cores, each running 1 thread (total of 32 threads) at a speed of 300mhz. They just group four of them together and market them as a core.

      No, you're wrong.

      On a T2, you can have 8 or 4 cores, each with a floating point pipeline and two integer pipelines (T1 had one int per core, and one float per chip). Each (real, 1.2GHz) int pipeline is fed by four hardware threads. The hardware threads allow the processor to quickly service the next process if anything stalls. The OS can't do anything about these stalls, and only sees them as busy time, as if the processor was really doing something. The 4 to 1 ratio gives the system pretty good odds of being able to keep all 16/8 int units busy all the time. If the OS is executing more than 16/8 processes concurrently, then per process speed will be less than 1.2GHz obviously. No different from running four busy processes on a 1Ghz Pentium, (ignoring superscalar execution) each one will run at about 250MHz. Any number of concurrent processes above the number of real cores x int units you have is just eking out better efficiency, not real processing power.

      There is a lot to gain from better efficiency though, because typical processors spend a lot of time doing nothing even when the OS sees 100% busy.

      I don't know where this stupid 300MHz myth started (Oracle?), but it's not why single threaded performance on T1/T2 lags behiind other processors. The reason is other UltraSparc chips are super scalar, and mostly have a faster clock rate. That is the real trade off for better efficiency, laying out all the resources horizontally, as opposed to stacked vertically.

      Here's an anology:
      Niagra chips work like queuing up to four customers to a cashier, but if any one of them stalls (price check!) he simply starts on the next one immediately. You'll put one in each lane before this happens though.

      Other modern chips are like sticking two cashiers (and baggers) per lane, but strictly working with one customer at a time. A stall can easily hold up multiple workers. You have fewer lanes, but they can be really, really fast - except in practice, your customers do really stupid things all the time, like handing you a cart full of tagless items. For this reason, your workers need to be extra fast to average out all the worst case scenarios.

    8. Re:UltraSparc T2 server as competitor? by bajan_on_ice · · Score: 1

      $50k for something that performs at $150k? And that's for a LB that saturates a 10GB line with full SSL acceleration. That's not trivial to do, and most sites wouldn't even come close to using that. In that case, I'd recommend Intel/AMD gear.

      I've used the Zeus software. Never got trained on it, and had it up and running in less that 2 hours. Its really well designed.

      --
      "The greatest dangers to liberty lurk in insidious encroachment by men of zeal, well-meaning but without understanding."
    9. Re:UltraSparc T2 server as competitor? by pyite · · Score: 1

      Done and done... $50k and equivalent performance of the high end BIGIP stuff

      Zeus is not a valid competitor for a lot of markets until they add Route Health Injection. It's a glaring feature-set hole for site-to-site failover (via routing) that both Citrix NetScaler and F5 BIGIP support as a bread-and-butter function.

      Otherwise, their features like TrafficScript aren't half bad.

      --

      "Nature doesn't care how smart you are. You can still be wrong." - Richard Feynman

    10. Re:UltraSparc T2 server as competitor? by owlstead · · Score: 1

      Interesting stuff indeed, and the 50K/150K is of course interesting. But still only if you need the performance of that 150K server, otherwise other project may be less expensive.

      My X2 Phenom CPU may also not beat many others in price/performance, but it does what I need using not too much power. I probably could buy a 150$ CPU instead, but I would loose 75$ dollars doing it...

    11. Re:UltraSparc T2 server as competitor? by BobSixtyFour · · Score: 1

      My company has a T2000, and it is slow. 1/4 as slow as the 1.2ghz box it replaced.

      Everything is slower. From the tarring of files to the rsync of directories.

      In order us to even return to the same performance as our old box, we had to make multi-threaded processes kick off approx 4 worker threads to handle the work.

      It's not an oracle myth when your single-threaded shellscript takes 4x as long as before.

      It's the equivalent of that cashier taking smoke breaks 3/4ths of the time instead of scanning my food!

      Sure, I have more cashiers (8 "cores") but they're less efficient when it counts. ONLY if your stuff is multithreaded can you even have a remote chance of reclaiming your lost performance.

      An even better analogy would be a highway.

      A dual core processor being 2 sets of highways with a speedlimit of 120 mph and one lane per set.

      A t2000 being a 8 sets of highways, each with 4 lanes per set, but with a speed limit of 30mph.

      Each highway has 4 lanes, the combined speed for the highway is 120mph, but each car waits longer before getting to its destination. However, it has way more sets of highways, so the maximum throughput is higher.

      But throughput isn't everything if you have to sacrifice time for an impatient customer that NEEDS to get from point A to point B ASAP.

      Whats the point of a SSL offloader that can handle 32 customers, but handles each customer 4 times as long?

      More efficient, perhaps. But I'd rather buy something that give me more customer capacity without sacrificing speed... especially if my SSL encryption speed is already an issue.

  13. stunnel by KillerBob · · Score: 1

    It's already been done. It's called stunnel. Among other things it lets you do, you can specify a different host to connect to.

    In other words, host A accepts connections on port 443 and can automatically encrypt the traffic and route it through to host B on port 80. It allows you to accept connections on multiple ports, each with its own mapping.

    It also works with name virtual hosts, forwarding the name request through to the other host.

    --
    If you believe everything you read, you'd better not read. - Japanese proverb
    1. Re:stunnel by buchner.johannes · · Score: 1

      Or squid as reverse proxy.

      --
      NB: The message above might reflect my opinion right now, but not necessarily tomorrow or next year.
    2. Re:stunnel by Bert64 · · Score: 1

      You don't want to use multiple ports, most proxies will only permit https connections on port 443 so a lot of users behind corporate proxies would be screwed.

      --
      http://spamdecoy.net - free throwaway anonymous email - avoid spam!
    3. Re:stunnel by dirtyhippie · · Score: 1

      Surely you're joking? stunnel costs an exec() per connection.

    4. Re:stunnel by Otterley · · Score: 1

      It doesn't if you're merely using it to unwrap the SSL from the connection and proxy it to another TCP port.

  14. Offloading Proxy by tronicum · · Score: 1

    Well if you RTFA it says in first paragraph that its NOT a accelerator but off-loader. Beside that it is proxying the connection so you have to change your logging to adept to the Real-IP being inside the http headers. The argument that it is equal secure as true https as it transfers http in the "local subnet only": that vanishes if a machine in this subnet gets compromised. As others mentioned, comparing such (nice) reverse proxy hack with a BIG-IP load balancer is a joke.

  15. Reduce the number of certs? by Sentry21 · · Score: 1

    How does this reduce the number of certificates required? It might reduce the number of copies of the certificate, but you still need either one certificate per subdomain, or one wildcard certificate per domain.

    I'll grant that it makes certificate management simpler, but not significantly so â" it really only saves two minutes every year.

    1. Re:Reduce the number of certs? by owlstead · · Score: 1

      "How does this reduce the number of certificates required? It might reduce the number of copies of the certificate, but you still need either one certificate per subdomain, or one wildcard certificate per domain."

      I think that would be because in some instances you could serve multiple applications from the same server (with the same certificate). This does of course not work for internet store applications and such, but for many business communications, it might well work. The proxy can then create a connection to a specific server depending on the URL. I understand this is what many offloaders do.

      In any case, you would only have to setup keys and certificate stores on the one or two off-loaders instead of all the application servers out there, which simplifies management, even when multiple keys/certificates are required.

    2. Re:Reduce the number of certs? by Anonymous Coward · · Score: 0

      Actually, most SSL-certificates require you to buy licenses for every additional server you install them on, and the licenses cost about as much as the certificate itself.

    3. Re:Reduce the number of certs? by profplump · · Score: 1

      Verisgn says SSL accelerators don't count anyway -- you still need to license for each connected server.

      Or you could buy from a more reasonable authority that doesn't impose such restrictions.

    4. Re:Reduce the number of certs? by DavidTC · · Score: 1

      Um, I've never seen a 'license' on SSL certs at all. Where are you people buying these things from?

      --
      If corporations are people, aren't stockholders guilty of slavery?
  16. Lame fanboy piece - no threading by Anonymous Coward · · Score: 1, Informative

    Hmm, why no mention of nginx's thread limitations? By design, nginx does not use threads and as a result has performance issues scaling beyond one CPU or core. Those limitations will become apparent on certain real world workloads and with realistic tests. Those are important issues and this piece, like many nginx discussions, glosses over them. It also disingenuously tries to compare nginx to commercial solutions.

    I like nginx a *lot* and have tested and deployed it in many different situations. But it is not always the best choice, and in some cases is a poor choice.

    When I rolled out some new nginx services 6 months ago, nginx was only being developed by one person. Again, not a showstopper for everyone but it would be for some.. and Very worth mentioning in an article that compares nginx to commercial solutions. Nginx is great at some things but it is still maturing.

  17. Why a card? by dj245 · · Score: 1

    Why have an addin card? The acceleration hardware isn't all that complicated. Hell, VIA put it into their proccessors- look at the huge difference it makes. Even if the graph is best-case scenario, that x86 compatable processor is dynamite with encryption.

    --
    Even those who arrange and design shrubberies are under considerable economic stress at this period in history.
    1. Re:Why a card? by raddan · · Score: 3, Insightful

      The problem with wiring the accelerator into the CPU is that, although the CPU can perform the calculation faster, it does not actually free the CPU from having to do the packet processing. In addition to CPU time spent, you also need to consider interrupt overhead, which for high-speed networks (like 10GbE) is pretty significant. A separate TCP offload engine, with hardware encryption support, and access to memory via DMA, can significantly reduce the amount of time a CPU spends processing packets. It just interrupts the CPU when a decrypted TCP payload is ready and waiting in memory. And since your add-in card doesn't need a large instruction set, you can make it very, very fast.

    2. Re:Why a card? by jd · · Score: 1

      In order to maintain parallelism, you could put the acceleration hardware on the ethernet card. If it's in the CPU, unless it's a parallel core (in the same way that the IBM Cell operates), you don't gain any offload advantage.

      --
      It's a small world and it smells funny; I'd buy another if it wasn't for the money; Take back what I paid (SoM)
  18. Crescendo Networks by Anonymous Coward · · Score: 0

    Crescendo Networks has a product called the AppBeat DC (Horrible name, great product). It beats the pants off F5, and was about 60k for a pair of them...Does Hardware SSL, Compression, Load Balancing, TCP Offloading...Oh, and it doesn't slow down if you turn it all on at once. :-) http://www.crescendonetworks.com/application.aspx?appbeat_dc

  19. Objectivity - author of the article works Nortel by Anonymous Coward · · Score: 0

    The author of the article "currently holds a Software Engineering / Consulting position in the Global Product Support group at Nortel, where he works on the Nortel VPN Gateway line of products." (http://www.o3magazine.com/0/6.html). Maybe the fact that Nortel's LB and VPN solutiona are getting creamed in the Gartner reports has him a little mad? Of course it could be that he "work as a Sustaining Engineer at Alteon WebSystems Inc" which is soon to be sold off to Radware, all competitors of the company mentioned.

    It is a cool little project and would be nice if you have a small site but is not really in the same league as real dedicated LB solutions from any of the big players in the space.

  20. Idiotic by scubamage · · Score: 1
    Big-IP products are not just SSL accelerators. If you want an SSL accelerator go on ebay and pick up an ncipher card for cheap.

    Big-IP products are used for their load balancing abilities, and can be used to build content delivery networks based on pools of application resources/servers. They're for sites that simply cannot go down, because downtime would be tremendously costly. Think military. Think medical. Think ebay or amazon. That's a pretty big farking far cry from a simple SSL accelerator. The only comparable device is a module from Cisco that currently slips my mind.

    The summary is drivel, it compares apples to oranges. You pay the price tag for f5 because it includes training, two units (they will not sell a single unit, period, for redundancy purposes). I have two of them on my desk right now that I have to learn, and they're some pretty effing awesome pieces of kit.

    1. Re:Idiotic by Anonymous Coward · · Score: 0

      Big-IP products are not just SSL accelerators. If you want an SSL accelerator go on ebay and pick up an ncipher card for cheap.

      Big-IP products are used for their load balancing abilities, and can be used to build content delivery networks based on pools of application resources/servers. They're for sites that simply cannot go down, because downtime would be tremendously costly. Think military. Think medical. Think ebay or amazon. That's a pretty big farking far cry from a simple SSL accelerator. The only comparable device is a module from Cisco that currently slips my mind.

      The summary is drivel, it compares apples to oranges. You pay the price tag for f5 because it includes training, two units (they will not sell a single unit, period, for redundancy purposes). I have two of them on my desk right now that I have to learn, and they're some pretty effing awesome pieces of kit.

      RTFA, the comparison was done with the industry leading SSL Accelerator, everyone knows that F5's product is more than an SSL Accelerator. If you read the article though, it suggests you can use HAproxy and Varnish-Cache on the back-end to perform the load balancing functions. I think the point of the article wasn't to replace Big-IP at military or medical institutions but to make the technology accessible to those that cannot afford the heavy price tag.

      On a side note, the price does *not* include two units. The Big-IP 6900 costs $51000, with another $25k for the licensing. So that is $76000 per unit. They will discount the unit down to 80% normally but in this economy I have seen it get marked down as much as 60%.

      If you are impressed by F5 then you are an idiot. All F5's box is, is a x86 machine with a switch-port fanout card and some additional hardware. All of the techniques that F5 uses are available through this project or that project. F5 has them just tied together with a nice UI.

    2. Re:Idiotic by Anonymous Coward · · Score: 0

      The modular product you're thinking of is the ACE (Application Control Engine Module), and the one you're forgetting about is the standalone CSS (Content Services Switch, an acquisition from Arrowpoint).

    3. Re:Idiotic by pyite · · Score: 1

      The only comparable device is a module from Cisco that currently slips my mind.

      The Cisco product is pretty sucky. The only comparable product is really Citrix NetScaler.

      --

      "Nature doesn't care how smart you are. You can still be wrong." - Richard Feynman

    4. Re:Idiotic by scubamage · · Score: 1

      Ok, now who in all of these open source packages will support me on the phone at 3am when a major hospital customer goes down, hmm? Oh wait, they won't. I'll have to go on a forum. For each package. And I have to pray that whoever I speak to is capable of speaking proper English. And be familiar with connecting all of these packages together. While I'm dodging angry users, and praying to god there's no trauma calls. I'm not an idiot, I'm realistic. If our servers go down, people die. So I'll trust the x86 with the hardware and pretty interface.

  21. HTTPS versus HTTP Cacheing by shentino · · Score: 1

    Any negative interactions?

    I hope that HTTPS can cache like HTTP does.

    Running end-to-end encryption would certainly prevent proxies from stashing away frequently accessed objects.

    1. Re:HTTPS versus HTTP Cacheing by Jeremy+Visser · · Score: 1

      Any negative interactions?

      I hope that HTTPS can cache like HTTP does.

      Running end-to-end encryption would certainly prevent proxies from stashing away frequently accessed objects.

      Your web browser can cache the data in its own cache, but you are correct in guessing that a proxy cannot transparently cache the data.

      However, recently, I was looking at Riverbed Steelhead, which claims to be able to cache SSL-encrypted data. I'm guessing it would work similar to a replay attack -- you don't know what the data means, but you still know what its encrypted form looks like, so you can still cache it. Might be worth a look.

    2. Re:HTTPS versus HTTP Cacheing by Anonymous Coward · · Score: 0

      However, recently, I was looking at Riverbed Steelhead, which claims to be able to cache SSL-encrypted data.

      In order to transparently cache an https page, they require that you install a certificate corresponding to the proxy device on each computer that is using it as a proxy. This can be done with a GPO, or a custom app, or even a bit of social engineering (IE: A broadcast message company-wide: When you see this screen, click "Yes", it's for your own good. Trust us)

      Then what happens is that the proxy acts as a middle man, encrypting the connection between itself and the origin, and encrypting the connection between itself and the destination,
      (ie: PC < - > Proxy < - > Web Server) and neither side knows that it's not talking to the other directly.

  22. That's bloatware by bytesex · · Score: 1

    Why do people bother with ssl accelerators ? It's somewhere else, so you're always talking to it via a stream. Doing a round of AES ECB isn't so expensive as to weigh up to all that network traffic, right ? Better to equip your hardware with crypto-coprocessors, crypto-PCI hardware, or run it all on VIA C-7's. They have on-board crypto, accessible via special instructions.

    --
    Religion is what happens when nature strikes and groupthink goes wrong.
  23. Buy a decent CPU by zdzichu · · Score: 1

    Nehalem family CPUs have AES encryption commands in assembler (supported by Linux). UltraSPARC T2 have 8 cryptographic accelerators onboard. By buying modern CPU you have SSL acceleration.

    --
    :wq
    1. Re:Buy a decent CPU by pyite · · Score: 1

      Nehalem family CPUs have AES encryption commands in assembler (supported by Linux).

      Except that AES isn't processor intensive to begin with; it's a bunch of XORs and table lookups for GF(8) exponentiation. The processor intensive part of SSL is the public key work.

      --

      "Nature doesn't care how smart you are. You can still be wrong." - Richard Feynman

  24. is SSL overused? by Anonymous Coward · · Score: 0

    I've got a lot of questions...

    Is SSL's slowness a problem for serving web pages or for VoIP or?

    Is it the private (symmetric) key exchange that takes time or the symmetric cypher?

    If we're talking about slow secure web pages servicing, isn't SSL's overuse the main problem?

    How much does a website really need to encrypt?

    If, say, I'm adding something to my online shopping cart on a page using https, are all the banners, logo, etc. served using encryption (provided they were not previously cached)?

    Could a better "webapp design" help deal with SSL's apparently inherent slowness?

    1. Re:is SSL overused? by DavidTC · · Score: 1

      Yes, all content in SSL pages is encrypted, because otherwise MitM attacks are easy..an attacker simply replaces part of the loaded unencrypted content with Javascript to pass them a copy of the page and all submitted data.

      This is why web browsers warn about unencrypted content.

      --
      If corporations are people, aren't stockholders guilty of slavery?
    2. Re:is SSL overused? by afidel · · Score: 1

      Mixed content is BAD, it allows for easy man in the middle and cross site scripting attacks. That's why every modern browser warns you about it and EV certs don't work with mixed content.

      --
      There are 4 boxes to use in the defense of liberty: soap, ballot, jury, ammo. Use in that order. Starting now.
  25. Key security must not be forgotten by Anonymous Coward · · Score: 0

    You forget the fact that most crypto hardware actually generate and/or store the key in a secure location (HSM). It's not only about acceleration.

  26. Article fell off the net, because... by Anonymous Coward · · Score: 0

    ... their DNSen, all freaking two of them, are like next to each other and then the link failed, or something. Way to do a micros~1 here, people.

  27. I did. by Kludge · · Score: 1

    I did

  28. More of a security risk with this scheme by 0x537461746943 · · Score: 1

    "The SSL accelerator in front of the servers takes the incoming SSL transactions, decrypts them, and then forwards them on to the servers as HTTP. This is still secure as the connection between the SSL accelerator and the servers is a private local network, there is no unsecured transaction going over the public Internet."

    The problem with that statement is private does not always stay private when web servers are involved. If any one of the web servers on the lan between the webservers and the SSL decryption server get compromised then getting the unencrypted data from other servers on the same lan is very easy to do since all the SSL traffic is plain text on the web server lan. Hopefully the backend traffic is also encrypted too.

    If you are just running one website then you could argue that if one server is compromised then the attackers would only get data from that one website but just more of it. I have a feeling most people who implement this type of solution would have multiple sites being decrypted on the same lan though.

    You could reduce this risk by making sure that every site has it's own dedicated lan between the web servers and the decryption server.

    I know this method would not be acceptable at our company. Different companies have different ideas about acceptable risk though.

  29. Compile OpenSSL with -O3? by wsanders · · Score: 1

    I guess if you're BofA or Wellsfargo and you have 10gb of traffic and just an army of contractors for your IT staff, this might make sense, but - Seriously! It's been a while since I played with accelerators, and I also hate anything F5 with a passion, but with commodity hardware as cheap as it is (PowerEdge 1950 or Sun X4000-something equivalent), why bother with an expensive magic box which has some cheapo Supermicro-class PC on the inside? Especially if you have an app, like a web app or some random VPN thing, which is easily clusterable.

    --
    Give a man a fish and you have fed him for today. Teach a man to fish, and he'll say "WHERE'S MY FISH, YOU IDIOT?"
  30. what about offloading encryption / decryption? by silverhalidepgh · · Score: 1

    Anyone have any success offloading encryption / decryption functionality using these cards? Not so much for SSL acceleration but for securing database rows?

  31. Re: Features...all on the same 6900 by jgruber · · Score: 1, Troll

    Discloser: I work for F5... You're discounting the real time OS which provides all the integrated SSL offload, compression, caching, etc inline... TMOS. Even a comment on our own Dev Central was asking where they could download our proxy source, just because we use CentOS as a bootstrap and platform for our control plane (GUI). It would be a major technology misunderstanding to believe that we process our real time integrated proxy code in standard SMP interrupt driven I/O ways on the hardware. We don't. I really appreciated the fact that the author and comments at least see clearly the need to go to true proxies without fast pathing the server response. I'll have you talk to the customers of my competition and expect the P.O.s to show up. Here is a list of critical features I deploy regularly for my customer with TMOS which I would be interested in hearing the FOSS solutions for. These are all stock features, not software add-ons (we have those too!) of BIG-IP LTM on 6900. - Homing 100-1000s of virtual servers each with their own separate layer 4 WAN/LAN optimization characteristics. We give about 20% performance improvement at layer 4 for your TCP based applications (not just HTTP). What's the corresponding FOSS way of doing 100s of different TCP layer optimization configurations on the same box? - We base the level of HTTP gzip compression on the layer 4 rtt timing, effectively giving variable rate compression tuned to the individual end client's connection ability. We don't compress at all if you are sitting right next to the server on a Gbps link... why would you.. it slows things down? - We do HTTP level connection multiplexing on the backend, saving your server 1000s of connection requests...driving your scaling way up. - We user our business logic engine to AES encrypt/decrypt HTTP cookies on the fly. (Shall I start base64ing everyones cookies now and see how many sessions I can high-jack?) - We use our business logic engine to perform DR and business continuity decisions based on backend application performance metrics. This demands dynamic SNATs per backend connection. (Personally I need this for a charity I help with... Someone have interesting iptables on steroids solution for me?) - We use our business logic engine to consume HTTP redirects, avoiding costly WAN re-connections. That can be as much as a 4-5x improvement in user experience over the Internet. - We use our business logic engine to intelligently decide to cache or compress specific pieces of content. Anyone run into IE choking on specific Javascript because it was compressed...we do all the time. - We use our busines logic engine to help direct search bots to optimized content servers to improve a sites search ranking. - How about something as simple as rewriting the page content to replace hard coded links on the fly at Gbps speeds? We do it everyday. I can go on for hours.. We use our real time software stack (TMOS) as a swiss army knife to perform solutions which vary between helping reduce backend replication topologies, to SIP message based load balancing for IVRs, to SMTP mail reputation service integration, to.. you name it. And we do it at high-speeds for everything because of the tight integration... not point proxies chained together in a box. With the level of switching integration also provided in our platforms, we virtualize layer 2,3,4,5,6, and 7 in the stack with integrated business logic. You add that to our load balancing and monitoring heritage, and that's a 6900..not just basics SSL offload, caching, compression proxies. We're a layer of intelligence on the network you are not used to having. A lot of the guys inside F5 are linux heads and love their FOSS. Me included.