Shadowghost
20fd05b050
Consistently write IP in upercase
2 years ago
Shadowghost
42498194d9
Replace ISocket and UdpSocket, fix DLNA and SSDP binding and discovery
2 years ago
Shadowghost
3a91c37283
Merge branch 'master' into network-rewrite
2 years ago
Shadowghost
4eba16c672
Apply review suggestions
2 years ago
Shadowghost
1cc7572445
Apply review suggestions
2 years ago
Zoltan Csizmadia
e0519189b2
Use Directory.Packages.props ( #9135 )
...
Co-authored-by: Zoltan Csizmadia <CsizmadiaZ@valassis.com>
2 years ago
Bond-009
e448797df0
Merge pull request #9066 from barronpm/reduce-logspam
...
Change log level for bind address usage to debug
2 years ago
Shadowghost
343a94f185
Fix CA1851
2 years ago
Shadowghost
656a0bff6f
Merge remote-tracking branch 'upstream/master' into network-rewrite
2 years ago
renovate[bot]
e408da4651
chore(deps): update dependency microsoft.codeanalysis.bannedapianalyzers to v3.3.4 ( #9117 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2 years ago
Patrick Barron
dfc5a4373f
Change log level for bind address usage to debug
...
Fixes #9024
2 years ago
Bond-009
3462676a8f
Fix debug builds ( #8909 )
2 years ago
Shadowghost
2c86bd1875
Merge branch 'master' into network-rewrite
2 years ago
Bond_009
236dd650d0
Update projects to .net7
2 years ago
Bond_009
52194f56b5
Replace != null with is not null
2 years ago
Bond_009
c7d50d640e
Replace == null with is null
2 years ago
Shadowghost
95740ef9a2
Fix build
2 years ago
Shadowghost
36994c17bf
Apply review suggestions
2 years ago
Shadowghost
f6d6f0367b
Properly handle IPs with subnetmasks
2 years ago
Shadowghost
26d79a5ce3
Properly name some bind address functions, cleanup logging
2 years ago
Shadowghost
87d0158a4a
Fix autodiscovery
2 years ago
Shadowghost
4aec41752f
Apply review suggestions
2 years ago
Shadowghost
7b90fcd053
Merge branch 'master' into network-rewrite
2 years ago
Bond_009
a9a5fcde81
Use ArgumentNullException.ThrowIfNull helper method
...
Did a simple search/replace on the whole repo (except the RSSDP project)
This reduces LOC and should improve performance (methods containing a throw statement don't get inlined)
```
if \((\w+) == null\)
\s+\{
\s+throw new ArgumentNullException\((.*)\);
\s+\}
```
```
ArgumentNullException.ThrowIfNull($1);
```
2 years ago
Shadowghost
bd9a940fed
Declare VirtualInterfaceNames as string array for consistency
2 years ago
luz paz
9ec2870b10
Fix various typos
...
Found via `codespell -q 3 -S ./Emby.Server.Implementations/Localization -L allready,doesnt,inh,receivedfrom,whoknows`
2 years ago
Shadowghost
59a86568d9
Cleanup and fixes
2 years ago
Shadowghost
cea8e8bbf6
Fix logging output
2 years ago
Shadowghost
b5c1d6129e
Remove more unused network configuration parameters
2 years ago
Shadowghost
f6e41269d9
Enforce interface bindings on SSDP, add Loopback to LAN if no LAN defined
2 years ago
Shadowghost
358642c2d9
Fix build, fix loopback binding, exclude unsupported IPs from bind
2 years ago
Shadowghost
2d3a16ad0f
Simplify code
2 years ago
Shadowghost
8075cb4e99
Cleanup and sort NetworkConfiguration
2 years ago
Shadowghost
2281b8c997
Move away from using Collection, simplify code, add proper ordering
2 years ago
Shadowghost
64ffd5fd95
Move subnet parser to NetworkExtensions
2 years ago
Shadowghost
997aa3f1e7
Fix build
2 years ago
Shadowghost
066db8ac7f
Migrate NetworkManager and Tests to native .NET IP objects
2 years ago
dependabot[bot]
812841d01e
Bump StyleCop.Analyzers from 1.2.0-beta.406 to 1.2.0-beta.435 ( #7726 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years ago
Cody Robibero
94a69c8a8b
Merge pull request #7549 from cvium/fix_isinlocalnetwork
...
(cherry picked from commit bdb85aeecf
)
Signed-off-by: crobibero <cody@robibe.ro>
3 years ago
dependabot[bot]
dde984bd0e
Bump StyleCop.Analyzers from 1.2.0-beta.376 to 1.2.0-beta.406
...
Bumps [StyleCop.Analyzers](https://github.com/DotNetAnalyzers/StyleCopAnalyzers ) from 1.2.0-beta.376 to 1.2.0-beta.406.
- [Release notes](https://github.com/DotNetAnalyzers/StyleCopAnalyzers/releases )
- [Commits](https://github.com/DotNetAnalyzers/StyleCopAnalyzers/compare/1.2.0-beta.376...1.2.0-beta.406 )
---
updated-dependencies:
- dependency-name: StyleCop.Analyzers
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
3 years ago
Bond_009
3cb49d6df0
Fix option to disable server discovery
3 years ago
Bond_009
2dcb2f8a9f
Ban the usage of Task.Result
...
If the calling function can't be made async easily you can still use
.GetAwaiter().GetResult(), which is way easier to find in the future
3 years ago
Bond_009
cbfa355e31
Update StyleCop
3 years ago
cvium
0485ff1899
Create a store key constant for network
3 years ago
cvium
1c47211a9e
Merge remote-tracking branch 'BaronGreenback/TVFix' into TVFix
3 years ago
cvium
f03e77a4d5
Merge branch 'master' into TVFix
3 years ago
Claus Vium
5eda5eb636
Merge pull request #6486 from fredriklindberg/support-forwarded-headers-for-api-url
3 years ago
Bond_009
13fbfe6091
Target net6.0
3 years ago
Fredrik Lindberg
90174f68e2
Dynamically populate LocalAddress based on HTTP request
...
Support populating the LocalAddress field in the system info
endpoint based on the x-forwarded-host and x-forwarded-proto header.
The x-forwarded-host header must contain both the host and port for
the url to be properly constructed.
Behind network configuration option that is disabled by default.
3 years ago
Claus Vium
4f51a22081
Update Jellyfin.Networking/Manager/NetworkManager.cs
...
Co-authored-by: Cody Robibero <cody@robibe.ro>
3 years ago