Repository navigation
Releases
latest (master, v0.5.4-13-g1f061b0)
holyWisp v0.5.4-13-g1f061b0 built 2026-11-25T20:57:25Z from 1f061b0.
| Asset | For |
|---|---|
holywisp-linux-x64.tar.gz |
x86_64 Linux, glibc 2.35+ and libcrypt.so.1 (on Fedora: dnf install libxcrypt-compat) |
holywisp-linux-arm64.tar.gz |
aarch64 Linux, as above |
holywisp-client-linux-x64.tar.gz, holywisp-client-linux-arm64.tar.gz |
The client alone, for the same systems; it needs glibc 2.35+ and no libcrypt |
holywisp_<version>-<rev>_amd64.deb |
Debian 12+ / Ubuntu 22.04+: the server as a hardened systemd unit, wisp user |
holywisp-client_<version>-<rev>_amd64.deb |
Debian 12+ / Ubuntu 22.04+: the client alone, no service |
holywisp-<version>-<rev>.fc41.x86_64.rpm |
Fedora 41+: the server, as the .deb, but not enabled: systemctl enable --now holywisp |
holywisp-client-<version>-<rev>.fc41.x86_64.rpm |
Fedora 41+: the client alone |
holywisp-<version>.tgz |
Node.js 20+ on Linux (x64/arm64, glibc or musl), macOS 13+ and Windows 10+ (x64/arm64): npm install <asset url> |
SHA256SUMS |
checksums of the above |
curl -fsSL https://github.com/Fracital/holyWisp/releases/download/latest/holywisp-linux-x64.tar.gz | tar xz
cd holywisp-linux-x64 && ./holywisp --config holywisp.conf # binds 127.0.0.1; set host to expose itv0.5.4
The biggest release since 0.1: Wisp over WebTransport, three new Wisp extensions, and the tools
to run the relay in production (a per-worker /stats, crash reports, a watchdog, a drain on
SIGTERM, a policy file read while it runs).
Check before upgrading
-
The config file is stricter. Each of these used to start, and now fails with the line it
is on:- a
dns-serverthat is not an address (it used to be skipped with a warning, and lookups
went to the system resolver); - a line longer than the reader's buffer (the tail used to be applied as a line of its own);
- a
trusted-headers-resetvalue that is not a boolean (any value used to empty the list,
offincluded).
Run
holywisp --config <file> --check-configagainst your config before you restart. - a
-
A second server cannot share a port. A
holywispstarted on a port another process of
the same user holds now fails to start, instead of silently taking half of its connections. -
v2 opens faster. With no
password-user, a v2 server sends the stream-0 CONTINUE right
behind its INFO, as v1 does after the 101. Clients in the wild already read it there. -
Stream credit and upload credit are on by default (
stream-credit,upload-credit). They
take effect only for a client whose INFO asks for them, so other clients see no difference. -
The budget follows the cgroup. Under a
memory.max, aserver-queue-maxabove half of it
is lowered to half at start, and the log says so. -
The packaged config changed (
worker-watchdog-s = 60,drain-timeout-s = 0). If you
edited/etc/holywisp/holywisp.conf, dpkg asks which to keep and rpm writes the new one beside
it as.rpmnew. -
The Node wrapper accepts a Unix-socket front. A socket with no peer address now counts as
127.0.0.1(logged once) instead of being refused with 403.
WebTransport
webtransport = onopens a UDP listener beside the TCP one, where a browser's
new WebTransport(url)gets the same Wisp over HTTP/3. Egress policy, limits, reputation and
flow control are the WebSocket path's. TLS 1.3, QUIC and HTTP/3 are in-tree; nothing is linked.
docs/webtransport.md is the design.- UDP streams ride QUIC datagrams, so a lost UDP packet does not hold up the session.
- Certificates:
- with none configured, a self-signed one rotated for Chrome's
serverCertificateHashes, its
hashes published atGET /webtransport.json; - operator files (
webtransport-cert,-key), re-read when they change; - one per host by SNI (
webtransport-cert-dir).
- with none configured, a self-signed one rotated for Chrome's
webtransport-pathrules admit sessions only on the paths and hosts they name. A page request
sent to the UDP port by a cachedalt-svcgets 421 and goes back to TCP.- Congestion control is BBR (
webtransport-congestion-control,bbrby default).bbr2, BBR
with version 3's answer to loss, is for shallow buffers, andnewrenoremains as a fallback. - The pacer releases a few datagrams at a time on microsecond timers. A browser's UDP receive
buffer no longer overflows. - The path MTU is probed (DPLPMTUD) from 1200 bytes, and datagrams are never fragmented.
- Lanes (
webtransport-lanes, extension0xE1): a v2 session spreads its Wisp streams over
several QUIC streams (8 by default), so one loss stalls only that lane. A client offering
wisp-v2-server-streamgets the Wisp stream opened by the server, with its CONTINUE, at once. - A stop closes every session cleanly, and
webtransport-reset-key-filekeeps the
stateless-reset key across restarts. - The bundled web client (
serve-webclient) tries WebTransport and falls back to WebSocket,
relays UDP, and speaks v2 by default.
Wisp extensions
Private extensions, specified in docs/extensions.md. A client that does not
name them sees no change.
- Stream credit (
0xE2,stream-credit): a byte window per stream toward the client, which
the client grants, as a native socket's receive window works. - Stream limit (
0xE3): the v2 INFO tells the client its connection's stream cap. - Upload credit (
0xE4,upload-credit): uploads are counted in bytes against a limit the
server raises as data reaches the remote, instead of waiting for a CONTINUE per packet window. - Stream confirmation (
0x05) is offered, and only TCP streams are confirmed, as in wispurr.
Running it in production
docs/operations.md is the new guide to the items below.
-
Per-worker
/stats:workerslists each worker's state, connections, streams, bytes, queued bytes,
loopAgeMs(time since its heartbeat) andloopLag(a histogram of how late that heartbeat
ran). Any worker answering/statsreports all of them.liveness,drainandmemorysummarise the stalest worker, a drain under way and the
cgroup's memory.
-
Earlier
/statsadditions this release:- the running version and the WARP state;
- WebSocket and WebTransport counted apart, and QUIC's health;
- why streams ended;
- histograms of resolve, connect and first-byte times;
- relay pipes in use.
-
Crash reports: SIGSEGV, SIGBUS, SIGFPE, SIGILL and SIGABRT log:
- the signal, and whether the address was a null pointer, the stack guard (an overflow) or
anything else; - the thread's name (
hw-worker-3, also intop -Hand gdb); - the frames, with an
addr2lineline to name them.
The process then ends as a crash (Linux with glibc).
- the signal, and whether the address was a null pointer, the stack guard (an overflow) or
-
worker-watchdog-s(60 in the packaged config): a worker whose loop is stuck that long
gets SIGABRT, so its report shows where it was stuck, andRestart=on-failurecovers a
process that is alive but wedged. -
drain-timeout-s: the first SIGTERM or SIGINT stops accepting at once and lets open
streams finish, for up to that many seconds. Idle connections close after a second of quiet.
A second signal stops at once. The default, 0, stops at once as before. -
The cgroup's memory: under a
memory.max,server-queue-maxis held to half of it, so the
queue budget pauses clients before the OOM killer would end the process. -
policy-file: host, port, WARP-bypass and origin lists are read again whenever the file
changes, with no restart. A file that does not load leaves the policy in force. -
--check-configruns every check a start makes, cross-key validation included, without
starting. -
The log level at runtime: SIGUSR1 makes a running server more verbose, SIGUSR2 less.
-
Log flooding: a log line a client can trigger is written at most 20 times a second, then
counted.
Limits and abuse resistance
server-queue-maxandserver-queue-max-per-ip: queued bytes across the whole server, and
per client address, are bounded. Past them, reads pause; nothing is closed.max-handshakes-per-ipbounds connections that have not finished their HTTP head.max-pending-lookups-per-ip: clients take turns for the resolver's threads, so names that
never resolve cannot starve other clients.upload-window: the in-flight budget for uploads is shared by the streams that are uploading.bandwidth-limit-kbpsis one budget per address for both directions, bought in quanta.- Twisp CONNECTs count against the per-source connect rate.
- Entering a reputation tier is logged, and asking for a known-bad destination is scored
(weight 0 by default). - An open stream whose remote stops answering closes
0x47: remote sockets have keepalive. - A host list holds 1024 names.
Performance
- Faster session setup and windows sized for a gigabit at 138 ms over WebTransport.
- AES-128-GCM on AES-NI and PCLMULQDQ where the CPU has them.
- A busy client's receive room starts at 256 KiB.
- A refill CONTINUE goes ahead of other streams' queued downloads, but not ahead of its own
stream's data. - Relay pipes are given back when a stream stops downloading, so the per-user pipe budget is not
spent on idle connections. - Keepalive on remote sockets is armed by the worker's sweep, not when each stream opens.
- DNS asks A and AAAA at once.
Client library and holywisp-client
- WebTransport (
-s https://...), with key pins that survive a certificate renewal. - A connect tries every address a name has, within one deadline.
hw_client_try_send, which never waits, andhw_client_window.- The password can come from a file or
$HOLYWISP_PASSWORD, not only argv. - Faster masking and 256 KiB reads.
Node package
webTransportoptions, androuteRequest(), which serves/webtransport.jsonon your app's
origin. The Vite plugin uses it.- New options:
streamCredit,uploadCredit,policyFile,uploadWindow,serverQueueMax,
serverQueueMaxPerIP,maxPendingLookupsPerIPandidleTimeoutSeconds. stats()is typed for the whole/statsdocument, the per-worker fields included.- A port the wrapper picks is checked free for UDP too when WebTransport shares the number.
Packaging
- The unit sets
TimeoutStopSec=90s, so a drain has room. The packaged config turns on the
watchdog. - The
.deb'sDependsname the library versions the binary needs. - Windows:
pollwaits for its whole timeout, files open in binary mode, and a send never waits.
holyWisp v0.5.4 built 2026-11-23T04:04:06Z from ad5decb.
| Asset | For |
|---|---|
holywisp-linux-x64.tar.gz |
x86_64 Linux, glibc 2.35+ and libcrypt.so.1 (on Fedora: dnf install libxcrypt-compat) |
holywisp-linux-arm64.tar.gz |
aarch64 Linux, as above |
holywisp-client-linux-x64.tar.gz, holywisp-client-linux-arm64.tar.gz |
The client alone, for the same systems; it needs glibc 2.35+ and no libcrypt |
holywisp_<version>-<rev>_amd64.deb |
Debian 12+ / Ubuntu 22.04+: the server as a hardened systemd unit, wisp user |
holywisp-client_<version>-<rev>_amd64.deb |
Debian 12+ / Ubuntu 22.04+: the client alone, no service |
| `holywisp-<ve... |
v0.5.3
holyWisp v0.5.3 built 2026-11-16T22:57:56Z from 444f42c.
| Asset | For |
|---|---|
holywisp-linux-x64.tar.gz |
x86_64 Linux, glibc 2.35+ |
holywisp-linux-arm64.tar.gz |
aarch64 Linux, glibc 2.35+ |
holywisp-client-linux-x64.tar.gz, holywisp-client-linux-arm64.tar.gz |
The client alone, for the same systems |
holywisp_<version>-<rev>_amd64.deb |
Debian 12+ / Ubuntu 22.04+: the server as a hardened systemd unit, wisp user |
holywisp-client_<version>-<rev>_amd64.deb |
Debian 12+ / Ubuntu 22.04+: the client alone, no service |
holywisp-<version>-<rev>.fc41.x86_64.rpm |
Fedora 41+: the server, as the .deb |
holywisp-client-<version>-<rev>.fc41.x86_64.rpm |
Fedora 41+: the client alone |
holywisp-<version>.tgz |
Node.js 20+ on Linux (x64/arm64, glibc or musl), macOS 13+ and Windows 10+ (x64/arm64): npm install <asset url> |
SHA256SUMS |
checksums of the above |
curl -fsSL https://github.com/Fracital/holyWisp/releases/download/v0.5.3/holywisp-linux-x64.tar.gz | tar xz
cd holywisp-linux-x64 && ./holywisp --config holywisp.confv0.5.2
holyWisp v0.5.2 built 2026-11-10T21:45:40Z from 1008eef.
| Asset | For |
|---|---|
holywisp-linux-x64.tar.gz |
x86_64 Linux, glibc 2.35+ |
holywisp-linux-arm64.tar.gz |
aarch64 Linux, glibc 2.35+ |
holywisp_<version>_amd64.deb |
Debian 12+ / Ubuntu 22.04+: hardened systemd unit, wisp user |
holywisp-<version>.fc41.x86_64.rpm |
Fedora 41+: the same |
holywisp-<version>.tgz |
Node.js 20+ on Linux (x64/arm64, glibc or musl), macOS 13+ and Windows 10+ (x64/arm64): npm install <asset url> |
SHA256SUMS |
checksums of the above |
curl -fsSL https://github.com/Fracital/holyWisp/releases/download/v0.5.2/holywisp-linux-x64.tar.gz | tar xz
cd holywisp-linux-x64 && ./holywisp --config holywisp.confv0.1.0
holyWisp v0.1.0 built 2026-11-10T21:09:46Z from 92fb98d.
| Asset | For |
|---|---|
holywisp-linux-x64.tar.gz |
x86_64 Linux, glibc 2.35+ |
holywisp-linux-arm64.tar.gz |
aarch64 Linux, glibc 2.35+ |
holywisp_<version>_amd64.deb |
Debian 12+ / Ubuntu 22.04+: hardened systemd unit, wisp user |
holywisp-<version>.fc41.x86_64.rpm |
Fedora 41+: the same |
holywisp-<version>.tgz |
Node.js 20+ on Linux (x64/arm64, glibc or musl), macOS 13+ and Windows 10+ (x64/arm64): npm install <asset url> |
SHA256SUMS |
checksums of the above |
curl -fsSL https://github.com/Fracital/holyWisp/releases/download/v0.1.0/holywisp-linux-x64.tar.gz | tar xz
cd holywisp-linux-x64 && ./holywisp --config holywisp.conf