From 7937840f9631fbaaab33bdbad67040b28f5d0387 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Sat, 31 Aug 2019 07:48:42 -0600 Subject: ipc: windows: use protected prefix --- ipc/uapi_windows.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ipc/uapi_windows.go') diff --git a/ipc/uapi_windows.go b/ipc/uapi_windows.go index 4073c97..784b2a8 100644 --- a/ipc/uapi_windows.go +++ b/ipc/uapi_windows.go @@ -54,7 +54,7 @@ func UAPIListen(name string) (net.Listener, error) { config := winpipe.PipeConfig{ SecurityDescriptor: UAPISecurityDescriptor, } - listener, err := winpipe.ListenPipe("\\\\.\\pipe\\WireGuard\\"+name, &config) + listener, err := winpipe.ListenPipe(`\\.\pipe\ProtectedPrefix\Administrators\WireGuard\`+name, &config) if err != nil { return nil, err } -- cgit v1.2.3