Skip to content

Configuration

David Reed edited this page Nov 20, 2026 · 3 revisions

This page lists every option holywisp takes, with its default, the values it accepts and what it does. The topic pages explain the larger features; this page links to them and gives the exact key names and limits.

Everything here was checked against src/server/config.c (the parser and --help) and src/server/server.c (defaults and the rules across keys). holywisp --help prints a short form of the same list.

Where options come from

Every option is both a config file line and a command-line flag with the same name:

holywisp --config /etc/holywisp/holywisp.conf --port 6002 --log-level=debug
  • --config FILE (or -c FILE, or --config=FILE) loads a file. It may be given more than once; files load in the order given.
  • Every file is loaded before any flag is applied, wherever --config stands in the command line, so a flag always overrides the file.
  • A flag is --key value or --key=value. A flag with no value is true, so --allow-loopback turns that on. The next argument is taken as the value unless it starts with --, so a value that starts with -- has to be written --key=--value.
  • Repeatable keys (lists such as allow-host or trusted-proxy) add one entry per line or per flag. Flags add to what the file listed; they do not replace it.
  • Other flags: --help (-h), --version (-V) and --check-config (see Checking a configuration).

The packages install the file as /etc/holywisp/holywisp.conf, owned root:wisp, mode 0640, because it can hold passwords. The systemd unit runs holywisp --config /etc/holywisp/holywisp.conf. See Install-and-run. The repository has two annotated copies: deploy/holywisp.conf (the installed default, bound to 127.0.0.1) and holywisp.conf.example.

File syntax

# A comment line.
host = 127.0.0.1
port = 6001                 # an inline comment starts at a '#' after whitespace
motd = "Welcome # this is part of the value"
allow-host = example.org    # repeat a list key once per entry
allow-host = *.example.org
password-required = off
  • One key = value per line. Spaces and tabs around the key and the value are dropped.
  • A line whose first non-blank character is # is a comment. In an unquoted value, a # that starts the value or follows a space or tab starts a comment.
  • A value in double quotes keeps everything up to the closing quote, # and spaces included. Anything after the closing quote is ignored. There are no escapes.
  • An empty value (motd =) sets a string key to empty.
  • Booleans take on, off, true, false, yes, no, 1 and 0.
  • Numbers are decimal integers, except syn-signature-failed-ratio (a decimal fraction) and udp-warp-marks (decimal or 0x hex; a leading 0 makes a mark octal, so 030465 is not 30465).
  • A value outside its range is an error, not clamped. The server reports the file, the line number and the key, and exits.
  • Keep every line to 1023 bytes or fewer. The reader takes 1023 bytes at a time, and the rest of a longer line is read as a line of its own, even the rest of a comment (in a policy file, a long line is an error instead).

An error names the file and line:

$ holywisp --config holywisp.conf --check-config
holywisp: holywisp.conf:3: unknown option 'alow-loopback'
$ holywisp --config holywisp.conf
holywisp: holywisp.conf:2: bad value '60001x' for 'port'
try 'holywisp --help'

A bad value for proxy, trusted-proxy-secret or proxy-client-key-secret is reported without the value, and so are errors in password-user and webtransport-path lines. Every other error repeats the value it refused.

Checking a configuration

--check-config parses the options and applies the same checks a start does, then exits without binding a socket:

$ holywisp --config /etc/holywisp/holywisp.conf --check-config
holywisp 0.5.4: configuration ok
$ echo $?
0
$ holywisp --enable-twisp --check-config
holywisp: configuration refused: enable-twisp needs password auth: add a password-user
$ echo $?
1

What it checks:

  • every value parses and is in range;
  • every rule across keys in Rules across keys;
  • the proxy URL parses and its host resolves (the message says only "proxy: its host does not resolve");
  • with webtransport on, webtransport-cert and webtransport-key load as a matching P-256 pair, and webtransport-cert-dir can be opened.

