Commit Graph
109 Commits
Author SHA1 Message Date
2dust c9c1cd8cbb Add Helper folder 2025-08-17 16:26:13 +08:00
DHR60 d41a73b44b Simplify DNS Settings (#7572)
* Simplify DNS Settings

* fix

* ExpectedIPs

* Optimize ExpectedIPs Logic

* Fixes geoip overrides rule_set when geosite is also set

* rename DNSItem to SimpleDNSItem

* Compatible

* Fixes Combobox for desktop

* Regional Preset

* Fix

* Refactor DNS tags handling

* Uses correct DNS strategy for direct connections

* auto-disable DNS items with empty NormalDNS on startup
2025-08-10 11:57:42 +08:00
DHR60 7995bdd4df Migrate to sing-box 1.12 support (#7521)
* Revert "Temporary addition to support proper use of sing-box v1.12"

This reverts commit 508eb24fc3.

* Migrating to singbox 1.11 support

* Removes unnecessary sniffer

* Migrating to singbox 1.12 support

* Adds Google cn dns rules

* Improves geoip rule handling in singbox

* add anytls support

* Simplifies local DNS address handling

* Enables dhcp interface configuration

* Fetches DNS strategy for domain resolution

* support Wireguard endpoint
Refactors Singbox config classes for dial fields

* Utils.GetFreePort() default port to be zero

* Adds Sing-box legacy DNS config support

* Adds IPv4 preference to DNS configurations

对应原dns.servers[].strategy = prefer_ipv4

* Refactors DNS address parsing

* Fixes config generation

* fix singbox endpoints proxy chain not work

* Fixes wrong field

* Removes direct clash_mode domain strategy

* Improves DNS address parsing in Singbox

DNS type, host, port, and path

* Adds properties to Rule4Sbox class

* Removes Wireguard listen port

* Support sing-box hosts

* Adds tag resolver supports

* Adds sing-box DomainStrategy support

* Deletes Duplicate Rules

* Adds anytls reality support

* Fixes

* Updates sing-box documentation link

* Updates translations
2025-08-10 10:15:32 +08:00
2dust df95cc6af7 Code clean 2025-08-10 09:17:15 +08:00
2dust 3d23f3e3a2 Optimized and improved the code
Optimized and improved the code for killing core processes in non-Windows environments. Now uses a shell script for precise processing.
2025-07-30 19:52:45 +08:00
DHR60 74bb01d044 Improves private IP address detection (#7657) 2025-07-29 19:18:13 +08:00
2dust ad5d21db5a Upgrade Downloader package 2025-07-20 15:06:08 +08:00
2dust 569e939492 Optimizing and improving code 2025-07-20 14:16:19 +08:00
2dust 75ceba1b08 Remove unused 2025-07-06 14:11:34 +08:00
2dust cb28c31519 Remove unused 2025-07-01 19:19:15 +08:00
2dust d239c627f3 Use File.SetUnixFileMode to set the execute permission first. If that fails, use chmod to set the execute permission.
https://github.com/2dust/v2rayN/issues/7416
2025-06-15 12:33:21 +08:00
2dust 321ec30f39 Internationalized code comments 2025-04-09 16:48:38 +08:00
DHR60 15d3418c79 add xray wireguard support (#7089)
* add xray wireguard support

* add wireguard core type settings

* Update OptionSettingWindow.axaml
2025-04-09 15:09:36 +08:00
2dust 4d3db56065 csharp_style_namespace_declarations = file_scoped 2025-04-02 11:44:23 +08:00
2dust 7cc42ae249 Simply check the file hash value and delete the old pac file 2025-03-17 11:05:04 +08:00
2dust 2df412476a If it is a Windows WinGet installation, the configuration file is stored in the user directory
https://github.com/2dust/v2rayN/issues/6803
2025-03-09 19:04:49 +08:00
2dust 23b27575a0 AI-optimized code 2025-03-06 10:48:18 +08:00
2dust 8d8a887c42 Update HttpClientHelper.cs
AI-optimized code
2025-03-06 10:47:57 +08:00
2dust 1229c967ba Update SemanticVersion.cs
AI-optimized code
2025-03-06 10:47:31 +08:00
2dust d35f65f86d Update Utils.cs
AI-optimized code
2025-03-06 10:47:06 +08:00
2dust 8092481d26 Update Job.cs
AI-optimized code
2025-03-06 10:46:41 +08:00
2dust 764014e49a Replace all Utils.ToInt(variable) with variable.ToInt() 2025-03-05 20:26:26 +08:00
2dust 71cc6d7a88 Replace all Utils.IsNullOrEmpty(variable) with variable.IsNullOrEmpty() 2025-03-05 19:44:49 +08:00
2dust f3af831cf2 Replace all Utils.IsNotEmpty(variable) with variable.IsNotEmpty() 2025-03-05 16:42:43 +08:00
2dust 24cad87954 Bug fix
https://github.com/2dust/v2rayN/issues/6812
2025-02-27 20:12:53 +08:00
2dust 29e8df7d2e When set the linux system proxy, use shell scripts instead of command lines 2025-02-24 11:02:51 +08:00
2dust 2f3e409487 Add linux bash param 2025-02-23 16:59:22 +08:00
2dust 1198ec0f74 Improved and optimized speedtest
When testing server speed, start the Core for each server and generate the same configuration files as when using the server.
Add a folder binConfigs to store temporary configuration files for Core.
2025-02-13 19:46:51 +08:00
2dust e986dc189e Fix ProcUtils NoAssociatedProcess issue 2025-02-04 10:30:33 +08:00
2dust db25fdeee1 Revert "Remove using System.Reflection"
This reverts commit 732c3eee8b.
2025-02-01 13:51:28 +08:00
2dust 732c3eee8b Remove using System.Reflection 2025-02-01 10:34:05 +08:00
2dust 4faa94b2a3 Cache when reading embedded resources 2025-01-31 16:02:29 +08:00
2dust 45264005a4 Code clean 2025-01-30 17:10:05 +08:00
2dust 6c5011ad68 Try to remove the tun device when restarting the service in Windows
https://github.com/2dust/v2rayN/pull/6561
2025-01-30 10:46:04 +08:00
2dust 54fe669d89 Copy the bin folder to the storage location (for init) 2025-01-18 16:58:44 +08:00
2dust 0953237e9e Improvements 2025-01-18 16:01:52 +08:00
2dust 7370684985 Improve delete expired files 2025-01-14 17:04:43 +08:00
2dust a176613119 Bug fix for ProcUtils 2025-01-11 10:44:34 +08:00
2dust 6c6de1ae7f Improvements and Adjustments 2025-01-10 20:12:42 +08:00
2dust b770048f05 The exported routing rules are compatible with the import function of v2rayNG 2025-01-08 17:57:23 +08:00
2dust 7c1e5a3cba Fixed possible crash issues 2025-01-05 17:12:51 +08:00
2dust ed7fb4f6e3 Code clean 2025-01-05 14:50:31 +08:00
2dust bc2adbfa77 Add restart to Linux restore backup function 2025-01-04 17:03:12 +08:00
2dust 5732b84a7b Refactor KillProcess 2025-01-04 15:06:30 +08:00
2dust c0d27504ac Refactor ProcessStart RebootAsAdmin 2025-01-03 20:56:51 +08:00
2dust 3db1dd7bbb Add a title to SaveLog 2025-01-03 15:02:31 +08:00
2dust 7884853098 Improved backup and restore
Overwrite the configuration file directly in the main program
2025-01-02 13:36:26 +08:00
2dust 31de7ec094 Bug fix SetLinuxChmod 2025-01-01 12:27:49 +08:00
2dust 2e4501187c Window title display adjustment
https://github.com/2dust/v2rayN/issues/6389
2025-01-01 10:38:55 +08:00
2dust cf8be85ff7 Remove the display of run as an administrator in Linux and macos 2024-12-31 16:30:27 +08:00