qmetrics.net

OpenVPN 3

C++ OpenVPN client library protocol-compatible with OpenVPN 2.x

OpenVPN 3 screenshot

OpenVPN 3 is a C++ class library that implements an OpenVPN client, protocol-compatible with OpenVPN 2.x. It ships with a minimal command-line client wrapper.

Overview

OpenVPN 3 is a C++ class library that implements the functionality of an OpenVPN client and remains protocol-compatible with the OpenVPN 2.x branch. A minimal client wrapper links against the library and exposes basic command-line connectivity for testing and deployments.

The client API is organized around openvpn::ClientAPI::OpenVPNClient, with extensions for tun setup via TunBuilderBase, external private keys via ExternalPKIBase, and logging via LogReceiver. Developers subclass the client class, supply configuration, evaluate it, and run connect on a worker thread. The stack covers transport over UDP, TCP, or HTTP proxy, tun integration on Linux, Windows, and Mac OS X, and shared protocol logic in ProtoContext.

OpenVPN 3 is used in production as the core of OpenVPN Connect clients for iOS, Android, Linux, Windows, and Mac OS X. It does not currently implement server functionality. Optional ovpn kernel data-channel offload can be enabled on Linux when the module is present.

Build instructions are provided for Linux, macOS, and Windows using CMake, with OpenSSL or mbedTLS TLS backends. Swig bindings allow wrapping the API for other languages, as used in OpenVPN Connect for Android.

Key features

  • OpenVPN 2.x protocol compatibility
  • ClientAPI C++ interface
  • UDP TCP and HTTP proxy transport
  • TunBuilder VPN API abstraction
  • External PKI and keychain hooks
  • Reference command-line client
  • Linux DCO kernel offload support
  • Swig language bindings

Use cases

  • Embedding VPN in mobile apps
  • Custom desktop VPN clients
  • OpenVPN Connect core
  • Cross-platform client development
  • Command-line VPN testing

Tags

Similar software

KCP

Fast reliable ARQ transport over user-defined UDP

A C ARQ protocol that cuts latency versus TCP at modest bandwidth cost, integrated via callbacks without internal syscalls.

  • Selectable fast and normal modes
  • Selective packet retransmission
  • Fast retransmit on ACK gaps
CDetails →
★ 17k⟳ 5 months agoMIT

node-http-proxy

Programmable HTTP and WebSocket proxying for Node.js

node-http-proxy is an HTTP programmable proxying library for Node.js with WebSocket support. It fits reverse proxies, load balancers, and custom proxy servers.

  • HTTP and HTTPS proxying
  • WebSocket proxy support
  • Request and response pipelines
JavaScriptDetails →
★ 14.1k⟳ 6 years agoMIT
Networking & ConnectivityNo commits in 18+ months

iroh

Public-key dialing with QUIC and NAT traversal

Iroh is a library that connects apps by public key instead of IP, using QUIC, hole punching, and relay fallbacks.

  • Dial endpoints by public key
  • QUIC-based encrypted transport
  • NAT hole punching with relay fallback
RustLinuxDetails →
★ 13.2k⟳ todayApache-2.0 · open core

quiche

Rust QUIC transport and HTTP/3 implementation

quiche implements IETF QUIC and HTTP/3 with a low-level Rust API. Applications supply sockets, timers, and pacing while the library handles protocol state.

  • IETF QUIC protocol implementation
  • HTTP/3 module
  • Configurable connection limits
RustCLIDetails →
★ 12.9k⟳ 7 days agoBSD-2-Clause

CNI

Container network interface specification and libraries

CNI defines how Linux and Windows containers attach to networks via plugins. The project ships the specification, Go integration libraries, and tooling to run plugins when containers start or stop.

  • CNI specification
  • Go integration library
  • Plugin execution CLI
GoLinux, WindowsDetails →
★ 6.2k⟳ 1 month agoApache-2.0

Rust Libp2p

Rust implementation of the libp2p network stack

rust-libp2p is the central Rust codebase for the libp2p specification. It provides transports, multiplexers, swarm APIs, and protocol crates for peer-to-peer apps.

  • libp2p-core transports
  • Stream muxer implementations
  • Swarm NetworkBehaviour API
RustDetails →
★ 5.7k⟳ todayMIT