A method and communication device for processing address parsing protocol packet

An address resolution protocol and message technology, which is applied to a method and a communication device, in the field of processing address resolution protocol messages, can solve the problem of occupying processing time of Ethernet communication equipment, and the failure of Ethernet communication equipment to process important protocols or control messages in time. network failure, etc.

Inactive Publication Date: 2008-02-13
ZTE CORP
View PDF0 Cites 16 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Furthermore, there are many kinds of viruses on the network, and one of the ARP viruses keeps forging various ARP protocol messages to send to the network or Ethernet communication devices, or users maliciously or unintentionally send a large number of ARP protocol packets. These protocol messages will occupy a large amount of processing time of the CPU in the Ethernet communication equipment, causing the Ethernet communication equipment to fail to process other important protocols or control messages in a timely manner, resulting in network failures with serious consequences
These illegal ARP packets are exactly the same as normal ARP packets and cannot be distinguished. Therefore, the only way to solve this problem is to improve the processing ability of the ARP protocol packets of the Ethernet communication equipment under the premise of reducing the cost as much as possible.
But there is no related technology in the prior art to solve this problem

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 method and communication device for processing address parsing protocol packet
  • A method and communication device for processing address parsing protocol packet

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] The technical solution of the present invention will be described in more detail below with reference to the drawings and embodiments.

[0023] A kind of communication device that is applied to the processing ARP message in Ethernet, as shown in Figure 1, comprises a CPU and an ARP message processing module (being NP or ASIC chip);

[0024] This module is used for judging the type of the data frame that it receives; For ARP request message, it is used for searching the destination gateway MAC address corresponding to destination IP address in the above data frame from gateway ARP table; After finding, it also It is used to assemble an ARP response message, using the above-mentioned destination gateway MAC address and the above-mentioned destination IP address as the source MAC address and source IP address of the message respectively, and using the source MAC address and source IP address in the above data frame as the message The destination MAC address and destination...

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

A communication device for processing address resolution protocol ARP messages, including a CPU and an ARP message processing module. The method for using the device to process an ARP message includes: a.ARP message processing module executes b if it judges that the data frame type it receives is an ARP request message; if it is an ARP response message, execute d; b. Find the destination gateway MAC address corresponding to the destination IP address in the data frame in the gateway ARP table set in this module, execute c; c. Assemble an ARP response message, send it out after assembly, end ; D. this module is as the MAC address of this gateway as judging the purpose MAC address in the data frame, then after the source IP address in the data frame and the source MAC address form ARP information, in the gateway ARP table, search whether there is the same ARP information, if yes, end. By adopting the invention, the efficiency of processing ARP messages can be improved.

Description

technical field [0001] The invention relates to the Ethernet communication technology, in particular to a method and a communication device for processing address resolution protocol messages. Background technique [0002] With the rapid development of the Internet, the Ethernet network has gradually become an indispensable tool in people's daily work and life. Ethernet switches or routers are indispensable communication devices for forming an Ethernet network, and the number of them in the network is increasing day by day. At the same time, IP data packets are often sent through Ethernet, but Ethernet communication devices do not recognize 32-bit IP addresses, and they transmit Ethernet data packets with 48-bit Ethernet addresses. Therefore, the IP driver must translate the IP destination address into a 48-bit Ethernet destination address. There is some sort of static or algorithmic mapping between these two addresses, and it is often necessary to look at a table to compl...

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
IPC IPC(8): H04L29/06H04L12/56H04L29/12H04L45/74
Inventor 杨自鹏
Owner ZTE CORP
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