()
| 328 | |
| 329 | |
| 330 | def print_local_help(): |
| 331 | print('''usage: sslocal [OPTION]... |
| 332 | A fast tunnel proxy that helps you bypass firewalls. |
| 333 | |
| 334 | You can supply configurations via either config file or command line arguments. |
| 335 | |
| 336 | Proxy options: |
| 337 | -c CONFIG path to config file |
| 338 | -s SERVER_ADDR server address |
| 339 | -p SERVER_PORT server port, default: 8388 |
| 340 | -b LOCAL_ADDR local binding address, default: 127.0.0.1 |
| 341 | -l LOCAL_PORT local port, default: 1080 |
| 342 | -k PASSWORD password |
| 343 | -m METHOD encryption method, default: aes-256-cfb |
| 344 | -t TIMEOUT timeout in seconds, default: 300 |
| 345 | -a ONE_TIME_AUTH one time auth |
| 346 | --fast-open use TCP_FASTOPEN, requires Linux 3.7+ |
| 347 | |
| 348 | General options: |
| 349 | -h, --help show this help message and exit |
| 350 | -d start/stop/restart daemon mode |
| 351 | --pid-file PID_FILE pid file for daemon mode |
| 352 | --log-file LOG_FILE log file for daemon mode |
| 353 | --user USER username to run as |
| 354 | -v, -vv verbose mode |
| 355 | -q, -qq quiet mode, only show warnings/errors |
| 356 | --version show version information |
| 357 | |
| 358 | Online help: <https://github.com/shadowsocks/shadowsocks> |
| 359 | ''') |
| 360 | |
| 361 | |
| 362 | def print_server_help(): |
no outgoing calls
no test coverage detected