Compare commits

..

53 commits

Author SHA1 Message Date
DHR60
94dcb3e959
Merge 86bdd20fe3 into 6973272dd0 2025-08-03 03:56:12 +00:00
DHR60
86bdd20fe3 Avoids detour for private networks 2025-08-03 11:55:00 +08:00
DHR60
9077f55207 Add Detour Feature 2025-08-03 11:55:00 +08:00
DHR60
6200d909b7 Adjust Avalonia UI 2025-08-03 11:55:00 +08:00
DHR60
7781dcd9fb Fixes 2025-08-03 11:55:00 +08:00
DHR60
5b44adfc68 Adjust UI 2025-08-03 11:55:00 +08:00
DHR60
48353d1892 Fixes TypeInfoResolver Exception 2025-08-03 11:55:00 +08:00
DHR60
eb0e2aa5c5 Feat. custom config 2025-08-03 11:55:00 +08:00
DHR60
ea48dc5431 auto-disable DNS items with empty NormalDNS on startup 2025-08-03 11:55:00 +08:00
DHR60
dbe6f4083b Uses correct DNS strategy for direct connections 2025-08-03 11:55:00 +08:00
DHR60
774d6eeb8f Refactor DNS tags handling 2025-08-03 11:55:00 +08:00
DHR60
ef2728e248 Fix 2025-08-03 11:55:00 +08:00
DHR60
54d936fd3e Regional Preset 2025-08-03 11:55:00 +08:00
DHR60
ea1a7b6b46 Fixes Combobox for desktop 2025-08-03 11:55:00 +08:00
DHR60
a2c4d4e424 Compatible 2025-08-03 11:55:00 +08:00
DHR60
65de9349dd rename DNSItem to SimpleDNSItem 2025-08-03 11:54:59 +08:00
DHR60
bdf3616a8e Fixes geoip overrides rule_set when geosite is also set 2025-08-03 11:54:59 +08:00
DHR60
715a2b07a9 Optimize ExpectedIPs Logic 2025-08-03 11:54:59 +08:00
DHR60
e8590012c4 ExpectedIPs 2025-08-03 11:54:59 +08:00
DHR60
44634db5f4 fix 2025-08-03 11:54:59 +08:00
DHR60
0f46074283 Simplify DNS Settings 2025-08-03 11:54:59 +08:00
DHR60
7841c9fe84 Updates translations 2025-08-03 11:52:33 +08:00
DHR60
59e69b4d66 Updates sing-box documentation link 2025-08-03 11:51:03 +08:00
DHR60
be09e8bc5d Fixes 2025-08-03 11:51:03 +08:00
DHR60
257bf51ded Adds anytls reality support 2025-08-03 11:51:03 +08:00
DHR60
20883380d6 Deletes Duplicate Rules 2025-08-03 11:51:03 +08:00
DHR60
9bccdf1dac Adds sing-box DomainStrategy support 2025-08-03 11:51:03 +08:00
DHR60
3ed34eb02f Adds tag resolver supports 2025-08-03 11:51:03 +08:00
DHR60
83c862afea Support sing-box hosts 2025-08-03 11:51:03 +08:00
DHR60
8f0d4be095 Removes Wireguard listen port 2025-08-03 11:51:03 +08:00
DHR60
da8417165d Adds properties to Rule4Sbox class 2025-08-03 11:51:03 +08:00
DHR60
56b619de1c Improves DNS address parsing in Singbox
DNS type, host, port, and path
2025-08-03 11:51:03 +08:00
DHR60
0fbb2f6f32 Removes direct clash_mode domain strategy 2025-08-03 11:51:03 +08:00
DHR60
8756e078a7 Fixes wrong field 2025-08-03 11:51:03 +08:00
DHR60
4f4ca3cf91 fix singbox endpoints proxy chain not work 2025-08-03 11:51:03 +08:00
DHR60
0be355ae8c Fixes config generation 2025-08-03 11:51:03 +08:00
DHR60
9506e049e7 Refactors DNS address parsing 2025-08-03 11:51:03 +08:00
DHR60
9a56824db5 Adds IPv4 preference to DNS configurations
对应原dns.servers[].strategy = prefer_ipv4
2025-08-03 11:51:03 +08:00
DHR60
cfe56fad0c Adds Sing-box legacy DNS config support 2025-08-03 11:51:03 +08:00
DHR60
1bfd3e7d08 Utils.GetFreePort() default port to be zero 2025-08-03 11:51:03 +08:00
DHR60
aec8cb7e64 support Wireguard endpoint
Refactors Singbox config classes for dial fields
2025-08-03 11:51:03 +08:00
DHR60
0f96af3142 Fetches DNS strategy for domain resolution 2025-08-03 11:51:03 +08:00
DHR60
9030830575 Enables dhcp interface configuration 2025-08-03 11:51:02 +08:00
DHR60
fcdb46581b Simplifies local DNS address handling 2025-08-03 11:51:02 +08:00
DHR60
ddedde53ea add anytls support 2025-08-03 11:51:02 +08:00
DHR60
4f15452fe2 Improves geoip rule handling in singbox 2025-08-03 11:50:33 +08:00
DHR60
648fe837f5 Adds Google cn dns rules 2025-08-03 11:50:32 +08:00
DHR60
5cdaae0a7f Migrating to singbox 1.12 support 2025-08-03 11:50:32 +08:00
DHR60
1a75faaf4f Removes unnecessary sniffer 2025-08-03 11:50:32 +08:00
DHR60
563396031f Migrating to singbox 1.11 support 2025-08-03 11:50:32 +08:00
2dust
6973272dd0
up 7.13.6
Some checks failed
release Linux / build (Release) (push) Has been cancelled
release macOS / build (Release) (push) Has been cancelled
release Windows desktop (Avalonia UI) / build (Release) (push) Has been cancelled
release Windows / build (Release) (push) Has been cancelled
2025-08-03 10:49:28 +08:00
2dust
d820c4367e Add Mldsa65Verify,Xray-core v25.7.26+
https://github.com/XTLS/Xray-core/pull/4915
2025-08-03 10:34:21 +08:00
Internetezoo
96e1f85d6f
Update ResUI.hu.resx (#7679)
Some checks are pending
release Linux / build (Release) (push) Waiting to run
release macOS / build (Release) (push) Waiting to run
release Windows desktop (Avalonia UI) / build (Release) (push) Waiting to run
release Windows / build (Release) (push) Waiting to run
2025-08-02 21:06:14 +08:00
17 changed files with 358 additions and 289 deletions

View file

@ -1,7 +1,7 @@
<Project>
<PropertyGroup>
<Version>7.13.5</Version>
<Version>7.13.6</Version>
</PropertyGroup>
<PropertyGroup>

View file

@ -251,6 +251,7 @@ public class ConfigHandler
item.PublicKey = profileItem.PublicKey;
item.ShortId = profileItem.ShortId;
item.SpiderX = profileItem.SpiderX;
item.Mldsa65Verify = profileItem.Mldsa65Verify;
item.Extra = profileItem.Extra;
item.MuxEnabled = profileItem.MuxEnabled;
}

