|
|
|
@ -536,7 +536,7 @@ namespace Jellyfin.Networking.Tests
|
|
|
|
|
[Theory]
|
|
|
|
|
[InlineData("185.10.10.10", "79.2.3.4", false)] // blacklist
|
|
|
|
|
[InlineData("185.10.10.10", "185.10.10.10", true)] // blacklist
|
|
|
|
|
public void HasRemoteAccess_GivenNonEmptBlacklist_BlacklistTheIps(string addresses, string remoteIp, bool denied)
|
|
|
|
|
public void HasRemoteAccess_GivenNonEmptyBlacklist_BlacklistTheIps(string addresses, string remoteIp, bool denied)
|
|
|
|
|
{
|
|
|
|
|
// Comma separated list of IP addresses or IP/netmask entries for networks that will be allowed to connect remotely.
|
|
|
|
|
// If left blank, all remote addresses will be allowed.
|
|
|
|
|