TelegramMessenger / MTProxy

5.01k stars 831 forks source link

more than 16 secret codes #354

Open tunsafed opened 5 years ago

tunsafed commented 5 years ago

If the number of secret parameters is greater than 16 we will get the following error

mtproto-proxy: net/net-tcp-rpc-ext-server.c:86: tcp_rpcs_set_ext_secret: Assertion `ext_secret_cnt < 16' failed.

What solution do you propose to create and use unlimited secret codes?

my running parameters are : ./mtproto-proxy -u nobody -p 8888 -H 444 -S baa7... -S baa7... -S baa7... -S baa7... -S baa7... -S baa7... -S baa7... -S baa7... -S baa7... -S baa7... -S baa7... -S baa7... -S baa7... -S baa7... -S baa7... -S baa7... -S baa7... --aes-pwd proxy-secret proxy-multi.conf -M 1

seriyps commented 5 years ago

It's better to use fake-tls protocol, because usage of multiple secrets is very inefficient (requires lots of CPU)

seriyps commented 5 years ago

Example: https://github.com/seriyps/mtproto_proxy#personal-proxy--multi-secret-proxy

yiiman-dev commented 5 years ago

Use this mtproxy over 9000 secret code with c language https://github.com/amintado/MTProxy

This sourse has fake TLS and normal mode enabled together

LucaTheHacker commented 5 years ago

@amintado u cannot sell your s*** here on github.