View file

@ -59,6 +59,10 @@ public class BaseFmt
{
dicQuery.Add("spx", Utils.UrlEncode(item.SpiderX));
}
if (item.Mldsa65Verify.IsNotEmpty())
{
dicQuery.Add("pqv", Utils.UrlEncode(item.Mldsa65Verify));
}
if (item.AllowInsecure.Equals("true"))
{
dicQuery.Add("allowInsecure", "1");
@ -159,6 +163,7 @@ public class BaseFmt
item.PublicKey = Utils.UrlDecode(query["pbk"] ?? "");
item.ShortId = Utils.UrlDecode(query["sid"] ?? "");
item.SpiderX = Utils.UrlDecode(query["spx"] ?? "");
item.Mldsa65Verify = Utils.UrlDecode(query["pqv"] ?? "");
item.AllowInsecure = (query["allowInsecure"] ?? "") == "1" ? "true" : "";
item.Network = query["type"] ?? nameof(ETransport.tcp);

View file

@ -93,6 +93,7 @@ public class ProfileItem : ReactiveObject
public string PublicKey { get; set; }
public string ShortId { get; set; }
public string SpiderX { get; set; }
public string Mldsa65Verify { get; set; }
public string Extra { get; set; }
public bool? MuxEnabled { get; set; }
}

View file

@ -343,6 +343,7 @@ public class TlsSettings4Ray
public string? publicKey { get; set; }
public string? shortId { get; set; }
public string? spiderX { get; set; }
public string? mldsa65Verify { get; set; }
}
public class TcpSettings4Ray

View file

@ -2643,6 +2643,15 @@ namespace ServiceLib.Resx {
}
}
/// <summary>
/// 查找类似 Mldsa65Verify 的本地化字符串。
/// </summary>
public static string TbMldsa65Verify {
get {
return ResourceManager.GetString("TbMldsa65Verify", resourceCulture);
}
}
/// <summary>
/// 查找类似 Transport protocol(network) 的本地化字符串。
/// </summary>

View file

@ -1398,6 +1398,9 @@
<data name="SudoIncorrectPasswordTip" xml:space="preserve">
<value>Incorrect password, please try again.</value>
</data>
<data name="TbMldsa65Verify" xml:space="preserve">
<value>Mldsa65Verify</value>
</data>
<data name="menuAddAnytlsServer" xml:space="preserve">
<value>Add [Anytls] Configuration</value>
</data>

File diff suppressed because it is too large Load diff

View file

@ -1398,6 +1398,9 @@
<data name="SudoIncorrectPasswordTip" xml:space="preserve">
<value>Incorrect password, please try again.</value>
</data>
<data name="TbMldsa65Verify" xml:space="preserve">
<value>Mldsa65Verify</value>
</data>
<data name="menuAddAnytlsServer" xml:space="preserve">
<value>Add [Anytls] Configuration</value>
</data>

