aboutsummaryrefslogtreecommitdiff
path: root/RSSDP/SsdpDeviceLocator.cs
AgeCommit message (Collapse)Author
2023-11-15Remove RSSDPPatrick Barron
2023-10-12Merge branch 'master' into fix-resharper-warningsStepan Goremykin
# Conflicts: # Emby.Server.Implementations/Net/SocketFactory.cs # RSSDP/SsdpCommunicationsServer.cs # RSSDP/SsdpDeviceLocator.cs # RSSDP/SsdpDevicePublisher.cs
2023-10-11Refactor URI overrides (#10051)Tim Eisele
2023-10-08Use null propagationStepan Goremykin
2023-10-07Inline out variablesStepan Goremykin
2023-05-09Merge branch 'master' into network-rewriteShadowghost
2023-04-06Remove redundant 'else' keywordsStepan Goremykin
2023-04-06Inline out variable declarationStepan Goremykin
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
2022-02-06Fix invalid cref (#7277)Cody Robibero
2021-10-03Fix warning: Type cast is redundant (#2149)KonH
2021-04-25Merge pull request #5826 from BaronGreenback/ssdpFixBond-009
PlayTo Fix: Use external ip not internal interface
2021-04-15Fix: PlayTo using external ip not internalBaronGreenback
2021-03-03Do nothing in timer callback when device locator is disposedcvium
2020-06-20Merge branch 'master' into SSDPCody Robibero
2020-06-20brace multiline if statements (cont.)telans
2020-06-20brace multiline if statementstelans
2020-06-20fix SA1503 for one line if statementstelans
2020-06-20remove regionstelans
2020-06-16fix SA1513/SA1516telans
2020-06-15fix SA1508telans
2020-06-15fix SA1005telans
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
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-05Remove custom ThreadingClaus Vium
2019-01-13ReSharper conform to 'var' settingsErwin de Haan
2019-01-13Find+Sed BOM removal *.cs: MediaBrowser.Providers-SocketHttpListenerErwin de Haan
2019-01-11Merge branch 'dev' into code-cleanupErwin de Haan
2019-01-10Mayor code cleanupErwin de Haan
Add Argument*Exceptions now use proper nameof operators. Added exception messages to quite a few Argument*Exceptions. Fixed rethorwing to be proper syntax. Added a ton of null checkes. (This is only a start, there are about 500 places that need proper null handling) Added some TODOs to log certain exceptions. Fix sln again. Fixed all AssemblyInfo's and added proper copyright (where I could find them) We live in *current year*. Fixed the use of braces. Fixed a ton of properties, and made a fair amount of functions static that should be and can be static. Made more Methods that should be static static. You can now use static to find bad functions! Removed unused variable. And added one more proper XML comment.
2019-01-07remove trailing whitespacehawken
2018-12-16Removed some warningsBond_009
2018-09-12Update to 3.5.2 and .net core 2.1stefan
2017-08-24update active recordingsLuke Pulverenti
2016-11-14update msearchLuke Pulverenti
2016-11-04make dlna project portableLuke Pulverenti
2016-10-29rework dlna projectLuke Pulverenti