Compare commits

..

25 commits

Author SHA1 Message Date
JieXu
00aed2729d
Update ResUI.fr.resx 2025-10-23 16:40:43 +08:00
JieXu
ee66afd7ee
Update ResUI.fr.resx 2025-10-23 16:36:11 +08:00
JieXu
76c62e63c0
Update ResUI.fr.resx 2025-10-23 16:30:18 +08:00
JieXu
ded6d5abee
Update ResUI.fr.resx 2025-10-23 16:21:11 +08:00
JieXu
8501c42f4f
Update package-debian.sh 2025-10-23 12:22:50 +08:00
JieXu
f8b90aa7ce
Update package-debian.sh 2025-10-23 12:16:36 +08:00
JieXu
c2591d40c0
Update package-rhel.sh 2025-10-23 12:12:44 +08:00
JieXu
74e76904e1
Update package-rhel.sh 2025-10-23 12:11:12 +08:00
JieXu
86036abef0
Update package-rhel.sh 2025-10-23 11:15:28 +08:00
JieXu
14712e5694
Update package-debian.sh 2025-10-23 10:55:15 +08:00
JieXu
b9b5d24f3e
Update package-rhel.sh 2025-10-23 10:54:03 +08:00
JieXu
8ffb314f1b
Update package-rhel.sh 2025-10-23 10:47:22 +08:00
JieXu
fd8732ecc3
Update package-rhel.sh 2025-10-23 10:45:12 +08:00
JieXu
02c0cb63dc
Update package-rhel.sh 2025-10-23 10:30:21 +08:00
JieXu
1c3743c962
Merge pull request #2 from fujiwarabach/master
Update package-rhel.sh
2025-10-23 10:19:10 +08:00
Fujiwara Bach
bf92e6c95e
Update package-rhel.sh 2025-10-23 10:17:17 +08:00
JieXu
0f0500d3f3
Update package-rhel.sh 2025-10-23 09:57:08 +08:00
JieXu
d9776c3264
Merge branch '2dust:master' into master 2025-10-23 09:46:09 +08:00
JieXu
7043cf7b35
Update package-rhel.sh 2025-10-23 09:38:30 +08:00
JieXu
3a197fc34e
Update build-linux.yml 2025-10-23 09:12:06 +08:00
JieXu
16479b8180
Restore package-appimage.sh 2025-10-23 09:10:36 +08:00
DHR60
bbedc4dbb1
Fix (#8175)
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-10-23 09:10:21 +08:00
DHR60
ecf42cb85d
Fix dns (#8174) 2025-10-23 09:09:26 +08:00
JieXu
bd16ccff26
Delete package-appimage.sh 2025-10-23 08:53:57 +08:00
JieXu
3e7bb81d13
Update build-linux.yml 2025-10-23 08:52:41 +08:00
7 changed files with 38 additions and 16 deletions

View file

@ -28,7 +28,7 @@ Package: v2rayN
Version: $Version
Architecture: $Arch2
Maintainer: https://github.com/2dust/v2rayN
Depends: libc6 (>= 2.34), fontconfig (>= 2.14), libx11-6 (>= 1.7), openssl (>= 3.0), desktop-file-utils (>= 0.26), xdg-utils (>= 1.1.3)
Depends: libc6 (>= 2.34), fontconfig (>= 2.14), desktop-file-utils (>= 0.26), xdg-utils (>= 1.1.3), coreutils (>= 8.32), libx11-6, openssl
Description: A GUI client for Windows and Linux, support Xray core and sing-box-core and others
EOF

View file

@ -614,14 +614,13 @@ ExclusiveArch: aarch64 x86_64
Source0: __PKGROOT__.tar.gz
# Runtime dependencies (Avalonia / X11 / Fonts / GL)
Requires: libXrandr, libXcursor, libXi, libXext, libxcb, libXrender, libXfixes, libXinerama, libxkbcommon
Requires: freetype, cairo, pango, mesa-libEGL, mesa-libGL
Requires: libX11, libXrandr, libXcursor, libXi, libXext, libxcb, libXrender, libXfixes, libXinerama, libxkbcommon
Requires: fontconfig, freetype, cairo, pango, openssl, mesa-libEGL, mesa-libGL
Requires: glibc >= 2.34
Requires: fontconfig >= 2.14
Requires: libX11 >= 1.7
Requires: openssl >= 1:3.0
Requires: desktop-file-utils >= 0.26
Requires: xdg-utils >= 1.1.3
Requires: coreutils >= 8.32
%description
v2rayN Linux for Red Hat Enterprise Linux

View file

@ -215,6 +215,7 @@ public class Dns4Ray
public class DnsServer4Ray
{
public string? address { get; set; }
public int? port { get; set; }
public List<string>? domains { get; set; }
public bool? skipFallback { get; set; }
public List<string>? expectedIPs { get; set; }

View file

@ -127,7 +127,7 @@
<value>Format de configuration incorrect</value>
</data>
<data name="CustomServerTips" xml:space="preserve">
<value>Attention : une configuration personnalisée repose entièrement sur vos propres paramètres et ne permet pas dutiliser toutes les fonctions. Pour utiliser le proxy système, modifiez manuellement le port découte.</value>
<value>Attention : la configuration personnalisée dépend entièrement de vos paramètres et peut ne pas activer toutes les fonctions. Pour utiliser le proxy système, changez le port découte manuellement.</value>
</data>
<data name="Downloading" xml:space="preserve">
<value>Téléchargement commencé...</value>
@ -1309,7 +1309,7 @@
<value>Nutilisez pas dadresse dabonnement HTTP non sécurisée</value>
</data>
<data name="TbSettingsCurrentFontFamilyLinuxTip" xml:space="preserve">
<value>Installez la police sur le système, choisissez ou saisissez son nom, effet après redémarrage</value>
<value>Installer la police sur le système, choisir ou saisir son nom, effet après redémarrage</value>
</data>
<data name="menuExitTips" xml:space="preserve">
<value>Voulez-vous vraiment quitter ?</value>
@ -1321,7 +1321,7 @@
<value>Mot de passe sudo du système</value>
</data>
<data name="TbSettingsLinuxSudoPasswordTip" xml:space="preserve">
<value>Le mot de passe sera vérifié en ligne de commande. En cas déchec entraînant un dysfonctionnement, redémarrez lapplication. Le mot de passe nest pas stocké et doit être saisi à chaque redémarrage.</value>
<value>Le mot de passe sera vérifié en ligne de commande. En cas déchec ou de dysfonctionnement, redémarrez lapplication. Il nest pas stocké et doit être saisi à chaque redémarrage.</value>
</data>
<data name="TransportHeaderTypeTip5" xml:space="preserve">
<value>*Mode XHTTP</value>

View file

@ -294,7 +294,7 @@ public partial class CoreConfigSingboxService
var tls = new Tls4Sbox()
{
enabled = true,
record_fragment = _config.CoreBasicItem.EnableFragment,
record_fragment = _config.CoreBasicItem.EnableFragment ? true : null,
server_name = server_name,
insecure = Utils.ToBool(node.AllowInsecure.IsNullOrEmpty() ? _config.CoreBasicItem.DefAllowInsecure.ToString().ToLower() : node.AllowInsecure),
alpn = node.GetAlpn(),

View file

@ -86,8 +86,8 @@ public partial class CoreConfigV2rayService
}
}
// Handle outbounds - append instead of override
var customOutboundsNode = fullConfigTemplateNode["outbounds"] is JsonArray outbounds ? outbounds : new JsonArray();
var customOutboundsNode = new JsonArray();
foreach (var outbound in v2rayConfig.outbounds)
{
if (outbound.protocol.ToLower() is "blackhole" or "dns" or "freedom")
@ -97,14 +97,27 @@ public partial class CoreConfigV2rayService
continue;
}
}
else if ((outbound.streamSettings?.sockopt?.dialerProxy.IsNullOrEmpty() == true) && (!fullConfigTemplate.ProxyDetour.IsNullOrEmpty()) && !(Utils.IsPrivateNetwork(outbound.settings?.servers?.FirstOrDefault()?.address ?? string.Empty) || Utils.IsPrivateNetwork(outbound.settings?.vnext?.FirstOrDefault()?.address ?? string.Empty)))
else if (!fullConfigTemplate.ProxyDetour.IsNullOrEmpty())
{
var outboundAddress = outbound.settings?.servers?.FirstOrDefault()?.address ?? outbound.settings?.vnext?.FirstOrDefault()?.address ?? string.Empty;
if (!Utils.IsPrivateNetwork(outboundAddress))
{
outbound.streamSettings ??= new StreamSettings4Ray();
outbound.streamSettings.sockopt ??= new Sockopt4Ray();
outbound.streamSettings.sockopt.dialerProxy = fullConfigTemplate.ProxyDetour;
}
}
customOutboundsNode.Add(JsonUtils.DeepCopy(outbound));
}
if (fullConfigTemplateNode["outbounds"] is JsonArray templateOutbounds)
{
foreach (var outbound in templateOutbounds)
{
customOutboundsNode.Add(outbound?.DeepClone());
}
}
fullConfigTemplateNode["outbounds"] = customOutboundsNode;
return await Task.FromResult(JsonUtils.Serialize(fullConfigTemplateNode));

View file

@ -79,9 +79,18 @@ public partial class CoreConfigV2rayService
static object CreateDnsServer(string dnsAddress, List<string> domains, List<string>? expectedIPs = null)
{
var (domain, scheme, port, path) = Utils.ParseUrl(dnsAddress);
var domainFinal = dnsAddress;
int? portFinal = null;
if (scheme.IsNullOrEmpty() || scheme.Contains("udp", StringComparison.OrdinalIgnoreCase) || scheme.Contains("tcp", StringComparison.OrdinalIgnoreCase))
{
domainFinal = domain;
portFinal = port > 0 ? port : null;
}
var dnsServer = new DnsServer4Ray
{
address = dnsAddress,
address = domainFinal,
port = portFinal,
skipFallback = true,
domains = domains.Count > 0 ? domains : null,
expectedIPs = expectedIPs?.Count > 0 ? expectedIPs : null