What it does not check, because only a start finds out:

  • whether the address and port can be bound (another process holding the port passes the check);
  • whether the process may mark sockets (udp-warp-marks without CAP_NET_ADMIN starts anyway, with an error in the log);
  • policy-file. A missing or invalid policy file passes --check-config, but the server then refuses to start with policy-file: ... in the log. Check the file's lines yourself until this is fixed;
  • dns-server entries. A malformed one is skipped at start with a dns: ignoring malformed dns-server warning.

Exit codes:

Command Exit code Meaning
holywisp ... --check-config 0 The server would start with this configuration
holywisp ... --check-config 1 A parse error or a refused configuration; the reason is on stderr
holywisp ... 2 A parse error (unknown key, bad value); followed by try 'holywisp --help'
holywisp ... 1 The server could not start (a rule across keys, the bind, the policy file)
holywisp ... 0 The server ran and was stopped by SIGINT, SIGTERM or stop-on-stdin-eof

The check needs only read access to the file, so it can run as root or as the wisp user beside the running server. Stats-and-monitoring has a deploy example.

What changes without a restart

The configuration is read once. systemctl reload is refused, because the server has no SIGHUP handler; a change takes a restart, which drops every client. The exceptions:

What How it is picked up
Host and port lists, warp-bypass-host, allow-origin Put them in a policy-file. See Policy file
Log level SIGUSR1 and SIGUSR2. See Log level at runtime
webtransport-cert and webtransport-key Read again when either file changes, for new sessions. See WebTransport
webtransport-cert-dir Read again when the directory or a file in it changes
udp-warp-state Looked at once a second. See Proxies-and-WARP

Policy file

policy-file = PATH names a second file with more allow-host, block-host, allow-port, block-port, warp-bypass-host and allow-origin lines, in the config file's syntax. Its entries are added to the config's own entries for the same keys. Any other key is an error, and so is a line longer than 1022 bytes.

  • It must load when the server starts, or the server does not start.
  • While the server runs, the maintenance thread looks at the file once a second (its inode, size and modification time). A changed file is read once it has looked the same for one more second, and every 60 seconds in any case.
  • The new lists apply to new upgrades and new streams. Open connections and streams are not touched.
  • A file that fails to load later (a bad line, another key, a list too full) or has gone is logged as an error, and the lists in force stay.
  • Removing a line from the file removes that entry; the config's own entries always stay.
  • Replace the file by writing a new one and renaming it over the old one, so it is never read half written.

What the log shows on a start, a change and a bad edit:

[info] policy: policy-file /etc/holywisp/policy.conf: 0 allow-host, 1 block-host, 0 allow-port, 0 block-port, 0 warp-bypass-host and 0 allow-origin entries in force, the config's included
[info] policy: policy-file /etc/holywisp/policy.conf: 0 allow-host, 2 block-host, 0 allow-port, 0 block-port, 0 warp-bypass-host and 1 allow-origin entries in force, the config's included
[error] policy: policy-file: /etc/holywisp/policy.conf:1: 'port' is not for a policy file (allow-host, block-host, allow-port, block-port, warp-bypass-host and allow-origin are); the policy in force stays

Log level at runtime

On Linux and macOS, SIGUSR1 makes the log one level more verbose and SIGUSR2 one level less, without a restart. The order is debug, info, warn, error. A signal never goes past debug or quieter than error; none can only be set in the configuration. Each change is logged at the new level:

sudo systemctl kill -s USR1 holywisp     # info -> debug
sudo systemctl kill -s USR2 holywisp     # debug -> info
[debug] server: log level debug (SIGUSR1: more, SIGUSR2: less)
[info] server: log level info (SIGUSR1: more, SIGUSR2: less)

Two signals sent back to back can arrive as one, so send one per step and check the log line. Windows has no such signals. A restart goes back to log-level.

stop-on-stdin-eof

With stop-on-stdin-eof = on, a thread reads standard input and discards what it reads. When it reaches end of file, the server logs stdin closed: the parent process is gone and shuts down as it does on SIGTERM. This is for a program that starts holywisp as a child with a pipe on its stdin: when the parent dies, however it dies, the kernel closes the pipe and the server stops. The Node-package wrapper starts the server this way.

