Nox is a high performance shadowsocks implementation based on netty network framework.
- High performance throughput based on netty.
- Synchronous non-blocking IO model
- Linux: epoll
- MacOS: kqueue
- Windows and other: netty default nio
- Server side supports multiple users.
- TCP fastopen support.
- Only support TCP. (version 0.0.1-SNAPSHOT)
- aes-256-cfb
- aes-192-cfb
- aes-128-cfb
- aes-256-ctr
- aes-192-ctr
- aes-128-ctr
- Java 11
cd nox
./mvnw clean install
cd nox-server
mvn clean package
java -jar target/nox-server-{version}.jar
cd nox-client
mvn clean package
java -jar target/nox-client-{version}.jar
Usage: <main class> [options]
Options:
-c, --config
special config file path (json format).
--debug
debug log level. [0: debug, 1: info, 2: warn, 3: error]
Default: 1
-h, --help
show usage
-l, --listen
local listen address
-m, --method
encrytion method
-k, --password
password
-p, --port
server port
-t, --timeout
timeout in second
{
"listen_address": "0.0.0.0",
"port_password": [
{
"port": 12345,
"password": "custom-password"
},
{
"port": 54321,
"password": "other-password"
}
],
"method": "aes-256-cfb",
"fast_open": 100,
"timeout": 300
}
fast_open: The option value specifies the PendingFastOpenRequests threshold, i.e., the maximum length of pending SYNs with data payload.
Usage: <main class> [options]
Options:
-b, --bind
local binding address
Default: 127.0.0.1
--debug
debug log level. [0: debug, 1: info, 2: warn, 3: error]
Default: 1
-h, --help
show usage
-l, --listen
local listen port
Default: 11080
-m, --method
encrytion method
Default: aes-256-cfb
* -k, --password
password
* -p, --port
server port
* -s, --server
server address
--fast-open
enable client TFO feature
Default: false
-t, --timeout
timeout in second
Default: 300