Re:Nginx + LibreSSL – a first test
by stephen_g on Sunday July 13, 2014 @09:39PM
(#8029205)
The small performance degradation could be a good thing - it may be a result of the use of explicit_bzero to clear sensitive data structures (instead of memset which was used previously) before freeing.
It could mean that a fair bit of that important cleaning was being optimised out before with OpenSSL.
Re:Nginx + LibreSSL – a first test
by AlyssaRowan on Monday July 14, 2014 @03:25AM
(#8029867)
We shouldn't really have to wonder about this kind of thing. explicit_bzero() for glibc, please!
It's probably dynamic/static noise. I don't think zeroisation would have an overhead as big as 4%. But then, I haven't measured: it's easy enough to do an A-B test with a castrated version and see?
Re:Nginx + LibreSSL – a first test
by axaxs on Sunday July 13, 2014 @11:16PM
(#8029400)
Possibly, but it could also be much faster with all the cruft gone. Dynamic linking has a small overhead, so would love to see an apples to apples comparison.
Re:Nginx + LibreSSL – a first test
by stephen_g on Monday July 14, 2014 @12:01AM
(#8029462)
Definitely to some extent, but I think the cruft would have a much smaller effect. Much of it was dead code - commented out, whole files not actually compiled, code ifdefed out, or bits of code only compiled on platforms that nobody has used this decade etc. It was making maintainability a nightmare and making it a lot harder to find bugs, but I don't think it would have had a huge performance impact.
Re:Nginx + LibreSSL – a first test
by castorio on Monday July 14, 2014 @07:41PM
(#8033897)
yes, i know, but accoring to the blogpost below it should be no problem for newser browsers when using tls 1.2, but might e usefull to keep compatibility with very legacy clients, no?
disclaimer: i'm not a crypto-guru, the ciphers used are copypasta'd from https://www.ssllabs.com/projects/best-practices/.
It could mean that a fair bit of that important cleaning was being optimised out before with OpenSSL.
It's probably dynamic/static noise. I don't think zeroisation would have an overhead as big as 4%. But then, I haven't measured: it's easy enough to do an A-B test with a castrated version and see?
Reminder: You still have RC4 enabled. It's time to take that out.
https://community.qualys.com/blogs/securitylabs/2013/03/19/r...