HevSocks5Tunnel is a lightweight, high-performance tun2socks proxy written in C. It creates a virtual TUN interface and forwards all TCP/UDP traffic through a SOCKS5 proxy, supporting IPv4/IPv6 dual-stack, UDP-in-UDP and UDP-in-TCP relay modes, optional local ICMP echo replies, and a mapped DNS feature for transparent DNS resolution. The architecture is monolithic but modular: a YAML-based configuration parser, platform-specific tunnel backends (Linux, FreeBSD, macOS, NetBSD, Windows via Wintun), and a session management layer built on top of lwIP and the hev-task-system cooperative multitasking library. It can be used as a standalone CLI tool, a static/shared library, or embedded via JNI on Android. The codebase demonstrates strong C craftsmanship with clean abstractions, efficient I/O patterns (ring buffer with iovec, scatter/gather), and careful platform abstraction.
This repository contains a monolithic bash script (CFwarp.sh) that provides a one-click installation, configuration, and management interface for Cloudflare WARP on Linux VPS systems. The script supports two WARP kernel implementations (wgcf and warp-go), allows switching between IPv4-only, IPv6-only, or dual-stack WARP modes, and includes utilities for upgrading to WARP+ or Teams accounts, monitoring WARP status, and generating WireGuard configuration files. It is a practical tool for VPS owners seeking to unlock Netflix, ChatGPT, or other geo-restricted services through WARP, but the codebase is a single large script with repetitive patterns, heavy reliance on external downloads, and no modularization or testing, making it fragile and difficult to reuse. The high star count and fork activity indicate widespread use, but the engineering quality is average for a system administration script.