Skip to content

Improve setup readiness, presets, traffic clarity, and diagnostics#35

Open
AmirrezaFarnamTaheri wants to merge 5 commits into
WhiteDNS:mainfrom
AmirrezaFarnamTaheri:setup-readiness-presets
Open

Improve setup readiness, presets, traffic clarity, and diagnostics#35
AmirrezaFarnamTaheri wants to merge 5 commits into
WhiteDNS:mainfrom
AmirrezaFarnamTaheri:setup-readiness-presets

Conversation

@AmirrezaFarnamTaheri

@AmirrezaFarnamTaheri AmirrezaFarnamTaheri commented May 15, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add donor-labeled built-in StormDNS server presets and keep repeated donor entries distinguishable.
  • Add setup readiness checks for selected profile, resolver setup, local ports, LAN proxy exposure, and post-connect route-check status.
  • Add connection profile duplication so users can edit a copy without overwriting a known-good profile.
  • Add a shared secret redactor for diagnostics and runtime logs so copied support output does not expose server domains, encryption keys, SOCKS credentials, profile links, named TOML/log secrets, ANSI-colored secrets, or runtime paths.
  • Keep profile/TOML export text and QR payloads functional, with a visible warning that exports include connection secrets.
  • Show StormDNS tunnel counters separately from an estimated payload counter derived from configured upload/download duplication counts, so high tunnel traffic is easier to interpret.
  • Add Milad's Telegram-oriented field-tested runtime config to the suggested parallel-test config set.

Verification

Add built-in StormDNS server presets from shared WhiteDNS sources and donor channels.

Use donor/source labels as the visible preset names and append stable counters for repeated sources so duplicate donors remain distinguishable in selection UI.

Add tests covering non-empty preset data, stable unique IDs, numbered repeated labels, and expected donor/source naming.
Add a pre-connect setup readiness action that checks required profile fields, resolver input, local port availability, LAN proxy safety rules, and advisory server address lookup before the user starts a connection.

Expose resolver test parallelism presets for 32, 64, 100, and 128 worker budgets while keeping custom expert values available.

Add model tests for setup validation, SOCKS credential normalization, resolver parallelism presets, and multi-domain normalization.
Add a reusable settings helper for duplicating a saved connection profile while preserving server, resolver, encryption, and mode fields.

Expose the duplicate action from the connection profile menu and cover copy selection plus id/name collision handling in model tests.
@AmirrezaFarnamTaheri AmirrezaFarnamTaheri changed the title Add setup readiness checks and server presets Improve setup readiness and profile presets May 16, 2026
Add a shared SecretRedactor for configured server domains, encryption keys, SOCKS credentials, profile links, named TOML/log secret fields, ANSI-stripped logs, and runtime paths.

Route diagnostics and in-app runtime logs through the redactor so support copies no longer expose connection credentials.

Keep profile/TOML export values and QR payloads functional while adding an explicit warning that exports include connection secrets.

Add JVM coverage for direct secret, profile link, TOML field, ANSI, and idempotent redaction behavior.
@AmirrezaFarnamTaheri AmirrezaFarnamTaheri changed the title Improve setup readiness and profile presets Improve setup readiness, profile presets, and diagnostics safety May 16, 2026
Show StormDNS tunnel counters separately from an estimated payload counter derived from the configured upload/download duplication counts.

Add Milad's Telegram-oriented field-tested runtime config to the suggested parallel-test config set and cover the preset plus payload estimate logic with focused tests.
@AmirrezaFarnamTaheri AmirrezaFarnamTaheri changed the title Improve setup readiness, profile presets, and diagnostics safety Improve setup readiness, presets, traffic clarity, and diagnostics May 16, 2026
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