aboutsummaryrefslogtreecommitdiff
path: root/src/Jellyfin.Networking
AgeCommit message (Collapse)Author
2025-06-03Fix missing logging of connections by disallowed IPs (#14011)jade
2025-04-19Add port awareness to startup server (#13913)JPVenson
2025-03-15Merge pull request #13493 from gnattu/fix-subnet-check-masterCody Robibero
2025-03-13More typosgnattu
2025-02-22Remove GetMacAddresses from NetworkManagerNiels van Velzen
2025-02-04Fix subnet contains checkgnattu
We are still using `Subnet.Contains` a lot but that does not handle IPv4 mapped to IPv6 addresses at all. It was partially fixed by #12094 in local network checking, but it may not always happen on LAN. Also make all local network checking to use IsInLocalNetwork method instead of just performing `Subnet.Contains` which is not accurate. Filter out all link-local addresses for external interface matching.
2025-02-03Backport pull request #13448 from jellyfin/release-10.10.zShadowghost
Fix interface ordering again Original-merge: 731874429c4c9bf5e2374f4160893f0f59d771e7 Merged-by: Bond-009 <bond.009@outlook.com> Backported-by: Bond_009 <bond.009@outlook.com>
2025-02-03Backport pull request #13382 from jellyfin/release-10.10.zShadowghost
Fix interface selection Original-merge: 0394965753f6d6c24ef67580b7a1c25d5f15ea82 Merged-by: joshuaboniface <joshua@boniface.me> Backported-by: Bond_009 <bond.009@outlook.com>
2025-02-03Backport pull request #13187 from jellyfin/release-10.10.zgnattu
Properly check LAN IP in HasRemoteAccess Original-merge: eb5f8d49dde2c7fe07cb50cf185ae1f9f62f3c54 Merged-by: Bond-009 <bond.009@outlook.com> Backported-by: Bond_009 <bond.009@outlook.com>
2025-01-25chore: fix spellingJosh Soref
* a * acceleration * addition * altogether * api clients * artist * associated * bandwidth * cannot * capabilities * case-insensitive * case-sensitive * configuration * delimiter * dependent * diacritics * directors * enable * explicitly * filters * finish * have * hierarchy * implicit * include * information * into * its * keepalive * localization * macos * manual * matching * metadata * nonexistent * options * overridden * parsed * parser * playback * preferring * processes * processing * provider * ratings * retrieval * running * segments * separate * should * station * subdirectories * superseded * supported * system * than * the * throws * transpose * valid * was link: forum or chat rooms Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2025-01-25Remove the ability to auto port forward (#13222)Bond-009
2024-12-12move to new System.Threading.Lock type for better performanceDaniyar Alpyspayev
2024-11-16Update projects to .NET 9 (#13023)Bond-009
2024-10-05NetworkManager: Use MemberNotNull attributeAlexander Gramiak
Added in .NET 5, this attribute allows for the compiler to recognize that InitializeLan (and by extension, UpdateSettings) will initialize the specified fields.
2024-09-09cli: add option to disable network change detection (#11253)gnattu
2024-08-30Remove BOM from UTF-8 filesBond_009
I think some people need to change their IDE configuration ;)
2024-06-23Backport pull request #12094 from jellyfin/release-10.9.zShadowghost
Map IPv6 mapped IPv4 addresses back to IPv4 before running checks Original-merge: f097aad01e6992d9f65d1cfe32e569a785e2918c Merged-by: Bond-009 <bond.009@outlook.com> Backported-by: Joshua M. Boniface <joshua@boniface.me>
2024-05-25Backport pull request #11766 from jellyfin/release-10.9.zgnattu
Filter invalid IPs on external interface matching Original-merge: 2eece01acc32dcd14ea83e224d2bccd8060010e2 Merged-by: crobibero <cody@robibe.ro> Backported-by: Joshua M. Boniface <joshua@boniface.me>
2024-05-17Backport pull request #11671 from jellyfin/release-10.9.zShadowghost
Fix network binding Original-merge: 430d450828123e6c369db5aff728462e2efde6fd Merged-by: nielsvanvelzen <nielsvanvelzen@users.noreply.github.com> Backported-by: Joshua M. Boniface <joshua@boniface.me>
2024-05-13Backport pull request #11587 from jellyfin/release-10.9.zgnattu
Fix network config Original-merge: f396a95f05f965c40bddd4cd47a1aa1ccbafaff7 Merged-by: crobibero <cody@robibe.ro> Backported-by: Joshua M. Boniface <joshua@boniface.me>
2024-05-07Cleanup more unused codegnattu
Signed-off-by: gnattu <gnattuoc@me.com>
2024-05-07Cleanup unused codegnattu
Signed-off-by: gnattu <gnattuoc@me.com>
2024-05-07Let AutoDiscoveryHost bind to all addressesgnattu
Signed-off-by: gnattu <gnattuoc@me.com>
2024-04-17fix: bind auto-discovery to multicast ip on macOS (#11368)gnattu
2024-03-30Catch exceptions in auto discovery (#11252)Cody Robibero
2024-02-07Use IHostedService for UPnP port forwardingPatrick Barron
2024-01-06Auto Discovery Cleanup (#10793)Patrick Barron
* Call GetSmartApiUrl directly in UdpServer.RespondToV2Message GetSmartApiUrl already returns PublishedServerUrl if set. * Rewrite auto discovery using UdpClient and BackgroundService * Respect network address settings in AutoDiscoveryHost * Always listen on broadcast address in Linux for auto-discovery * Await udp server tasks in AutoDiscoveryHost * Only bind to broadcast addresses for IPv4 * Only bind to broadcast if IPv4 is enabled
2023-11-30Use file-scoped namespaces in Jellyfin.NetworkingPatrick Barron
2023-11-30Move ExternalPortForwarding to Jellyfin.NetworkingPatrick Barron
2023-11-30Move SocketFactory to Jellyfin.NetworkingPatrick Barron
2023-11-30Move UdpServerEntryPoint to Jellyfin.NetworkingPatrick Barron
2023-11-30Move Jellyfin.Networking to srcPatrick Barron