corevpn-core
Core types, session management, and utilities for CoreVPN.
Features
- Session Management: Client session lifecycle and state tracking
- IP Address Pool: Dynamic IP allocation for VPN clients
- Network Utilities: Subnet handling and routing
- Connection Tracking: Active connection management
- Statistics: Connection and transfer statistics
Usage
use ;
use Ipv4Addr;
// Create session manager
let session_manager = new;
// Create IP pool for client addresses
let pool = new?;
// Allocate IP for a client
let client_ip = pool.allocate?;
License
Licensed under either of:
- Apache License, Version 2.0 (LICENSE-APACHE)
- MIT license (LICENSE-MIT)
at your option.