-
Notifications
You must be signed in to change notification settings - Fork 6
/
mtproto-proxy-help.txt
35 lines (35 loc) · 2.78 KB
/
mtproto-proxy-help.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
usage: ./mtproto-proxy [-v] [-6] [-p<port>] [-H<http-port>{,<http-port>}] [-M<workers>] [-u<username>] [-b<backlog>] [-c<max-conn>] [-l<log-name>] [-W<window-size>] <config-file>
mtproxy-0.01 compiled at Jun 4 2018 10:58:56 by gcc 5.4.0 20160609 64-bit after commit 580909cbca12a2f8529dbb387edf8e9bc5bd4e3a
Simple MT-Proto proxy
--ipv6/-6 enables ipv6 TCP/UDP support
--max-special-connections/-C <arg> sets maximal number of accepted client connections per worker
--http-ports/-H <arg> comma-separated list of client (HTTP) ports to listen
--slaves/-M <arg> spawn several slave workers
--proxy-tag/-P <arg> 16-byte proxy tag in hex mode to be passed along with all forwarded queries
--mtproto-secret/-S <arg> 16-byte secret in hex mode
--ping-interval/-T <arg> sets ping interval in second for local TCP connections (default 5.000)
--window-clamp/-W <arg> sets window clamp for client TCP connections
--backlog/-b <arg> sets backlog size
--connections/-c <arg> sets maximal connections number
--daemonize/-d {arg} changes between daemonize/not daemonize mode
--help/-h prints help and exits
--log/-l <arg> sets log file name
--port/-p <arg> <port> or <sport>:<eport> sets listening port number or port range
--user/-u <arg> sets user name to make setuid
--verbosity/-v {arg} sets or increases verbosity level
--aes-pwd <arg> sets custom secret.conf file
--nice <arg> sets niceness
--msg-buffers-size <arg> sets maximal buffers size (default 268435456)
--disable-tcp do not open listening tcp socket
--crc32c Try to use crc32c instead of crc32 in tcp rpc
--cpu-threads <arg> Number of CPU threads (1-64, default 8)
--io-threads <arg> Number of I/O threads (1-64, default 16)
--allow-skip-dh Allow skipping DH during RPC handshake
--force-dh Force using DH for all outbound RPC connections
--max-accept-rate <arg> max number of connections per second that is allowed to accept
--max-dh-accept-rate <arg> max number of DH connections per second that is allowed to accept
--multithread {arg} run in multithread mode
--tcp-cpu-threads <arg> number of tcp-cpu threads
--tcp-iothreads <arg> number of tcp-io threads
--nat-info <arg> <local-addr>:<global-addr> sets network address translation for RPC protocol handshake
--address <arg> tries to bind socket only to specified address