wintun | Mirror only Official repository is at https://gitzx2c4com/wintun | Wiki library

 by   WireGuard C Version: 0.14.1 License: Non-SPDX

kandi X-RAY | wintun Summary

kandi X-RAY | wintun Summary

wintun is a C library typically used in Web Site, Wiki applications. wintun has no bugs, it has no vulnerabilities and it has low support. However wintun has a Non-SPDX License. You can download it from GitHub.

Mirror only. Official repository is at
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              wintun has a low active ecosystem.
              It has 317 star(s) with 56 fork(s). There are 18 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              wintun has no issues reported. There are 3 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of wintun is 0.14.1

            kandi-Quality Quality

              wintun has no bugs reported.

            kandi-Security Security

              wintun has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              wintun has a Non-SPDX License.
              Non-SPDX licenses can be open source with a non SPDX compliant license, or non open source licenses, and you need to review them closely before use.

            kandi-Reuse Reuse

              wintun releases are not available. You will need to build from source code and install.
              Installation instructions, examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of wintun
            Get all kandi verified functions for this library.

            wintun Key Features

            No Key Features are available at this moment for wintun.

            wintun Examples and Code Snippets

            No Code Snippets are available at this moment for wintun.

            Community Discussions

            QUESTION

            wintun:ERROR_INVALID_PARAMETER on registering ring buffers
            Asked 2020-Oct-16 at 07:18

            I am currently trying to get the wintun driver to work with my program for simple tunneling (see: https://www.wintun.net/ ).

            I successfully find and open the network device, but when it comes to registering the buffer, I get the result ERROR_INVALID_PARAMETER (87). Like I said, opening works just fine and registering is done with SYSTEM privileges (if this is not done, I get ERROR_ACCESS_DENIED (5)).

            First attempt was to malloc the ring buffers, but after that did not work I looked at how OpenVPN does it (yes, it added wintun support) and they seem to do with with CreateFileMapping.

            First of all, here is my struct:

            ...

            ANSWER

            Answered 2020-Jul-08 at 15:59

            I can see a difference in your code when registering rings.

            You are doing:

            Source https://stackoverflow.com/questions/62670308

            QUESTION

            Windows: interface without ComponentId?
            Asked 2020-Sep-22 at 08:32

            Good morning everyone,

            For the application I develop, in C++, I need to get the componentId of an interface. In particular, the WireGuard interface (componentId=wintun that is the adapter installed with the official WireGuard installer). Usually I get it from the registry key,

            HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4d36e972-0318}\

            where the depends on how many interfaces you have, usually is four digits, like 0015 or 0022...

            Inside it, there should be the value "ComponentId", in OpenVPN it should be "tap0901", in WireGuard "wintun".

            Sometimes I see that I do not have a ComponentId. I have seen it with WireGuard, but the question is more general:

            How can we have an interface without ComponentId? when can it happen? If I don't have the componentId, on which value could I rely?

            ...

            ANSWER

            Answered 2020-Sep-22 at 08:32

            I found the solution here

            build 10049 breaks openvpn

            Basically, if you need the "ComponentId" key, check also the "MatchingDeviceId"

            Source https://stackoverflow.com/questions/63993787

            QUESTION

            DeviceIoControl returning ERROR_ACCESS_DENIED
            Asked 2020-May-02 at 19:57

            I'm trying to interface with a driver for creating TUN interfaces (WinTun), but in order to send and receive data from them I need to register a ring buffer. The code I'm using looks something like this (I omitted the part where I create the device with SetupApi, as that seems to be working):

            ...

            ANSWER

            Answered 2020-May-02 at 19:57

            Found the solution. As @RbMm described, the code that creates the security descriptor only allows access to LocalSystem. That means that it is the only account allowed to talk to the driver.

            Source https://stackoverflow.com/questions/61562617

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install wintun

            Wintun is deployed as a platform-specific wintun.dll file. Install the wintun.dll file side-by-side with your application. Download the dll from wintun.net, alongside the header file for your application described below.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/WireGuard/wintun.git

          • CLI

            gh repo clone WireGuard/wintun

          • sshUrl

            git@github.com:WireGuard/wintun.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Explore Related Topics

            Consider Popular Wiki Libraries

            outline

            by outline

            gollum

            by gollum

            BookStack

            by BookStackApp

            HomeMirror

            by HannahMitt

            Try Top Libraries by WireGuard

            wireguard-go

            by WireGuardGo

            wireguard-vyatta-ubnt

            by WireGuardShell

            wireguard-windows

            by WireGuardGo

            wireguard-linux

            by WireGuardC