From 646e088d3e144ed46ec4cd34ce11cdf14c4357fb Mon Sep 17 00:00:00 2001 From: nullchinchilla Date: Mon, 12 Aug 2024 21:23:39 -0400 Subject: [PATCH] Disable spoof_dns and add debug logging for cache path in tunnel setup --- src/config.rs | 2 +- src/connect/tunnel.rs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/config.rs b/src/config.rs index c70357fd..c4366d99 100644 --- a/src/config.rs +++ b/src/config.rs @@ -277,7 +277,7 @@ pub static GEPH5_CONFIG_TEMPLATE: LazyLock = LazyLock::new(|| Config { host: "svitania-naidallszei-2.netlify.app".into(), }), vpn: false, - spoof_dns: true, + spoof_dns: false, passthrough_china: false, dry_run: false, credentials: geph5_broker_protocol::Credential::TestDummy, diff --git a/src/connect/tunnel.rs b/src/connect/tunnel.rs index 0ef22ab3..420c3eb4 100644 --- a/src/connect/tunnel.rs +++ b/src/connect/tunnel.rs @@ -89,6 +89,7 @@ impl ClientTunnel { .clone() .join(format!("cache-{}.db", opt.auth.stdcode().hash())), ); + log::debug!("cache path: {:?}", config.cache); let client = geph5_client::Client::start(config); let handle = client.control_client(); let stat_reporter = smolscale::spawn(async move {