mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2024-12-22 22:36:25 +00:00
misc: Improve DNS blacklist for Nintendo servers (#2963)
This blocks more that have been seen in the wild
This commit is contained in:
parent
15131d4350
commit
dc8a1d5cba
@ -8,7 +8,8 @@ namespace Ryujinx.HLE.HOS.Services.Sockets.Sfdnsres.Proxy
|
|||||||
|
|
||||||
private static readonly Regex[] BlockedHosts = new Regex[]
|
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\-api\.accounts\.nintendo\.com$", RegexOpts),
|
||||||
new Regex(@"^(.*)\-sb\.accounts\.nintendo\.com$", RegexOpts),
|
new Regex(@"^(.*)\-sb\.accounts\.nintendo\.com$", RegexOpts),
|
||||||
new Regex(@"^accounts\.nintendo\.com$", RegexOpts)
|
new Regex(@"^accounts\.nintendo\.com$", RegexOpts)
|
||||||
|
Loading…
Reference in New Issue
Block a user