Method and equipment for processing message

A message and device technology, applied in the field of communication, can solve problems such as unsupported message priority, system disorder, etc., to solve the problem of replay attack and ensure normal operation

Inactive Publication Date: 2012-10-24
BEIJING HUAWEI DIGITAL TECH
View PDF3 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The Internet Engineering Task Force (IETF, Internet Engineering Task Force) Routing Protocol Key Exchange and Authentication (karp, Keying and Authentication for Routing Protocols) working group discussed that the current packet processing method can prevent replay attacks , but because it does not support packet prioritization (packets with high priority are received late, they will be processed first), therefore, packets received later will be processed in advance if they have high priority. In the absence of a replay attack, when a previously received low-priority message is processed, the system believes that the sequence number of the previously received message is smaller than the previously processed message, and then mistakenly believes that a replay has occurred. release attack, the previously received legal packets will be discarded, which will eventually lead to system disorder

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
  • Method and equipment for processing message
  • Method and equipment for processing message
  • Method and equipment for processing message

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0024] For a method for processing messages provided by an embodiment of the present invention, see figure 1 , which may specifically include:

[0025] 101. Receive a message, where the received message carries a sequence number used to prevent replay attacks and information used to indicate the priority of the message;

[0026] 102. Judging whether a replay attack occurs according to the serial number used to prevent replay attacks carried by the received message and the information used to indicate the priority of the message, if so, perform 103, if not, perform 104;

[0027] 103. Discard the received message;

[0028] 104. Process the received message.

[0029] In the embodiment of the present invention, after the message is received, it is judged whether a replay attack occurs according to the serial number used to prevent replay attacks carried by the received message and the information used to indicate the priority of the message. When a replay attack occurs, accordi...

Embodiment 2

[0032] 201. Receive a message, wherein the received message carries N sequence numbers for preventing replay attacks, and N is the number of message priority levels;

[0033] In the embodiment of the present invention, as the sender of the message, a plurality of sequence numbers with the same number of levels as the message are configured for the message, and then sent to the receiver, so that the receiver can different serial numbers. For example, if the packets have 8 priorities in total, then 8 sequence numbers are configured for the packets.

[0034] When the sequence number carried by the message is more than one, the data format of the sequence number carried by the message can be the same or different. In practical applications, it can be a 32-bit or 64-bit unsigned integer. Of course, it can also be It is another data format, which is not limited here.

[0035] 202. Determine whether the Mth sequence number carried by the received message is greater than the Mth seq...

Embodiment 3

[0047] 301. Receive a message, where the received message carries a sequence number used to prevent replay attacks and a label used to indicate the priority of the message;

[0048]302. According to the above label used to indicate the priority of the message, in the same priority level, determine whether the sequence number carried by the received message for preventing replay attacks is greater than the sequence number stored by itself, and if so, execute 303 and 304, if not, execute 305;

[0049] Optionally, the packets may be judged according to the order of priority from high to low.

[0050] 303. Process the received message;

[0051] According to the judgment result of 302, in the same priority level, when the sequence number used to prevent replay attacks carried by the received message is greater than the sequence number stored by itself, it is considered that no replay attack has occurred, and the message is processed .

[0052] 304. Store the serial number carrie...

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 embodiment of the invention discloses a method and equipment for processing a message, and is used for solving a replay attack problem to guarantee the normal operation of a system under the condition that the message priority is supported. The method disclosed by the embodiment of the invention comprises the following steps of: receiving a message, wherein the received message caries a serial number used for preventing the replay attack and information used for indicating the message priority; according to the serial number used for preventing the replay attack and the information used for indicating the message priority, which are carried by the received message, judging whether the replay attack happens or not; if so, abandoning the received message; and if not, processing the received message.

Description

technical field [0001] The present invention relates to the technical field of communication, in particular to a method and equipment for processing messages. Background technique [0002] Replay attack is a very common network attack method. The attacker intercepts the packets transmitted on the network in advance, and chooses to resend the intercepted packets on the Internet at an appropriate time in the future, thereby disturbing the state of the victim's device and achieving the attack. the goal of. [0003] At present, many routing protocols and security protocols use serial numbers to prevent replay attacks, that is, each message carries a serial number, and the serial number increases monotonically. When the system receives a message, it processes the message. If the sequence number of the received packet is smaller than the sequence number of the previously processed packet, it is considered a replay attack and the system discards the received packet. [0004] The ...

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 Applications(China)
IPC IPC(8): H04L12/56H04L1/18H04L29/06H04L47/32
CPCH04L12/56
Inventor 张大成
Owner BEIJING HUAWEI DIGITAL TECH
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