Home > Software engineering >  The target LSP socks5 connection game server
The target LSP socks5 connection game server

Time:11-23

I forwarded by LSP and socks5 game, to achieve speedup, connect a simple TCP procedures, can be used to connect lol (eu west), it is always in the connection state, sending and receiving data on it several times after the disconnect, then the reconnection, cycle, unable to log in, but the use of sscap can be connected,

Connection process: sscap are domain name in a target address sent to the local socks5 server, and my program is based on the game server IP as arguments to the local socks5 server,
Sscap print information: CSocksClient: : ProcessSocksTcpConnection: Get Domain addr: ekg.riotgames.com: 443
My program: CSocksClient: : ProcessSocksTcpConnection: Destination IPv4 addr: 65.200.22.17:443


Is it possible to socks5 target address only in domain name? Domain name may jump to other IP, so I directly use IP can't jump to the real server IP, interaction that only a few times after disconnect the reconnection,
Ping ekg.riotgames.com will jump to another secondary domain name,

The teacher, the great god beg ideas! How to correctly connected to the game server??

CodePudding user response:

Print information: 2018/08/26 21:56:17 TCP recving s: 460, ret: 1, lpBuffers - & gt; Len: 5, dwBufferCount: 1, Recvd: 4060 finds a receiving such information, return 1, the received data is larger than the cache,

CodePudding user response:

The local network Settings configured with the DNS server domain name will be parsed into IP addresses, set incorrectly domain name would not be resolved to IP

CodePudding user response:

Want to login process through local socks5 lol, then sent to the remote socks5 server, realize the acceleration, should pay attention to what?

CodePudding user response:

Now the situation is: input the wrong account, he can tip password is not correct, enter the card again however there,

CodePudding user response:

UDP, those games you have wspconnect wspsendto wsprecvfrom wspsocket wspclosesocket these processing is good, QQ: 1289671197

CodePudding user response:

I am using nonIFSLSP, TCP after I shook hands with local ss5 agent in wspconnect returns, UDP is in the first time to shake hands with ss5 agent, return to the game and ss5 agent UDP communication port, can wow, lol can't accelerate the process of landing window, but it can accelerate the game process of lol, landing window are in the process of HTTPS, don't know about didn't at the back and forth with caught tools found the size of the packet and not the size of an accelerated,

CodePudding user response:

LSP or API HOOK has does not apply to the game now, because their principle is to give the target process into a DLL file, found the game DLL loaded will judge as auxiliary behavior, so the agency might be a problem,

Is the best way to drive to intercept network data, and then use SOCKS5 forward to go out, this also can implement different IP for each process, local or global agency functions, I wrote one example, see the effect, can be downloaded blog I have explanation method,

  • Related