Commit Graph

14 Commits

Author SHA1 Message Date
Tim Eisele
430d450828 Fix network binding (#11671)
* Fix network binding

* Better log output

* Fix Kestrel bind message
2024-05-17 18:57:18 +02:00
gnattu
f396a95f05 Fix network config (#11587) 2024-05-13 07:20:47 -06: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