mtproto_proxy icon indicating copy to clipboard operation
mtproto_proxy copied to clipboard

High performance Erlang MTProto proxy that powers https://t.me/socksy_bot

Results 48 mtproto_proxy issues
Sort by recently updated
recently updated
newest added

hi i want use your script for 1000 ports but sometime some port not connect and need stop start (reload not working!)

I face this problem randomly on some servers. The problem is, the application can connect to telegram servers on some IP ranges and on some others it can't. I tried...

Proxy crashes with ```erlang {function_clause, [{mtp_session_storage,do_clean,[mtp_session_storage,mtp_session_storage_histogram, #{max_age_minutes => 43200,max_memory_mb => 4096},count], [{file,"/opt/mtproto_proxy/src/mtp_session_storage.erl"},{line,154}]}, {lists,filtermap,2,[{file,"lists.erl"},{line,1317}]}, {mtp_session_storage,handle_info,2,[{file,"/opt/mtproto_proxy/src/mtp_session_storage.erl"},{line,110}]}, {gen_server,try_dispatch,4,[{file,"gen_server.erl"},{line,616}]}, {gen_server,handle_msg,6,[{file,"gen_server.erl"},{line,686}]}, {proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,247}]}]} ``` if some of the keys of `replay_check_session_storage_opts` config is not set. Eg:...

Replace custom metrics with https://hex.pm/packages/telemetry

Hi I tried to run the following command but it returns this error: Node is not running! , what I should do to fix this? 👍 "/opt/mtp_proxy/bin/mtp_proxy eval 'lists:sum([proplists:get_value(all_connections, L)...

Maybe it makes sense to reply with TLS Alert, if we can't decode fake-TLS ClientHello as telegram packet? See https://tools.ietf.org/html/rfc8446#section-6

I have two IP addresses set on eth0 (x.x.x.x) and eth0:0 (y.y.y.y) I have configured the proxy to listen on eth0:0 : `listen_ip => "y.y.y.y"` But it in the application.log...

In the "Tune resource consumption" of Readme, it recommends the following settings if you have a lot of RAM : ``` {upstream_socket_buffer_size, 20480}, {downstream_socket_buffer_size, 512000} ``` Which is 20KB and...

First I would like to thank you for this great software, I switched to your proxy as I was having connection and performance issues with mtprotoproxy and your proxy is...