← All projects
Project record1 mention
Originally shared on Hacker News

tlsproxy

A high-performance TLS proxy and TLS terminator that handles 3000 TLS handshakes per second, positioned as a replacement for stunnel. It matches nginx and HAProxy's speed (bottlenecked only by OpenSSL crypto) while offering a tiny fraction of the attack surface and a 10-15kb memory footprint per worker process. Still in development, with planned features including privilege dropping, in-place config reloads, log burst suppression, multiple listen sockets (enabling free load balancing with the Linux kernel), and detailed TLS configurability.

Last shared
01 / The problem

What it addresses

stunnel crashes at under 100 TLS handshakes per second, leaving a gap for a fast, lightweight TLS termination tool.

02 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. tlsproxy

    A high-performance TLS proxy and TLS terminator that handles 3000 TLS handshakes per second, positioned as a replacement for stunnel. It matches nginx and HAProxy's speed (bottlenecked only by OpenSSL crypto) while offering a tiny fraction of the attack surface and a 10-15kb memory footprint per worker process. Still in development, with planned features including privilege dropping, in-place config reloads, log burst suppression, multiple listen sockets (enabling free load balancing with the Linux kernel), and detailed TLS configurability.

    Problem: stunnel crashes at under 100 TLS handshakes per second, leaving a gap for a fast, lightweight TLS termination tool.

    Posted by @novotimo · Original source ↗

    Source text · @novotimo · · Source ↗

    I’ve been working on a TLS proxy/TLS terminator that can handle 3000 TLS handshakes per second (basically an stunnel replacement, but stunnel crashes at under 100 handshakes per second) as a pet project, but I’ve realized that with some polishing this can be really useful.