14 Commits

Author SHA1 Message Date
Shadowghost
a7b2b92f2b Backport pull request #11671 from jellyfin/release-10.9.z
Fix network binding

Original-merge: 430d450828123e6c369db5aff728462e2efde6fd

Merged-by: nielsvanvelzen <nielsvanvelzen@users.noreply.github.com>

Backported-by: Joshua M. Boniface <joshua@boniface.me>
2024-05-17 13:51:48 -04:00
gnattu
69d4886697 Backport pull request #11587 from jellyfin/release-10.9.z
Fix network config

Original-merge: f396a95f05f965c40bddd4cd47a1aa1ccbafaff7

Merged-by: crobibero <cody@robibe.ro>

Backported-by: Joshua M. Boniface <joshua@boniface.me>
2024-05-13 12:47:38 -04:00
gnattu
76757719f7 Cleanup more unused code
Signed-off-by: gnattu <gnattuoc@me.com>
2024-05-07 07:39:47 +08:00
gnattu
07faa8a3fb Cleanup unused code
Signed-off-by: gnattu <gnattuoc@me.com>
2024-05-07 07:36:41 +08:00
gnattu
d919284b59 Let AutoDiscoveryHost bind to all addresses
Signed-off-by: gnattu <gnattuoc@me.com>
2024-05-07 06:53:02 +08:00
gnattu
80fac82c2c
fix: bind auto-discovery to multicast ip on macOS (#11368) 2024-04-17 10:44:20 -06:00
Cody Robibero
ed82d79647
Catch exceptions in auto discovery (#11252) 2024-03-30 17:28:03 -06:00
Patrick Barron
99ea6059c7 Use IHostedService for UPnP port forwarding 2024-02-07 10:52:36 -05:00
Patrick Barron
43b32b0d94
Auto Discovery Cleanup (#10793)
* 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
2024-01-06 13:34:09 -07:00
Patrick Barron
eea676429b Use file-scoped namespaces in Jellyfin.Networking 2023-11-30 12:26:37 -05:00
Patrick Barron
1b821efcf2 Move ExternalPortForwarding to Jellyfin.Networking 2023-11-30 12:23:34 -05:00
Patrick Barron
fc1e27b754 Move SocketFactory to Jellyfin.Networking 2023-11-30 12:03:58 -05:00
Patrick Barron
f1ca1dd7cc Move UdpServerEntryPoint to Jellyfin.Networking 2023-11-30 11:57:09 -05:00
Patrick Barron
9597648ce3 Move Jellyfin.Networking to src 2023-11-30 11:57:07 -05:00