nfltr-send in depth: files between two machines, verified chunk by chunk
This is the full technical write-up. nfltr-send: sending large files between two computers over the internet tells the same story for readers who are not engineers: what it does, the measured transfers on a map, how to try it and its limits.
nfltr-send is a small open-source command that sends files and directories from one machine to another. The sender prints an address; whoever holds the address receives. It is github.com/nfltr/send, Apache-2.0, with signed binaries for Linux, macOS and Windows on amd64 and arm64 (Install).
Latest release: v0.1.13, 2026-11-22.
Updated 2026-11-22 for v0.1.13: every measurement below names the release it was taken on.
sender$ nfltr-send send big.bin > address
serving 1 file, 1073741824 bytes; give the receiver this address (a secret: whoever holds it can receive):
receiver$ nfltr-send receive --to ~/Downloads < address
Between two cloud machines in one zone, v0.1.13 moves a 10 GiB file directly at 6.0 Gbit/s (How fast), and from Helsinki to Singapore, 260 ms apart, 100 GiB at 1.36 Gbit/s (Across regions).
This post is about what it promises and how those promises are checked.
How it connects
| when | what happens |
|---|---|
| a direct path forms | the two machines talk directly; no account is needed |
| no direct path, and the serving machine has an nfltr machine certificate | the relay carries the session, still end to end encrypted |
| no direct path and no certificate | both ends stop with exit 12 |
Receiving never needs an account. Sending needs none while a direct path forms; for the relay to carry a transfer, the sending machine needs an nfltr machine certificate, which nfltr config login saves once (nfltr's installer is in the getting started guide). A running sender renews that certificate itself.
Direct first, relay when needed
The session is TLS 1.3 between the two machines. The address pins the sender's key. Both ends try a direct QUIC path, hole punched with the relay's help, and move the session to it when it works. A direct path starts on the machines' own addresses straight away and adds the address the relay observes when that arrives, so two machines on one network go direct in milliseconds. On a direct path each byte is sealed once, by the QUIC connection's own TLS 1.3, which checks the key the address pins; a relayed path keeps the session's end-to-end TLS.
The relay carries the signalling (the TLS handshake and the path candidates) and, when it relays, the session's encrypted bytes. It sees network metadata: the two ends' addresses, when sessions open and close, and how many bytes pass. It does not see the address's secret, the file names or their contents, and relaying does not end the end-to-end TLS: the relay forwards bytes it cannot read. The address is a capability: whoever holds it can receive the files, so share it as you would a password.
Every chunk verified
A file is its BLAKE3 root, taken when the sender starts serving and pinned in the offer. The sender serves each file as a verified stream (Bao: the hash tree goes ahead of the data), and the receiver checks each 256 KiB chunk against the root as it arrives. It writes only a chunk that verifies. A file changed under the sender ends the session at once, keeping the chunks already verified.
Nothing appears half written
Files land in a hidden staging directory beside the destination. Only when every chunk on the receiver's disk verifies against its root, and the files are on stable storage, does the commit rename them into place. On Linux that is one syncfs; on macOS one fsync per file and then a single flush of the drive's cache. The renames never replace a name that appeared meanwhile: they refuse an existing name atomically. One top-level entry, a file or a whole directory, appears at once. An offer of several top-level names can show some before the others, and a receiver that died part way finishes the commit on its next receive.
A cut transfer resumes
What arrived stays in the staging directory, with each file's hash tree. The next receive of the same offer verifies each kept part chunk by chunk and asks only for the chunks that are missing or do not verify, wherever they are in the file. A transfer cut halfway through a large file, with a corrupted kept part, sends back the missing half and the bad chunk, not the whole file.
The rules are checked models
The resume and commit rules are TLA+ models in the repository's spec/ directory, checked with TLC across sessions cut at any point, receiver crashes that lose or tear what was written, chunks on disk that are not what was written, and a sender's file rewritten. They check that only the offered file is ever committed, and whole; that the receiver writes only a chunk that verifies; that a resumed session asks for no chunk it already holds; that with finitely many faults the transfer commits; and that a commit never replaces a name it did not create, even with two receivers of one offer racing. Each failure the design prevents has a planted mutant that the checker must catch. The command can record traces of its own runs, and the checker accepts each recorded trace as a behaviour of the model. That shows the recorded runs follow the design's rules; it does not prove that every possible run of the code does.
How a transfer ends, and what 1.x keeps
How a transfer ends is the part a script depends on most: a sender that never learns its transfer finished is a script that never returns. How it works:
- The end of a transfer is a checked model. A third TLA+ model,
End.tla, holds the rules for ending a transfer, with a mutant for each defect it prevents. The relay client writes every frame of a relayed session before it closes it, and a relayed close waits for the other end's acknowledgement, as a direct close does. A receive that committed every file is done whether or not its answer reached the sender: it exits 0. - The sender learns the end. The sender ends a session cleanly once it has read the receiver's answer; a receiver whose session was cut before that end dials again, within its
--tries, and tells the sender again. A relayed close proves only that the relay has the bytes, so the receiver does not take it as proof that the sender has the answer; the model has a mutant that does. - A stopped or killed receive is seen quickly. A receive stopped with Ctrl-C resets its session, so the sender sees it end within about a second; a
--oncesender whose direct-path receiver was killed exits about 5 s after a later receive completes. The close of a slow, lossy direct transfer waits as long as the peer keeps answering and gives up 5 s after the peer goes silent. - The relay you chose.
--relay, else$NFLTR_SEND_RELAY, else the onenfltr config set-relaysaved; the sender names that relay when it cannot connect. Relayed sessions ride the sending machine's one connection to the relay (or the relay's gRPC streams). - The certificate renews itself. A running sender renews its machine certificate at half its lifetime, up to 10 % later, and while the relay cannot be reached it keeps retrying, past the expiry too: a relay renews an expired certificate within a grace of 90 days, so a sender cut off for a weekend needs no new
nfltr config loginonce its relay answers. A machine that was off past its certificate's life renews it before connecting, and a renewal through a pinned private relay trusts that pin. Only a final refusal (the machine revoked, or expired past the grace) stops it, and the sender logs that. - Long, lossy paths and hole punching. The direct path's QUIC uses BBR, so a path that reorders packets, which QUIC reads as loss, keeps its rate. The dialling end sends its first packet half a relay round trip after the sync, once the other end has opened its NAT, and tries up to three times before staying relayed.
- Several connections per transfer. The receiver stripes one transfer over
--connectionssessions (default 4), each on a QUIC connection of its own, so each gets a core at both ends; each session fetches its own set of 64 MiB runs, and a cut one's unwritten rest goes back to the others. A file verified chunk by chunk and written whole is not read back before the commit. The path switch's buffers are rings, and on Linux the direct path's QUIC reads and writes datagrams in batches. - Each byte sealed once on a direct path. On a direct path the QUIC connection's TLS 1.3, which checks the other end's key pinned in the address and is bound to the session, is the one encryption of each byte; a relayed path keeps the session's end-to-end TLS, so the relay forwards bytes it cannot read. Both ends need v0.1.13 for a direct path: with an earlier release at one end, a sender with an account carries the transfer relayed, and a receive from a sender with none ends with nothing written.
- Few acknowledgements. The direct path asks for an acknowledgement about every 10 packets (QUIC's ACK Frequency). Once the sending end sees the path reorder packets by more than that, it also asks the receiving end not to acknowledge reordered packets at once, so deep reordering does not force an acknowledgement per late packet. From Helsinki to Singapore (260 ms) that is about 0.09 acknowledgements per data packet (Across regions).
- The 1.x contract. Exit codes are the relay SDK's table, the same as nfltr-pipe's: 3 the sender is gone, 4 a refusal, 5 not reached, 6 the session cut, 7 and 10 a failed end to end check, 12 no direct path to a sender with no account. A stopped sender exits 129, 130 or 143 (SIGHUP, SIGINT, SIGTERM), so a script tells it from a
--oncesender that finished.receivetakes no relay flag (the address names its relay),--cert-sha256accepts a private relay's certificate,receive --jsonreportsmessageandfirst_byte_seconds, flags may follow the files (nfltr-send send report.pdf --once), the module has no Go API (its packages are underinternal/), and the two ends negotiate a protocol version. The repository'sdocs/v1-contract.mdlists all of it, a test fails when the code and that document differ, andmake cross-versionruns the previous release against the current one both ways, relayed and direct. The review of the 1.x surface lists what it keeps as it is, and why: the address only from a file or standard input, never the command line, and a stopped sender's 130 or 143. - Built on link v0.13.3, the stream multiplexer's API that link 1.0 keeps, and relay client v0.25.0.
Evidence: the reliability matrix, its latest run
- Setup
- the send repository's reliability matrix on one shared Linux machine (16 CPUs, Linux 6.12, the kernel's default
net.core.rmem_max): a private relay (nfltr-relay v2.1.73), a sender and a receiver in their own network namespaces, netem setting the rate, round trip and loss on the direct and the relayed path alike. 55 cells of 5 runs: 10, 100 and 1000 Mbit/s at 1, 40 and 150 ms, with and without 1 % loss, direct and relayed; the receiver or the sender killed at 25, 50 or 75 % and the transfer resumed; 10,000 files of 4 KiB; one 4 GiB file; no account; a full disk. Each transfer is judged by both exit codes and by the received tree against the sent one (every name, type and SHA-256); one wrong, missing or extra byte, or a--oncesender that does not exit, fails the whole run. - Numbers
- nfltr-send v0.1.13, 2026-11-22: the run passed, 275 of 275, 0 corrupted, no sender left serving, in 59 minutes.
- Reproduce
- on a Linux machine with docker,
make reliabilityin a checkout of the send repository builds nfltr-send from it (SEND_VERSION=<release>takes a released binary instead); the repository'sdocs/reliability.mdhas every table and each run's versions. - Limits
- one machine and netem between namespaces, not a real network; 5 runs per cell; the latest run is on v0.1.13, and it kept its verdict, not its per-cell medians.
A relayed session runs over link, the stream multiplexer, on the sending machine's connection to the relay; those layers were also run through network faults:
Evidence: the transport under network faults, link v0.13.2
- Setup
- nfltr's network-fault harness on the same shared machine, 2026-11-21: a relay built on link v0.13.2 (quiclink v0.7.1), an agent and a client in docker containers, four kinds of traffic through the relay and directly (request and echo, a long stream, an HTTP share, a direct path), every byte checked against its pattern or its echo. 15 scenarios: partitions of 5, 30 and 120 s on either side, a one-way partition, 200 ms of latency, 1, 5 and 20 % loss, the relay restarted, the relay killed, a reconnect storm and a NAT rebinding; the agent's link to the relay over TCP, then over QUIC.
- Numbers
- 0 data errors (a wrong, duplicated, reordered or missing byte): over TCP 15 of 15 scenarios, over QUIC 15 of 15, and the NAT rebinding over QUIC 1 of 1. A 5 s partition fails no session over either: over QUIC the library counts a send the firewall refuses as a lost packet and resumes.
- Reproduce
- the harness is in the nfltr repository, which is closed source:
make test-network-faults(over TCP),make test-network-faults-quic-full(over QUIC) andmake test-network-faults-quic(the NAT rebinding over QUIC). - Limits
- the harness drives nfltr's own commands over the relay client and link that nfltr-send is built on, not nfltr-send itself; one machine and docker networks; one full run per transport.
Toward 1.0
nfltr-send 1.0, with nfltr-pipe 1.0 and link 1.0, is tagged only when the link's gate holds: the network-fault runs and both matrices green on the 1.0 candidate (each matrix on two releases in a row), and seven days of link's main branch with no failing test, which on 2026-11-20 put it no earlier than 2026-11-27. Until then releases keep the contract in docs/v1-contract.md.
How fast
Between two cloud machines with 8 vCPUs each in one zone (0.25 ms apart, 15.5 Gbit/s on one TCP stream, 7 Gbit/s of UDP on one stream), v0.1.13 on 2026-11-22, the released binaries at both ends:
| transfer | connections | path | Gbit/s | CPU s per GiB, sender / receiver |
|---|---|---|---|---|
| 10 GiB, median of 3 | 4 | direct | 6.00 | 6.7 / 7.5 |
| 10 GiB, median of 3 | 8 | direct | 6.20 | 7.0 / 7.5 |
| 100 GiB, 1 run (about 2 min 5 s) | 8 | direct | 6.87 | 7.6 / 7.6 |
| 10 GiB, median of 3 | 4 | relayed | 4.66 | 4.2 / 4.8 |
The receiving machine's CPU is the limit, not the network: 6.8 of its 8 vCPUs busy during the 100 GiB transfer. Before it prints the address, the sender takes each file's BLAKE3 root and hash tree on every core (about 3.8 s for 10 GiB on these machines), and the receiver flushes once before the commit instead of once per file, so many small files do not cost a drive flush each. On a long round trip, Linux's default net.core.rmem_max caps the QUIC receive window; the README's operating notes give the setting.
The relay, carrying the relayed row, spent about 2.3 CPU seconds per GiB. It adds little to a round trip: a 1-byte request and its 1-byte answer, each over its own address session, took 0.09 ms longer at the median relayed than direct with the machines idle (0.54 against 0.46 ms), and under 0.1 ms longer while a relayed 10 GiB transfer ran. Under that load the slowest 1 % took about 13 ms on both paths alike, the busy machines' queueing rather than the relay's.
Evidence: one cloud zone, v0.1.13
- Setup
- three n2-standard-8 machines (8 vCPUs, Intel Cascade Lake) in one Google Cloud zone, the sender and receiver with four local NVMe SSDs in RAID 0, the third a private relay (nfltr-relay v2.1.79). The pair checked before any run: 7.0 Gbit/s of UDP on one stream. Released binaries, their signatures and sums checked on each machine: nfltr-send v0.1.13, nfltr and nfltr-relay v2.1.79.
- Numbers
- 10 GiB direct at 4 connections 5.81, 6.00 and 6.10 Gbit/s; at 8, 6.20, 6.21 and 6.18; 100 GiB direct at 8, 6.87; 10 GiB relayed at 4, 4.66, 4.65 and 4.68. Direct confirmed per connection at the receiver (one UDP flow per connection), relayed runs with none; no UDP socket drop in any run. BLAKE3 equal in all 17 transfers, also by
b3sumon both machines. Latency: 1-byte request and answer every 5 ms throughnfltr cat pipe --address-fileto a TCP echo served withnfltr cat serve --address; idle, 1 client, 6,000 samples a path: relayed p50 0.541 ms, p99 0.695, direct 0.455 and 0.583; idle, 16 clients at once: relayed 0.453 and 0.870, direct 0.414 and 0.625; during a relayed 10 GiB transfer, 16 clients: relayed 0.630 and 13.51, direct 0.581 and 12.71. - Reproduce
- on two machines,
nfltr-send send <file> > addressandnfltr-send receive --connections <n> --to <dir> < address,--direct offat both ends for the relayed row; the repository'sdocs/scale.mdhas every table. - Limits
- one pair of machines in one zone on one morning, internal addresses only; 3 runs per 10 GiB case and one of 100 GiB. The 10 GiB times leave out the sender's start (its hash tree) and include about 2 s of fixed start and commit, so the 100 GiB row is the steady rate.
ssh and rsync over an nf1 address
The same kind of address serves any TCP service through nfltr itself. On the machine to reach:
server$ nfltr cat serve ssh --forward 127.0.0.1:22 --address
It prints the address once and keeps it in a file only you can read beside the nfltr config, so a restart serves the same address. To put it in a file:
server$ umask 077; nfltr cat serve ssh --address --show-address > box.addr
Carry that file to the client over a channel you trust and keep it at mode 0600: nfltr cat pipe refuses an address file that others can read, and an address on the command line. Then name it in ~/.ssh/config:
Host box
ProxyCommand nfltr cat pipe --address-file ~/.ssh/box.addr
ssh and rsync then work as with any host, there and back:
client$ rsync -a --delete tree/ box:tree/
client$ rsync -a --delete box:tree/ tree/
The session is end to end encrypted to the server's key, as with nfltr-send. It connects as in How it connects; where both ends stop, nfltr cat pipe exits 12 and ssh reports the connection closed. Without nfltr on the machines, nfltr-pipe carries one ssh session the same way, over an address of its own.
Across two NATs
On 2026-11-18 the released binaries (nfltr-send v0.1.1, nfltr v2.1.70) ran between two machines behind different NATs: a Mac behind a home router whose NAT maps a new port for each destination, and a Linux container behind Docker's NAT on a cloud machine. Every received file's SHA-256 matched the sent one.
- No account, IPv4. No direct path formed between those two NATs, so both ends stopped with exit 12 (3 runs each way, the receiver after about 56 s), and ssh over the address failed the same way. That is by design: with no account the relay carries no byte of the session.
- No account, IPv6, the same machines, the container on the host's network: everything went direct. nfltr-send moved a 64 MiB file and a directory both ways; ssh worked, and rsync of 298 files (30 MiB) there and back, 3 runs, left 0 differences.
- A machine certificate on both ends (
nfltr config login): the relay carried nfltr-send, an 8 MiB file and a directory (5 files, 8,394,632 bytes) both ways, 2 runs each, received in 6.7 to 13.1 s; and ssh with rsync of 98 files (5.8 MiB), 2 runs each way, 0 differences.
The two-NAT check's three cases: the same two machines, direct over IPv6, stopped over IPv4 with no account, relayed over IPv4 with machine certificates; in each the relay carries the signalling.
Evidence: two machines behind different NATs
- Setup
- released binaries checked against their signed sums, nfltr-send v0.1.1 and nfltr v2.1.70. One end a Mac behind a home router whose NAT maps a new port for each destination, with global IPv6; the other a Debian 13 container behind Docker's NAT on a cloud machine, behind its provider's firewall with no inbound rule, and for the IPv6 case the same image on the host's network. The public relay for signalling and, with certificates, relaying.
- Numbers
- no account over IPv4: exit 12 in 6 of 6 nfltr-send runs and for ssh, the receiver after 55.5 to 56.4 s. No account over IPv6: direct in every session; a 64 MiB file and a directory both ways; rsync of 298 files (30 MiB) 3 runs each way, 0 differences. Machine certificates on both ends: relayed; nfltr-send 2 runs each way, received in 6.7 to 13.1 s; rsync of 98 files (5.8 MiB) 2 runs each way, 7.0 to 8.7 s to the container and 25.5 and 113.7 s back, 0 differences. Every SHA-256 of a received file matched the sent one.
- Reproduce
- on each end
nfltr-send send <files> > addressandnfltr-send receive --to <dir> < address, thensha256sumboth trees; for ssh the commands in the section above, thenrsync -a --delete --itemize-changesonce more to count differences;nfltr config loginon both ends for the relayed case. - Limits
- one pair of networks on one day, 2 or 3 runs per case: a check, not a benchmark. Relayed times went through a shared public relay and varied widely. A router that keeps one port for every destination may form a direct path where this one did not.
Across regions
On 2026-11-22 v0.1.13 ran from Helsinki, Finland, to Singapore, 260 ms apart: a rented machine with 4 dedicated vCPUs to a Google Cloud c3-standard-4-lssd (4 vCPUs, local NVMe SSD), across two providers' networks, with a private relay on the sender. Every transfer went direct and stayed direct.
The map and its table come from one data file, so they show the same numbers (and the same map is in the shorter post); the line's label is the transfer in plain words, its size in decimal GB and its time:
| path | in plain words | round trip | sent | route | Mbit/s |
|---|---|---|---|---|---|
| Helsinki to Singapore | 107 GB in 10.5 min | 260 ms | 100 GiB | direct | 1357 |
| transfer | connections | Gbit/s | ACKs per data packet | CPU s per GiB, sender / receiver |
|---|---|---|---|---|
| 100 GiB, 1 run (about 10.5 min) | 4 | 1.357 | 0.100 | 7.6 / 8.8 |
| 10 GiB, 2 runs | 4 | 1.214, 1.204 | 0.087, 0.097 | 6.5 / 8.0, 6.7 / 8.2 |
| 10 GiB, 2 runs | 1 | 0.362, 0.342 | 0.089, 0.086 | 6.7 / 8.7, 7.0 / 9.3 |
- One connection carries about 0.35 Gbit/s on this path, the rate one BBR connection holds at 260 ms; the default 4 connections carry 1.2 to 1.36 Gbit/s.
- About 0.09 acknowledgements per data packet, the count threshold's rate: one acknowledgement about every 10 packets. The path reorders packets deeply, and a receiver's trace of the v0.1.13 runs shows reordering forced 0.04 % of its acknowledgements: every data connection applied the sender's request not to acknowledge reordered packets at once within its first 1,670 to 4,749 packets.
- Wire loss was at most 0.016 %, and no UDP receive buffer overflowed at either end.
Where it falls short.
- One connection on a long path is held to what one BBR connection gets there; striping is what fills more of the path.
- Where the relay is matters when it relays: a relay far from both machines adds its distance to every round trip of a relayed transfer.
- On a long round trip, Linux's default
net.core.rmem_maxholds the receiver back; the README's setting lifts it.
Evidence: Helsinki to Singapore, v0.1.13
- Setup
- released binaries at both ends, their signatures and sums checked: nfltr-send v0.1.13, and a private relay (nfltr-relay v2.1.79) on the sender, never a public one. Helsinki: a rented machine with 4 dedicated vCPUs; Singapore: a Google Cloud c3-standard-4-lssd (4 vCPUs, local NVMe SSD). RTT 260 ms. Each 10 GiB case run twice, interleaved with the other cases; one 100 GiB run.
- Numbers
- as in the table. Acknowledgements counted on the wire: 7,686,384 out of Singapore for 77,247,262 data packets into it in the 100 GiB run. A receiver built with an acknowledgement trace (on the same release, for causes only: the trace changes the rate) showed 117 of 260,178 acknowledgements forced by reordering at 4 connections and 15 of 282,055 at 1. BLAKE3 of the received file equal to the sent one's in every run; UDP receive-buffer and input errors 0 everywhere.
- Reproduce
nfltr-send send <file> > addressandnfltr-send receive --connections <n> --to <dir> < addresson two such machines; the repository'sdocs/scale.mdhas every table.- Limits
- one pair of machines on one day; 2 runs per 10 GiB case and one of 100 GiB; IPv4 only; not the last mile of the public internet.
Install
Release binaries for Linux, macOS and Windows on amd64 and arm64 are on the releases. Each release carries SHA256SUMS, the SHA-256 of every binary, and SHA256SUMS.sshsig, its signature by nfltr-send's own release key in the repository's release/allowed_signers, Ed25519 SHA256:TqSS4Ad7mrwaNN6vZmr2liyFAK8Gk5AGDg0KH0evc9I. Checking both needs ssh-keygen from OpenSSH 8.1 or later (ssh -V prints the version); its Good "nfltr-release" signature line names the key's fingerprint, which is the one above. The commands take the latest release; download/<version> in place of latest/download takes another.
Linux (on arm64, nfltr-send_linux_arm64):
$ f=nfltr-send_linux_amd64; u=https://github.com/nfltr/send/releases/latest/download
$ for x in $f SHA256SUMS SHA256SUMS.sshsig; do curl -fsSLO $u/$x; done
$ curl -fsSLO https://raw.githubusercontent.com/nfltr/send/main/release/allowed_signers
$ ssh-keygen -Y verify -f allowed_signers -I nfltr-release -n nfltr-release -s SHA256SUMS.sshsig < SHA256SUMS
$ grep " $f\$" SHA256SUMS | sha256sum -c && mkdir -p ~/.local/bin && install -m 755 $f ~/.local/bin/nfltr-send
macOS (on Intel, nfltr-send_darwin_amd64), which checks the sum with shasum:
$ f=nfltr-send_darwin_arm64; u=https://github.com/nfltr/send/releases/latest/download
$ for x in $f SHA256SUMS SHA256SUMS.sshsig; do curl -fsSLO $u/$x; done
$ curl -fsSLO https://raw.githubusercontent.com/nfltr/send/main/release/allowed_signers
$ ssh-keygen -Y verify -f allowed_signers -I nfltr-release -n nfltr-release -s SHA256SUMS.sshsig < SHA256SUMS
$ grep " $f\$" SHA256SUMS | shasum -a 256 -c && mkdir -p ~/.local/bin && install -m 755 $f ~/.local/bin/nfltr-send
~/.local/bin is where nfltr's installer puts nfltr; add it to PATH if it is not there yet.
Windows, in PowerShell (on arm64, nfltr-send_windows_arm64.exe):
PS> $ProgressPreference = "SilentlyContinue"; $f = "nfltr-send_windows_amd64.exe"; $u = "https://github.com/nfltr/send/releases/latest/download"
PS> foreach ($x in $f, "SHA256SUMS", "SHA256SUMS.sshsig") { Invoke-WebRequest "$u/$x" -OutFile $x }
PS> Invoke-WebRequest "https://raw.githubusercontent.com/nfltr/send/main/release/allowed_signers" -OutFile allowed_signers
PS> cmd /c "ssh-keygen -Y verify -f allowed_signers -I nfltr-release -n nfltr-release -s SHA256SUMS.sshsig < SHA256SUMS"; if ($LASTEXITCODE) { throw "SHA256SUMS is not signed by the release key" }
PS> $sum = (Select-String -Path SHA256SUMS -SimpleMatch " $f").Line.Split(" ")[0]
PS> if ((Get-FileHash $f -Algorithm SHA256).Hash -ne $sum) { throw "$f does not match SHA256SUMS" }
PS> New-Item -ItemType Directory -Force "$HOME\bin" | Out-Null; Move-Item -Force $f "$HOME\bin\nfltr-send.exe"
cmd /c hands SHA256SUMS to ssh-keygen byte for byte, which a PowerShell pipe does not; add $HOME\bin to PATH if it is not there yet.
With Go, built from source instead of the signed binary:
$ go install github.com/nfltr/send/cmd/nfltr-send@latest
No account is needed to receive, or to send over a direct path. For the relay to carry a transfer whose direct path does not form, the sending machine needs nfltr and its machine certificate: nfltr config login once, which saves it beside nfltr's config, where nfltr-send finds it.
Is it for you?
Fits if you move files between your own machines or to someone you trust with an address, want each byte verified against what was offered, and want a cut transfer to pick up where it stopped; or want ssh and rsync to a machine that has no open port.
Not ready for two machines both behind NATs that block hole punching, as the pair above was over IPv4, with no nfltr account: both ends stop with exit 12, since relaying needs the serving machine's account. Nor for sending symlinks or devices, or many receivers of one large file at once (each receiver is its own session). Nor, yet, for scripts that need a frozen interface: 1.0 waits on the link's gate.
Try next: install a release binary and check it as Install shows, then send a directory to another machine. If you have two machines that cannot reach each other, try it with an nfltr machine certificate (nfltr config login): no port forwarding and no inbound service are needed, and if it fails, please open an issue. Issues and pull requests are welcome.