[GH-ISSUE #3378] Tracking: improve site split-tunneling reliability #3236

Open
opened 2026-11-07 17:58:00 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @makkoar on GitHub (Nov 2, 2026).
Original GitHub issue: https://github.com/amnezia-vpn/amnezia-client/issues/3378

Goal

I started investigating two problems in my Windows setup: CIDR exclusions could remain visible without working as expected, and excluded destinations could still use the VPN. Follow-up checks also found that the inverse, sites-only mode could become a full tunnel for certain WG/AWG profiles.

The fixes previously collected in #3030 have been split into three independently reviewable PRs, each with its own focused issue. This tracker also records follow-up features; an implementation PR is linked when one is available.

Work items

  • #3375 — WG/AWG AllowedIPs parsing, profile eligibility and correct site-allowlist serialization. PR: #3379.
  • #3376 — CIDR/hostname normalization, duplicate-import merging and bounded DNS refresh before connection/reconnection. PR: #3380.
  • #3377 — transactional Windows exclusion-route batches, rollback, route ownership and reconciliation. PR: #3030.

A checkbox should be completed when the corresponding fix lands; publication or a successful local test alone does not mean the work is merged.

Follow-up feature

  • #3381 — live domain-address updates and wildcard rules such as *.example.com. PR: #3383. Opt-in Windows WG/AWG implementation; stacked on #3380 and separate from the three bug-fix PRs.

Verification and acceptance

  • The three bug-fix branches can be reviewed separately against dev. The follow-up domain-routing PR #3383 is stacked on #3380.

  • Combining the three branches must preserve the previous complete patch.

  • WG and AWG activation-message tests cover all-sites, sites-only and all-sites-except-listed modes, including IPv4-only/reordered defaults and restricted native routes.

  • Existing application-exclusion settings must continue to pass through unchanged.

  • All four PRs were rebased onto release 5.1.0.6 (ac175c8a); their patch commits are unchanged. The three bug-fix PRs remain independent, and #3383 remains stacked on #3380.

  • The refreshed combined Windows client/service/installer build passed five isolated suites: LocalSocketController serialization, actual-core domain/DNS/application policy, engine ownership, mocked Windows route monitoring and offscreen QML. These are combined-build results, not separate full builds of each PR. Native TUN/WG/AWG activation, WFP/kill-switch behavior, network transitions and adapter/DNS cleanup still require on-device acceptance.

  • The domain test's first CTest run failed; subsequent diagnostic and full-suite runs passed without code changes. Its initial failure remains unexplained and is documented in #3383.

  • Historical full-build/live Windows results must be distinguished from new isolated tests. Live site-allowlist and real application-bypass behavior remain separate verification gaps; they must not be presented as verified by serializer or mocked-driver tests.

Scope boundaries

This is a site split-tunneling reliability effort, not a claim that every mode on every platform is fixed. The three existing bug-fix PRs do not implement Windows application allowlist support, wildcard-domain routing, continuous DNS monitoring or a new IPv6 site-list model. Live domain updates and wildcard routing are now tracked separately in #3381.

Application-based exclusion preparation was checked for regressions, but no application-routing fix is being included without a demonstrated defect and its own change.

  • #2907 and #3314: related WG/AWG site-routing symptoms; not every platform-specific cause is established.
  • #2939 and #3018: CIDR import history and regression coverage.
  • #2248 and #3020: large Windows exclusion-list setup.
  • #3011 and #3097: overlapping IPv4-only AllowedIPs fixes.
  • #2825: overlapping hostname/DNS work.
  • #3021: overlapping Windows route batching.

These are references, not automatic requests to close other contributors' PRs. The focused PR descriptions will explain the overlap and their own verification limits.

Originally created by @makkoar on GitHub (Nov 2, 2026). Original GitHub issue: https://github.com/amnezia-vpn/amnezia-client/issues/3378 ## Goal I started investigating two problems in my Windows setup: CIDR exclusions could remain visible without working as expected, and excluded destinations could still use the VPN. Follow-up checks also found that the inverse, sites-only mode could become a full tunnel for certain WG/AWG profiles. The fixes previously collected in #3030 have been split into three independently reviewable PRs, each with its own focused issue. This tracker also records follow-up features; an implementation PR is linked when one is available. ## Work items - [ ] #3375 — WG/AWG AllowedIPs parsing, profile eligibility and correct site-allowlist serialization. **PR: #3379**. - [ ] #3376 — CIDR/hostname normalization, duplicate-import merging and bounded DNS refresh before connection/reconnection. **PR: #3380**. - [ ] #3377 — transactional Windows exclusion-route batches, rollback, route ownership and reconciliation. **PR: #3030**. A checkbox should be completed when the corresponding fix lands; publication or a successful local test alone does not mean the work is merged. ## Follow-up feature - [ ] #3381 — live domain-address updates and wildcard rules such as `*.example.com`. **PR: #3383**. Opt-in Windows WG/AWG implementation; stacked on #3380 and separate from the three bug-fix PRs. ## Verification and acceptance - The three bug-fix branches can be reviewed separately against `dev`. The follow-up domain-routing PR #3383 is stacked on #3380. - Combining the three branches must preserve the previous complete patch. - WG and AWG activation-message tests cover all-sites, sites-only and all-sites-except-listed modes, including IPv4-only/reordered defaults and restricted native routes. - Existing application-exclusion settings must continue to pass through unchanged. - All four PRs were rebased onto release `5.1.0.6` (`ac175c8a`); their patch commits are unchanged. The three bug-fix PRs remain independent, and #3383 remains stacked on #3380. - The refreshed combined Windows client/service/installer build passed five isolated suites: LocalSocketController serialization, actual-core domain/DNS/application policy, engine ownership, mocked Windows route monitoring and offscreen QML. These are combined-build results, not separate full builds of each PR. Native TUN/WG/AWG activation, WFP/kill-switch behavior, network transitions and adapter/DNS cleanup still require on-device acceptance. - The domain test's first CTest run failed; subsequent diagnostic and full-suite runs passed without code changes. Its initial failure remains unexplained and is documented in #3383. - Historical full-build/live Windows results must be distinguished from new isolated tests. Live site-allowlist and real application-bypass behavior remain separate verification gaps; they must not be presented as verified by serializer or mocked-driver tests. ## Scope boundaries This is a site split-tunneling reliability effort, not a claim that every mode on every platform is fixed. The three existing bug-fix PRs do not implement Windows application allowlist support, wildcard-domain routing, continuous DNS monitoring or a new IPv6 site-list model. Live domain updates and wildcard routing are now tracked separately in #3381. Application-based exclusion preparation was checked for regressions, but no application-routing fix is being included without a demonstrated defect and its own change. ## Related issues and overlapping PRs - #2907 and #3314: related WG/AWG site-routing symptoms; not every platform-specific cause is established. - #2939 and #3018: CIDR import history and regression coverage. - #2248 and #3020: large Windows exclusion-list setup. - #3011 and #3097: overlapping IPv4-only AllowedIPs fixes. - #2825: overlapping hostname/DNS work. - #3021: overlapping Windows route batching. These are references, not automatic requests to close other contributors' PRs. The focused PR descriptions will explain the overlap and their own verification limits.
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
amnezia-vpn/amnezia-client#3236
No description provided.