Skip to content

Commit

Permalink
Update readme (fix TelegramMessenger#173)
Browse files Browse the repository at this point in the history
  • Loading branch information
stek29 committed Jul 19, 2018
1 parent cf26efc commit f9158e3
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,15 @@ Also feel free to check out other options using `mtproto-proxy --help`.
7. Set received tag with arguments: `-P <proxy tag>`
8. Enjoy.

## Random padding
Due to some ISPs detecting MTProxy by packet sizes, random padding is
added to packets if such mode is enabled.

It's only enabled for clients which request it.

Add `dd` prefix to secret (`cafe...babe` => `ddcafe...babe`) to enable
this mode on client side.

## Systemd example configuration
1. Create systemd service file (it's standart path for the most Linux distros, but you should check it before):
```bash
Expand Down Expand Up @@ -97,3 +106,4 @@ systemctl enable MTProxy.service

## Docker image
Telegram is also providing [official Docker image](https://hub.docker.com/r/telegrammessenger/proxy/).
Note: the image is outdated.

0 comments on commit f9158e3

Please sign in to comment.