mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-16 05:43:54 +03:00
[PR #11766] Filter invalid IPs on external interface matching #12987
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Original Pull Request: https://github.com/jellyfin/jellyfin/pull/11766
State: closed
Merged: Yes
Currently, we are assuming all IPs not in user-set subnet are external IPs, but this is not accurate enough:
IPv4 addresses are not in IPv6 subnets and vice versa, and we will be returning IPv4 binding address as IPv6 external IP
Link Local Addresses are not considered as LAN address in most cases, but we are treating them as external address if available and that is wrong because such addresses are not route-able.
Changes
Issues