Home > Software engineering >  Network proxy server is how do you know where the packet should be sent?
Network proxy server is how do you know where the packet should be sent?

Time:11-06

As title, HTTP proxy agent is only right? Such as QQ direct IP how should tell the agent, the data is sent to where?

Also, like this kind of question should be in which section?

CodePudding user response:

1) sent via TCP/IP protocol network data,
2) life plate, posts,

CodePudding user response:

The
reference 1st floor met the goddess response:
1) sent via TCP/IP protocol network data,
2) life plate, posts,


I found the network programming section, thank you,

I know that is TCP/IP protocol, however, the TCP protocol is how to tell the agent packets to send?

CodePudding user response:

Top,

CodePudding user response:

Some are assigned the application layer, such as get a Route fields to specify the address of the next dance, or according to the target server find the routing address again;
If you want to forwarding to a load balancing server, you need to use algorithm, the simplest is based on message id bytes, and then divided by the number of servers, the remainder is the serial number of the server,

CodePudding user response:

The client how to inform the proxy server I need the destination address? And other case, depends on the agreement between you and the proxy server,
For example, you can use a "general" (support agent all kinds of data flow of the agreement) agency agreement: socks5

https://tools.ietf.org/html/rfc1928
https://tools.ietf.org/html/rfc1929
  • Related