WO2011026344A1 - Method and device for reassembling ip fragment datagrams - Google Patents

Method and device for reassembling ip fragment datagrams Download PDF

Info

Publication number
WO2011026344A1
WO2011026344A1 PCT/CN2010/072814 CN2010072814W WO2011026344A1 WO 2011026344 A1 WO2011026344 A1 WO 2011026344A1 CN 2010072814 W CN2010072814 W CN 2010072814W WO 2011026344 A1 WO2011026344 A1 WO 2011026344A1
Authority
WO
WIPO (PCT)
Prior art keywords
entry
reorganization
packet
fragmented
vpn
Prior art date
Application number
PCT/CN2010/072814
Other languages
French (fr)
Chinese (zh)
Inventor
赵丰收
姚俊
郭树波
汪勇
单丽杰
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2011026344A1 publication Critical patent/WO2011026344A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4641Virtual LANs, VLANs, e.g. virtual private networks [VPN]

Definitions

  • the present invention relates to a message reassembly technology, and in particular, to a method and apparatus for reassembling an IP (Internet Protocol) fragmented message.
  • IP Internet Protocol
  • IP is the core protocol in the TCP (Transmission Control Protocol) / IP protocol family. All TCP, UDP (User Datagram Protocol), ICMP (Internet Control Message Protocol), and IGMP (Internet Group Management Protocol) data are transmitted in IP datagram format. Data units encapsulated by IP protocol are called IP packets.
  • the lower layer protocol of the IP protocol is the link layer protocol. For most link layer protocols, the length of the data frame that can be transmitted has an upper limit. For example, the maximum length of the Ethernet and 802.3 pairs can be transmitted. And 1492 bytes, this feature of the link layer is called MTU, which is the maximum transmission unit.
  • the IP layer needs to fragment the IP packet so that the length of each packet is not greater than the link layer. MTU, then can send a message on the link.
  • each IP fragment that belongs to the same original "3 ⁇ 4 text” must be reassembled and reassembled into a complete "3 ⁇ 4 text” and then processed by the upper layer protocol. .
  • the reorganization is usually done by the destination host.
  • the NAT Network Address Translation
  • the NAT Network Address Translation
  • RFC 791 describes the process of fragmenting and reorganizing ⁇ 3 ⁇ 4 texts.
  • the protocol indicates that the four fields of the IP_ID, the source IP address, the destination IP address, and the protocol number in the IP header are used to identify each fragment belonging to the same original IP packet. If these fields are the same, they are considered to be the same original Multiple packets that are fragmented into the original message need to be reassembled into a single message.
  • Figure 1 is the basic structure of the reorganization table.
  • the reassembly module In the system initialization phase, the reassembly module first allocates two pieces of memory in the memory, one of which is used to reorganize the table, and the other is used to reorganize the conflict table corresponding to the table.
  • the reassembly table is used to store the necessary information for each fragmented message in the subsequent reorganization process.
  • the information to be saved includes the IP_ID, protocol number, source IP address, and destination IP address.
  • Such a data structure is called a reorganization table.
  • each reorganization table entry needs to store two pointers, respectively pointing to the conflict table entries of the reorganization table, and a "segmented message list". data structure.
  • the reassembly module searches for the reassembly entry corresponding to each fragmented packet, it performs hash calculation on the four values of IP_ID, protocol number, source IP address, and destination IP address, and hashes the different packets. When they are the same, you need to use conflicting entries (conflicting reorganization entries).
  • the conflict table entries are stored in the same memory as the reorganization table entries.
  • the structure of the conflict table entries is the same as that of the reorganization table entries.
  • the reorganization table entries and conflict table entries are not distinguished.
  • the conflict table entry may be directly described as a reorganization table entry.
  • the so-called “segmented message link list” refers to a series of IP fragmented packets of the same characteristics received by the network device.
  • the so-called identical features refer to the four fields of IP_ID, protocol number, source IP address, and destination IP address. the same.
  • IP_ID IP address
  • the reassembly module only uses the fragmented message link table to divide multiple fragments belonging to the same original IP packet.
  • the essays are linked to complete the reorganization of the essay.
  • Figure 1 shows the reorganization entries, conflicting entries, and fragmented message chain tables mentioned above.
  • the reorganization entry 2 and the entry ⁇ are used, and each entry is followed by a conflicting entry, and each entry has a pointer to the fragmented message list.
  • VPN Virtual Private Network
  • IPv4 Internet Protocol Version 4
  • IP_ID IP address
  • protocol number of the IP fragments sent by the host A1 and the host A2 of the VPN1 and the VPN2 are the same, after the packet arrives at the router R, the reassembly module of the router R does not distinguish.
  • the object of the present invention is to improve the IP reassembly process in response to the current status of the IP reassembly method, so that IP packets that need to be reassembled in different VPNs are not affected by each other.
  • the present invention proposes a method for recombining IP fragmented packets, which specifically includes:
  • the method further includes: saving the VPN identifier and the IP header information into the reorganization table entry, and adding the fragment packet In the fragmented packet list of the current reorganization entry, the fragmented message linkage table is used to save the fragment in the same original packet.
  • the comparison is to receive the VPN identifier and the IP header information and the VPN identifier and the IP header saved in the used reassembly entry. Information is compared. Further, when the comparison result is all matching, the method further includes: adding the fragment packet to the fragment packet list of the corresponding reorganization entry.
  • the recombining specifically includes: when all the fragments of the same original message are added to the fragmented message list of the corresponding reorganization entry, all the points in the fragmented message list of the current reorganization entry are The pieces of the message are assembled in order to complete the reorganization of the original message.
  • the method further includes: determining whether the current reorganization entry has a conflicting entry.
  • the method further includes: newly assigning a conflicting entry, connecting the conflicting table necklace to the back of the currently checked and reorganized entry, and setting a VPN identifier and an IP header of the current fragmented packet. The information is saved to the conflicting table entry.
  • the method further includes: comparing the VPN identifier and the IP header information of the text with the VPN identifier and the IP header information saved in the conflicting entry, and if yes, the current fragment is reported.
  • the file is saved in the fragmented message list of the matched conflicting entry; no, it is newly assigned a conflicting entry, and the VPN identifier and the IP header information are saved to the newly allocated conflicting entry.
  • the VPN identifier is a VPN_ID
  • the IP header information is an IP_ID, a source IP address, a destination IP address, and a protocol number.
  • the present invention also provides an apparatus for reassembling an IP fragment packet, comprising: an obtaining unit, a calculating determining unit, and a comparing and recombining unit; wherein, the acquiring unit is configured to obtain a VPN identifier and an IP header information of the fragmented packet; a unit, configured to calculate a hash index according to the VPN identifier and the IP header information obtained by the obtaining unit, to determine a recombination entry corresponding to the fragmented packet, and a comparison reorganization unit, configured to: The VPN ID and IP header information are used to compare and assemble the fragmented packets to complete the reorganization of the original packets.
  • the invention has the following beneficial effects: avoiding the possibility of error and mutual influence of IP fragmentation messages in different VPNs during reassembly, supplementing the description of the RFC protocol reassembly process of IP fragmentation, and perfecting the existing IP reorganization Process, which can improve the stability of network devices and improve the transmission of IP networks. The quality of the transmission.
  • Figure 1 is a basic structural diagram of a reorganization table
  • FIG. 2 is a schematic diagram of forwarding processing of fragmented packets in different VPNs on a router after being improved by using the present invention
  • FIG. 3 is a flow chart of an algorithm for implementing the present invention in an embodiment
  • FIG. 4 is a structural diagram of a reassembly module implementing the method. DETAILED DESCRIPTION OF THE INVENTION The present invention will be further described in detail below in conjunction with the drawings and specific embodiments.
  • FIG. 2 shows the situation in which the router device processes fragmented packets in different VPNs after using the IP reassembly procedure of the present invention.
  • the reassembly module is also the same as VRF (VPN routing/forwarding).
  • VRF VPN routing/forwarding
  • the VPN_ID of the text can only be reassembled if the packets in the same VPN are from the same original message.
  • the router For each fragmented packet, before sending it to the reassembly module, the router must obtain the VPN to which the packet belongs, that is, determine the VPN_ID of the packet, and then bring the VPN_ID to the reassembly module.
  • the reassembly module When reassembling the message, the reassembly module first calculates the index of the message in the reassembly table by using the IP_ID, source IP address, destination IP address, and protocol number field in the VPNJD and the IP header of the reassembly module. Locate the corresponding reorganization entry based on the index.
  • the VPN_ID, IP_ID, source IP address, destination IP address, and protocol number of the text are compared with the corresponding five values cached in the reorganization entry, and only when all five values are the same, In order to find the reorganization entry that I belong to. After finding the reorganization entry to which it belongs, the actual reorganization of the message content such as sorting and copying the fragmented message is the same as the previous reorganization process.
  • the VPNJD is the key to the present invention. Compared with the previous reorganization process, the VPN_ID is added in the present invention to ensure that the fragmented packets under different VPNs do not affect each other.
  • Fig. 3 is a flow chart of the algorithm of the present embodiment, and each step in the algorithm will be described in detail below.
  • step 410 the reassembly module receives an IP fragmentation message.
  • the router obtains the VPN to which the packet belongs, that is, the VPN_ID of the packet, and obtains the IP_ID, source IP address, and destination of the packet from the IP header of the current fragmented packet. IP address and protocol number. And use these five values to calculate a hash index to determine the reorganization table entry corresponding to the shard.
  • step 412 the hash index calculated in step 411 is used to locate the corresponding entry of the reorganization table, and it is determined whether the entry is still in an unused state. If the reassembly entry has not been used, the current packet is the first fragment of the same original packet, and the process proceeds to step 420; otherwise, the fragment of the same original packet arrives, and the packet is transferred. Step 430.
  • step 420 the five values of the VPN_ID, the IP_ID, the source IP address, the destination IP address, and the protocol number of the current packet are saved in the reassembly entry, and the current packet is added to the fragment packet of the current reassembly entry.
  • the reassembly module ends the processing of the current fragmented packet.
  • the fragmented message link table of the reassembly entry is used to save the fragment that has been received in the same original message.
  • step 430 the VPN_ID, the IP_ID, the source IP address, the destination IP address, and the protocol number of the packet are respectively compared with the five values saved in the reorganization entry, and then the process proceeds to step 431.
  • step 431 the comparison result of step 430 is judged. If the comparison result is all matching, it indicates that the reorganization entry to which the current packet belongs has been found, and the process proceeds to step 440; otherwise, the hash index and the current report of the packet are indicated. The hash index of the text is the same, and the reorganization entry conflicts. Go to step 460. Find conflicting table entries.
  • step 440 the current message is added to the fragmented message list of the current reorganization entry, and then proceeds to step 441.
  • step 441 it is determined whether all the fragments of the same original message are all aligned. If not all are aligned, the processing procedure of the current packet by the reassembly module ends; otherwise, the process proceeds to step 450.
  • step 450 all the fragmented packets in the fragmented packet list of the current reorganization entry are assembled in order, and the reorganization process of the original packet to which the current packet belongs is completed, and the reassembly module processes the current packet. End.
  • step 460 it is determined whether the conflict table entry pointer of the current reorganization entry is empty. If the pointer is empty, the current packet is the first fragment of the same original packet that arrives at the reassembly module, and the process proceeds to step 470; otherwise, the fragment of the same original packet arrives, and the process proceeds to step 480. .
  • step 470 a conflict entry is newly allocated, and the conflict entry is connected to the reorganization entry checked in step 460, and the process proceeds to step 471.
  • step 471 the five values of the VPN_ID, the IP_ID, the source IP address, the destination IP address, and the protocol number of the current packet are saved in the conflicting entry allocated in step 470, and the processing procedure of the current packet is ended by the reassembly module.
  • step 480 according to the conflicting entry of the reorganization entry checked in step 460, the next conflicting entry is located, and then proceeds to step 430 to start a new round of comparison operation between the current packet and the content of the conflicting entry. .
  • Figure 4 is a block diagram of a reconstitution apparatus embodying the method.
  • the reorganization device includes: an obtaining unit, configured to acquire a VPN identifier and an IP header information of the fragmented packet;
  • a calculation determining unit configured to calculate a hash index according to the VPN identifier and the IP header information acquired by the obtaining unit, to determine a reorganization entry corresponding to the fragmented packet;
  • the comparison and reorganization unit is configured to compare and assemble the fragmented message according to the VPN entry and the IP header information determined by the calculation determining unit, and complete the original message reorganization.