Leave it off under systemd or anything else that gives the process /dev/null as stdin: that is at end of file from the start, and the server would stop as soon as it was up.

Option reference

The groups follow holywisp --help. "Repeatable" keys build a list, one entry per line. Sizes are in bytes.

Listening and the process

Key Default Values What it does
host empty address, up to 255 bytes Address the TCP listener binds. Empty is every interface. The installed deploy/holywisp.conf sets 127.0.0.1
port 6001 0 to 65535 TCP port. 0 lets the kernel choose; the listening on log line names the port it got
workers 0 0 to 1024 Worker threads, each with its own event loop and listener. 0 is one per online CPU
listen-backlog 1024 1 to 65535 Length of each listener's accept queue
log-level info debug, info, warn (or warning), error, none Least severe level written to stderr. See Stats-and-monitoring
stop-on-stdin-eof off boolean Shut down when stdin reaches end of file. See above

What clients may reach

These are the egress policy and the destination filters. Security-and-limits explains how they are applied (after DNS, to every resolved address).

Key Default Values What it does
allow-tcp on boolean Clients may open TCP streams. Off: a TCP CONNECT is closed 0x48
allow-udp on boolean Clients may open UDP streams. Off: a UDP CONNECT is closed 0x48
allow-direct-ip off boolean Allow an IP literal as the CONNECT host. The address must still pass the classes below
allow-private off boolean Allow 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, 100.64.0.0/10 (CGNAT) and fc00::/7
allow-loopback off boolean Allow 127.0.0.0/8 and ::1
allow-link-local off boolean Allow 169.254.0.0/16 and fe80::/10
allow-host none host pattern, repeatable When the list has any entry, only these hosts may be opened. example.com matches that name only; *.example.com or .example.com matches its subdomains but not example.com itself. Compared in lower case without a trailing dot
block-host none host pattern, repeatable Hosts that may not be opened (0x48), same patterns
allow-port none N or LO-HI, repeatable When the list has any entry, only these ports may be opened
block-port none N or LO-HI, repeatable Ports that may not be opened
policy-file none path, up to 255 bytes More list lines, read again while the server runs. See Policy file

Multicast, unspecified, broadcast and reserved addresses have no allow-* key: they are never valid targets. Each host list holds up to 1024 entries (and 64 KiB of names); a pattern longer than 255 bytes is refused.

Protocol and passwords

Protocol describes the v2 handshake and the extensions these keys turn on.

Key Default Values What it does
enable-v2 on boolean Answer a client that offers any Sec-WebSocket-Protocol with Wisp v2. Off: every client gets v1
motd empty up to 511 bytes Message of the day, sent to v2 clients in INFO (extension 0x04)
enable-twisp off boolean Terminal streams (a command run on a PTY). Needs enable-v2, a password-user, and a platform with PTYs (not Windows). A client must be v2 and logged in to open one. See Security-and-limits
stream-credit on boolean Offer stream credit (extension 0xE2): the client grants each stream its download bytes
upload-credit on boolean Offer upload credit (extension 0xE4): uploads are counted in bytes against grants from the server. Not offered when stream-queue-max has no room for a window beside one max-message-size packet; the server logs that at start
password-user none USER:PASS, repeatable A v2 login. USER is 1 to 63 bytes, PASS 1 to 127 bytes, at most 64 users. A PASS that starts with $ is a crypt(3) hash ($2b$, $6$, $y$); anything else is plain text. An empty password is refused. Hashes are not supported on Windows
password-required off boolean Clients must log in. A v1 upgrade is answered 426; a v2 client that sends no password is closed. Needs a password-user

The client's address and origin

Reverse-proxy shows these with nginx and Caddy; Security-and-limits has the rules.

