aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/embeddable-dll-service (follow)
Commit message (Collapse)AuthorAgeFilesLines
* embeddable-dll-service: build: .gitignore outputsSimon Rozman2022-03-281-0/+4
| | | | Signed-off-by: Simon Rozman <simon@rozman.si>
* embeddable-dll-service: build: integrate tunnel.dll signingSimon Rozman2022-03-281-0/+7
| | | | Signed-off-by: Simon Rozman <simon@rozman.si>
* embeddable-dll-service: csharp: ensure double \0 terminationSimon Rozman2022-03-281-4/+1
| | | | Signed-off-by: Simon Rozman <simon@rozman.si>
* embeddable-dll-service: correctness in READMESimon Rozman2022-03-281-2/+3
| | | | Signed-off-by: Simon Rozman <simon@rozman.si>
* global: bump dateJason A. Donenfeld2022-01-0610-10/+10
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* global: apply gofumptJason A. Donenfeld2021-12-091-6/+5
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* embeddable-dll-service: update for new wgnt APIJason A. Donenfeld2021-10-272-8/+4
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* embeddable-dll-service: remove named pipe mention from READMEJason A. Donenfeld2021-10-161-2/+0
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* global: prefer WireGuardNT over wireguard-go/WintunJason A. Donenfeld2021-09-121-14/+1
| | | | | | Also remove Wintun driver on startup. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* embeddable-dll-service: csharp: fix type conversionsJason A. Donenfeld2021-08-142-3/+3
| | | | | | | | | | ADDRESS_FAMILY is a u16, not a u32. C# promotes a ushort to an int, not to a short, so ntohl was being called instead of ntohs. Fix this with explicit casts. Reported-by: Neutron <dotneutron@protonmail.ch> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* embeddable-dll-service: csharp: specify stdcall, not cdeclJason A. Donenfeld2021-08-131-3/+3
| | | | | | | wireguard.h uses the WINAPI macro, which is __stdcall, so mark these as such. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* embeddable-dll-service: allow falling back to wireguard-goJason A. Donenfeld2021-08-101-2/+14
| | | | | Requested-by: Dmitry Smirnov <dmitry.smirnov@netprotect.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* embeddable-dll-service: csharp: update for wgntJason A. Donenfeld2021-08-104-35/+316
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* embeddable-dll-service: use wgnt alwaysJason A. Donenfeld2021-08-093-8/+3
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* embeddable-dll-service: mention that you need dlls in right placeJason A. Donenfeld2021-08-092-4/+2
| | | | | Reported-by: Dmitry Smirnov <dmitry.smirnov@netprotect.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* driver: introduce new module for talking with kernel driverJason A. Donenfeld2021-08-021-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* embeddable-dll-service: .gitignore VS output foldersSimon Rozman2021-08-021-0/+3
| | | | Signed-off-by: Simon Rozman <simon@rozman.si>
* build: bump to go 1.17beta1Jason A. Donenfeld2021-06-182-2/+2
| | | | | | | Also, enable arm64 embeddable tunnel service building. Requested-by: Dmitry Smirnov <dmitry.smirnov@netprotect.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* embeddable-dll-service: correctness in READMEJason A. Donenfeld2021-05-051-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* embeddable-dll-service: update README docJason A. Donenfeld2021-05-051-6/+2
| | | | | | | We now pass a LPWSTR instead of a Go string. Reported-by: Fabrizio Carimati <wireguard@clodo.it> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* embeddable-dll-service: give dacl example for config directoryJason A. Donenfeld2021-02-261-2/+10
| | | | | | It's probably best to encourage people start out in the right direction. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* build: port to arm64Jason A. Donenfeld2021-02-181-21/+6
| | | | | | | | | | We build Go from modified-source with a bootstrap version, rather than shipping so many patches in this repo. This commit also removes the previous WOW hacks, and goes back to strictly forbidding WOW. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* global: bump copyright dateJason A. Donenfeld2021-02-012-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* manager: pipeline UAPI requestsJason A. Donenfeld2021-02-011-15/+15
| | | | | | This avoids the somewhat expensive pipe setup. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* embeddable-dll-service: add more robust example for .NET 5Jason A. Donenfeld2021-01-2114-110/+530
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* embeddable-dll-service: download gcc again, since clang does not work with cgoJason A. Donenfeld2021-01-041-1/+19
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* embeddable-dll-service: fix code block typesJason A. Donenfeld2021-01-042-22/+26
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* global: update headersJason A. Donenfeld2020-11-227-7/+7
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* build: opt-in to resource loading of wintun.dllJason A. Donenfeld2020-11-161-2/+0
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* winipcfg, embeddable-dll-service, wintrust: fix Go 1.15 checkptr violationsBrad Fitzpatrick2020-10-211-1/+1
| | | | | | | | | | Avoids "converted pointer straddles allocation" failures at runtime when building binaries in race mode with Go 1.15, which enables checkptr: https://golang.org/doc/go1.15#windows Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com> [Jason: Note Go 1.16/1.17 todo item.] Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* embeddable-dll-service: acquire pointer reference before atomic incrementJason A. Donenfeld2019-12-111-2/+9
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* embeddable-dll-service: add all functionality to ringloggerJason A. Donenfeld2019-10-312-23/+211
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* build: go 1.13 now passes correct os version to ldJason A. Donenfeld2019-10-281-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* build: tsaware is implicit in modern goJason A. Donenfeld2019-10-261-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* build: enable aslr and depJason A. Donenfeld2019-10-251-1/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* embeddable-dll-service: use on-demand activation instead of autoJason A. Donenfeld2019-10-101-1/+1
| | | | | | | This prevents this from coming back after boot, since we probably want it tied to the parent process. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* embeddable-dll-service: do not marshall go stringsJason A. Donenfeld2019-10-092-14/+4
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* embeddable-dll-service: add key generation function to replace bcryptJason A. Donenfeld2019-10-063-109/+27
| | | | | | | | BCrypt is Win10+ and kind of clunky to use. The tunnel.dll binary has this code in it anyway, so doing it there doesn't actually increase the size of the binary. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* embeddable-dll-service: add csharp example codeJason A. Donenfeld2019-10-066-0/+545
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* embeddable-dll-service: add basic outline for embedding wireguardJason A. Donenfeld2019-09-233-0/+108
This allows people to embed WireGuard inside other apps as a service. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>