Monkeysocks Development log: TCP protocol analysis and Architecture planning

Source: Internet
Author: User

Transformation of Jsocks

First, the Company a project agent, test results: From the start to completion, only 4.7M of network traffic, the local space cost is not a problem.

Today, Jsocks was modified to replace the build tool with Maven, and became a stand-alone project Https://github.com/code4craft/jsocks. Later, the record and replay function were finished, and the possibility of various protocols replay was studied.

When replay, how to know which request corresponds to the response pack is a big problem. The starting way is to use the MD5 of the request message as the value of Key,response.

TCP protocol Analysis

Later, the Wiredshark is used to analyze with the program log.

The TCP stack is probably like this:

The following is a screenshot of the Wiredshark grab package, starting with the EA is the content of the application layer protocol.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.