A message processing method and device

A message processing and response message technology, applied in the field of network communication, can solve problems such as the initiating device fails to process, the network cannot be connected, and the network connection state detection error, etc.

Active Publication Date: 2020-04-03
NEW H3C TECH CO LTD
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] However, it has been found in practice that when there are a large number of ICMP echo reply attack packets, the ICMP echo reply packets sent by the destination device may be discarded because the receiving buffer queue is full of ICMP echo reply attack packets, or because the ICMP echo reply Too many attack packets cause the initiator device to fail to process the ICMP echo reply packet sent by the destination device within the preset time, and then the network connectivity status detection error occurs, that is, the destination device replies with the ICMP echo reply In the case of a packet, the initiator device detects that the network cannot be connected

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A message processing method and device
  • A message processing method and device
  • A message processing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] In order to enable those skilled in the art to better understand the technical solutions in the embodiments of the present invention, the following takes the implementation of NQA (Network Quality Analyzer, Network Quality Analysis) Ping as an example to send the ICMP echo request message in the existing process And the specific process of receiving the ICMP echo reply message will be briefly described.

[0024] It is worth noting that the message processing solution provided by the embodiment of the present invention is not limited to the implementation of NQA Ping, and can also be applied to other scenarios where the Ping command is used to detect whether the network can be connected, such as PPPOE (Point to Point Protocol over Ethernet, based on Ethernet point-to-point communication protocol) Ping (detect whether the PPPOE user terminal is online through the Ping command), IPOE (Internet Protocol over Ethernet, an Internet protocol based on Ethernet) Ping (detect whet...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The present invention provides a message processing method and device, the method comprising: an NQA process sends an ICMP echo request message to the RAWIP protocol through a raw socket; Add a preset identification field in the header, and send an ICMP echo request message carrying the preset identifier field; when the RAWIP protocol receives an ICMP echo response message, judge the ICMP echo response message Whether the preset identifier field is carried in the ICMP header of the text; if so, the RAWIP protocol caches the ICMP echo response message to the socket receiving buffer queue; otherwise, the RAWIP protocol discards the ICMP Echo the response message. The application of the embodiments of the present invention can avoid the impact of the ICMP echo response attack message on the normal processing of the ICMP echo response message returned by the destination device, and improve the accuracy of network connection state detection.

Description

technical field [0001] The invention relates to the technical field of network communication, in particular to a message forwarding method and device. Background technique [0002] Ping is a command under Windows, Unix and Linux systems. Its main function is to detect whether the network can be connected, so that it can be used to help users analyze and judge network failures. [0003] The main process of the Ping command to detect whether the network can be connected is as follows: [0004] The initiator device constructs an ICMP (Internet Control Message Protocol, Internet Control Message Protocol) echo (echo) request (request) message, and sends it to the destination device; [0005] When the destination device receives the ICMP echo request message, it replies with an ICMP echo reply (response); [0006] If the initiator device receives the ICMP echo reply message sent by the destination device within the preset time, it is determined that the network can be connected ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Patents(China)
IPC IPC(8): H04L29/06H04L12/925H04L12/863H04L12/26H04L47/722
Inventor 潘芸
Owner NEW H3C TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products