Key Default Values What it does
parse-real-ip on boolean Read the client's address from a trusted proxy's header. Off: the socket peer is always the client
trusted-proxy none address or CIDR, repeatable, up to 64 Peers whose forwarding headers are believed
trusted-header X-Forwarded-For header name, up to 63 bytes, repeatable, up to 8 Adds a header to the list read from a trusted proxy. The first header on the list that the request carries is used
trusted-headers-reset not set any value Empties the header list at the point where it appears, so the trusted-header lines after it start from nothing. The value is ignored: trusted-headers-reset = off empties the list too. As a flag it runs after the whole file and empties the file's trusted-header entries as well
trusted-proxy-secret none up to 127 bytes A trusted proxy's headers count only when the request also carries X-HolyWisp-Proxy-Secret with this value. For a proxy on 127.0.0.1, where any local process shares its address. Never logged
allow-origin none scheme://host[:port], repeatable, up to 32, each under 128 bytes When the list has any entry, a browser upgrade whose Origin is not on it gets 403. A request with no Origin is let through. Compared without regard to case

Per-client limits

Key Default Values What it does
connections-limit-per-ip 200 0 to 16777216 New WebSocket upgrades one client address may make per window; one more is 429 with Retry-After. Works whether or not flood-protection is on
connection-window-s 10 0 to 86400 Length of that window in seconds. Both keys 0 turns the limit off; one of them 0 is refused
bandwidth-limit-kbps 0 0 to 1000000000 Per client address, in kilobits per second. Uploads and downloads draw on this one budget together, across all the address's connections. A client over it is paused, never dropped. 0 is off
max-streams-per-conn 2048 0 to 1048576 Open streams one connection may hold; one more CONNECT is closed 0x49. v2 clients are told the cap (extension 0xE3). 0 is unlimited

Flood protection

These apply only while flood-protection is on, except ws-close-after-violations and log-blocked-dials, which act whatever it is set to (a max-pending-lookups-per-ip violation counts toward ws-close-after-violations with flood protection off). Security-and-limits says what counts as a violation.

Key Default Values What it does
flood-protection on boolean Turns on every limit in this table
max-connects-per-source-per-second 500 0 to 16777216 CONNECTs per client address per second; past it, 0x49 and a violation. 0 is off
max-connects-per-dest-per-second 100 0 to 16777216 Connects to one resolved ip:port per second, all clients together; past it, 0x49 (not a violation). 0 is off
max-connects-per-dest-per-minute 3000 0 to 16777216 The same per minute
max-in-flight-syns 4096 0 to 16777216 TCP connects in progress, server-wide. 0 is unlimited
max-in-flight-syns-per-ip 512 0 to 16777216 TCP connects in progress for one client address; past it, 0x49 and a violation. 0 is unlimited
max-concurrent-connections 50000 0 to 16777216 Open client connections, server-wide; one more upgrade is 503. 0 is unlimited
max-concurrent-connections-per-ip 5000 0 to 16777216 Open connections from one client address; one more upgrade is 429. 0 is unlimited
max-handshakes-per-ip 128 0 to 16777216 Connections from one socket peer address that have not sent their whole HTTP request head; one more gets 429 and is closed at accept. Connections from a trusted-proxy are not counted. 0 is unlimited
syn-signature on boolean The SYN-flood heuristic: watch the share of failed connects per destination and close a client that matches
syn-signature-window-ms 2000 1 to 600000 Its window
syn-signature-min-samples 128 1 to 256 Connects needed in the window before it can match
syn-signature-failed-ratio 0.75 0.0 to 1.0 Share of failed connects that is a match
ws-close-after-violations 64 0 to 16777216 Close a client after this many violations of its own. 0 is never
log-blocked-dials off boolean Log every failed dial at info, with the client address and the destination

Reputation

