tunnelkit | VPN client library for Apple platforms | VPN library

 by   passepartoutvpn Swift Version: v6.0.0 License: GPL-3.0

kandi X-RAY | tunnelkit Summary

kandi X-RAY | tunnelkit Summary

tunnelkit is a Swift library typically used in Networking, VPN applications. tunnelkit has no bugs, it has no vulnerabilities, it has a Strong Copyleft License and it has low support. You can download it from GitHub.

This library provides a generic framework for VPN development on Apple platforms.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              tunnelkit has a low active ecosystem.
              It has 447 star(s) with 155 fork(s). There are 26 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 13 open issues and 185 have been closed. On average issues are closed in 143 days. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of tunnelkit is v6.0.0

            kandi-Quality Quality

              tunnelkit has 0 bugs and 0 code smells.

            kandi-Security Security

              tunnelkit has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              tunnelkit code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              tunnelkit is licensed under the GPL-3.0 License. This license is Strong Copyleft.
              Strong Copyleft licenses enforce sharing, and you can use them when creating open source projects.

            kandi-Reuse Reuse

              tunnelkit releases are not available. You will need to build from source code and install.
              Installation instructions are not available. 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 tunnelkit
            Get all kandi verified functions for this library.

            tunnelkit Key Features

            No Key Features are available at this moment for tunnelkit.

            tunnelkit Examples and Code Snippets

            No Code Snippets are available at this moment for tunnelkit.

            Community Discussions

            QUESTION

            How to port a network extension NEPacketTunnelProvider class from Obj-C/Swift to Xamarin C#?
            Asked 2019-Feb-11 at 04:10

            I'm trying to figure out how to make a network extension so that my iOS app can programmatically open an custom VPN tunnel in C#, but looking at some similar Obj-C projects I'm not sure if it's possible in Xamarin (as I don't see a network extension project in Visual Studio) and how to port a what I gather is a required PacketTunnelProvider class which I think must be present and listed as an extension in the plist.info first...I'm in particular having most trouble in how to port the parts of that class which appear at the end as an extension and some event handlers named like this func Adapter(adapter: Adapter, configureTunnelWithNetworkSettings networkSettings: NEPacketTunnelNetworkSettings, completionHandler: @escaping (AdapterPacketFlow?) -> Void) and func Adapter(adapter: Adapter, handleEvent event: AdapterEvent, message: String?) as they both have a different signature than an event handler in C# which accepts sender and eventArgs (or something derived)…if anyone did this in C# I'd like to know at least if it's possible if not how to port such a class?

            I've found this one project https://github.com/ss-abramchuk/OpenVPNAdapter (since it seems to do most of what I want) that I managed to translate into a Xamarin binding library but I'm unsure how and if to incorporate its PacketTunnelProvider class in Xamarin (as that is what the readme says you should use to incorporate something like that adapter)...I gather one should add to plist.info something like this first:

            ...

            ANSWER

            Answered 2019-Feb-09 at 18:43

            Should I actually be just using the a custom VPN library to open up a VPN tunnel and go from there, but would the app then be admissible to the AppStore?

            For iOS 12+, you absolutely have to use the Network Extension framework to be Store eligible.

            The Xamarin.iOS build task (ValidateAppBundle) correctly identifies com.apple.networkextension.packet-tunnel as a valid extension (.appex) so yes you can build an NEPacketTunnelProvider extension.

            You are correct the VS does not have build-in templating for Network Provider .appex's for tunnels, dns proxy, filter control|data, proxy types, but that does not mean you can not just use another one of the templates (or create the project from scratch) and modify it (I create an Xcode iOS project and start adding extension targets and just mirror those changes in VS).

            (FYI: That is Swift code in your example, not ObjC...)

            Now due to limitations in .appex size (and performance issues in some cases), a lot of extensions are very difficult to do via Xamarin.iOS. Most devs that encounter this, go native using ObjC/Swift for at least the appex development...

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

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

            Vulnerabilities

            No vulnerabilities reported

            Install tunnelkit

            You can download it from GitHub.

            Support

            TunnelKit can parse .ovpn configuration files. Below are a few details worth mentioning. Many other flags are ignored too but it's normally not an issue.
            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/passepartoutvpn/tunnelkit.git

          • CLI

            gh repo clone passepartoutvpn/tunnelkit

          • sshUrl

            git@github.com:passepartoutvpn/tunnelkit.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 VPN Libraries

            algo

            by trailofbits

            streisand

            by StreisandEffect

            brook

            by txthinking

            Try Top Libraries by passepartoutvpn

            passepartout-apple

            by passepartoutvpnSwift

            api-source

            by passepartoutvpnRuby

            api-source-mullvad

            by passepartoutvpnRuby

            api-source-nordvpn

            by passepartoutvpnRuby

            passepartoutvpn.github.io

            by passepartoutvpnHTML