svsocks is a lightweight and fast SOCKS5 server.
- IPv4 & IPv6 dual-stack server
- Thread pool for accepting connections
- Non-blocking sockets with edge-triggered polling (epoll)
- CONNECT command
- Username/Password authentication
- IPv4, IPv6 and Domain Name address types
- Syslog logging
git clone https://github.com/fksvs/svsocks
git clone https://gitlab.com/fksvs/svsocks
- change directory to
svsocks
:
cd svsocks/
- build the source:
make
usage: ./svsocks [options]
- -a, [listen address] : Set the listen address for incoming connections in IPv6 format.
- -p, [listen port] : Set the listen port for incoming connections.
- -n, [number of threads]: Set the number of threads to be used in the thread pool.
- -u, [username] : Set username for username/password authentication.
- -s, [password] : Set password for username/password authentication.
Default values can be changed in the source code as defined by macros.
This project is free software; you can redistribute it and/or modify it under the terms of the GPLv3 license. See LICENSE for details.