mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-02-22 12:32:23 +00:00
Filter invalid IPs on external interface matching (#11766)
This commit is contained in:
@@ -58,6 +58,11 @@ public static class NetworkConstants
|
||||
/// </summary>
|
||||
public static readonly IPNetwork IPv4RFC1918PrivateClassC = new IPNetwork(IPAddress.Parse("192.168.0.0"), 16);
|
||||
|
||||
/// <summary>
|
||||
/// IPv4 Link-Local as defined in RFC 3927.
|
||||
/// </summary>
|
||||
public static readonly IPNetwork IPv4RFC3927LinkLocal = new IPNetwork(IPAddress.Parse("169.254.0.0"), 16);
|
||||
|
||||
/// <summary>
|
||||
/// IPv6 loopback as defined in RFC 4291.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user