Git Product home page Git Product logo

Comments (12)

kazuho avatar kazuho commented on June 18, 2024
  • session cache
  • load intermediary CA certs

from h2o.

kazuho avatar kazuho commented on June 18, 2024
  • configurable list of ciphersuites

from h2o.

kazuho avatar kazuho commented on June 18, 2024

note: H2O supports session resumption (OpenSSL by default uses a in-memory session cache).
https://www.openssl.org/docs/ssl/SSL_CTX_set_session_cache_mode.html

from h2o.

kazuho avatar kazuho commented on June 18, 2024
  • server name indication

from h2o.

kazuho avatar kazuho commented on June 18, 2024
  • SSL false start

from h2o.

kazuho avatar kazuho commented on June 18, 2024

The question is whether if we need to implement dynamic TLS record sizing, considering the fact that the overhead of limiting TLS record size to 1,400 bytes is around 2% (overhead per TLS record is (at minimum) 26 bytes in case of SHA1 or 29 bytes in case of current implementation when using 128-bit block cipher in CBC mode).

from h2o.

hedgehog avatar hedgehog commented on June 18, 2024

Support building against PolarSSL:
https://polarssl.org/

from h2o.

kazuho avatar kazuho commented on June 18, 2024

@hedgehog is there any reason where PolarSSL is favorable (e.g. faster on ARM?)?

At the moment, I am thinking that switching from OpenSSL to LibreSSL might be a good idea (as IIRC it supports things like ALPN which is still beta in OpenSSL).

from h2o.

mattn avatar mattn commented on June 18, 2024

Note that PolarSSL is GPL.
See:

from h2o.

hedgehog avatar hedgehog commented on June 18, 2024

@kazuho, the reasons is related to arm, but not necessarily just speed.
Supporting PolarSSL would mean a system could avoid having to install OpenSSL, which reduces bloat. - which is a consideration in ARM systems.

Regarding Licensing:

I've always thought the WTFPL license is as unambiguous as you can get. The legal version of the coders ode to minimal code "No code is faster than no code".... "No licence condition is clearer than no conditions"

Beside you even get enterprise grade logo support for free:
WTFPL is enterprisey

I should add the license permits removing the expletive, as long as you rename it.

from h2o.

kazuho avatar kazuho commented on June 18, 2024

@hedgehog Thank you for the clarification.

Supporting PolarSSL would mean a system could avoid having to install OpenSSL, which reduces bloat. - which is a consideration in ARM systems.

Understood. I am not excluding the possibility that libh2o will be used in embedded systems, for which favoring a smaller (and less complex) TLS implementation than OpenSSL would be a good idea. However as discussed in #90 (comment) that is not my (or my employiers) primary interest. So it is unlikely that I would add support for PolarSSL myself.

Polar SSL has an exemption for the WTFPL

Is my understanding right that the license exception only covers FOSS applications that are linked against PolarSSL? If that is the case, people would not be possible to link libh2o (using PolarSSL as the TLS implemenatation) to their commercial, non-open-source programs. IMO that may become a obstacle for people trying to use libh2o (+PolarSSL) on the embedded systems.

note: I am not against the idea of adding support for PolarSSL, I just want to make the differences clear.

from h2o.

taqtiqa-mark avatar taqtiqa-mark commented on June 18, 2024

FYI... PolarSSL is in the process of moving into mbedTLS1 which brings a change of license to the more permissive Apache license.

from h2o.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.