corevpn-protocol
OpenVPN-compatible protocol implementation for CoreVPN.
Features
- Full OpenVPN Compatibility: Works with standard OpenVPN clients
- Control Channel: TLS 1.3 for control channel security
- Data Channel: ChaCha20-Poly1305 or AES-256-GCM encryption
- Reliable Transport: Reliable UDP with acknowledgments and retransmission
- Packet Parsing: Complete OpenVPN packet format support
- Session Negotiation: Key exchange and session establishment
Protocol Support
- UDP and TCP transport
- TLS 1.3 control channel
- tls-auth HMAC authentication
- tls-crypt encryption
- Data channel encryption (chacha20-poly1305, aes-256-gcm)
- Key renegotiation
- Ping/keepalive
Usage
use ;
// Parse incoming packet
let packet = parse?;
match packet
License
Licensed under either of:
- Apache License, Version 2.0 (LICENSE-APACHE)
- MIT license (LICENSE-MIT)
at your option.