Skip to content

Commit

Permalink
Update readme (fix #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.

3 comments on commit f9158e3

@xhdix
Copy link

@xhdix xhdix commented on f9158e3 Jul 20, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If the client does not support random padding mode, it can still be identified and blocked?

@onikethem
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi be telegram man pm bede proxy daram vase channel kazino va pishpini behet pol khob midam dadash in id telegram man hastesh
T.me/onikethem
πŸŒ·πŸ’—

@onikethem
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

dadash montazer pm hastam mr30πŸŒ·πŸ’—

Please sign in to comment.