VPN Speed, Latency & Network Performance — Page 9 of 17
204 articlesUnderstand how encryption overhead, MTU tuning, and server routing shape real-world VPN throughput, ping stability, and battery life.
Performance
Linux splice and vmsplice: Zero-Copy I/O for VPN Relays
Learn how Linux splice(2) and vmsplice(2) transfer packet streams through in-kernel pipe page buffers, eliminating memory copies in high-throughput VPN relays.
Performance
Linux UDP GSO & GRO: Packet Aggregation for VPN Gateways
Scale UDP tunnels to 40 Gbps with Linux UDP_SEGMENT GSO and UDP_GRO frag_list aggregation while cutting per-packet CPU interrupt overhead.
Protocols
Linux AF_XDP & UMEM: Zero-Copy Userspace Packet Datapaths in VPNs
Deep dive into Linux AF_XDP (XSK), zero-copy UMEM memory pools, four lockless circular ring queues, and wire-speed userspace packet processing in VPN gateways.
Protocols
Linux Conntrack Offload: eBPF Flow State for VPN Gateways
Prevent Netfilter conntrack saturation in VPN gateways using lockless eBPF LRU flow tables and NOTRACK routing to scale millions of flows.
Protocols
Linux io_uring vs Epoll: Async Packet I/O for VPN Engines
Linux io_uring uses asynchronous ring buffers, registered buffers, and zero-syscall submission to accelerate userspace UDP I/O in VPN gateways.
Protocols
WireGuard Generic Netlink: Kernel IPC & Live Peer Config
Explore WireGuard's Generic Netlink interface in netlink.c: atomic multipart dumps, nested attribute validation, and lockless RCU peer updates without downtime.
Security
WireGuard Stateless Cookies: Dual-Tier MAC Defense in Kernel
Explore how WireGuard implements stateless cookies, SipHash secret rotation, and two-tier MAC authentication to deflect handshake floods in cookie.c.
Security
WireGuard Kernel Rate Limiter: Stopping Handshake Floods
Explore WireGuard's ratelimiter.c, detailing in-kernel token bucket algorithms, SipHash-keyed IP tracking tables, and defense against handshake CPU exhaustion.
Security
WireGuard Index Hashtables: O(1) Lookups & Hash-DoS Guide
Examine WireGuard's index_hashtable.c, detailing 32-bit random session identifiers, RCU lockless O(1) packet dispatching, and SipHash defenses against Hash-DoS.
Security
BLAKE2s in WireGuard: High-Speed Hashing & Keyed MAC Design
Explore how WireGuard leverages the BLAKE2s cryptographic hash and keyed MAC for Noise handshakes, length-extension immunity, and stateless DoS cookie defense.
Security
ChaCha20-Poly1305 AEAD: ARX Design & Side-Channel Immunity
Explore how ChaCha20-Poly1305 AEAD uses ARX arithmetic and key clamping to deliver high-speed, constant-time encryption across diverse VPN hardware.
Security
WireGuard Curve25519 & Montgomery Ladder Side-Channels
Discover how WireGuard employs Curve25519 and the constant-time Montgomery ladder to protect VPN key exchange against cache-timing and side-channel attacks.
No articles matched your search.