├── .gitignore ├── LICENSE ├── README.md └── src ├── MTProto ├── Defaults.cs ├── MTProto.csproj ├── Proxy │ ├── ConnectionTable.cs │ ├── Cryptography │ │ ├── MTProtoCryptor.cs │ │ └── MTProtoHelper.cs │ ├── Handlers │ │ ├── CryptoSetupHandler.cs │ │ ├── IDataHandler.cs │ │ └── ProxyHandler.cs │ ├── ISocketReceiver.cs │ ├── MTProtoProtocolType.cs │ ├── ProxyConnection.cs │ ├── ProxyContext.cs │ ├── ProxyManager.cs │ ├── SocketSelectReceiver.cs │ ├── SocketSelectReceiverThread.cs │ └── SocketServer.cs └── Waiter.cs ├── tgsocks.sln └── tgsocks ├── Config.cs ├── Program.cs ├── config.json └── tgsocks.csproj /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sunsx0/mtproto-proxy/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sunsx0/mtproto-proxy/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sunsx0/mtproto-proxy/HEAD/README.md -------------------------------------------------------------------------------- /src/MTProto/Defaults.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sunsx0/mtproto-proxy/HEAD/src/MTProto/Defaults.cs -------------------------------------------------------------------------------- /src/MTProto/MTProto.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sunsx0/mtproto-proxy/HEAD/src/MTProto/MTProto.csproj -------------------------------------------------------------------------------- /src/MTProto/Proxy/ConnectionTable.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sunsx0/mtproto-proxy/HEAD/src/MTProto/Proxy/ConnectionTable.cs -------------------------------------------------------------------------------- /src/MTProto/Proxy/Cryptography/MTProtoCryptor.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sunsx0/mtproto-proxy/HEAD/src/MTProto/Proxy/Cryptography/MTProtoCryptor.cs -------------------------------------------------------------------------------- /src/MTProto/Proxy/Cryptography/MTProtoHelper.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sunsx0/mtproto-proxy/HEAD/src/MTProto/Proxy/Cryptography/MTProtoHelper.cs -------------------------------------------------------------------------------- /src/MTProto/Proxy/Handlers/CryptoSetupHandler.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sunsx0/mtproto-proxy/HEAD/src/MTProto/Proxy/Handlers/CryptoSetupHandler.cs -------------------------------------------------------------------------------- /src/MTProto/Proxy/Handlers/IDataHandler.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sunsx0/mtproto-proxy/HEAD/src/MTProto/Proxy/Handlers/IDataHandler.cs -------------------------------------------------------------------------------- /src/MTProto/Proxy/Handlers/ProxyHandler.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sunsx0/mtproto-proxy/HEAD/src/MTProto/Proxy/Handlers/ProxyHandler.cs -------------------------------------------------------------------------------- /src/MTProto/Proxy/ISocketReceiver.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sunsx0/mtproto-proxy/HEAD/src/MTProto/Proxy/ISocketReceiver.cs -------------------------------------------------------------------------------- /src/MTProto/Proxy/MTProtoProtocolType.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sunsx0/mtproto-proxy/HEAD/src/MTProto/Proxy/MTProtoProtocolType.cs -------------------------------------------------------------------------------- /src/MTProto/Proxy/ProxyConnection.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sunsx0/mtproto-proxy/HEAD/src/MTProto/Proxy/ProxyConnection.cs -------------------------------------------------------------------------------- /src/MTProto/Proxy/ProxyContext.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sunsx0/mtproto-proxy/HEAD/src/MTProto/Proxy/ProxyContext.cs -------------------------------------------------------------------------------- /src/MTProto/Proxy/ProxyManager.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sunsx0/mtproto-proxy/HEAD/src/MTProto/Proxy/ProxyManager.cs -------------------------------------------------------------------------------- /src/MTProto/Proxy/SocketSelectReceiver.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sunsx0/mtproto-proxy/HEAD/src/MTProto/Proxy/SocketSelectReceiver.cs -------------------------------------------------------------------------------- /src/MTProto/Proxy/SocketSelectReceiverThread.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sunsx0/mtproto-proxy/HEAD/src/MTProto/Proxy/SocketSelectReceiverThread.cs -------------------------------------------------------------------------------- /src/MTProto/Proxy/SocketServer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sunsx0/mtproto-proxy/HEAD/src/MTProto/Proxy/SocketServer.cs -------------------------------------------------------------------------------- /src/MTProto/Waiter.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sunsx0/mtproto-proxy/HEAD/src/MTProto/Waiter.cs -------------------------------------------------------------------------------- /src/tgsocks.sln: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sunsx0/mtproto-proxy/HEAD/src/tgsocks.sln -------------------------------------------------------------------------------- /src/tgsocks/Config.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sunsx0/mtproto-proxy/HEAD/src/tgsocks/Config.cs -------------------------------------------------------------------------------- /src/tgsocks/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sunsx0/mtproto-proxy/HEAD/src/tgsocks/Program.cs -------------------------------------------------------------------------------- /src/tgsocks/config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sunsx0/mtproto-proxy/HEAD/src/tgsocks/config.json -------------------------------------------------------------------------------- /src/tgsocks/tgsocks.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sunsx0/mtproto-proxy/HEAD/src/tgsocks/tgsocks.csproj --------------------------------------------------------------------------------