Skip to content

Commit f70ae80

Browse files
committed
disable onion adresses
1 parent 56f4496 commit f70ae80

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/tor/rust/src/lib.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,8 @@ fn build_tor_client_config(
5454
.storage()
5555
.state_dir(CfgPath::new(config.state_dir.clone()))
5656
.cache_dir(CfgPath::new(config.cache_dir.clone()));
57-
cfg_builder.address_filter().allow_onion_addrs(true);
57+
58+
cfg_builder.address_filter().allow_onion_addrs(false);
5859

5960
if config.obfs4_port > 0 {
6061
let mut transport = TransportConfigBuilder::default();

0 commit comments

Comments
 (0)