Abstract

A method and device for complementing the prior IP reassembling process are provided by the present invention, which enable IP fragment datagrams of different virtual private networks (VPNs) to be not influenced by each other when reassembled by adding judgment of which VPN the datagram belongs to for the prior reassembling module. Application of the present invention can avoid the possibility that IP fragment datagrams of different VPNs influence each other when reassembled, supplements the RFC protocol description relating to the IP reassembling process, complements the prior IP reassembling process, and can improve the stability of network equipment and the quality of IP network transmission. The present invention applies to IPv4 and IPv6 reassembling, and is independent to the way how a VPN implements.

Description

一种 IP分片报文的重组方法和装置 技术领域  Method and device for reorganizing IP fragmented message
本发明涉及报文重组技术, 尤其涉及一种 IP (互联网协议)分片报文 的重组方法和装置。 背景技术  The present invention relates to a message reassembly technology, and in particular, to a method and apparatus for reassembling an IP (Internet Protocol) fragmented message. Background technique
IP是 TCP (传输控制协议)/ IP协议族中最为核心的协议。所有的 TCP、 UDP (用户数据报协议)、 ICMP (互联网控制消息协议)及 IGMP (互联网 组管理协议)数据都以 IP数据报文格式传输, 用 IP协议封装的数据单元叫 做 IP报文。 IP协议的下层协议是链路层协议,对于大多数链路层协议来说, 所能传输的数据帧长度都有一个上限,比如以太网和 802.3对所能传输的长 度其最大值分别为 1500和 1492字节, 链路层的这个特性称作 MTU, 即最 大传输单元。  IP is the core protocol in the TCP (Transmission Control Protocol) / IP protocol family. All TCP, UDP (User Datagram Protocol), ICMP (Internet Control Message Protocol), and IGMP (Internet Group Management Protocol) data are transmitted in IP datagram format. Data units encapsulated by IP protocol are called IP packets. The lower layer protocol of the IP protocol is the link layer protocol. For most link layer protocols, the length of the data frame that can be transmitted has an upper limit. For example, the maximum length of the Ethernet and 802.3 pairs can be transmitted. And 1492 bytes, this feature of the link layer is called MTU, which is the maximum transmission unit.
如果 IP层有一个数据报文需要传递, 而且数据的长度比链路的 MTU 还大, 那么 IP层就需要对 IP报文进行分片,使每个报文的长度都不大于链 路层的 MTU, 然后才能在链路上发送报文。  If the IP layer has a data packet to be transmitted, and the length of the data is larger than the MTU of the link, the IP layer needs to fragment the IP packet so that the length of each packet is not greater than the link layer. MTU, then can send a message on the link.
在接收端, 为了还原发送端发来的原始报文, 必须将收到的属于同一 个原始 "¾文的各个 IP分片进行重组, 重组成一个完整的 "¾文之后再交由上 层协议处理。 重组一般由目的主机完成, 但是对于一般特殊的情况, 比如 说 NAT (网络地址转换)过程需要重新计算整个报文的校验和, 路由器等 中间节点也需要对分片报文进行重组。  At the receiving end, in order to restore the original message sent by the sender, each IP fragment that belongs to the same original "3⁄4 text" must be reassembled and reassembled into a complete "3⁄4 text" and then processed by the upper layer protocol. . The reorganization is usually done by the destination host. However, for the special case, for example, the NAT (Network Address Translation) process needs to recalculate the checksum of the entire packet, and the intermediate nodes such as the router also need to reassemble the fragmented packets.
RFC791描述了对 ΙΡ ·¾文进行分片和重组的过程。 该协议指出, IP头 中的 IP_ID、 源 IP地址、 目的 IP地址以及协议号四个字段用于标识属于同 一原始 IP报文的各个分片。 如果这些字段相同, 则认为它们是由同一个原 始报文分片成的多个报文, 需要将其重组成一个报文。 RFC 791 describes the process of fragmenting and reorganizing ΙΡ·3⁄4 texts. The protocol indicates that the four fields of the IP_ID, the source IP address, the destination IP address, and the protocol number in the IP header are used to identify each fragment belonging to the same original IP packet. If these fields are the same, they are considered to be the same original Multiple packets that are fragmented into the original message need to be reassembled into a single message.
图 1 是重组表的基本结构图。 在系统初始化阶段, 重组模块首先在内 存中分配两片内存, 其中一片内存用于重组表, 另外一片内存用于重组表 对应的沖突表。 重组表用于保存在后续的重组过程中每个分片报文的必要 信息, 需要保存的信息包括 IP_ID、 协议号、 源 IP地址、 目的 IP地址。 这 样一个数据结构叫做重组表, 除了能够保存以上信息之外, 每个重组表的 表项还需要保存两个指针, 分别指向重组表的沖突表项, 以及一个叫做 "分 片报文链表" 的数据结构。 在重组模块寻找每个分片报文对应的重组表项 时, 对 IP_ID、 协议号、 源 IP地址、 目的 IP地址这四个值进行哈希( hash ) 计算, 当不同报文的哈希结果相同时, 就需要使用沖突表项 (沖突的重组 表项)。 沖突表项与重组表表项一样, 都保存在内存中, 其结构与重组表表 项结构完全相同, 在某些系统实现中, 并不区分重组表表项和沖突表项, 因此在后面的描述中,可能会将沖突表项直接描述为重组表表项。所谓 "分 片报文链表",是指网络设备所接收到的一串相同特征的 IP分片报文,所谓 相同特征是指 IP_ID、 协议号、 源 IP地址、 目的 IP地址这四个字段完全相 同。 事实上, 当 IP分片报文被接收到网络设备中时, 它已经保存在了网络 设备的内存中, 重组模块只是使用分片报文链表将属于同一原始 IP报文的 多个分片才艮文链接起来, 以完成对 ·艮文的重组。 图 1 中分别画出了前面所 提到的重组表项、 沖突表项、 分片报文链表。 在这个重组表中, 重组表项 2 和表项 η被使用, 并且每个表项后面还链接有沖突表项, 每个表项还有一 个指针指向分片报文链表。  Figure 1 is the basic structure of the reorganization table. In the system initialization phase, the reassembly module first allocates two pieces of memory in the memory, one of which is used to reorganize the table, and the other is used to reorganize the conflict table corresponding to the table. The reassembly table is used to store the necessary information for each fragmented message in the subsequent reorganization process. The information to be saved includes the IP_ID, protocol number, source IP address, and destination IP address. Such a data structure is called a reorganization table. In addition to being able to save the above information, each reorganization table entry needs to store two pointers, respectively pointing to the conflict table entries of the reorganization table, and a "segmented message list". data structure. When the reassembly module searches for the reassembly entry corresponding to each fragmented packet, it performs hash calculation on the four values of IP_ID, protocol number, source IP address, and destination IP address, and hashes the different packets. When they are the same, you need to use conflicting entries (conflicting reorganization entries). The conflict table entries are stored in the same memory as the reorganization table entries. The structure of the conflict table entries is the same as that of the reorganization table entries. In some system implementations, the reorganization table entries and conflict table entries are not distinguished. In the description, the conflict table entry may be directly described as a reorganization table entry. The so-called "segmented message link list" refers to a series of IP fragmented packets of the same characteristics received by the network device. The so-called identical features refer to the four fields of IP_ID, protocol number, source IP address, and destination IP address. the same. In fact, when an IP fragment message is received into a network device, it is already stored in the memory of the network device. The reassembly module only uses the fragmented message link table to divide multiple fragments belonging to the same original IP packet. The essays are linked to complete the reorganization of the essay. Figure 1 shows the reorganization entries, conflicting entries, and fragmented message chain tables mentioned above. In this reorganization table, the reorganization entry 2 and the entry η are used, and each entry is followed by a conflicting entry, and each entry has a pointer to the fragmented message list.
在 IP网络运行了多年之后, VPN (虚拟专用网) 出现了, VPN的出现 改变了一个事实, 互联网由原来平面结构变成了立体结构, 由于 VPN之间 相互隔绝, 不同 VPN内的主机可以具有相同的 IP地址。  After the IP network has been running for many years, VPN (Virtual Private Network) has emerged. The emergence of VPN has changed the fact that the Internet has changed from the original planar structure to the three-dimensional structure. Since VPNs are isolated from each other, hosts in different VPNs can have The same IP address.
由于 IPv4 (互联网协议第四版)报文的 IP头内没有携带 VPN信息, 而且 IPv4的出现远远早于 VPN,因此 IPv4报文的重组流程没有考虑到 VPN 因素, 这样一来, IPv4报文的重组过程就不再具有完备性。 如果分别属于 VPN1和 VPN2的主机 A1和主机 A2发出去的 IP分片报文的源 IP地址、 目的 IP地址、 IP_ID、 协议号相同, 报文到达路由器 R之后, 由于路由器 R 的重组模块不区分 VPN信息, 因此路由器 R在重组时就会认为来自主机 A1和主机 A2的分片报文属于同一个原始 IP报文, 就可能会把来自主机 A1和主机 A2的分片报文重组到一起, 显然这样重组出来的是一个错误的 报文。 虽然 IPv6 (互联网协议第六版)协议出现时间要晚于 IPv4协议, 但 是 IPv6报文的重组流程依然是只考虑了 IP头本身的内容, 并未考虑 VPN, 因此 IPv6报文的重组流程也有与 IPv4重组流程相同的问题。 发明内容 Since the IPv4 (Internet Protocol Version 4) packet does not carry VPN information in the IP header, Moreover, the emergence of IPv4 is much earlier than VPN. Therefore, the reorganization process of IPv4 packets does not take into account the VPN factor. As a result, the reorganization process of IPv4 packets is no longer complete. If the source IP address, the destination IP address, the IP_ID, and the protocol number of the IP fragments sent by the host A1 and the host A2 of the VPN1 and the VPN2 are the same, after the packet arrives at the router R, the reassembly module of the router R does not distinguish. VPN information. Therefore, when the router R reassembles, it will consider that the fragmented packets from host A1 and host A2 belong to the same original IP packet, and the fragmented packets from host A1 and host A2 may be reassembled together. Obviously, this reorganization is a wrong message. Although the IPv6 (Internet Protocol Version 6) protocol appears later than the IPv4 protocol, the reorganization process of IPv6 packets still considers only the contents of the IP header itself, and does not consider VPN. Therefore, the reorganization process of IPv6 packets also has The same problem with the IPv4 reorganization process. Summary of the invention
本发明的目的是, 针对上述 IP重组方法的现状, 改进 IP重组流程, 使 不同 VPN内需要重组的 IP报文相互之间不受影响。  The object of the present invention is to improve the IP reassembly process in response to the current status of the IP reassembly method, so that IP packets that need to be reassembled in different VPNs are not affected by each other.
为解决上述技术问题, 本发明提出了一种 IP分片报文的重组方法, 具 体包括:  In order to solve the above technical problem, the present invention proposes a method for recombining IP fragmented packets, which specifically includes:
获取分片报文的 VPN标识,并结合从分片报文中获取的 IP头信息,计 算出哈希索引以确定本分片报文所对应的重组表项, 根据重组表项、 VPN 标识和 IP头信息完成分片报文的比较、 重组。  Obtain the VPN identifier of the fragmented packet, and combine the IP header information obtained from the fragmented packet to calculate a hash index to determine the reassembly entry corresponding to the fragmented packet, according to the reassembly entry, the VPN identifier, and The IP header information completes the comparison and reorganization of the fragmented packets.
进一步地, 当确定本分片才艮文所对应的重组表项未被使用时, 该方法 还包括:将 VPN标识和 IP头信息保存到重组表表项中,并将本分片报文添 加到当前重组表项的分片报文链表中, 其中, 分片报文链表用于保存同一 原始报文中的分片。  Further, when it is determined that the reassembly entry corresponding to the shard is not used, the method further includes: saving the VPN identifier and the IP header information into the reorganization table entry, and adding the fragment packet In the fragmented packet list of the current reorganization entry, the fragmented message linkage table is used to save the fragment in the same original packet.
进一步地, 当确定本分片才艮文所对应的重组表项已被使用时, 所述比 较是将收到的 VPN标识和 IP头信息与已使用重组表项中保存的 VPN标识 和 IP头信息进行比较。 进一步地, 比较结果为全部匹配时, 该方法还包括: 将本分片报文添 加到对应的重组表项的分片报文链表中。 Further, when it is determined that the reassembly entry corresponding to the shard is used, the comparison is to receive the VPN identifier and the IP header information and the VPN identifier and the IP header saved in the used reassembly entry. Information is compared. Further, when the comparison result is all matching, the method further includes: adding the fragment packet to the fragment packet list of the corresponding reorganization entry.
进一步地, 所述重组具体包括: 当同一原始报文的所有分片都添加到 对应的重组表项的分片报文链表中时, 将当前重组表项的分片报文链表中 的所有分片报文按顺序拼装到一起, 完成原始报文的重组。  Further, the recombining specifically includes: when all the fragments of the same original message are added to the fragmented message list of the corresponding reorganization entry, all the points in the fragmented message list of the current reorganization entry are The pieces of the message are assembled in order to complete the reorganization of the original message.
进一步地, 比较结果不匹配时, 该方法还包括: 判断当前重组表项是 否有沖突表项。  Further, when the comparison result does not match, the method further includes: determining whether the current reorganization entry has a conflicting entry.
进一步地, 没有沖突表项时, 该方法还包括: 新分配一个沖突表项, 将该沖突表项链接到当前所查重组表项的后面, 并将当前分片报文的 VPN 标识和 IP头信息保存到该沖突表项中。  Further, when there is no conflicting entry, the method further includes: newly assigning a conflicting entry, connecting the conflicting table necklace to the back of the currently checked and reorganized entry, and setting a VPN identifier and an IP header of the current fragmented packet. The information is saved to the conflicting table entry.
进一步地, 已有沖突表项时, 该方法还包括: 重新将 文的 VPN标识 和 IP头信息与沖突表项中保存的 VPN标识和 IP头信息进行比较, 如果匹 配, 则将当前分片报文保存在匹配到的沖突表项的分片报文链表中; 否贝' J , 新分配一个沖突表项,并保存 VPN标识和 IP头信息到新分配的沖突表项中。  Further, when there is a conflicting entry, the method further includes: comparing the VPN identifier and the IP header information of the text with the VPN identifier and the IP header information saved in the conflicting entry, and if yes, the current fragment is reported. The file is saved in the fragmented message list of the matched conflicting entry; no, it is newly assigned a conflicting entry, and the VPN identifier and the IP header information are saved to the newly allocated conflicting entry.
进一步地, 所述 VPN标识为 VPN_ID, 所述 IP头信息为 IP_ID、 源 IP 地址、 目的 IP地址以及协议号。  Further, the VPN identifier is a VPN_ID, and the IP header information is an IP_ID, a source IP address, a destination IP address, and a protocol number.
本发明还提出一种 IP分片报文的重组装置, 包括: 获取单元、 计算确 定单元、 比较重组单元; 其中, 获取单元, 用于获取分片报文的 VPN标识 和 IP头信息; 计算确定单元, 用于根据获取单元获取的 VPN标识和 IP头 信息, 计算出哈希索引以确定分片报文所对应的重组表项; 比较重组单元, 用于根据计算确定单元确定的重组表项与 VPN标识、 IP头信息进行分片报 文的比较、 拼装, 完成原始报文的重组。  The present invention also provides an apparatus for reassembling an IP fragment packet, comprising: an obtaining unit, a calculating determining unit, and a comparing and recombining unit; wherein, the acquiring unit is configured to obtain a VPN identifier and an IP header information of the fragmented packet; a unit, configured to calculate a hash index according to the VPN identifier and the IP header information obtained by the obtaining unit, to determine a recombination entry corresponding to the fragmented packet, and a comparison reorganization unit, configured to: The VPN ID and IP header information are used to compare and assemble the fragmented packets to complete the reorganization of the original packets.
本发明具有以下有益效果:避免了不同 VPN内的 IP分片报文在重组时 错误和相互影响的可能,补充了 RFC协议关于 IP分片报文重组过程的描述, 完善了现有的 IP重组流程, 能够提高网络设备的稳定性,提高 IP网络的传 输质量。 附图说明 The invention has the following beneficial effects: avoiding the possibility of error and mutual influence of IP fragmentation messages in different VPNs during reassembly, supplementing the description of the RFC protocol reassembly process of IP fragmentation, and perfecting the existing IP reorganization Process, which can improve the stability of network devices and improve the transmission of IP networks. The quality of the transmission. DRAWINGS
图 1是重组表的基本结构图;  Figure 1 is a basic structural diagram of a reorganization table;
图 2为使用本发明改进后, 不同 VPN内分片报文在路由器上的转发处 理示意图;  2 is a schematic diagram of forwarding processing of fragmented packets in different VPNs on a router after being improved by using the present invention;
图 3为实施例中用于实现本发明的算法流程图;  3 is a flow chart of an algorithm for implementing the present invention in an embodiment;
图 4为实施本方法的重组模块结构图。 具体实施方式 以下结合附图和具体实施例对本发明作进一步详细的描述。  4 is a structural diagram of a reassembly module implementing the method. DETAILED DESCRIPTION OF THE INVENTION The present invention will be further described in detail below in conjunction with the drawings and specific embodiments.
图 2 示出了使用本发明的 IP 重组流程之后, 路由器设备在处理不同 VPN内分片报文的情况。 从示意图中可以看出, 重组模块也跟 VRF ( VPN 路由 /转发)一样, 在逻辑上每个 VPN中存在一个重组模块, 而事实上重组 模块在整个路由器设备中只有一个, 只是对原来的重组模块进行了稍微的 变动,在判断分片报文是否属于同一个原始报文时,除比较 IP头内的 IP_ID、 源 IP地址、目的 IP地址和协议号这四个字段之外,还比较报文的 VPN_ID, 只有同一个 VPN下的报文, 才有可能来源于同一个原始报文, 才能够重组 到一起。  Figure 2 shows the situation in which the router device processes fragmented packets in different VPNs after using the IP reassembly procedure of the present invention. As can be seen from the diagram, the reassembly module is also the same as VRF (VPN routing/forwarding). There is a reorganization module in each VPN logically. In fact, there is only one reassembly module in the entire router device, just the original reorganization. The module has undergone a slight change. When judging whether the fragmented packet belongs to the same original packet, in addition to comparing the four fields of IP_ID, source IP address, destination IP address, and protocol number in the IP header, the comparison is also reported. The VPN_ID of the text can only be reassembled if the packets in the same VPN are from the same original message.
对于每一个分片报文, 在将其送到重组模块处理之前, 路由器必须获 取报文所属的 VPN, 也即确定报文的 VPN_ID, 然后将 VPN_ID带给重组 模块使用。 重组模块在对报文进行重组时, 首先使用传给重组模块的 VPNJD以及才艮文 IP头中的 IP_ID、 源 IP地址、 目的 IP地址、 协议号字段 计算报文在重组表中的索引, 再根据索引定位到相应的重组表项。 然后, 使用 文的 VPN_ID、 IP_ID、 源 IP地址、 目的 IP地址以及协议号与緩存 在重组表项中的相应的五个值进行比较, 只有所有五个值都相同时, 才认 为找到了自己所属的重组表项。 找到自己所属的重组表项之后, 对分片报 文进行排序、 复制等实际的报文内容重组操作, 与此前的重组过程相同。For each fragmented packet, before sending it to the reassembly module, the router must obtain the VPN to which the packet belongs, that is, determine the VPN_ID of the packet, and then bring the VPN_ID to the reassembly module. When reassembling the message, the reassembly module first calculates the index of the message in the reassembly table by using the IP_ID, source IP address, destination IP address, and protocol number field in the VPNJD and the IP header of the reassembly module. Locate the corresponding reorganization entry based on the index. Then, the VPN_ID, IP_ID, source IP address, destination IP address, and protocol number of the text are compared with the corresponding five values cached in the reorganization entry, and only when all five values are the same, In order to find the reorganization entry that I belong to. After finding the reorganization entry to which it belongs, the actual reorganization of the message content such as sorting and copying the fragmented message is the same as the previous reorganization process.
VPNJD是本发明的关键, 相比之前的重组过程, 本发明中新增了 VPN_ID 的比较, 保证了不同 VPN下的分片报文相互不影响。 The VPNJD is the key to the present invention. Compared with the previous reorganization process, the VPN_ID is added in the present invention to ensure that the fragmented packets under different VPNs do not affect each other.
下面将以一个实施例来描述本发明的具体实施方式。  Specific embodiments of the present invention will be described below by way of an embodiment.
图 3是本实施例的算法流程图, 下面将对算法中的每一个步骤进行详 细说明。  Fig. 3 is a flow chart of the algorithm of the present embodiment, and each step in the algorithm will be described in detail below.
在步骤 410, 重组模块收到一个 IP分片报文。  In step 410, the reassembly module receives an IP fragmentation message.
在步骤 411 , 路由器通过当前分片报文的描述信息, 获取报文所属的 VPN, 即报文的 VPN_ID, 并从当前分片报文的 IP头中获取报文的 IP_ID、 源 IP地址、 目的 IP地址和协议号。 并使用这五个值计算出一个哈希索引, 以确定本分片才艮文所对应的重组表表项。  In step 411, the router obtains the VPN to which the packet belongs, that is, the VPN_ID of the packet, and obtains the IP_ID, source IP address, and destination of the packet from the IP header of the current fragmented packet. IP address and protocol number. And use these five values to calculate a hash index to determine the reorganization table entry corresponding to the shard.
在步骤 412, 通过步骤 411计算出的哈希索引, 定位到重组表的对应表 项, 判断该表项是否还处于未被使用的状态。 如果该重组表项还未被使用, 则说明当前报文为同一原始报文中第一个到达的分片,转入步骤 420;否则, 说明已经有同一原始报文的分片到达, 转入步骤 430。  In step 412, the hash index calculated in step 411 is used to locate the corresponding entry of the reorganization table, and it is determined whether the entry is still in an unused state. If the reassembly entry has not been used, the current packet is the first fragment of the same original packet, and the process proceeds to step 420; otherwise, the fragment of the same original packet arrives, and the packet is transferred. Step 430.
在步骤 420, 将当前报文的 VPN_ID、 IP_ID、 源 IP地址、 目的 IP地址 以及协议号这五个值保存到重组表项中, 并将当前报文添加到当前重组表 项的分片报文链表中, 重组模块对当前分片报文的处理流程结束。 其中, 重组表项的分片报文链表用于保存同一原始报文中已经收到的分片。  In step 420, the five values of the VPN_ID, the IP_ID, the source IP address, the destination IP address, and the protocol number of the current packet are saved in the reassembly entry, and the current packet is added to the fragment packet of the current reassembly entry. In the linked list, the reassembly module ends the processing of the current fragmented packet. The fragmented message link table of the reassembly entry is used to save the fragment that has been received in the same original message.
在步骤 430, 将报文的 VPN_ID、 IP_ID、 源 IP地址、 目的 IP地址以及 协议号分别与重组表项中保存的这五个值进行比较, 然后进入步骤 431。  In step 430, the VPN_ID, the IP_ID, the source IP address, the destination IP address, and the protocol number of the packet are respectively compared with the five values saved in the reorganization entry, and then the process proceeds to step 431.
在步骤 431 , 判断步骤 430的比较结果, 如果比较结果为全部匹配, 则 说明已经找到了当前报文所属的重组表项, 转入步骤 440; 否则, 说明有报 文的哈希索引与当前报文的哈希索引相同, 重组表项相沖突, 转入步骤 460 查找沖突表项。 In step 431, the comparison result of step 430 is judged. If the comparison result is all matching, it indicates that the reorganization entry to which the current packet belongs has been found, and the process proceeds to step 440; otherwise, the hash index and the current report of the packet are indicated. The hash index of the text is the same, and the reorganization entry conflicts. Go to step 460. Find conflicting table entries.
在步骤 440, 将当前报文添加到当前重组表项的分片报文链表中, 然后 进入步骤 441。  In step 440, the current message is added to the fragmented message list of the current reorganization entry, and then proceeds to step 441.
在步骤 441 , 判断同一原始报文的所有分片是否全部到齐, 如果未全部 到齐, 则重组模块对当前报文的处理流程结束; 否则, 转入步骤 450。  In step 441, it is determined whether all the fragments of the same original message are all aligned. If not all are aligned, the processing procedure of the current packet by the reassembly module ends; otherwise, the process proceeds to step 450.
在步骤 450,将当前重组表项的分片报文链表中的所有分片报文按顺序 拼装到一起, 完成对当前报文所属原始报文的重组过程, 重组模块对当前 报文的处理流程结束。  In step 450, all the fragmented packets in the fragmented packet list of the current reorganization entry are assembled in order, and the reorganization process of the original packet to which the current packet belongs is completed, and the reassembly module processes the current packet. End.
在步骤 460, 判断当前重组表项的沖突表项指针是否为空。如果该指针 为空, 则说明当前报文是同一原始报文中第一个到达重组模块的分片, 转 入步骤 470; 否则, 说明已经有同一原始报文的分片到达, 转入步骤 480。  In step 460, it is determined whether the conflict table entry pointer of the current reorganization entry is empty. If the pointer is empty, the current packet is the first fragment of the same original packet that arrives at the reassembly module, and the process proceeds to step 470; otherwise, the fragment of the same original packet arrives, and the process proceeds to step 480. .
在步骤 470,新分配一个沖突表项, 并将该沖突表项接到步骤 460所查 重组表项的后面, 进入步骤 471。  In step 470, a conflict entry is newly allocated, and the conflict entry is connected to the reorganization entry checked in step 460, and the process proceeds to step 471.
在步骤 471 , 将当前报文的 VPN_ID、 IP_ID、 源 IP地址、 目的 IP地址 以及协议号这五个值保存到步骤 470分配的沖突表项中, 重组模块对当前 报文的处理流程结束。  In step 471, the five values of the VPN_ID, the IP_ID, the source IP address, the destination IP address, and the protocol number of the current packet are saved in the conflicting entry allocated in step 470, and the processing procedure of the current packet is ended by the reassembly module.
在步骤 480,根据步骤 460中所查的重组表项的沖突表项指针, 定位到 下一个的沖突表项, 然后进入步骤 430, 开始对当前报文与沖突表项内容的 新一轮比较操作。  In step 480, according to the conflicting entry of the reorganization entry checked in step 460, the next conflicting entry is located, and then proceeds to step 430 to start a new round of comparison operation between the current packet and the content of the conflicting entry. .
以上即为本实施例的实现算法描述,该算法对 IPv4报文和 IPv6报文都 适用。  The above is the implementation algorithm description of the embodiment, and the algorithm is applicable to both IPv4 packets and IPv6 packets.
图 4为实施本方法的重组装置结构图。 如图 4所示, 重组装置包括: 获取单元, 用于获取分片报文的 VPN标识和 IP头信息;  Figure 4 is a block diagram of a reconstitution apparatus embodying the method. As shown in FIG. 4, the reorganization device includes: an obtaining unit, configured to acquire a VPN identifier and an IP header information of the fragmented packet;
计算确定单元,用于根据获取单元获取的 VPN标识和 IP头信息,计算 出哈希索引以确定分片报文所对应的重组表项; 及 比较重组单元, 用于根据计算确定单元确定的重组表项与 VPN标识、 IP头信息进行分片报文的比较、 拼装, 完成原始报文的重组。 a calculation determining unit, configured to calculate a hash index according to the VPN identifier and the IP header information acquired by the obtaining unit, to determine a reorganization entry corresponding to the fragmented packet; The comparison and reorganization unit is configured to compare and assemble the fragmented message according to the VPN entry and the IP header information determined by the calculation determining unit, and complete the original message reorganization.
以上所述仅为本发明的较佳实施例而已, 并不用以限制本发明, 凡在 本发明的精神和原则之内所作的任何修改、 等同替换和改进等, 均应包含 在本发明的保护范围之内。  The above is only the preferred embodiment of the present invention, and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection of the present invention. Within the scope.

