Version bump to 0.5.0

parent a9701a3a
...@@ -11,12 +11,13 @@ Features ...@@ -11,12 +11,13 @@ Features
to prevent detection by DPI to prevent detection by DPI
* Secure-only mode (only allow connections with 'dd'-secrets). See `allowed_protocols` option. * Secure-only mode (only allow connections with 'dd'-secrets). See `allowed_protocols` option.
* 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)
* Most of the configuration options can be updated without service restart
* Very high performance - can handle tens of thousands connections! Scales to all CPU cores. * Very high performance - can handle tens of thousands connections! Scales to all CPU cores.
1Gbps, 90k connections on 4-core/8Gb RAM cloud server.
* Supports multiplexing (Many connections Client -> Proxy are wrapped to small amount of * Supports multiplexing (Many connections Client -> Proxy are wrapped to small amount of
connections Proxy -> Telegram Server) connections Proxy -> Telegram Server)
* Protection from [replay attacks](https://habr.com/ru/post/452144/) used to detect proxies in some countries * Protection from [replay attacks](https://habr.com/ru/post/452144/) used to detect proxies in some countries
* Automatic telegram configuration reload (no need for restarts once per day)
* Most of the configuration options can be updated without service restart
* Small codebase compared to official one * Small codebase compared to official one
* A lots of metrics could be exported (optional) * A lots of metrics could be exported (optional)
...@@ -270,6 +271,17 @@ it will use less CPU and will be better protected from replay attacks, but will ...@@ -270,6 +271,17 @@ it will use less CPU and will be better protected from replay attacks, but will
max_age_minutes => 1440}}, max_age_minutes => 1440}},
``` ```
Also, for highload setups it's recommended to increase sysctl parameters:
```
sudo sysctl net.ipv4.tcp_max_orphans=128000
sudo sysctl 'net.ipv4.tcp_mem=179200 256000 384000'
```
Values for `tcp_mem` are in pages. Size of one page can be found by `getconf PAGESIZE` and is most
likely 4kb.
Helpers Helpers
------- -------
......
{application, mtproto_proxy, {application, mtproto_proxy,
[{description, "An OTP application"}, [{description, "High-performance Telegram MTProto proxy server"},
{vsn, "0.4.1-mux"}, {vsn, "0.5.0"},
{registered, []}, {registered, []},
{mod, { mtproto_proxy_app, []}}, {mod, { mtproto_proxy_app, []}},
{applications, {applications,
...@@ -139,5 +139,5 @@ ...@@ -139,5 +139,5 @@
{maintainers, []}, {maintainers, []},
{licenses, ["Apache 2.0"]}, {licenses, ["Apache 2.0"]},
{links, []} {links, [{"GitHub", "https://github.com/seriyps/mtproto_proxy"}]}
]}. ]}.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment