MCPcopy
hub / github.com/shadowsocks/shadowsocks / print_server_help

Function print_server_help

shadowsocks/shell.py:362–393  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

360
361
362def print_server_help():
363 print('''usage: ssserver [OPTION]...
364A fast tunnel proxy that helps you bypass firewalls.
365
366You can supply configurations via either config file or command line arguments.
367
368Proxy options:
369 -c CONFIG path to config file
370 -s SERVER_ADDR server address, default: 0.0.0.0
371 -p SERVER_PORT server port, default: 8388
372 -k PASSWORD password
373 -m METHOD encryption method, default: aes-256-cfb
374 -t TIMEOUT timeout in seconds, default: 300
375 -a ONE_TIME_AUTH one time auth
376 --fast-open use TCP_FASTOPEN, requires Linux 3.7+
377 --workers WORKERS number of workers, available on Unix/Linux
378 --forbidden-ip IPLIST comma seperated IP list forbidden to connect
379 --manager-address ADDR optional server manager UDP address, see wiki
380 --prefer-ipv6 resolve ipv6 address first
381
382General options:
383 -h, --help show this help message and exit
384 -d start/stop/restart daemon mode
385 --pid-file PID_FILE pid file for daemon mode
386 --log-file LOG_FILE log file for daemon mode
387 --user USER username to run as
388 -v, -vv verbose mode
389 -q, -qq quiet mode, only show warnings/errors
390 --version show version information
391
392Online help: <https://github.com/shadowsocks/shadowsocks>
393''&#x27;)
394
395
396def _decode_list(data):

Callers 2

get_configFunction · 0.85
print_helpFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected