Better HN
topnewbestaskshowjobs
Log inSign up

kazuho

568 karma · joined May 31, 2012 (14y ago) · 56 submissions

http://blog.kazuhooku.com/ https://github.com/kazuho/
Submissions

1.

Stellite – a tool for developing client-server application using QUIC protocol(github.com ↗)

3 points · by kazuho · 10y ago · discuss

2.

Conformance test suite for BoringSSL and other TLS implementations(ietf.org ↗)

1 points · by kazuho · 10y ago · discuss

3.

IBM to open-source JIT & GC for CRuby(github.com ↗)

26 points · by kazuho · 10y ago · 1 comment

comment 11y ago · link · parent

It is true that RSA operation over IPC is slower than doing it internally. But the latter is by magnitudes faster than the former, therefore the slowdown is negligible in practice.

You can find the numbers in the FAQ section of the linked website.

comment 11y ago · link · parent

Wrong.

You seem to have confusion between TLS handshakes and RSA operations.

In OpenSSL (which is used by many servers including node.js, nginx), RSA operation is always synchronous. Therefore, using Neverbleed does not impose new limits regarding concurrency.

comment 11y ago · link · parent

I assume you are referring to Keyless SSL. https://blog.cloudflare.com/keyless-ssl-the-nitty-gritty-tec...

For Keyless SSL, it is necessary to make RSA operations asynchronous, since the operations are requested over the TCP network (which may have big delays).

OTOH Neverbleed degelates the operations within the same server using Unix sockets. So there is no fear of such delays. And the server spawn a dedicated thread to each client thread. In other words, the delay is practically _no worse_ than what it is without Neverbleed.

And discussing _how worse_ it is, calculations related to TLS handshakes may block the server for a few milliseconds. It may sound bad, but generally speaking it is negligible comparing to the latency over a public network.

7.

Show HN: Neverbleed – privilege separation engine for OpenSSL and LibreSSL(github.com ↗)

47 points · by kazuho · 11y ago · 12 comments

8.

Edward Snowden at IETF93(youtube.com ↗)

1 points · by kazuho · 11y ago · discuss

comment 11y ago · link · parent

Libh2o (the protocol implementation) support both libuv and evloop (our tailor-made event loop).

The default event loop of libh2o is libuv, since libuv is popular and has bindings to other protocols (which you would need if you want to implement an application using libh2o).

OTOH the standalone server uses evloop for performance.

comment 11y ago · link · parent

Thank you for your comment.

I doubt if anybody is using the mruby handler in production, considering the fact that functions necessary to modify the requests in the handler was committed this week :-)

11.

H2O 1.4.0 released with support for forward secrecy(blog.kazuhooku.com ↗)

40 points · by kazuho · 11y ago · 5 comments

12.

Snowden Meets the IETF(mnot.net ↗)

204 points · by kazuho · 11y ago · 76 comments

13.

Show HN: H2O HTTP2 server 1.3 provides faster response to user, supports FastCGI(blog.kazuhooku.com ↗)

2 points · by kazuho · 11y ago · discuss

14.

Show HN: Jailing – super-easy chroot jail builder/runner for Linux(github.com ↗)

1 points · by kazuho · 11y ago · discuss

comment 11y ago · link · parent

Unfortunately the block was always found on the test machine. The test was conducted using a VM running running on a host on which the web browsers were run, so there were no noise or packet loss; the results were reproducible.

comment 11y ago · link · parent

Thank you for the suggestion.

In case of the benchmark, I run the server as a VM instance on the client machine so that the results would be reproducible (with network latency added by `tc qdisc` command).

PS. PageSpeed is a really nice service; and I agree that it is a useful tool for evaluating the speed in the real-world.

comment 11y ago · link · parent

As described in note 5, "the network chart of Chrome includes a 0.2 second block before initianting the TCP connection, which has been subtracted from the numbers written in this blog text". That explains the differences of the numbers on the charts you pointed out.

18.

Show HN: Dependency-based prioritization makes HTTP/2 much faster than SPDY(blog.kazuhooku.com ↗)

67 points · by kazuho · 11y ago · 8 comments

19.

CURL as DSL(shibukawa.github.io ↗)

6 points · by kazuho · 11y ago · discuss

comment 11y ago · link · parent

Thank you for the comment.

I think you did not understand my comment.

It is true that the software is used for MITM. It is true that _Superfish_ is in the middle, decrypting the communication.

OTOH the author claimed that it might be likely for _others_ as well to possibly MITM the communication, by using the recovered key. My comment is that such a situation is unlikely under the premise that the public-key encryption technology was used correctly (from technical standpoint, not ethical).

EDIT: Even if it was the case that the recovered private key was used by the MITM server running locally for communicating with the web browsers, it wouldn't mean that others could use the key to decrypt data transmitted over the wire by using the key, since all the communication encrypted by the key would terminate within the local machine.

EDIT2: Ah sorry, now I understand. The root certificate installed by the adware was using the recovered private key. That would mean that others can MITM the communication by DNS spoofing, etc. together with a server certificate signed with the recoverd key.

comment 11y ago · link · parent

why minus votes?

comment 11y ago · link · parent

While the blogpost is interesting, I am skeptical of the author's claim that the recovered private key may be used for decrypting user data transmitted over the wire, since private keys cannot be used for encrypting data sent to somebody else.

What it can all do by itself is to decrypt data sent from others, or to digitally sign some data.

I would suspect that the bundled private key was used for digitally signing data to show that it was actually generated by the software. The approach is not perfect (since the private key may get decrypted as the author did), but in general it would work effectively for kicking out third party software.

If the developer's intention was to encrypt the data transferred through the public network, then he/she should have used TLS with server-side authentication, with optionally using clear-text credentials transmitted over the encrypted channel to authenticate the software (e.g. basic authentication over HTTPS).

If it gets proved that private information could be decrypted from data transmitted over the public network by using the recovered private key, then this would be an interesting case of misusing public-key cryptography.

comment 11y ago · link · parent

A new product by frsyuki, the original developer of Fluentd / MessagePack.

His presentation slides can be found at http://www.slideshare.net/frsyuki/embuk-making-data-integrat...

24.

Embulk – a plugin-based parallel bulk data loader(github.com ↗)

4 points · by kazuho · 11y ago · 1 comment

25.

OpenSSL 1.0.2 is now available, a major release(openssl.org ↗)

17 points · by kazuho · 11y ago · discuss

26.

Yrmcds – memcached compatible KVS with master/slave replication(cybozu.github.io ↗)

1 points · by kazuho · 11y ago · discuss

27.

H2spec – the conformance test tool for HTTP/2 servers(github.com ↗)

1 points · by kazuho · 11y ago · discuss

comment 11y ago · link · parent

Kind of off-topic, but I wonder when they will release OpenSSL 1.0.2.

1.0.2 includes important fixes (e.g. support for ALPN which is mandatory in HTTP/2, adds support for cross-root certificate validation).

comment 11y ago · link · parent

Yes, assuming that you wanted to say: "web-browser connect to H2O via HTTPS".

comment 11y ago · link · parent

Sorry for the confusion.

HTTP and HTTPS (both version 1 and 2) are supported for downstream connections (i.e. connection bet. H2O and web browsers). Only plain-text HTTP/1 is supported for upstream connections (connection bet. H2O and web application servers).

12