Claims

权利要求书 Claim
1、 一种 IP分片报文的重组方法, 其特征在于, 获取分片报文的 VPN 标识, 并结合从分片报文中获取的 IP头信息, 计算出哈希索引以确定本分 片才艮文所对应的重组表项, 根据重组表项、 VPN标识和 IP头信息完成分片 才艮文的比较、 重组。  A method for recombining IP fragmented packets, which is characterized in that: obtaining a VPN identifier of a fragmented packet, and combining the IP header information obtained from the fragmented packet, and calculating a hash index to determine the fragmentation According to the reorganization entry, the VPN identifier and the IP header information, the reorganization entries corresponding to the essays are compared and reorganized.
2、 如权利要求 1所述的方法, 其特征在于, 当确定本分片报文所对应 的重组表项未被使用时,该方法还包括:将 VPN标识和 IP头信息保存到重 组表表项中, 并将本分片报文添加到当前重组表项的分片报文链表中, 其 中, 分片报文链表用于保存同一原始报文中的分片。  2. The method according to claim 1, wherein when determining that the reorganization entry corresponding to the fragmentation message is not used, the method further comprises: saving the VPN identifier and the IP header information to the reorganization table. In the item, the fragment packet is added to the fragment packet list of the current reassembly entry, where the fragment packet list is used to save the fragment in the same original packet.
3、 如权利要求 1所述的方法, 其特征在于, 当确定本分片报文所对应 的重组表项已被使用时,所述比较是将收到的 VPN标识和 IP头信息与已使 用重组表项中保存的 VPN标识和 IP头信息进行比较。  3. The method according to claim 1, wherein when it is determined that the reorganization entry corresponding to the fragmentation message has been used, the comparing is to use the received VPN identifier and IP header information and used. The VPN ID and IP header information saved in the reassembly entry are compared.
4、 如权利要求 3所述的方法, 其特征在于, 比较结果为全部匹配时, 该方法还包括: 将本分片报文添加到对应的重组表项的分片报文链表中。  The method of claim 3, wherein when the comparison result is all matching, the method further comprises: adding the fragmented message to the fragmented message list of the corresponding recombination entry.
5、 如权利要求 4所述的方法, 其特征在于, 所述重组具体包括: 当同 一原始报文的所有分片都添加到对应的重组表项的分片报文链表中时, 将 当前重组表项的分片报文链表中的所有分片报文按顺序拼装到一起, 完成 原始 文的重组。  The method according to claim 4, wherein the recombining comprises: when all the fragments of the same original message are added to the fragmented message list of the corresponding reorganization entry, the current reorganization is performed. All the fragmented messages in the fragmented message list of the entry are assembled in order to complete the reorganization of the original text.
6、 如权利要求 3所述的方法, 其特征在于, 比较结果不匹配时, 该方 法还包括: 判断当前重组表项是否有沖突表项。  The method according to claim 3, wherein when the comparison result does not match, the method further comprises: determining whether the current reorganization entry has a conflicting entry.
7、 如权利要求 6所述的方法, 其特征在于, 没有沖突表项时, 该方法 还包括: 新分配一个沖突表项, 将所述沖突表项链接到当前所查重组表项 的后面,并将当前分片报文的 VPN标识和 IP头信息保存到所述沖突表项中。  The method according to claim 6, wherein when there is no conflicting entry, the method further comprises: newly assigning a conflicting entry, and connecting the conflicting table necklace to the back of the currently checked and reorganized entry, The VPN identifier and the IP header information of the current fragmented packet are saved in the conflicting entry.
8、 如权利要求 6所述的方法, 其特征在于, 已有沖突表项时, 该方法 还包括: 重新将报文的 VPN标识和 IP头信息与沖突表项中保存的 VPN标 识和 IP头信息进行比较, 如果匹配, 则将当前分片报文保存在匹配到的沖 突表项的分片报文链表中; 否则, 新分配一个沖突表项, 并保存 VPN标识 和 IP头信息到新分配的沖突表项中。 The method of claim 6, wherein when the conflicting entry is already present, the method further comprises: re-resetting the VPN identifier and the IP header information of the packet with the VPN label saved in the conflicting entry. If the matching is performed, the current fragmented packet is saved in the fragmented packet list of the matched conflicting entry; otherwise, a conflicting entry is newly allocated, and the VPN identifier and the IP header are saved. Information into the newly assigned conflicting entry.
9、 如权利要求 1至 8任一项所述的方法, 其特征在于, 所述 VPN标 识为 VPN_ID, 所述 IP头信息为 IP_ID、 源 IP地址、 目的 IP地址以及协议 号。  The method according to any one of claims 1 to 8, wherein the VPN identifier is a VPN_ID, and the IP header information is an IP_ID, a source IP address, a destination IP address, and a protocol number.
10、 一种 IP分片报文的重组装置, 其特征在于, 包括: 获取单元、 计 算确定单元、 比较重组单元; 其中,  10. An apparatus for reassembling an IP fragmented packet, comprising: an obtaining unit, a calculating determining unit, and a comparing and recombining unit; wherein
获取单元, 用于获取分片报文的 VPN标识和 IP头信息;  An obtaining unit, configured to obtain a VPN identifier and an IP header information of the fragmented packet;
计算确定单元,用于根据获取单元获取的 VPN标识和 IP头信息,计算 出哈希索引以确定分片报文所对应的重组表项;  a calculation determining unit, configured to calculate a hash index according to the VPN identifier and the IP header information acquired by the obtaining unit, to determine a reorganization entry corresponding to the fragmented packet;
比较重组单元, 用于根据计算确定单元确定的重组表项与 VPN标识、 IP头信息进行分片报文的比较、 拼装, 完成原始报文的重组。  The comparison and reorganization unit is configured to compare and assemble the fragmentation message according to the VPN identifier and the IP header information determined by the calculation determining unit, and complete the original message reorganization.
PCT/CN2010/072814 2009-09-03 2010-05-14 Method and device for reassembling ip fragment datagrams WO2011026344A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200910189954.0 2009-09-03
CN2009101899540A CN101645851B (en) 2009-09-03 2009-09-03 Recombination method for IP fragment messages and device thereof

