WireGuard.Net
2024.11.8
dotnet add package WireGuard.Net --version 2024.11.8
NuGet\Install-Package WireGuard.Net -Version 2024.11.8
<PackageReference Include="WireGuard.Net" Version="2024.11.8" />
<PackageVersion Include="WireGuard.Net" Version="2024.11.8" />
<PackageReference Include="WireGuard.Net" />
paket add WireGuard.Net --version 2024.11.8
#r "nuget: WireGuard.Net, 2024.11.8"
#:package WireGuard.Net@2024.11.8
#addin nuget:?package=WireGuard.Net&version=2024.11.8
#tool nuget:?package=WireGuard.Net&version=2024.11.8
WireGuard.NET
Prototype of the WireGuard Protocol in .NET (dont use in production) This project was developed as part of a degree course.
It was used to establish a WireGuard connection to several WireGuard servers in user space as a client. The next step was to set up a TCP/IP stack within the tunnel to enable communication through this tunnel.
Many things were tried, from RAW sockets to a prototype TCP/IP stack implementation. A fully functioning prototype was developed. However, it was not stable, not to mention the thousands of reasons why you should not build a TCP/IP stack yourself. This repo therefore only contains the WireGuard part. It should be noted that the code was written by a student and should be treated as such. Nevertheless, great care has been taken to be compliant with the technical whitepaper (https://www.wireguard.com/papers/wireguard.pdf). However, it should be noted that the ‘Under Load: Cookie Reply Message’ described in section 5.4.7 has not been implemented.
If anyone is interested in the code or sees a way to use it for the use case described, please do not hesitate to contact me.
Foreign Code Used
- https://github.com/Metalnem/noise - MIT License - The ‘Noise’ folder contains a greatly reduced version that has been adapted to WireGuard
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. 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. |
-
net8.0
- BouncyCastle.Cryptography (>= 2.4.0)
- Microsoft.Extensions.Logging.Abstractions (>= 8.0.2)
- SauceControl.Blake2Fast (>= 2.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2024.11.8 | 808 | 11/8/2024 |