Skip to content

Limit the plain ws:// rule to mDNS-advertised addresses - #304

Merged
kahrendt merged 1 commit into
mainfrom
docs/scope-ws-rule
Oct 8, 2026
Merged

kahrendt merged 1 commit into
mainfrom
docs/scope-ws-rule

Conversation

@maximmaxim345

Copy link
Copy Markdown
Member

The plain ws:// rule covered every connection, including client initiated connections to a manually entered URL. Those aren't advertised and are optional to implement, so I don't think the spec should dictate their scheme. It also breaks web clients behind a TLS reverse proxy (like sendspin-js), since browsers block ws:// from https pages.

The rule now only applies to addresses advertised via mDNS, since those records carry no scheme. Noise still protects every connection either way.

@kahrendt kahrendt left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@kahrendt
kahrendt merged commit d9e68a6 into main Oct 8, 2026
1 check passed
@kahrendt
kahrendt deleted the docs/scope-ws-rule branch October 8, 2026 12:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants