Skip to content

Release branch v1.5.7 - #332

Merged
cuonglm merged 2 commits into
v1.0from
release-branch-v1.5.7
Sep 1, 2026
Merged

cuonglm merged 2 commits into
v1.0from
release-branch-v1.5.7

Conversation

@cuonglm

@cuonglm cuonglm commented Sep 1, 2026 •

Copy link
Copy Markdown
Collaborator

Minor Release

This release contains an improvement and a bug fix.

Updated

  • macOS Package: The off intercept mode now explicitly disables interception and clears any persisted intercept_mode configuration.

Fixed

  • Fixed intercept mode compatibility with DNS-less and IPv6-only networks.
  • Prevented state leaks (recoveryBypass/recoveryRunning) caused by operation cancellation during recovery in intercept mode.

Dev Scribe added 2 commits September 1, 2026 11:03
macOS intercept mode fails totally on networks that provide no usable
IPv4 DNS (e.g. IPv6-only iPhone tethering with 464XLAT): the pf ruleset
blocks all outbound IPv6 port 53, and with no IPv4 DNS configured
mDNSResponder emits no DNS packets at all, so pf has nothing to
intercept while the Control D upstream stays provably healthy.

When network-change recovery discovers no usable IPv4 DNS on the
default-route service, set 127.0.0.1 as that service DNS so macOS can
emit queries that land directly on the listener. The entry is removed
when the network regains IPv4 DNS and on intercept shutdown; networks
that provide IPv4 DNS are never modified. Runs on the already-debounced
recovery path so interface flaps do not churn networksetup.

Also fix the canceled-recovery state leak: the cancellation early
return never reset recoveryBypass/recoveryRunning, so a flap burst
ending in a canceled recovery left the daemon in bypass forever with
the DNS watchdog disabled. Cleanup is generation-gated so a superseded
recovery never clears state owned by its successor.
@cuonglm
cuonglm merged commit 3fa03d9 into v1.0 Sep 1, 2026
3 checks passed
@cuonglm
cuonglm deleted the release-branch-v1.5.7 branch September 1, 2026 23:22
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.

1 participant