4 Commits

Author SHA1 Message Date
Robert Swiecki
68832ab865 nstun: remove dead code, and change some functions to static 2026-04-02 01:31:57 +02:00
Robert Swiecki
17836b71a3 nstun: use writev 2026-03-30 17:05:21 +02:00
Robert Swiecki
254478dcf3 nstun: move checksum to a central file, use defer{} more liberally 2026-03-29 01:56:34 +01:00
Robert Swiecki
6276ae6be2 Add nstun, an experimental user-mode networking stack.
It provides lightweight IP-level connectivity for jailed processes via a TUN device and an epoll-based NAT proxy thread, as an alternative to pasta.

Supports TCP, UDP, and ICMP proxying with per-flow tracking, configurable firewall/redirect rules, SOCKS5 encapsulation for TCP and UDP.
2026-03-29 00:30:24 +01:00