Skip to content

Setup wizards offer a faster clearnet first sync that the default egress firewall makes inert #2678

Description

@pithead-developer

Found while resolving #2649.

After #2649, apply passes monero.clearnet_initial_sync / tari.clearnet_initial_sync to the daemons only while network.tor_egress_firewall is false. Before that change the flag was already defeated by the default-on firewall (#941), and after #2472 it left monerod peerless.

Both setup wizards still offer the faster sync but leave the firewall at its default (on), so the choice has no effect:

  • CLI: lib/pithead/24-config-wizard.sh asks "First sync: fully private over Tor (days), or faster over clearnet (hours)?" and sets only the two clearnet_initial_sync flags.
  • Appliance first boot: dashboard/mining_dashboard/web/static/wizard/setup.mjs offers "Faster, over the open internet — Takes hours", and wizard/form.py writes the same two flags. network.tor_egress_firewall is a host-only key and the appliance has no shell, so on the appliance the option can never take effect.

docs/getting-started.md and docs/appliance.md now say the faster sync needs the firewall off, and the appliance row says it syncs over Tor either way.

Decision needed: remove the option, have the wizard also turn the firewall off for the sync window (and back on after the #234 transition), or keep it and say in the prompt that it is inert while the firewall is on.

The dashboard confirm gate classifies the rendered .env diff. With the firewall on, a dashboard commit of the flag changes nothing that runs, so it commits without a typed APPLY. When the host later turns the firewall off, its apply preview does show the CONFIRM exposure row.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1-user-facingUsers hit this now: leaks, breakage, wrong output. Taken first, across areasblockedWaiting on another issue or a release; the runner clears it when that closesbugSomething isn't workingneeds-triageFiled by a worker or the inventory for something out of scope; the next inventory ranks it

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions