Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mtproto_proxy
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
mtproto_proxy
Commits
73af89a7
Unverified
Commit
73af89a7
authored
Jul 05, 2018
by
Сергей Прохоров
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add more details to README
parent
e9d84061
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
4 deletions
+18
-4
README.md
README.md
+18
-4
No files found.
README.md
View file @
73af89a7
...
@@ -7,6 +7,8 @@ Features
...
@@ -7,6 +7,8 @@ Features
--------
--------
*
Promoted channels! See
`mtproto_proxy_app.src`
`tag`
option.
*
Promoted channels! See
`mtproto_proxy_app.src`
`tag`
option.
*
"secure" randomized-packet-size protocol (34-symbol secrets starting with 'dd')
to prevent detection by DPI
*
Multiple ports with unique secret and promo tag for each port
*
Multiple ports with unique secret and promo tag for each port
*
Automatic configuration reload (no need for restarts once per day)
*
Automatic configuration reload (no need for restarts once per day)
*
Very high performance - can handle tens of thousands connections!
*
Very high performance - can handle tens of thousands connections!
...
@@ -23,7 +25,7 @@ sudo apt install erlang-nox erlang-dev build-essential
...
@@ -23,7 +25,7 @@ sudo apt install erlang-nox erlang-dev build-essential
```
```
You need Erlang version 20 or higher! If your version is older, please, check
You need Erlang version 20 or higher! If your version is older, please, check
[
Erlang solutions
packages
](
https://www.erlang-solutions.com/resources/download.html
)
[
Erlang solutions
esl-erlang package
](
https://www.erlang-solutions.com/resources/download.html
)
or use
[
kerl
](
https://github.com/kerl/kerl
)
.
or use
[
kerl
](
https://github.com/kerl/kerl
)
.
Get the code:
Get the code:
...
@@ -33,25 +35,31 @@ git clone https://github.com/seriyps/mtproto_proxy.git
...
@@ -33,25 +35,31 @@ git clone https://github.com/seriyps/mtproto_proxy.git
cd mtproto_proxy/
cd mtproto_proxy/
```
```
Update settings (see
[
Settings
](
#settings
)
).
Compile:
Compile:
```
```
./rebar3 release
./rebar3 release
```
```
Start with interactive console:
Make sure your limit of open files is high enough! Check
`ulimit -n`
.
You may need to tweak your
`/etc/security/limits.conf`
or systemd
`LimitNOFILE`
to be able to handle more than ~500 clients.
Start with interactive console (recommended for testing)
```
```
./_build/default/rel/mtp_proxy/bin/mtp_proxy console
./_build/default/rel/mtp_proxy/bin/mtp_proxy console
```
```
Start in foreground
Or start in foreground (recommended for systemd service)
```
```
./_build/default/rel/mtp_proxy/bin/mtp_proxy foreground
./_build/default/rel/mtp_proxy/bin/mtp_proxy foreground
```
```
Start in background
Or start in background (to run as a service without supervision)
```
```
./_build/default/rel/mtp_proxy/bin/mtp_proxy start
./_build/default/rel/mtp_proxy/bin/mtp_proxy start
...
@@ -63,6 +71,12 @@ Stop proxy started in background
...
@@ -63,6 +71,12 @@ Stop proxy started in background
./_build/default/rel/mtp_proxy/bin/mtp_proxy stop
./_build/default/rel/mtp_proxy/bin/mtp_proxy stop
```
```
Logs can be found at
```
./_build/default/rel/mtp_proxy/log/
```
Settings
Settings
--------
--------
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment