aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Common/Net/INetworkManager.cs
AgeCommit message (Collapse)Author
2025-06-03Fix missing logging of connections by disallowed IPs (#14011)jade
2025-02-22Remove GetMacAddresses from NetworkManagerNiels van Velzen
2023-11-30Fix nullability for INetworkManager.GetBindAddressPatrick Barron
2023-07-02Apply review suggestionsShadowghost
2023-02-20Apply review suggestionsShadowghost
2023-02-20Apply review suggestionsShadowghost
2023-02-17Consistently write IP in upercaseShadowghost
2023-02-17Replace ISocket and UdpSocket, fix DLNA and SSDP binding and discoveryShadowghost
2023-02-15Apply review suggestionsShadowghost
2022-10-16Properly name some bind address functions, cleanup loggingShadowghost
2022-07-21Cleanup and fixesShadowghost
2022-07-20Simplify codeShadowghost
2022-07-20Move away from using Collection, simplify code, add proper orderingShadowghost
2022-07-19Fix buildShadowghost
2022-07-19Migrate NetworkManager and Tests to native .NET IP objectsShadowghost
2021-05-05Enable nullable reference types for MediaBrowser.CommonBond_009
2021-04-17Remove unused using directivesBaronGreenback
2021-03-11Fix remote accessBaronGreenback
2020-11-24[Fix] NetworkManager binding to [::] (#4549)BaronGreenback
* Autodiscovery enable/disable patch * Fixed [::] issue on bind. Altered test. * Update UdpServerEntryPoint.cs * Update Jellyfin.Networking.Tests.csproj * Update Jellyfin.Networking.Tests.csproj * Update INetworkManager.cs
2020-11-16Updated PR1 code.Greenback
2020-10-31Updated with new NetManagerGreenback
2020-10-08Updated NetworkManager to PR1Greenback
2020-09-30Updating to NetCollection 1.03Jim Cartlidge
2020-09-14Update based on PR1 changes.Jim Cartlidge
2020-09-12Large number of filesJim Cartlidge
2020-06-11Update INetworkManager.csBaronGreenback
2020-06-11Update INetworkManager.csBaronGreenback
Editting comments - adding periods
2020-05-17Update MediaBrowser.Common/Net/INetworkManager.csBaronGreenback
Co-authored-by: Patrick Barron <18354464+barronpm@users.noreply.github.com>
2020-05-17Update MediaBrowser.Common/Net/INetworkManager.csBaronGreenback
Co-authored-by: Patrick Barron <18354464+barronpm@users.noreply.github.com>
2020-05-17Update MediaBrowser.Common/Net/INetworkManager.csBaronGreenback
Co-authored-by: Patrick Barron <18354464+barronpm@users.noreply.github.com>
2020-04-29Changes styles as suggested by @barronpmBaronGreenback
Added addtional comments & source type as per intellisense suggestion change code as per sonacloud
2020-04-28Whilst fixing issues with SSDP on devices with multiple interfaces, i came ↵BaronGreenback
across a design issue in the current code - namely interfaces without a gateway were ignored. Fixing this required the removal of the code that attempted to detect virtual interfaces. Not wanting to remove functionality, but not able to keep the code in place, I implemented a work around solution (see 4 below). Whilst in the area, I also fixed a few minor bugs i encountered (1, 5, 6 below) and stopped SSDP messages from going out on non-LAN interfaces (3) All these changes are related. Changes 1 IsInPrivateAddressSpace - improved subnet code checking 2 interfaces with no gateway were being excluded from SSDP blasts 3 filtered SSDP blasts from not LAN addresses as defined on the network page. 4 removed #986 mod - as this was part of the issue of #2986. Interfaces can be excluded from the LAN by putting the LAN address in brackets. eg. [10.1.1.1] will exclude an interface with ip address 10.1.1.1 from SSDP 5 fixed a problem where an invalid LAN address causing the SSDP to crash 6 corrected local link filter (FilterIPAddress) to filter on 169.254. addresses
2020-04-28Revert "Whilst fixing issues with SSDP on devices with multiple interfaces, ↵BaronGreenback
i came across a design issue in the current code - namely interfaces without a gateway were ignored." This reverts commit 2aaecb8e148aef6cda67797fa4227a8ebcf7e5bb.
2020-04-28Whilst fixing issues with SSDP on devices with multiple interfaces, i came ↵BaronGreenback
across a design issue in the current code - namely interfaces without a gateway were ignored. Fixing this required the removal of the code that attempted to detect virtual interfaces. Not wanting to remove functionality, but not able to keep the code in place, I implemented a work around solution (see 4 below). Whilst in the area, I also fixed a few minor bugs i encountered (1, 5, 6 below) and stopped SSDP messages from going out on non-LAN interfaces (3) All these changes are related. Changes 1 IsInPrivateAddressSpace - improved subnet code checking 2 interfaces with no gateway were being excluded from SSDP blasts 3 filtered SSDP blasts from not LAN addresses as defined on the network page. 4 removed #986 mod - as this was part of the issue of #2986. Interfaces can be excluded from the LAN by putting the LAN address in brackets. eg. [10.1.1.1] will exclude an interface with ip address 10.1.1.1 from SSDP 5 fixed a problem where an invalid LAN address causing the SSDP to crash 6 corrected local link filter (FilterIPAddress) to filter on 169.254. addresses
2020-02-23Fix some warningsBond_009
* Add analyzers to MediaBrowser.XbmcMetadata * Enable TreatWarningsAsErrors for MediaBrowser.XbmcMetadata * Add analyzers to MediaBrowser.WebDashboard * Enable TreatWarningsAsErrors for MediaBrowser.WebDashboard * Disable SA1600 in favor of CS1591
2019-12-11More warnings (removed)Bond_009
2019-11-28Minor improvements to network codeBond-009
2019-10-09Enable `TreatWarningsAsErrors` for MediaBrowser.Common and Emby.PhotosBond_009
Adds `#pragma warning disable CS1591` to all files in MediaBrowser.Common containing undocumented members.
2019-08-09Fix more warningsBond_009
2019-07-25Remove IpAddressInfo and IpEndPointInfo classesBond_009
2019-02-22Send DLNA devices message to only the matched interfaceXu Fasheng
This will be the right way for multiple interfaces, or the client will receive all devices message with different IP addresses and could not detect which one could access. And provide one option DlnaOptions.SendOnlyMatchedHost to fallback to old behaviour if this commit missed something.
2019-02-22Add option to toggle if ignore virtual interfacesXu Fasheng
Some VPN like ZerotierOne owns IP address but no gateway, and there is no good idea in NetworkManager.GetIPsDefault() to filter such virtual interfaces, so just provide one option to let user decide it.
2019-01-13EditorConfig reformat: Emby.XmlTv, Jellyfin.Server. MediaBrowser.Api, ↵Erwin de Haan
MediaBrowser.Common
2019-01-13Visual Studio Reformat: MediaBrowser.CommonErwin de Haan
2018-12-27Add GPL modulesAndrew Rabert
2018-09-12Update to 3.5.2 and .net core 2.1stefan
2017-11-29fix live tv over dlnaLuke Pulverenti
2017-03-02update legacy streamLuke Pulverenti
2016-12-04first pass at binding to multiple network addressesLuke Pulverenti
2016-11-11update core projectLuke Pulverenti