Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

github.com/mysteriumnetwork/go-openvpn

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/mysteriumnetwork/go-openvpn

  • v0.0.23
  • Source
  • Go
  • Socket score

Version published
Created
Source

go-openvpn

Build Status Go Report Card

Go gettable library for wrapping openvpn functionality in go way. There are two main options for openvpn integration:

  1. As external process - go-openvpn provides external process controls (start/stop), handles management interface, can work both as client and a service. External openvpn exe IS NOT provided (tested with openvpn 2.4.x release)
  2. As built-in library - openvpn wraps c++ crosscompiled libary for all major oses (darwin,linux,win,ios and android), but has a limitation - can only work as client only.

Development environment

  • Step 1. Get development dependencies
go get github.com/karalabe/xgo
go get golang.org/x/mobile/cmd/gomobile
  • Step 2. Get project dependencies
make deps
  • Step 3. Build example (Desktop)
go run examples/desktop/main.go examples/profile.ovpn
  • Step 4. Build example (iOS)
./gomobile_example_ios.sh

Building bridge libraries

scripts/xgo_run.sh scripts/build-bridge.sh

Run tests

make test
# We recommend running tests on frozen Linux container
scripts/xgo_run.sh make test

Build

  • Step 1. Sanity check
./check-all.sh
  • Step 2. Build mobile libraries
./gomobile_ios.sh -o build/Openvpn3.framework

FAQs

Package last updated on 29 Apr 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc