Packages

High-performance Telegram MTProto proxy server

Security advisory: This version has known vulnerabilities. View advisories

Current section

Files

Jump to
mtproto_proxy src mtproto_proxy.app.src
Raw

src/mtproto_proxy.app.src

{application,mtproto_proxy,
[{description,"High-performance Telegram MTProto proxy server"},
{vsn,"0.6.1"},
{registered,[]},
{mod,{mtproto_proxy_app,[]}},
{applications,[lager,ranch,erlang_psq,crypto,ssl,inets,kernel,stdlib]},
{env,
[{init_timeout_sec,60},
{hibernate_timeout_sec,60},
{ready_timeout_sec,1200},
{ip_lookup_services,
["http://ipv4.seriyps.ru/","https://digitalresistance.dog/myIp",
"http://ipv4.myexternalip.com/raw"]},
{listen_ip,"0.0.0.0"},
{ports,
[#{name => mtp_handler,port => 1443,
secret => <<"d0d6e111bada5511fcce9584deadbeef">>,
tag => <<"dcbe8f1493fa4cd9ab300891c0b5b326">>}]},
{num_acceptors,60},
{max_connections,40960},
{allowed_protocols,
[mtp_fake_tls,mtp_secure,mtp_abridged,mtp_intermediate]},
{tls_allowed_domains,
[<<"en.wikipedia.org">>,<<"s3.amazonaws.com">>]},
{init_dc_connections,2},
{clients_per_dc_connection,300},
{replay_check_session_storage,on},
{replay_check_server_error_filter,first},
{replay_check_session_storage_opts,
#{max_age_minutes => 360,max_items => 4000000,
max_memory_mb => 512}}]},
{modules,[]},
{licenses,["Apache 2.0"]},
{links,[{"GitHub","https://github.com/seriyps/mtproto_proxy"}]}]}.