Key Default Values What it does
reputation on boolean Score client addresses and destinations from 0 to 100
reputation-store empty path, up to 511 bytes JSON file the scores are saved to and loaded from at start. Empty keeps them in memory only. The installed config uses /var/lib/holywisp/reputation.json
reputation-save-interval-s 30 0 to 86400 How often the store is written. 0 never writes it
reputation-decay-per-hour 1 0 to 100 Points a score loses per hour
reputation-evict-after-days 7 0 to 3650 Drop an entry not seen for this long. 0 keeps entries
reputation-warn 21 0 to 100 Lowest score of the warn tier. In this version the tier has no effect of its own: nothing is logged or limited for it. 0 disables the tier
reputation-throttle 51 0 to 100 Score from which a client's connections may hold at most 16 streams (or max-streams-per-conn, when that is lower). 0 disables the tier
reputation-strict 81 0 to 100 Score from which a client is refused at upgrade (403) and a destination at dial. 0 disables the tier
reputation-weight see below EVENT:N, N from -100 to 100, repeatable Points one event adds to a client address's score
reputation-dest-weight see below EVENT:N, repeatable Points one event adds to a destination's score

The event names and their default weights:

Event Client weight Destination weight
privateEgress 0 20
synSignature 25 30
twispNoAuth 40 0
burstRate 5 5
successfulStream -2 0
requestKnownBadDest 2 0
authFailure 10 0
protocolViolation 5 0

privateEgress weighs 0 for clients on purpose: any web page can make its visitor's browser ask for a private address. In this version only synSignature is ever recorded against a destination, so the destination weights of privateEgress and burstRate have no effect, and no code raises requestKnownBadDest. Security-and-limits explains the tiers.

Where streams go

An upstream proxy and the WARP marks. Proxies-and-WARP explains each of these with examples.

Key Default Values What it does
proxy none socks5://, socks5h:// or http:// URL with optional user:pass@, up to 255 bytes Send outbound TCP through this proxy. The egress check runs here first, then the proxy is given the hostname. Never logged
proxy-udp refuse refuse, direct With a proxy: refuse UDP streams, or relay them directly around the proxy
proxy-only-to none address or CIDR, repeatable, up to 64 With a proxy: only TCP streams that resolved into this list go through it; the rest are dialled here. Needs proxy
proxy-client-key off boolean Give the proxy a key per client as its user name, and pick UDP's WARP tunnel by client and site. Needs proxy or udp-warp-marks
proxy-client-key-secret random per start 16 to 127 bytes What the keys are made from. Unset, every restart gives every client a new key. Never logged
udp-warp-marks none comma list of marks, decimal or 0x hex, up to 16, each once The firewall marks of the WARP tunnels. Linux only; marking needs CAP_NET_ADMIN
udp-warp-state none path, up to 255 bytes The router's JSON list of healthy tunnels. Set both WARP keys or neither
udp-warp-state-max-age-s 60 0 to 86400 A state file not rewritten for longer is ignored and UDP goes out unmarked. 0 is never too old
udp-warp-fallback refuse refuse, direct The state lists no tunnel for the stream's address family: refuse the UDP stream (0x42) or send it unmarked
tcp-warp off boolean Mark TCP streams dialled here from the same state. Needs the two WARP keys, and with a proxy also proxy-only-to
tcp-warp-fallback refuse refuse, direct A TCP stream with no usable state, no tunnel for its family or a mark that will not take: refuse it (0x42) or dial it unmarked
warp-bypass-host none host pattern, repeatable Names that never go through WARP. name or *.name; a * anywhere else is refused. Needs the WARP keys

DNS

Key Default Values What it does
dns-server system resolver ip, ip:port or [ipv6]:port, up to 63 bytes, repeatable, up to 8 Use the built-in DNS client against these servers instead of getaddrinfo. Port 53 when none is given. A malformed entry is skipped with a warning at start
dns-ttl-s 120 0 to 604800 Longest time an answer is cached
dns-negative-ttl-s 10 0 to 604800 How long a failed lookup is cached
dns-order ipv4first ipv4first, ipv6first, verbatim Order the resolved addresses are tried in
dns-timeout-ms 3000 100 to 60000 Timeout of the built-in client's query to each dns-server
max-pending-lookups-per-ip 128 0 to 16777216 Lookups one client address may have in the resolver at once; one more CONNECT is closed 0x49 and is a violation. Applies whether or not flood-protection is on. 0 is no limit
resolver-threads 4 1 to 256 Threads that run lookups

