aboutsummaryrefslogtreecommitdiff
path: root/RSSDP
AgeCommit message (Collapse)Author
2020-09-16Minor improvementsBond_009
2020-08-03Minor improvementsBond_009
OFC I reduced some allocations
2020-06-26Update SsdpCommunicationsServer.csBaronGreenback
2020-06-26Update SsdpCommunicationsServer.csBaronGreenback
2020-06-24Sending multicasts out of Sockets without setting the broadcast to true - ↵BaronGreenback
causes the error "Bad value for ai_flags" on some systems (#3404) The underlying cause looks to be https://github.com/dotnet/runtime/issues/28630. Basically, it's an access denied bug. It looks like multicasts need the same access rights as broadcasts on some systems.
2020-06-24Removed debugging infoBaronGreenback
2020-06-24Added logging and broadcast = trueBaronGreenback
Not intended for merge into the fork.
2020-06-20Merge branch 'master' into SSDPCody Robibero
2020-06-20brace multiline if statements (cont.)telans
2020-06-20newlines after bracestelans
2020-06-20brace multiline if statementstelans
2020-06-20fix SA1503 for one line if statementstelans
2020-06-20remove regionstelans
2020-06-16Merge pull request #3343 from telans/comment-stopsBond-009
Add full stop at end of comments (SA1629)
2020-06-16fix SA1513/SA1516telans
2020-06-16Add full stop at end of comments (SA1629)telans
2020-06-15fix SA1508telans
2020-06-15fix SA1005telans
2020-06-03Enable TreatWarningsAsErrors for more projectsBond-009
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-04-21Add <ProjectGuid> properties to all project filesMark Monteiro
This is required for SonarCloud analysis to run
2020-03-24Remove unused usingsBond_009
2020-01-31Fix warningsBond_009
2019-11-01Rewrite hex encoder/decoderBond_009
2019-09-23Fix multiple mistakes and warningsBond_009
2019-07-25Remove IpAddressInfo and IpEndPointInfo classesBond_009
2019-03-25Lower the amount of running tasksBond_009
2019-03-14Adjusted AssemblyCopyright attribute values.Erwin de Haan
2019-03-14Adjusted the Product Name so the User Agent is correct/better.Erwin de Haan
2019-02-23Remove useless if..else in SsdpDevicePublisherXu Fasheng
2019-02-23Update comments for DLNA IPv6Xu Fasheng
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-02-05Remove custom ThreadingClaus Vium
2019-01-20Revert Jellyfin.Versioning, Update all versions and user agents.Erwin de Haan
2019-01-13Merge branch 'dev' into reformatErwin de Haan
2019-01-13ReSharper conform to 'var' settingsErwin de Haan
2019-01-13Find+Sed BOM removal *.xml,*.csproj,*,json,*.sln,*.txtErwin de Haan
2019-01-13Find+Sed BOM removal *.cs: MediaBrowser.Providers-SocketHttpListenerErwin de Haan
2019-01-13Merge pull request #566 from Bond-009/dlnaAndrew Rabert
Avoid printing stacktrace when bind to port 1900 fails
2019-01-13Add exception message to log.Bond-009
Output will be something line: `Failed to bind to port 1900: Address already in use. DLNA will be unavailable`
2019-01-12Don't print stacktrace when failing to bind to 1900Bond_009
2019-01-12Reformatted the files with notes.Erwin 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
2019-01-07Remove tabs and trailing whitespacehawken