Compare commits

..

43 commits

Author SHA1 Message Date
DHR60
806af146fc auto-disable DNS items with empty NormalDNS on startup 2025-08-07 17:40:01 +08:00
DHR60
48f655ec72 Uses correct DNS strategy for direct connections 2025-08-07 17:40:01 +08:00
DHR60
027a876fd6 Refactor DNS tags handling 2025-08-07 17:40:01 +08:00
DHR60
5ca24f4c46 Fix 2025-08-07 17:40:01 +08:00
DHR60
28bba8c4b8 Regional Preset 2025-08-07 17:40:01 +08:00
DHR60
a25aab0afe Fixes Combobox for desktop 2025-08-07 17:40:01 +08:00
DHR60
dbff09cfa2 Compatible 2025-08-07 17:40:01 +08:00
DHR60
bd9cf0c4de rename DNSItem to SimpleDNSItem 2025-08-07 17:40:01 +08:00
DHR60
4950c5229f Fixes geoip overrides rule_set when geosite is also set 2025-08-07 17:40:01 +08:00
DHR60
2062df341a Optimize ExpectedIPs Logic 2025-08-07 17:40:01 +08:00
DHR60
7711284519 ExpectedIPs 2025-08-07 17:40:01 +08:00
DHR60
e653dedb08 fix 2025-08-07 17:40:01 +08:00
DHR60
24acd61da4 Simplify DNS Settings 2025-08-07 17:40:01 +08:00
DHR60
47779e433d Updates translations 2025-08-07 17:38:00 +08:00
DHR60
c5f222bf58 Updates sing-box documentation link 2025-08-07 17:38:00 +08:00
DHR60
1945d9b798 Fixes 2025-08-07 17:38:00 +08:00
DHR60
2e283eb00e Adds anytls reality support 2025-08-07 17:38:00 +08:00
DHR60
00505c7c17 Deletes Duplicate Rules 2025-08-07 17:38:00 +08:00
DHR60
9229b491c5 Adds sing-box DomainStrategy support 2025-08-07 17:38:00 +08:00
DHR60
d9b0aff8da Adds tag resolver supports 2025-08-07 17:38:00 +08:00
DHR60
8ea39d7475 Support sing-box hosts 2025-08-07 17:38:00 +08:00
DHR60
f14f39f5a1 Removes Wireguard listen port 2025-08-07 17:38:00 +08:00
DHR60
228069f499 Adds properties to Rule4Sbox class 2025-08-07 17:38:00 +08:00
DHR60
645e4e7711 Improves DNS address parsing in Singbox
DNS type, host, port, and path
2025-08-07 17:38:00 +08:00
DHR60
d1c16ecb72 Removes direct clash_mode domain strategy 2025-08-07 17:38:00 +08:00
DHR60
dca737bdad Fixes wrong field 2025-08-07 17:38:00 +08:00
DHR60
7f5489c5f7 fix singbox endpoints proxy chain not work 2025-08-07 17:38:00 +08:00
DHR60
3be0b312d6 Fixes config generation 2025-08-07 17:38:00 +08:00
DHR60
b290a38ef4 Refactors DNS address parsing 2025-08-07 17:38:00 +08:00
DHR60
70bdb3de16 Adds IPv4 preference to DNS configurations
对应原dns.servers[].strategy = prefer_ipv4
2025-08-07 17:38:00 +08:00
DHR60
8f9d1951a2 Adds Sing-box legacy DNS config support 2025-08-07 17:38:00 +08:00
DHR60
e2faf61a8b Utils.GetFreePort() default port to be zero 2025-08-07 17:38:00 +08:00
DHR60
3824879d38 support Wireguard endpoint
Refactors Singbox config classes for dial fields
2025-08-07 17:38:00 +08:00
DHR60
d54433aeb3 Fetches DNS strategy for domain resolution 2025-08-07 17:37:59 +08:00
DHR60
26b2240779 Enables dhcp interface configuration 2025-08-07 17:37:59 +08:00
DHR60
98a5caa47f Simplifies local DNS address handling 2025-08-07 17:37:59 +08:00
DHR60
d77c25aef5 add anytls support 2025-08-07 17:37:59 +08:00
DHR60
7affcf97b1 Improves geoip rule handling in singbox 2025-08-07 17:37:59 +08:00
DHR60
9e1e5eb2aa Adds Google cn dns rules 2025-08-07 17:37:59 +08:00
DHR60
d1928d80c7 Migrating to singbox 1.12 support 2025-08-07 17:37:59 +08:00
DHR60
ea55dfb6c5 Removes unnecessary sniffer 2025-08-07 17:37:59 +08:00
DHR60
b3acb89c29 Migrating to singbox 1.11 support 2025-08-07 17:37:59 +08:00
DHR60
922cf54d93 Revert "Temporary addition to support proper use of sing-box v1.12"
This reverts commit 508eb24fc3.
2025-08-07 17:37:48 +08:00
7 changed files with 7 additions and 8 deletions

View file

@ -411,11 +411,11 @@ public class Utils
// Link-local address fe80::/10
if (ipBytes[0] == 0xfe && (ipBytes[1] & 0xc0) == 0x80)
return true;
// Unique local address fc00::/7 (typically fd00::/8)
if ((ipBytes[0] & 0xfe) == 0xfc)
return true;
// Private portion in IPv4-mapped addresses ::ffff:0:0/96
if (address.IsIPv4MappedToIPv6)
{

View file

@ -2033,7 +2033,7 @@ public class ConfigHandler
if (!blImportAdvancedRules && items.Count > 0)
{
//migrate
//migrate
//TODO Temporary code to be removed later
if (config.RoutingBasicItem.RoutingIndexId.IsNotEmpty())
{

View file

@ -62,7 +62,7 @@ public class BaseFmt
if (item.Mldsa65Verify.IsNotEmpty())
{
dicQuery.Add("pqv", Utils.UrlEncode(item.Mldsa65Verify));
}
}
if (item.AllowInsecure.Equals("true"))
{
dicQuery.Add("allowInsecure", "1");

View file

@ -12,7 +12,7 @@ public class CoreConfigClashService
{
_config = config;
}
public async Task<RetResult> GenerateClientCustomConfig(ProfileItem node, string? fileName)
{
var ret = new RetResult();

View file

@ -234,7 +234,7 @@ public class ClashProxiesViewModel : MyReactiveObject
else
{
SelectedGroup = _proxyGroups.First();
}
}
}
else
{

View file

@ -73,7 +73,6 @@
<ScrollViewer x:Name="msgScrollViewer" VerticalScrollBarVisibility="Auto">
<SelectableTextBlock
Name="txtMsg"
Margin="{StaticResource Margin8}"
VerticalAlignment="Stretch"
Classes="TextArea"
TextAlignment="Left"

View file

@ -25,7 +25,7 @@ public partial class MsgView
menuMsgViewCopy.Click += menuMsgViewCopy_Click;
menuMsgViewCopyAll.Click += menuMsgViewCopyAll_Click;
menuMsgViewClear.Click += menuMsgViewClear_Click;
cmbMsgFilter.ItemsSource = Global.PresetMsgFilters;
}