Skip to content

Commit

Permalink
Disable spoof_dns and add debug logging for cache path in tunnel setup
Browse files Browse the repository at this point in the history
  • Loading branch information
nullchinchilla committed Aug 13, 2024
1 parent bddcfdb commit 646e088
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ pub static GEPH5_CONFIG_TEMPLATE: LazyLock<Config> = 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,
Expand Down
1 change: 1 addition & 0 deletions src/connect/tunnel.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 646e088

Please sign in to comment.