Uniform.Turn
0.1.69
dotnet add package Uniform.Turn --version 0.1.69
NuGet\Install-Package Uniform.Turn -Version 0.1.69
<PackageReference Include="Uniform.Turn" Version="0.1.69" />
<PackageVersion Include="Uniform.Turn" Version="0.1.69" />
<PackageReference Include="Uniform.Turn" />
paket add Uniform.Turn --version 0.1.69
#r "nuget: Uniform.Turn, 0.1.69"
#:package Uniform.Turn@0.1.69
#addin nuget:?package=Uniform.Turn&version=0.1.69
#tool nuget:?package=Uniform.Turn&version=0.1.69
Uniform.Turn
Uniform.Turn is a STUN and TURN server in pure C#, following RFC 8489 and RFC 8656:
- Answers STUN Binding requests, so clients learn their public address.
- Relays UDP for clients that reach it over UDP, TCP or TLS: allocations, permissions, channels, Send and Data indications, refreshes.
- Long-term credentials with stateless nonces: time-limited credentials from shared secrets, as Matrix homeservers hand out (
SharedSecretAuthenticator), or fixed users (StaticUserAuthenticator). - Refuses to relay to private, loopback and other non-public addresses by default, limits allocations per user and in total, and ends what is not refreshed.
- Relays between two allocations of the same server directly, so clients behind the same router as the server need no NAT hairpinning.
dotnet add package Uniform.Turn
TurnServerOptions options = new() { Realm = "example.org", ExternalAddress = IPAddress.Parse("203.0.113.5") };
await using TurnServer server = new(options, new SharedSecretAuthenticator([secret], TimeProvider.System), logger);
await server.StartAsync();
Uniform.Stun.Hosting runs it in a .NET host, with settings.
About
Part of Uniform.Chat, a pure .NET implementation of the Matrix specification. It is an early pre-release: APIs may still change. More in the developer guide.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.12)
- Uniform.Stun.Protocol (>= 0.1.69)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Uniform.Turn:
| Package | Downloads |
|---|---|
|
Uniform.Stun.Hosting
Runs the Uniform.Turn STUN and TURN server in a .NET host: settings in section Turn, credentials from shared secrets, fixed users or the host, TLS certificates from PEM files that renew without a restart. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.1.69 | 0 | 11/29/2026 |
| 0.1.66 | 111 | 11/25/2026 |
| 0.1.65 | 122 | 11/24/2026 |
| 0.1.64 | 118 | 11/24/2026 |
| 0.1.63 | 121 | 11/24/2026 |
| 0.1.59 | 124 | 11/23/2026 |
| 0.1.58 | 126 | 11/19/2026 |
| 0.1.57 | 124 | 11/19/2026 |
| 0.1.55 | 129 | 11/18/2026 |
| 0.1.54 | 127 | 11/18/2026 |
| 0.1.53 | 125 | 11/18/2026 |
| 0.1.52 | 126 | 11/18/2026 |
| 0.1.51 | 129 | 11/15/2026 |
| 0.1.50 | 141 | 11/13/2026 |
| 0.1.49 | 130 | 11/12/2026 |
| 0.1.46 | 121 | 11/12/2026 |
| 0.1.43 | 128 | 11/11/2026 |
| 0.1.42 | 126 | 11/11/2026 |
| 0.1.39 | 127 | 11/11/2026 |
| 0.1.38 | 122 | 11/11/2026 |