mirror of
https://github.com/Control-D-Inc/ctrld.git
synced 2026-10-12 01:58:46 +02:00
Retain master's context-aware VPN and resolver APIs, per-program logger, shutdown fencing, native CLAT service identity and firewall behavior. Keep saved-DNS paths owned by the root ctrld package; isolate the added ownership/sweep tests with a shared path seam and temporary backups. Preserve the source DNS64 DNSSEC/cache gates, longest-suffix VPN routing, DNS-journal convergence, scoped IPv6 handling, target ownership checks, custom-listener regressions and documented native QA limits.
17 lines
671 B
Go
17 lines
671 B
Go
//go:build !darwin
|
|
|
|
package cli
|
|
|
|
func interceptTargetAllowsStaticRestore(_ string) bool { return true }
|
|
|
|
// ensureInterceptDNSTarget is a no-op on non-Darwin platforms: the DNS-less
|
|
// network problem it solves is specific to macOS pf interception blocking
|
|
// IPv6 port 53 with no IPv4 fallback (issue #533). Windows intercept mode
|
|
// uses NRPT, which routes queries regardless of adapter DNS configuration.
|
|
func (p *prog) ensureInterceptDNSTarget(_ []string) {}
|
|
|
|
// removeInterceptDNSTarget is a no-op on non-Darwin platforms.
|
|
//
|
|
//lint:ignore U1000 called from Darwin-only intercept shutdown; kept for API symmetry.
|
|
func (p *prog) removeInterceptDNSTarget(_ string) {}
|