View file

@ -1398,6 +1398,9 @@
<data name="SudoIncorrectPasswordTip" xml:space="preserve">
<value>Incorrect password, please try again.</value>
</data>
<data name="TbMldsa65Verify" xml:space="preserve">
<value>Mldsa65Verify</value>
</data>
<data name="menuAddAnytlsServer" xml:space="preserve">
<value>Добавить сервер [Anytls]</value>
</data>

View file

@ -1395,6 +1395,9 @@
<data name="SudoIncorrectPasswordTip" xml:space="preserve">
<value>密码错误,请重试。</value>
</data>
<data name="TbMldsa65Verify" xml:space="preserve">
<value>Mldsa65Verify</value>
</data>
<data name="menuAddAnytlsServer" xml:space="preserve">
<value>添加 [Anytls] 配置文件</value>
</data>

View file

@ -1395,6 +1395,9 @@
<data name="SudoIncorrectPasswordTip" xml:space="preserve">
<value>密碼錯誤,請重試。</value>
</data>
<data name="TbMldsa65Verify" xml:space="preserve">
<value>Mldsa65Verify</value>
</data>
<data name="menuAddAnytlsServer" xml:space="preserve">
<value>新增 [Anytls] 設定檔</value>
</data>

View file

@ -952,6 +952,7 @@ public class CoreConfigV2rayService
publicKey = node.PublicKey,
shortId = node.ShortId,
spiderX = node.SpiderX,
mldsa65Verify = node.Mldsa65Verify,
show = false,
};

View file

@ -773,7 +773,7 @@
Grid.Row="7"
ColumnDefinitions="180,Auto"
IsVisible="False"
RowDefinitions="Auto,Auto,Auto,Auto,Auto">
RowDefinitions="Auto,Auto,Auto,Auto,Auto,Auto">
<TextBlock
Grid.Row="0"
@ -843,6 +843,20 @@
Width="400"
Margin="{StaticResource Margin4}"
HorizontalAlignment="Left" />
<TextBlock
Grid.Row="5"
Grid.Column="0"
Margin="{StaticResource Margin4}"
VerticalAlignment="Center"
Text="{x:Static resx:ResUI.TbMldsa65Verify}" />
<TextBox
x:Name="txtMldsa65Verify"
Grid.Row="5"
Grid.Column="1"
Width="400"
Margin="{StaticResource Margin4}"
HorizontalAlignment="Left" />
</Grid>
<Separator Grid.Row="8" Margin="{StaticResource MarginTb8}" />
</Grid>

View file

@ -195,6 +195,7 @@ public partial class AddServerWindow : WindowBase<AddServerViewModel>
this.Bind(ViewModel, vm => vm.SelectedSource.PublicKey, v => v.txtPublicKey.Text).DisposeWith(disposables);
this.Bind(ViewModel, vm => vm.SelectedSource.ShortId, v => v.txtShortId.Text).DisposeWith(disposables);
this.Bind(ViewModel, vm => vm.SelectedSource.SpiderX, v => v.txtSpiderX.Text).DisposeWith(disposables);
this.Bind(ViewModel, vm => vm.SelectedSource.Mldsa65Verify, v => v.txtMldsa65Verify.Text).DisposeWith(disposables);
this.BindCommand(ViewModel, vm => vm.SaveCmd, v => v.btnSave).DisposeWith(disposables);
});

View file

@ -1008,6 +1008,7 @@
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="180" />
@ -1093,6 +1094,22 @@
Margin="{StaticResource Margin4}"
HorizontalAlignment="Left"
Style="{StaticResource DefTextBox}" />
<TextBlock
Grid.Row="5"
Grid.Column="0"
Margin="{StaticResource Margin4}"
VerticalAlignment="Center"
Style="{StaticResource ToolbarTextBlock}"
Text="{x:Static resx:ResUI.TbMldsa65Verify}" />
<TextBox
x:Name="txtMldsa65Verify"
Grid.Row="5"
Grid.Column="1"
Width="400"
Margin="{StaticResource Margin4}"
HorizontalAlignment="Left"
Style="{StaticResource DefTextBox}" />
</Grid>
<Separator
Grid.Row="8"

View file

@ -189,6 +189,7 @@ public partial class AddServerWindow
this.Bind(ViewModel, vm => vm.SelectedSource.PublicKey, v => v.txtPublicKey.Text).DisposeWith(disposables);
this.Bind(ViewModel, vm => vm.SelectedSource.ShortId, v => v.txtShortId.Text).DisposeWith(disposables);
this.Bind(ViewModel, vm => vm.SelectedSource.SpiderX, v => v.txtSpiderX.Text).DisposeWith(disposables);
this.Bind(ViewModel, vm => vm.SelectedSource.Mldsa65Verify, v => v.txtMldsa65Verify.Text).DisposeWith(disposables);
this.BindCommand(ViewModel, vm => vm.SaveCmd, v => v.btnSave).DisposeWith(disposables);
});