From f3e9db9b551a4dc9b9b796920019eab3b82b2e59 Mon Sep 17 00:00:00 2001 From: Amir Date: Thu, 15 Feb 2024 23:05:00 +0330 Subject: [PATCH] Bugs in config_option_entity.dart --- .../config_option/model/config_option_entity.dart | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/features/config_option/model/config_option_entity.dart b/lib/features/config_option/model/config_option_entity.dart index 1c99e0f2..bfa82697 100644 --- a/lib/features/config_option/model/config_option_entity.dart +++ b/lib/features/config_option/model/config_option_entity.dart @@ -24,7 +24,7 @@ class ConfigOptionEntity with ConfigOptionEntityMappable { this.logLevel = LogLevel.warn, this.resolveDestination = false, this.ipv6Mode = IPv6Mode.disable, - this.remoteDnsAddress = "http://1.1.1.1", + this.remoteDnsAddress = "udp://1.1.1.1", this.remoteDnsDomainStrategy = DomainStrategy.auto, this.directDnsAddress = "1.1.1.1", this.directDnsDomainStrategy = DomainStrategy.auto, @@ -43,11 +43,11 @@ class ConfigOptionEntity with ConfigOptionEntityMappable { this.enableDnsRouting = true, this.independentDnsCache = true, this.enableTlsFragment = false, - this.tlsFragmentSize = const OptionalRange(min: 10, max: 100), - this.tlsFragmentSleep = const OptionalRange(min: 50, max: 200), + this.tlsFragmentSize = const OptionalRange(min: 1, max: 500), + this.tlsFragmentSleep = const OptionalRange(min: 1, max: 500), this.enableTlsMixedSniCase = false, this.enableTlsPadding = false, - this.tlsPaddingSize = const OptionalRange(min: 100, max: 200), + this.tlsPaddingSize = const OptionalRange(min: 1, max: 1500), this.enableMux = false, this.muxPadding = false, this.muxMaxStreams = 8,