From 03479caf9db3447310f33a6711416a63bf6b0001 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Fri, 8 Mar 2019 22:33:15 +0100 Subject: Initial commit Signed-off-by: Jason A. Donenfeld Signed-off-by: Simon Rozman --- wintun.inf | 66 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 wintun.inf (limited to 'wintun.inf') diff --git a/wintun.inf b/wintun.inf new file mode 100644 index 0000000..090878b --- /dev/null +++ b/wintun.inf @@ -0,0 +1,66 @@ +; SPDX-License-Identifier: GPL-2.0 +; +; Copyright (C) 2018-2019 WireGuard LLC. All Rights Reserved. + +[Version] +Signature = "$Windows NT$" +Class = Net +ClassGUID = {4D36E972-E325-11CE-BFC1-08002BE10318} +Provider = %Wintun.CompanyName% +CatalogFile.NT = wintun.cat + +[Manufacturer] +%Wintun.CompanyName% = %Wintun.Name%, NT$ARCH$ + +[SourceDisksNames] +1 = %Wintun.DiskDesc%, "", , + +[SourceDisksFiles] +wintun.sys = 1 + +[DestinationDirs] +DefaultDestDir = 12 +Wintun.CopyFiles.Sys = 12 + +[Wintun.CopyFiles.Sys] +wintun.sys, , , 0x00004002 ; COPYFLG_IN_USE_RENAME | COPYFLG_NOSKIP + +[Wintun.NT$ARCH$] +%Wintun.DeviceDesc% = Wintun.Install, Wintun + +[Wintun.Install] +Characteristics = 0x1 ; NCF_VIRTUAL +AddReg = Wintun.Ndi +CopyFiles = Wintun.CopyFiles.Sys +*IfType = 53 ; IF_TYPE_PROP_VIRTUAL +*MediaType = 19 ; NdisMediumIP +*PhysicalMediaType = 0 ; NdisPhysicalMediumUnspecified +EnableDhcp = 0 ; Disable DHCP + +[Wintun.Install.Services] +AddService = %Wintun.Name%, 2, Wintun.Service, Wintun.EventLog, , %Wintun.Name% + +[Wintun.Ndi] +HKR, , DeviceVxDs, , wintun.sys +HKR, Ndi, Service, 0, Wintun.Name +HKR, Ndi\Interfaces, UpperRange, , "ndis5" +HKR, Ndi\Interfaces, LowerRange, , "nolower" + +[Wintun.Service] +DisplayName = %Wintun.Name% +Description = %Wintun.DeviceDesc% +ServiceType = 1 +StartType = 3 +ErrorControl = 1 +ServiceBinary = %12%\wintun.sys +LoadOrderGroup = NDIS + +[Wintun.EventLog] +HKR, , EventMessageFile, 0x00020000, "%11%\IoLogMsg.dll;%12%\wintun.sys" +HKR, , TypesSupported, 0x00010001, 7 + +[Strings] +Wintun.Name = "Wintun" +Wintun.DiskDesc = "Wintun Driver Install Disk" +Wintun.DeviceDesc = "Wintun Userspace Tunnel" +Wintun.CompanyName = "WireGuard LLC" -- cgit v1.2.3-59-g8ed1b