Flow control and queues

Protocol explains the CONTINUE window and the credit extensions.

Key Default Values What it does
buffer-remaining 128 1 to 16777216 The CONTINUE window in packets. Capped at start so a full window of max-message-size packets fits in stream-queue-max; the server logs it when the cap applies
max-message-size 1048581 (1 MiB plus the 5-byte Wisp header) 1024 to 1073741824 Largest WebSocket message accepted from a client; a larger one closes the socket with 1009
ws-write-high-water 8388608 (8 MiB) 4096 to 2147483648 When a client's send queue passes this, its streams stop reading their remotes; they resume at a quarter of it. Past twice this, the client is not read from either
upload-window 0 0 to 2147483648 Bytes one client may have in flight toward its remotes, shared by its streams. 0 uses ws-write-high-water
stream-queue-max 134217728 (128 MiB) 4096 to 2147483648 Bytes queued toward one slow remote; past it the stream is closed 0x49
conn-queue-max 268435456 (256 MiB) 4096 to 2147483648 Bytes queued toward remotes across one client; past it the client's reads pause, and resume at half. Must be at least stream-queue-max
server-queue-max 4294967296 (4 GiB) 0 to 2^50 Bytes queued toward clients and remotes by every connection together; a connection that would go past it pauses. 0 is no limit
server-queue-max-per-ip 1073741824 (1 GiB) 0 to 2^50 The same for the connections of one client address. 0 is no limit

Sockets and timeouts

Key Default Values What it does
socket-buffer-size 0 0 to 1073741824 SO_RCVBUF and SO_SNDBUF on client and remote TCP sockets. 0 leaves them to the kernel
client-recv-buffer 8388608 (8 MiB) 0 to 1073741824 With socket-buffer-size 0: SO_RCVBUF on client sockets, applied only when net.core.rmem_max lets the kernel grant at least 4 MiB (the kernel doubles the value, so rmem_max of 2097152 or more). The server logs at start when it is not applied. 0 is never
connect-timeout-ms 15000 100 to 600000 From CONNECT to connected, resolving and the proxy's handshake included
family-fallback-ms 3000 0 to 600000 A connect attempt with an address of the other family still to try gives up after this. 0 uses the full connect-timeout-ms
handshake-timeout-ms 10000 100 to 600000 Time a new connection has to finish its upgrade, and on v2 its INFO exchange
client-write-timeout-s 120 0 to 86400 Close a client that has taken nothing of what is queued for it for this long. 0 is never
idle-timeout-s 0 0 to 2592000 Close, with WebSocket code 1001, a connection that has no open streams and whose client has sent nothing for this long. 0 is never
busy-poll-us 0 0 to 10000 After a loop iteration that had events, poll this many microseconds before sleeping. Lower latency under load, more CPU. 0 always sleeps
tcp-nodelay on boolean TCP_NODELAY on client and remote TCP sockets
tcp-quickack on boolean TCP_QUICKACK on client and remote TCP sockets (Linux)

Plain HTTP and the web client

Key Default Values What it does
non-ws-response holyWisp: a Wisp server. Connect with a WebSocket client. up to 255 bytes Body (200, text/plain) of a plain HTTP request that is not /health, /stats, /webtransport.json or the web client. Empty answers 426
serve-webclient on boolean Serve the built-in browser client on GET /
webclient-wisp-url empty ws:// or wss:// URL, up to 255 bytes, no spaces, quotes, \, < or > Wisp server the web client offers by default. Empty is the page's own origin. See Reverse-proxy

WebTransport

WebTransport explains certificates, paths, lanes and congestion control.

