Socks proxy
Socks proxy server written in one C file. Supports socks4, socks4a and socks5 protocols without binding and udp stuff. Can be used as example how to write your own.
Build status and CI pipeline link
Proto
Works on
Every OS which supports POSIX
TODO
- TCP port binding
- UDP port binding
Usage
[-h] - print usage
[-n PORT] - set port to listen
[-a AUTHTYPE] - set authtype: 0 for NOAUTH, 2 for USERPASS
[-u USERNAME] - set username for userpass authtype
[-p PASSWORD] - set password for userpass authtype
[-l LOGFILE] - set file for logging output
Build and run
No additional requirements, only compiler or crosscompiler needed
make
make test
./proxy