The Scalable TLS Unwrapping Daemon
stud is a network proxy that terminates TLS/SSL connections and forwards the
unencrypted traffic to some backend. It's designed to handle 10s of thousands
of connections efficiently on multicore machines.
It follows a process-per-core model; a parent process spawns N children who
each accept() on a common socket to distribute connected clients among them.
Within each child, asynchronous socket I/O is conducted across the local
connections using libev and OpenSSL's nonblocking API. By default, stud has an
overhead of ~200KB per connection--it preallocates some buffer space for data
in flight between frontend in backend.
stud has very few features--it's designed to be paired with an intelligent
backend like haproxy or nginx. It maintains a strict 1:1 connection pattern
with this backend handler so that the backend can dictate throttling behavior,
maxmium connection behavior, availability of service, etc.
stud has one "cool trick"--it will optionally write the client IP address as
the first few octets (depending on IPv4 or IPv6) to the backend. In this way,
backends who care about the client IP can still access it even though stud
itself appears to be the connected client.
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout server:http/stud && cd $_
- Create Badge
Source Files
Filename | Size | Changed |
---|---|---|
2eb433bbc760a2f56292076436984d0789c3d6ad.patch | 0000000645 645 Bytes | |
bumptech-stud-0.3-0-g976c3a9.tar.gz | 0000018493 18.1 KB | |
stud-makefile.patch | 0000000614 614 Bytes | |
stud-out_of_tree_ebtree.patch | 0000000975 975 Bytes | |
stud.changes | 0000001820 1.78 KB | |
stud.init | 0000006214 6.07 KB | |
stud.spec | 0000003653 3.57 KB | |
stud.sysconfig | 0000002471 2.41 KB | |
usr.sbin.stud | 0000000274 274 Bytes |
Comments 0