Publications (1)

Publication Number Publication Date
WO2011026344A1 true WO2011026344A1 (en) 2011-03-10

Family

ID=41657573

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2010/072814 WO2011026344A1 (en) 2009-09-03 2010-05-14 Method and device for reassembling ip fragment datagrams

Country Status (2)

Country Link
CN (1) CN101645851B (en)
WO (1) WO2011026344A1 (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101645851B (en) * 2009-09-03 2012-07-18 中兴通讯股份有限公司 Recombination method for IP fragment messages and device thereof
CN102811158A (en) * 2011-06-02 2012-12-05 中兴通讯股份有限公司 Data positioning and recombining method and corresponding device
CN102256182A (en) * 2011-07-26 2011-11-23 重庆大唐科技股份有限公司 RTP (Real-time Transport Protocol)-based video stream fragment framing method
CN103023808B (en) * 2012-12-28 2015-06-03 南京邮电大学 Block link list structure based 6lowpan data packet repackaging buffering method
CN104348760B (en) * 2014-10-11 2017-12-26 北京中创腾锐技术有限公司 A kind of method realized IP fragmentation and sequentially sent piecewise
CN106941457B (en) * 2016-01-04 2019-09-06 普天信息技术有限公司 The method and device of IP packet frament reassembling based on multi-core processor
CN106411791A (en) * 2016-09-05 2017-02-15 上海斐讯数据通信技术有限公司 ICMP fragmented packet reassembly method and forwarding method, controller, and switch
CN113098780B (en) * 2021-02-22 2023-04-28 网宿科技股份有限公司 Message processing method of virtual network, electronic equipment and storage medium
CN114448976B (en) * 2022-03-11 2024-02-06 中国工商银行股份有限公司 Method, device, equipment, medium and program product for assembling network message
CN115225593B (en) * 2022-06-30 2023-11-28 中科驭数(北京)科技有限公司 Method, device, equipment and medium for reorganizing fragmented messages

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6714985B1 (en) * 2000-04-28 2004-03-30 Cisco Technology, Inc. Method and apparatus for efficiently reassembling fragments received at an intermediate station in a computer network
CN1494274A (en) * 2002-10-31 2004-05-05 ����ͨѶ�ɷ����޹�˾ Method of realizing IP message partition and recombination based on network processor
CN1725735A (en) * 2005-06-17 2006-01-25 杭州华为三康技术有限公司 Control method for using resource of network address transition equipment of virtual proviate network method for controlling usage of NAT equipment resources of VPN
CN1960313A (en) * 2005-11-03 2007-05-09 中兴通讯股份有限公司 Periphery devices of service provider of combining network address conversion, and method of application
CN101645851A (en) * 2009-09-03 2010-02-10 中兴通讯股份有限公司 Recombination method for IP fragment messages and device thereof

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100505673C (en) * 2006-09-15 2009-06-24 华为数字技术有限公司 Method and system for detecting path maximal transmission unit

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6714985B1 (en) * 2000-04-28 2004-03-30 Cisco Technology, Inc. Method and apparatus for efficiently reassembling fragments received at an intermediate station in a computer network
CN1494274A (en) * 2002-10-31 2004-05-05 ����ͨѶ�ɷ����޹�˾ Method of realizing IP message partition and recombination based on network processor
CN1725735A (en) * 2005-06-17 2006-01-25 杭州华为三康技术有限公司 Control method for using resource of network address transition equipment of virtual proviate network method for controlling usage of NAT equipment resources of VPN
CN1960313A (en) * 2005-11-03 2007-05-09 中兴通讯股份有限公司 Periphery devices of service provider of combining network address conversion, and method of application
CN101645851A (en) * 2009-09-03 2010-02-10 中兴通讯股份有限公司 Recombination method for IP fragment messages and device thereof

Also Published As

Publication number Publication date
CN101645851B (en) 2012-07-18
CN101645851A (en) 2010-02-10

Similar Documents

Publication Publication Date Title
WO2011026344A1 (en) Method and device for reassembling ip fragment datagrams
CN109218178B (en) Message processing method and network equipment
US7852843B2 (en) Apparatus and method for layer-2 to layer-7 search engine for high speed network application
US8089967B2 (en) Modification of a switching table of an internet protocol switch
US7440405B2 (en) Apparatus and method for packet forwarding with quality of service and rate control
US8144709B2 (en) Method, system and computer processing an IP packet, routing a structured data carrier, preventing broadcast storms, load-balancing and converting a full broadcast IP packet
US7852774B2 (en) User datagram protocol traceroute probe extension
US6553028B1 (en) Method and apparatus for multicast switching using a centralized switching engine
US9654303B2 (en) Method and apparatus for emulating network devices
US8135013B2 (en) Internet protocol switch and use of the switch for switching a frame
US8532107B1 (en) Accepting packets with incomplete tunnel-header information on a tunnel interface
EP2637364A1 (en) Method, apparatus and system for address resolution
US20150156107A1 (en) Method, Controller, and System for Processing Data Packet
JP2009065429A (en) Packet transfer apparatus
WO2015074394A1 (en) Method and device for message forwarding
WO2009052668A1 (en) A nat-pt device and a load-sharing method for nat-pt device
WO2005112350A1 (en) A METHOD FOR MANAGING THE ROUTE IN THE VIRTUAL PRIVATE NETWORK BASED ON IPv6
EP3095216B1 (en) Single hop overlay architecture for line rate performance in campus networks
JP2023549797A (en) BIER packet forwarding methods, devices, and systems
US20220116319A1 (en) Reliable overlay based on reliable transport layer
WO2009124477A1 (en) Method, system and device for packet transmission
US8934489B2 (en) Routing device and method for processing network packet thereof
US8743907B1 (en) Apparatus for reassembling a fragmented data unit and transmitting the reassembled data unit
WO2022116895A1 (en) Bier packet forwarding method, device, and system
WO2015032261A1 (en) Route updating method and routing device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 10813266

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 10813266

Country of ref document: EP

Kind code of ref document: A1