From e651b4688c2c26ad88fef08c362e1ac5ee596356 Mon Sep 17 00:00:00 2001 From: nullchinchilla Date: Sat, 7 Sep 2024 11:17:32 -0400 Subject: [PATCH] Enable DNS spoofing by default on non-Windows systems, disable on Windows --- src/config.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/config.rs b/src/config.rs index 6b8b3d30..2d041fcd 100644 --- a/src/config.rs +++ b/src/config.rs @@ -299,7 +299,13 @@ pub static GEPH5_CONFIG_TEMPLATE: LazyLock = LazyLock::new(|| Config { mizaru_plus: "cf6f58868c6d9459b3a63bc2bd86165631b3e916bad7f62b578cd9614e0bcb3b".into(), }), vpn: false, + + #[cfg(not(target_os = "windows"))] spoof_dns: true, + + #[cfg(target_os = "windows")] + spoof_dns: false, + passthrough_china: false, dry_run: false, credentials: geph5_broker_protocol::Credential::TestDummy,