A lightweight programmable TCP proxy server.
Note
This project is experimental, developed to explore C23 features and network programming concepts.
makesudo groupadd sm3tproxy
sudo usermod -aG sm3tproxy $USERsudo make setup-natsudo make runOr manually:
sudo sg sm3tproxy bin/sm3tproxycurl http://example.com
## Test in theory
## curl → iptables REDIRECT → sm3tproxy (port 8080) → real server# Stop the proxy (Ctrl+C)
# Remove iptables rules
sudo make clean-nat
# Clean build files
make clean- Event driven processing with epoll.
- Transparent TCP proxy.
- HTTP request and response parsing.
- Logging of requests, headers, and payloads.
- Rule-based traffic filtering (domain, keyword, method) with cli/ a config file.
- Optional HTTPS interception using OpenSSL.
- Lua scripting support for dynamic filtering rules.