Key Default Values What it does
webtransport off boolean Also listen for WebTransport (HTTP/3 over QUIC) on UDP
webtransport-host host address, up to 255 bytes UDP bind address. Empty uses host
webtransport-port 0 0 to 65535 UDP port. 0 uses the TCP listener's port number
webtransport-url empty https:// URL, up to 255 bytes URL that GET /webtransport.json names. Empty lets the page derive it from its origin
webtransport-cert empty path, up to 511 bytes PEM certificate chain with an ECDSA P-256 key. Empty: a self-signed certificate valid 13 days, renewed every 6
webtransport-key empty path, up to 511 bytes Its PEM key. Set both or neither
webtransport-cert-dir empty directory, up to 511 bytes <host>.pem files (chain and key in one file), picked by the client's SNI
webtransport-reset-key-file empty path, up to 511 bytes Keeps the QUIC stateless-reset key across restarts; created with mode 0600 when missing. The installed config uses /var/lib/holywisp/webtransport-reset.key
webtransport-path every path [host] /path, repeatable, up to 32 Admit sessions only on these paths (and below them; / alone means /), on that host or any host; anything else gets 404. Never logged, since a path may hold a key such as /relay/<gate-key>
webtransport-idle-timeout-s 30 1 to 3600 QUIC idle timeout
webtransport-max-handshakes 1024 1 to 1048576 QUIC handshakes in progress per worker
webtransport-retry-threshold 64 0 to 1048576 Handshakes in progress per worker past which every new Initial gets a Retry. 0 sends a Retry to every Initial
webtransport-congestion-control bbr bbr, bbr2, newreno Congestion control toward the client
webtransport-lanes 8 0 to 16 QUIC streams one v2 session may spread its Wisp streams over, the first included. 0 or 1 is no lanes

Rules across keys

A start and --check-config refuse these combinations. The message is what the server prints after configuration refused: (or logs before cannot start).

Combination Message
conn-queue-max below stream-queue-max conn-queue-max must be at least stream-queue-max
password-required with no password-user password-required needs at least one password-user
A $ hash on a platform without crypt(3) (Windows) password-user 'NAME': this platform has no crypt(3) to check a hashed password with
enable-twisp with no password-user enable-twisp needs password auth: add a password-user
enable-twisp on a platform without PTYs (Windows) enable-twisp: this platform has no pseudo-terminals
enable-twisp with enable-v2 off enable-twisp needs enable-v2
Only one of udp-warp-marks and udp-warp-state udp-warp-marks and udp-warp-state must both be set or both be empty
proxy-client-key with neither proxy nor udp-warp-marks proxy-client-key needs a proxy or udp-warp-marks to give the key to
proxy-client-key-secret under 16 characters proxy-client-key-secret must be at least 16 characters
warp-bypass-host without the WARP keys warp-bypass-host needs udp-warp-marks and udp-warp-state: there is no WARP to bypass
proxy-only-to without proxy proxy-only-to needs a proxy
tcp-warp without the WARP keys tcp-warp needs udp-warp-marks and udp-warp-state: they are its tunnels
tcp-warp with a proxy and no proxy-only-to tcp-warp marks TCP dialled here, and with a proxy and no proxy-only-to there is none
udp-warp-marks on a platform that cannot mark sockets udp-warp-marks: this platform cannot mark sockets
Only one of connections-limit-per-ip and connection-window-s is 0 connections-limit-per-ip and connection-window-s must both be set or both be zero
webclient-wisp-url not ws:// or wss:// webclient-wisp-url must start with ws:// or wss://
Only one of webtransport-cert and webtransport-key webtransport-cert and webtransport-key must both be set or both be empty
webtransport-url not https:// webtransport-url must start with https://
A proxy with another scheme proxy: scheme must be socks5://, socks5h:// or http://

udp-warp-marks without CAP_NET_ADMIN is not refused. The server starts, logs udp-warp-marks: this process cannot mark sockets (... it needs CAP_NET_ADMIN), so UDP streams go out unmarked at error, and /stats shows warpState.state as noCapability.

Clone this wiki locally