https://git.nostrdev.com/stuff/cloudron-strfry/raw/branch/main/CloudronVersions.json
Description
strfry - a nostr relay
strfry is a relay for the nostr protocol
- Supports most applicable NIPs: 1, 2, 4, 9, 11, 12, 15, 16, 20, 22, 28, 33, 40
- No external database required: All data is stored locally on the filesystem in LMDB
- Hot reloading of config file: No server restart needed for many config param changes
- Zero downtime restarts, for upgrading binary without impacting users
- Websocket compression: permessage-deflate with optional sliding window, when supported by clients
- Built-in support for real-time streaming (up/down/both) events from remote relays, and bulk import/export of events from/to jsonl files
- negentropy-based set reconcilliation for efficient syncing with remote relays
Recent Changes
Hardening release. No upstream version change: strfry 1.1.3 is still the newest release tag (verified 2026-10-31), so the pinned strfry/chief SHAs are unchanged
Rebuild on current Ubuntu security updates: the 1.1.9 image dates from 2026-09-22, so
apt upgradein the runtime stage now picks up five more weeks of fixesNIP-42 is now actually usable. The package shipped
auth.enabled = truewith an emptyserviceUrl, and strfry 1.1.3 rejects protected events in that state ("Protected event and no serviceUrl configured, rejecting") and fails AUTH with "relay needs serviceUrl to be configured before AUTH can work". start.sh now fills inwss://<app domain>from CLOUDRON_APP_ORIGIN whenever the value is still empty; an operator-set serviceUrl is never touched, and the rewrite is a no-op after the first bootrealIpHeader = "x-forwarded-for": behind the box's reverse proxy every client previously logged (and was rate-limited) as the proxy address. Documented caveat: strfry parses one IP, and the proxy appends the peer address, so a client that sends its own X-Forwarded-For yields a parse failure and a fallback to the socket IPmaxFilterLimitCount1000000 -> 10000: one COUNT request could scan a million records, which is cheap for a client and expensive for the relay. 0 still disables COUNTlogging.invalidEventsdeliberately left attrue. It only gates the one-line rejection reason from RelayIngester (Rejected invalid event: <reason>, no content), which is the diagnostic needed when a client or a chief policy rejects events; turning it off would have removed that and silenced nothing elseInvestigated and documented, not fixable by config on 1.1.3: every event rejected in WriterPipeline is logged with the first 200 bytes of its JSON (
WriterPipeline.h:78,verboseReject()defaults to true and the relay never overrides it), so a client that streams rejected events writes ~200 bytes of log per attempt with no rate limit. Unreleased upstream master replaces that line with id plus reason.invalidEventsdoes not control it. Keep app logs bounded and/or enable chief rate limitingThe config defaults above only reach new installs - start.sh never overwrites an existing /app/data/strfry.conf. Existing relays keep their file; edit it in the File Manager to adopt them
Dockerfile: pin the chief build toolchain to rustc 1.98.1 (the version recorded as building chief v0.1.0) instead of whatever "current stable" is on build day, so a new Rust release can no longer break the image with no change in this repo
Known gap: unreleased upstream master carries
maxPendingOutboundBytes(memory cap against slow readers),auth.restrictedReadKinds(NIP-42-gated reads of kinds 4/1059) andmaxTagsPerFilter; none of them exist in 1.1.3, so on this version DM reads are not auth-gated. They land with the next upstream release tag
