Answer the question
In order to leave comments, you need to log in
How to forward tcp connection through reverse proxy and store tcp session?
There is such a scheme.
As can be seen from the scheme, the problem lies in the large delay over the satellite channel. If with client requests via http \ http's and data caching, I found enough material to study and write a proxy server, then I found very little for tcp connections, I'm interested in the question of how to forward a tcp or udp connection initially without knowing where the client will contact ? my suggestion is to use the gopacket package to grab the address and port protocol where to send the connection, as well as how to store these same sessions when reconnecting, I roughly understand that a cache is needed, but what exactly should be stored in it? tell me what to read and where to go.
Answer the question
In order to leave comments, you need to log in
how to forward tcp or udp connection initially without knowing where the client will contact?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question