derpssh 0.16.2 → 0.17.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,43 +1,62 @@
1
1
  # derphole
2
2
 
3
- `derphole` is a standalone CLI for session-scoped byte transfer and temporary local TCP service sharing. Use it for one-shot transfers, receive-code flows, and short-lived service sharing.
4
-
5
- [`derptun`](#tcp-tunnels) is its companion for long-lived TCP tunnels. Use it when a tunnel needs stable tokens, restartable endpoints, and repeated client reconnects.
6
-
7
- [`derpssh`](#share-a-terminal) is its companion for interactive terminal sharing. Use it when two people need one shared PTY with host approval and no open ports.
8
-
9
- `derphole` supports:
10
-
11
- - raw byte streams with `listen` and `pipe`
12
- - text, file, and directory transfer with `send` and `receive`
13
- - local TCP service sharing with `share` and `open`
14
- - SSH access exchange with `ssh invite` and `ssh accept`
15
-
16
- Both tools use the public Tailscale [DERP](#what-is-derp) relay network for rendezvous and fallback, then promote live traffic to direct encrypted UDP when possible. Payload bytes stay end-to-end encrypted on relay fallback, direct UDP, and authenticated QUIC stream paths; DERP sees routing metadata, not contents. They are **not** affiliated with Tailscale and do **not** use `tailscaled`.
17
-
18
- Neither tool is a WireGuard overlay or VPN. `derphole` handles one token, one session, one transfer or shared service. `derptun` handles one long-lived tunnel. See [Transport Model](#transport-model), [Why It Is Fast](#why-it-is-fast), and [Security Model](#security-model).
19
-
20
- Neither tool requires:
21
-
22
- - a Tailscale account
23
- - a tailnet
24
- - `tailscaled`
25
- - a separate control plane to run yourself
26
-
27
- Session tokens carry authorization. Public sessions fetch the DERP map at runtime so both sides can find relay and bootstrap nodes. See [Security Model](#security-model) for token and relay details.
3
+ `derphole` is a small CLI for the network job that should not require a new
4
+ network: move bytes, expose a local TCP service, or exchange SSH access for one
5
+ short session when neither side has an inbound port to offer.
6
+
7
+ The obvious answer is "use a VPN." Sometimes that is correct. If you need
8
+ stable private IPs, ACLs, subnet routes, exit nodes, and machines that remember
9
+ each other, use a VPN. If you need one transfer, one tunnel, or one shared
10
+ terminal, a VPN is a lot of state for a short conversation.
11
+
12
+ This repo ships three tools:
13
+
14
+ - `derphole` for one-shot files, byte streams, receive-code flows, temporary
15
+ localhost shares, and SSH access exchange.
16
+ - [`derptun`](#tcp-tunnels) for longer-lived TCP tunnels with stable server and
17
+ client tokens.
18
+ - [`derpssh`](#share-a-terminal) for shared terminal sessions with host approval
19
+ and no open ports.
20
+
21
+ The tools use the public Tailscale [DERP](#what-is-derp) relay network for
22
+ rendezvous and fallback, then promote live traffic to direct encrypted UDP when
23
+ possible. Payload bytes stay end-to-end encrypted on relay fallback, direct UDP,
24
+ and authenticated QUIC stream paths. DERP sees routing metadata and packet
25
+ timing, not contents.
26
+
27
+ These tools are **not** affiliated with Tailscale and do **not** use
28
+ `tailscaled`.
29
+
30
+ They are also not a WireGuard overlay or a VPN. `derphole` handles one token,
31
+ one session, one transfer or shared service. `derptun` handles one tunnel with
32
+ reusable scoped tokens. `derpssh` handles one approved PTY session. See
33
+ [Transport Model](#transport-model), [Why It Is Fast](#why-it-is-fast), and
34
+ [Security Model](#security-model).
35
+
36
+ No Tailscale account, tailnet, daemon, or self-hosted control plane is required.
37
+ Session tokens carry authorization. Treat them like passwords with a shorter
38
+ half-life. Public sessions fetch the DERP map at runtime so both sides can find
39
+ relay and bootstrap nodes.
28
40
 
29
41
  ## Pick the Workflow
30
42
 
31
- - Use `listen` and `pipe` for raw byte streams and shell pipelines.
32
- - Use `send` and `receive` for text, files, directories, progress, and receive-code UX.
33
- - Use `share` and `open` for temporary access to a local TCP service.
34
- - Use `ssh invite` and `ssh accept` for SSH public key exchange.
35
- - Use [`derpssh`](#share-a-terminal) for approved terminal sharing.
36
- - Use [`derptun`](#tcp-tunnels) for long-lived TCP tunnels with reusable tokens.
43
+ - Use `listen` and `pipe` when you want raw bytes and shell pipelines.
44
+ - Use `send` and `receive` when you want text, files, directories, progress, and
45
+ receive-code UX.
46
+ - Use `share` and `open` when you want temporary access to a local TCP service.
47
+ - Use `ssh invite` and `ssh accept` when you want to exchange SSH access.
48
+ - Use [`derpssh`](#share-a-terminal) when two people need one approved terminal.
49
+ - Use [`derptun`](#tcp-tunnels) when the TCP tunnel needs reusable tokens and
50
+ reconnects.
37
51
 
38
52
  ## Quick Start
39
53
 
40
- `listen` receives bytes and prints a token. `pipe` sends stdin into that token. `share` and `open` do the same for local TCP services. Use [`derptun`](#tcp-tunnels) for reusable, longer-lived tunnels.
54
+ `listen` receives bytes and prints a token. `pipe` sends stdin into that token.
55
+ `share` and `open` do the same shape of thing for local TCP services. The trick
56
+ is small on purpose: one token, one capability, one session.
57
+
58
+ Use [`derptun`](#tcp-tunnels) when the tunnel should live longer than a one-off
59
+ share.
41
60
 
42
61
  ### Stream a Raw File
43
62
 
@@ -47,7 +66,8 @@ Receiver:
47
66
  npx -y derphole@latest listen > received.img
48
67
  ```
49
68
 
50
- `listen` prints a token to stderr, keeping stdout clean. Copy the token to the sender.
69
+ `listen` prints a token to stderr, keeping stdout clean. Copy the token to the
70
+ sender.
51
71
 
52
72
  Sender:
53
73
 
@@ -75,7 +95,8 @@ npx -y derphole@latest send ./photo.jpg
75
95
  npx -y derphole@latest receive <code>
76
96
  ```
77
97
 
78
- Known-size files and directories show progress on stderr. Use `--hide-progress` for quiet output.
98
+ Known-size files and directories show progress on stderr. Use `--hide-progress`
99
+ when quiet output matters more than watching the counter move.
79
100
 
80
101
  Text uses the same flow:
81
102
 
@@ -141,11 +162,36 @@ npx -y derpssh@latest share
141
162
  npx -y derpssh@latest connect <invite>
142
163
  ```
143
164
 
144
- The host approves the guest as read-only or read/write. The session uses the derptun transport path, so neither side needs an inbound port.
165
+ The host normally approves each guest as read-only or read/write. To use one
166
+ policy for every join attempt while the host is running:
167
+
168
+ ```bash
169
+ npx -y derpssh@latest share --auto-accept read
170
+ npx -y derpssh@latest share --auto-accept write
171
+ ```
172
+
173
+ Anyone with the valid invite is accepted. `read` lets the guest watch and chat.
174
+ `write` also gives the guest control of the shared shell. The host can still
175
+ change the role or kick the guest.
176
+
177
+ The session uses the `derptun` transport path, so neither side needs an inbound
178
+ port.
179
+
180
+ Optional local lookup keeps the invite behind a service name on the connecting
181
+ machine:
182
+
183
+ ```bash
184
+ npx -y derpssh@latest service set ops-shell <invite>
185
+ npx -y derpssh@latest connect --service ops-shell
186
+ ```
187
+
188
+ The service name only finds the invite. It does not change the host's approval
189
+ policy.
145
190
 
146
191
  ### TCP Tunnels
147
192
 
148
- `derptun` exposes a local TCP service without requiring either side to open an inbound port. Start with a one-off tunnel:
193
+ `derptun` exposes a local TCP service without asking either side to open an
194
+ inbound port. Start with a one-off tunnel:
149
195
 
150
196
  On the serving machine:
151
197
 
@@ -159,9 +205,11 @@ npx -y derptun@latest serve --tcp 127.0.0.1:3000
159
205
  npx -y derptun@latest open --token DT1...
160
206
  ```
161
207
 
162
- Run that command on the connecting machine. It opens a local listener and forwards connections through the tunnel.
208
+ Run that command on the connecting machine. It opens a local listener and
209
+ forwards connections through the tunnel.
163
210
 
164
- For a persistent tunnel, create both tokens on the serving machine and keep the server token there:
211
+ For a persistent tunnel, create both tokens on the serving machine and keep the
212
+ server token there:
165
213
 
166
214
  ```bash
167
215
  npx -y derptun@latest token server > server.dts
@@ -177,16 +225,32 @@ On the connecting machine:
177
225
  npx -y derptun@latest open --token-file client.dt1 --listen 127.0.0.1:3001
178
226
  ```
179
227
 
180
- The server token is serving authority. Keep it on the serving machine or in a secret manager. Client tokens can connect until expiry, but cannot serve or mint tokens.
228
+ The server token is serving authority. Keep it on the serving machine or in a
229
+ secret manager. Client tokens can connect until expiry, but cannot serve or mint
230
+ tokens.
181
231
 
182
- Server tokens default to 180 days. Client tokens default to 90 days and cannot outlive their server token. Set a relative lifetime with `--days`, or use an absolute expiry:
232
+ Server tokens default to 180 days. Client tokens default to 90 days and cannot
233
+ outlive their server token. Set a relative lifetime with `--days`, or use an
234
+ absolute expiry:
183
235
 
184
236
  ```bash
185
237
  npx -y derptun@latest token server --expires 2026-05-01T00:00:00Z > server.dts
186
238
  npx -y derptun@latest token client --token-file server.dts --expires 2026-04-25T00:00:00Z > client.dt1
187
239
  ```
188
240
 
189
- Use `--token TOKEN` for inline one-off commands. Prefer `--token-file PATH` for durable tokens. `--token-stdin` reads the token from the first stdin line.
241
+ Use `--token TOKEN` for inline one-off commands. Prefer `--token-file PATH` for
242
+ durable tokens. `--token-stdin` reads the token from the first stdin line.
243
+
244
+ Optional local lookup keeps the client token behind a service name on the
245
+ connecting machine:
246
+
247
+ ```bash
248
+ npx -y derptun@latest service set web --token-file client.dt1
249
+ npx -y derptun@latest open --service web --listen 127.0.0.1:3001
250
+ ```
251
+
252
+ The registry is local name-to-token storage. It is not a hosted control plane,
253
+ and no lookup server is contacted by default.
190
254
 
191
255
  ### Useful Extras
192
256
 
@@ -198,7 +262,9 @@ npx -y derptun@dev version
198
262
  npx -y derpssh@dev version
199
263
  ```
200
264
 
201
- Default output stays quiet: tokens, bind addresses, receive commands, and progress only. Use `--hide-progress` to suppress progress, or `--verbose` to see transitions like `connected-relay` and `connected-direct`:
265
+ Default output stays quiet: tokens, bind addresses, receive commands, and
266
+ progress only. Use `--hide-progress` to suppress progress, or `--verbose` to see
267
+ path changes such as `connected-relay` and `connected-direct`:
202
268
 
203
269
  ```bash
204
270
  npx -y derphole@latest --verbose listen
@@ -206,93 +272,161 @@ npx -y derphole@latest --verbose pipe <token>
206
272
  npx -y derphole@latest --verbose send ./photo.jpg
207
273
  ```
208
274
 
209
- For transport details, see [Transport Model](#transport-model), [Behavior](#behavior), and [Security Model](#security-model).
275
+ For transport details, see [Transport Model](#transport-model),
276
+ [Behavior](#behavior), and [Security Model](#security-model).
210
277
 
211
278
  ## Transport Model
212
279
 
213
- Flow:
280
+ The session flow is deliberately boring. Boring is good here.
214
281
 
215
- 1. `listen`, `share`, or `receive` creates a session and prints an opaque bearer token or receive code.
216
- 2. The token carries session ID, expiry, DERP bootstrap hints, listener public identity, bearer secret, and allowed capability.
217
- 3. `pipe`, `send`, or `open` uses that token to contact the listener through DERP and claim the session.
218
- 4. The listener validates the claim, checks the requested capability, and returns current direct-path candidates.
282
+ 1. `listen`, `share`, or `receive` creates a session and prints an opaque bearer
283
+ token or receive code.
284
+ 2. The token carries session ID, expiry, DERP bootstrap hints, listener public
285
+ identity, bearer secret, and allowed capability.
286
+ 3. `pipe`, `send`, or `open` uses that token to contact the listener through
287
+ DERP and claim the session.
288
+ 4. The listener validates the claim, checks the requested capability, and returns
289
+ current direct-path candidates.
219
290
  5. Both sides start on the first working path, including DERP relay if needed.
220
- 6. Both sides keep probing for a better direct path. Successful direct paths upgrade the live session in place.
291
+ 6. Both sides keep probing for a better direct path. Successful direct paths
292
+ upgrade the live session in place.
221
293
 
222
294
  ### Data Plane Selection
223
295
 
224
- DERP provides **rendezvous** and **relay fallback**. See [What Is DERP?](#what-is-derp):
296
+ DERP provides **rendezvous** and **relay fallback**. See
297
+ [What Is DERP?](#what-is-derp):
225
298
 
226
- - rendezvous: exchange claim, decision, and direct-path coordination messages without an account-backed control plane
227
- - relay fallback: keep the session working when NAT traversal fails or direct connectivity is not ready
299
+ - rendezvous: exchange claim, decision, and direct-path coordination messages
300
+ without an account-backed control plane
301
+ - relay fallback: keep the session working when NAT traversal fails or direct
302
+ connectivity is not ready
228
303
 
229
304
  The data plane is selected per session:
230
305
 
231
- - `share/open` uses multiplexed QUIC streams over `derphole`'s relay/direct UDP transport. One claimed session can carry many TCP connections to the shared service.
232
- - `derptun` uses a stable tunnel token and the same transport for reconnectable TCP streams. It is built for longer-lived access, such as SSH to a host behind NAT.
233
- - `derpssh` uses the derptun app mux for approved terminal streams and side-channel control.
234
- - `listen/pipe` uses a one-shot byte stream. It coordinates through DERP, promotes to rate-adaptive direct UDP when traversal succeeds, and stays on encrypted relay fallback when direct paths fail.
235
- - `send/receive` wraps the same one-shot stream with text, file, directory, and progress metadata.
306
+ - `share/open` uses multiplexed QUIC streams over `derphole`'s relay/direct UDP
307
+ transport. One claimed session can carry many TCP connections to the shared
308
+ service.
309
+ - `derptun` uses a stable tunnel token and the same transport for reconnectable
310
+ TCP streams. It is built for longer-lived access, such as a private service
311
+ behind NAT.
312
+ - `derpssh` uses the `derptun` app mux for approved terminal streams and
313
+ side-channel control.
314
+ - `listen/pipe` uses a one-shot byte stream. It coordinates through DERP,
315
+ promotes to rate-adaptive direct UDP when traversal succeeds, and stays on
316
+ encrypted relay fallback when direct paths fail.
317
+ - `send/receive` wraps the same one-shot stream with text, file, directory, and
318
+ progress metadata.
236
319
 
237
320
  Candidate discovery splits into two phases:
238
321
 
239
- - fast local candidates first: advertise local sockets, interfaces, and cached port mappings immediately
240
- - background traversal discovery: run STUN and UPnP / NAT-PMP / PCP refresh, then send updated candidates and `call-me-maybe` probes
322
+ - fast local candidates first: advertise local sockets, interfaces, and cached
323
+ port mappings immediately
324
+ - background traversal discovery: run STUN and UPnP / NAT-PMP / PCP refresh,
325
+ then send updated candidates and `call-me-maybe` probes
241
326
 
242
327
  This keeps startup latency low while preserving relay-to-direct promotion.
243
328
 
244
329
  ## How This Differs From Tailscale / WireGuard
245
330
 
246
- Tailscale uses WireGuard for a secure general-purpose network: durable machine connectivity, private addresses, ACLs, subnet routing, exit nodes, and long-lived overlays.
331
+ Tailscale uses WireGuard for a secure general-purpose network: durable machine
332
+ connectivity, private addresses, ACLs, subnet routing, exit nodes, and
333
+ long-lived overlays.
334
+
335
+ That is the right tool when you want a network.
247
336
 
248
- `derphole` is narrower. It creates session-scoped transport for one transfer or one shared service:
337
+ `derphole` is narrower. It creates session-scoped transport for one transfer or
338
+ one shared service:
249
339
 
250
340
  - no WireGuard tunnel device
251
341
  - no overlay network interface
252
342
  - no persistent mesh control plane
253
343
  - no need to route arbitrary traffic through a general encrypted network
254
344
 
255
- Instead, `derphole` authorizes one session with a bearer token, uses DERP to connect peers immediately, then promotes onto the best direct path it can establish. See [Transport Model](#transport-model) and [Security Model](#security-model).
345
+ Instead, `derphole` authorizes one session with a bearer token, uses DERP to get
346
+ peers connected immediately, then promotes onto the best direct path it can
347
+ establish. See [Transport Model](#transport-model) and
348
+ [Security Model](#security-model).
256
349
 
257
- For `listen/pipe`, `send/receive`, and `share/open`, this can beat routing the same traffic through a WireGuard-based overlay because `derphole` optimizes one active session. See [Why It Is Fast](#why-it-is-fast).
350
+ For `listen/pipe`, `send/receive`, and `share/open`, this can beat routing the
351
+ same traffic through a WireGuard-based overlay because `derphole` optimizes one
352
+ active session instead of maintaining a whole private network. Not magic. Less
353
+ machinery.
258
354
 
259
355
  ## Why It Is Fast
260
356
 
261
- Performance comes from transport shape:
357
+ Performance comes from the transport shape:
262
358
 
263
359
  - DERP handles rendezvous and fallback, not preferred steady-state data.
264
- - Sessions can start relayed, then promote in place to direct without restarting.
265
- - `listen/pipe` and `send/receive` can scale across direct UDP lanes, run path-rate probes, then use paced sending, adaptive rate control, and targeted replay/repair. Fast links can run near WAN ceiling without forcing slower links into the same send rate.
266
- - Direct UDP payloads use AEAD with a per-session key derived from the bearer secret. Headers stay visible for sequencing and repair; user bytes stay encrypted and authenticated.
267
- - `share/open` keeps QUIC stream multiplexing for service sharing, where many independent TCP streams need one claimed session.
268
- - Candidate discovery starts with local interfaces and cached mappings, then refines in the background with STUN and port mapping refresh.
269
-
270
- Result: move bytes early, keep relay fallback, and shift live sessions to direct paths when ready.
360
+ - Sessions can start relayed, then promote in place to direct without
361
+ restarting.
362
+ - `listen/pipe` and `send/receive` can scale across direct UDP lanes, run
363
+ path-rate probes, then use paced sending, adaptive rate control, and targeted
364
+ replay/repair. Fast links can run near WAN ceiling without forcing slower
365
+ links into the same send rate.
366
+ - Direct UDP payloads use AEAD with a per-session key derived from the bearer
367
+ secret. Headers stay visible for sequencing and repair; user bytes stay
368
+ encrypted and authenticated.
369
+ - `share/open` keeps QUIC stream multiplexing for service sharing, where many
370
+ independent TCP streams need one claimed session.
371
+ - Candidate discovery starts with local interfaces and cached mappings, then
372
+ refines in the background with STUN and port mapping refresh.
373
+
374
+ The practical result: move bytes early, keep relay fallback, and shift live
375
+ sessions to direct paths when ready.
271
376
 
272
377
  ## Security Model
273
378
 
274
- Tokens are **bearer capabilities**. Anyone with a token can claim the matching session or tunnel until expiry, so share tokens over a trusted channel. `derphole` session tokens expire after one hour. `derptun` server tokens default to 180 days and can mint shorter-lived client tokens. Client tokens default to 90 days and cannot serve.
275
-
276
- Payload bytes are always end-to-end encrypted between token holders. Session and tunnel encryption is pinned to token-derived identity, so DERP relays do **not** get keys needed to read or impersonate sessions. DERP can see routing metadata and packet timing, but not plaintext user payload bytes:
277
-
278
- - On `listen/pipe` and `send/receive`, direct UDP and relay fallback both encrypt and authenticate user payloads with session AEAD derived from the bearer secret.
279
- - Relay-prefix startup frames leave frame kind and byte offsets visible for flow control, but encrypt user payload bytes.
280
- - On `share/open`, stream traffic uses authenticated QUIC streams for the claimed session.
281
- - On `derptun`, stream traffic uses authenticated QUIC streams pinned to the stable tunnel identity in the token.
282
- - On `derpssh`, terminal streams use authenticated QUIC streams pinned to the invite identity.
283
-
284
- Simple rule: token possession authorizes the session. Relays move packets; they do not hold decrypt keys for user payloads.
379
+ Tokens are **bearer capabilities**. Anyone with a token can claim the matching
380
+ session or tunnel until expiry, so share tokens over a trusted channel.
381
+
382
+ `derphole` session tokens expire after one hour. `derptun` server tokens default
383
+ to 180 days and can mint shorter-lived client tokens. Client tokens default to
384
+ 90 days and cannot serve.
385
+
386
+ Local service registry entries are bearer secrets because they contain derptun
387
+ client tokens or derpssh invites. Protect the registry file like token files.
388
+ List output redacts token and invite values, and no lookup server is contacted
389
+ by default.
390
+
391
+ Payload bytes are always end-to-end encrypted between token holders. Session and
392
+ tunnel encryption is pinned to token-derived identity, so DERP relays do **not**
393
+ get keys needed to read or impersonate sessions. DERP can see routing metadata
394
+ and packet timing, but not plaintext user payload bytes:
395
+
396
+ - On `listen/pipe` and `send/receive`, direct UDP and relay fallback both encrypt
397
+ and authenticate user payloads with session AEAD derived from the bearer
398
+ secret.
399
+ - Relay-prefix startup frames leave frame kind and byte offsets visible for flow
400
+ control, but encrypt user payload bytes.
401
+ - On `share/open`, stream traffic uses authenticated QUIC streams for the
402
+ claimed session.
403
+ - On `derptun`, stream traffic uses authenticated QUIC streams pinned to the
404
+ stable tunnel identity in the token.
405
+ - On `derpssh`, terminal streams use authenticated QUIC streams pinned to the
406
+ invite identity.
407
+
408
+ Simple rule: token possession authorizes the session. Relays move packets; they
409
+ do not hold decrypt keys for user payloads.
285
410
 
286
411
  ## Behavior
287
412
 
288
- Sessions can start on DERP relay and later promote to direct paths without restarting. By default, CLI output stays minimal. Use `--verbose` for path changes, NAT traversal state, and direct-path tuning.
413
+ Sessions can start on DERP relay and later promote to direct paths without
414
+ restarting. By default, CLI output stays minimal. Use `--verbose` for path
415
+ changes, NAT traversal state, and direct-path tuning.
289
416
 
290
417
  ## Use Cases
291
418
 
419
+ Use this when you need:
420
+
292
421
  - cross-host transfer with no account setup
293
- - NAT-heavy networks where direct connectivity may or may not work
422
+ - useful behavior on NAT-heavy networks where direct connectivity may or may not
423
+ work
294
424
  - quick sharing of local web apps, APIs, and admin interfaces
295
- - `npx` use without manual install
425
+ - `npx` execution without manual install
426
+
427
+ Do not use this as a replacement for a real private network when you actually
428
+ need one. That is how small tools become infrastructure nobody remembers
429
+ owning. Oops.
296
430
 
297
431
  ## Development
298
432
 
@@ -331,13 +465,22 @@ REMOTE_HOST=my-server.example.com mise run promotion-1g
331
465
 
332
466
  ## What Is DERP?
333
467
 
334
- DERP stands for **Designated Encrypted Relay for Packets**. It is a globally reachable relay network that both peers can use when they cannot yet talk directly.
468
+ DERP stands for **Designated Encrypted Relay for Packets**. It is a globally
469
+ reachable relay network that both peers can use when they cannot yet talk
470
+ directly.
335
471
 
336
- DERP was built by Tailscale for the Tailscale networking stack. The public Tailscale-operated DERP network is reachable without running your own relays. Headscale, the open-source Tailscale control server, can also serve DERP maps and DERP servers.
472
+ DERP was built by Tailscale for the Tailscale networking stack. The public
473
+ Tailscale-operated DERP network is reachable without running your own relays.
474
+ Headscale, the open-source Tailscale control server, can also serve DERP maps
475
+ and DERP servers.
337
476
 
338
477
  In `derphole`, DERP has two jobs:
339
478
 
340
- - rendezvous: carry claim, decision, and direct-path coordination messages without a separate account-backed control plane
341
- - fallback relay: carry encrypted session traffic when NAT traversal has not succeeded or direct connectivity is unavailable
479
+ - rendezvous: carry claim, decision, and direct-path coordination messages
480
+ without a separate account-backed control plane
481
+ - fallback relay: carry encrypted session traffic when NAT traversal has not
482
+ succeeded or direct connectivity is unavailable
342
483
 
343
- DERP is not the preferred steady-state path. It starts the session and keeps it working. If direct UDP becomes available, `derphole` promotes the live session. DERP forwards bytes; it does not get session decrypt keys.
484
+ DERP is not the preferred steady-state path. It starts the session and keeps it
485
+ working. If direct UDP becomes available, `derphole` promotes the live session.
486
+ DERP forwards bytes; it does not get session decrypt keys.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "derpssh",
3
- "version": "0.16.2",
3
+ "version": "0.17.0",
4
4
  "license": "BSD-3-Clause",
5
5
  "bin": {
6
6
  "derpssh": "bin/derpssh.js"