Answer the question
In order to leave comments, you need to log in
What are Python frameworks for asynchronous TCP MITM server?
There is one smartphone economic online game and I want to write a proxy server for it (running on a separate machine, not a smartphone) that will actively collect statistics and display real-time strategy tips, for example, on a web panel.
The game uses a simple TCP connection, but with a slightly more sophisticated protocol. A simple viewing of packets is not enough: you need to send and receive additional packets to the server and client to request information, and maybe even edit it.
I have experience programming a web service in Python under Tornado, I think this experience can be applied here, but Tornado is still focused on HTTP.
Maybe there are more successful special frameworks to work with TCP, parse and reassemble packets?
It is important that the framework be asynchronous, similar to Tornado, because. a lot of packets are flying and I/O sleep is not allowed.
It is also not clear how to make the game listen to my proxy server: use external tools for this, for example, redirect via iptables or implement it in a SOCKS5 server and ask the game to use it? Or something else to think of? I would like a minimum of intervention in the smartphone and router.
Answer the question
In order to leave comments, you need to log in
Well, in short, the TCP server and client in Torando is more than enough, they perform their functions perfectly.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question