Skip to content

v0.1.2.1 — coturn config fix

Choose a tag to compare

@vnykmshr vnykmshr released this 26 Apr 09:16
7bed641

Note for go install users: this tag is 4-segment (v0.1.2.1), which Go module proxy treats as invalid semver and silently substitutes a pseudo-version. The Go binary is byte-identical to v0.1.2 — no Go source changed in v0.1.2.1, the deltas are conf + docs that ship via Homebrew or repo clone, not via go install. Use go install github.com/1mb-dev/natcheck/cmd/natcheck@v0.1.2 (same binary) or brew install 1mb-dev/tap/natcheck (binary + corrected assets). v0.1.3 will use 3-segment semver.

Patch release. Fixes the bundled coturn config so that v0.1.2's filtering classification actually runs against a default-recipe coturn.

Fixed

  • examples/coturn-natcheck.conf now sets rfc5780 (coturn 4.x defaults RFC 5780 NAT behavior discovery to OFF; without this directive, coturn silently omits OTHER-ADDRESS from Binding responses and natcheck reports filtering: untested with WarnFilteringSkippedNoChangeRequest).
  • examples/coturn-natcheck.conf switches external-ip=YOUR_PUBLIC_IPexternal-ip=YOUR_PUBLIC_IP/YOUR_PRIVATE_IP. A bare single-value external-ip triggers STUN CHANGE_REQUEST not supported: only one IP address is provided even on a single-NIC VM.
  • docs/coturn-setup.md documents both requirements and adds a verification step (step 4) to grep coturn's stdout for the two specific warning lines.

Not changed

No code, no JSON schema, no exit-code mapping. go install github.com/1mb-dev/natcheck/cmd/natcheck@v0.1.2 and @v0.1.2.1 produce the same binary. The patch tag exists so the Homebrew formula and changelog can point at the corrected setup story.

Why it shipped broken

v0.1.2's pre-tag review covered the in-process internal/stunserver 4-corner test (which natcheck fully controls) and read the conf for "is the YOUR_PUBLIC_IP gotcha framed right." The framing was right; the conf itself was missing the rfc5780 directive that coturn 4.x requires. Discovered by trying to validate v0.1.2 end-to-end against a real coturn 4.10.0 immediately after release.

Install

brew tap 1mb-dev/tap
brew upgrade natcheck      # if already installed
brew install natcheck      # fresh install

or

go install github.com/1mb-dev/natcheck/cmd/natcheck@v0.1.2.1