[net] support SCTP protocols (+all base FBSD protos), ban more NS domains (#3955)

bans more NS domains making hb dns check pass

also fixes bogus "SCTP is not implemented" assertion for translate protocol

Signed-off-by: lizzie <lizzie@eden-emu.dev>

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3955
Reviewed-by: MaranBr <maranbr@eden-emu.dev>
Reviewed-by: crueter <crueter@eden-emu.dev>
This commit is contained in:
lizzie
2026-05-21 21:24:18 +02:00
committed by crueter
parent 889545e1ee
commit 46cfd9b6f3
5 changed files with 604 additions and 96 deletions
+31
View File
@@ -55,6 +55,37 @@ enum class NetDbError : s32 {
static const constexpr std::array blockedDomains = {
"srv.nintendo.net", //obvious
"nintendo.es",
"nintendowifi.net",
"nintendo-europe.com",
"nintendo.com.hk",
"nintendo.com.au",
"nintendo.co.kr",
"nintendo.co.uk",
"nintendo.co.jp",
"nintendo.co.nz",
"nintendo.co.za",
"nintendo.com",
"nintendo.jp",
"nintendo.tw",
"nintendo.at",
"nintendo.be",
"nintendo.dk",
"nintendo.de",
"nintendo.fi",
"nintendo.fr",
"nintendo.gr",
"nintendo.hu",
"nintendo.it",
"nintendo.nl",
"nintendo.no",
"nintendo.pt",
"nintendo.ru",
"nintendo.ch",
"nintendo.se",
"nintendoswitch.com.cn",
"nintendoswitch.com",
"sun.hac.lp1.d4c.nintendo.net",
"phoenix-api.wbagora.com", //hogwarts legacy
"battle.net",
"microsoft.com", //minecraft dungeons + other games