From dc8a1d5cbafc842c1ad52adcbf0a4a023931541a Mon Sep 17 00:00:00 2001 From: Mary Date: Mon, 3 Jan 2022 08:57:03 +0100 Subject: [PATCH] misc: Improve DNS blacklist for Nintendo servers (#2963) This blocks more that have been seen in the wild --- .../HOS/Services/Sockets/Sfdnsres/Proxy/DnsBlacklist.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Ryujinx.HLE/HOS/Services/Sockets/Sfdnsres/Proxy/DnsBlacklist.cs b/Ryujinx.HLE/HOS/Services/Sockets/Sfdnsres/Proxy/DnsBlacklist.cs index b20455063f..92c92f663d 100644 --- a/Ryujinx.HLE/HOS/Services/Sockets/Sfdnsres/Proxy/DnsBlacklist.cs +++ b/Ryujinx.HLE/HOS/Services/Sockets/Sfdnsres/Proxy/DnsBlacklist.cs @@ -8,7 +8,8 @@ namespace Ryujinx.HLE.HOS.Services.Sockets.Sfdnsres.Proxy private static readonly Regex[] BlockedHosts = new Regex[] { - new Regex(@"^g(.*)\-lp1\.s\.n\.srv\.nintendo\.net$", RegexOpts), + new Regex(@"^(.*)\-lp1\.(n|s)\.n\.srv\.nintendo\.net$", RegexOpts), + new Regex(@"^(.*)\-lp1\.(znc|p)\.srv\.nintendo\.net$", RegexOpts), new Regex(@"^(.*)\-sb\-api\.accounts\.nintendo\.com$", RegexOpts), new Regex(@"^(.*)\-sb\.accounts\.nintendo\.com$", RegexOpts), new Regex(@"^accounts\.nintendo\.com$", RegexOpts)