Protocol analyzing system and protocol analyzing method based on multiple-state machine
A protocol parsing, multi-state technology, applied in the field of protocol parsing systems, can solve problems such as no fault tolerance mechanism and jump mechanism, state machine explosion, and lack of matching of signature codes, so as to improve parsing efficiency and avoid state machine explosion.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
example 1
[0059] Example 1: Match a correct Http protocol message
[0060] a. Input the following content to the multi-state machine for matching: POST index.jsp\r\nHost:127.0.0.1\r\nContent-;
[0061] b. The pre-state is empty, and start matching from the root state machine;
[0062] c. The root state machine matches the feature code "POST". Since the feature code "POST" is not the end feature code, after obtaining the valid data "index.jsp", it jumps to the preset Http state machine to match the following content:\ r\nHost:127.0.0.1\r\nContent-;
[0063] d. The Http state machine matches the feature code "Host:", since the feature code "Host:" is not the end feature code, after obtaining the valid data "127.0.0.1", jump to the preset Http state machine to perform the following content Matches: \r\nContent-;
[0064] e, the matching is completed, and the "-" state of the characteristic code "Content-Length:" belonging to the Http state machine is set as the pre-state;
[0065] f. I...
example 2
[0070] Example 2: Matching a wrong Smtp protocol message
[0071] a. Input the following content to the root state machine for matching: Welcome To:\r\n Beijing.\r\n\r\n;
[0072] b. The pre-state is empty, and start matching from the root state machine;
[0073] c. The root state machine matches the feature code "To:", since the feature code "To:" is not the end feature code, after obtaining the valid data "" (empty), it will pre-jump to the preset Smtp state machine to perform the following content Match: \r\nBeijing.\r\n\r\n;
[0074] d. The Smtp state machine matches the feature code "\r\n\r\n". Since the feature code "\r\n\r\n" is the end feature code, it is determined that the obtained valid data does not conform to the Smtp feature, so It is determined that dirty data has been obtained. Clear the data and jump to the fault-tolerant state machine (root state machine) to match the following content: (the content is empty);
[0075] 5. After the matching is completed, ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 

