JP2008205868A - Ip fragment packet processor, and ip fragment packet processing method and program to be used in the same - Google Patents

Ip fragment packet processor, and ip fragment packet processing method and program to be used in the same Download PDF

Info

Publication number
JP2008205868A
JP2008205868A JP2007040139A JP2007040139A JP2008205868A JP 2008205868 A JP2008205868 A JP 2008205868A JP 2007040139 A JP2007040139 A JP 2007040139A JP 2007040139 A JP2007040139 A JP 2007040139A JP 2008205868 A JP2008205868 A JP 2008205868A
Authority
JP
Japan
Prior art keywords
fragment packet
packet
fragment
layer
header information
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
JP2007040139A
Other languages
Japanese (ja)
Inventor
Masanori Nishimura
正則 西村
Hiroshi Ikeda
弘志 池田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
NEC Communication Systems Ltd
Original Assignee
NEC Corp
NEC Communication Systems Ltd
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 NEC Corp, NEC Communication Systems Ltd filed Critical NEC Corp
Priority to JP2007040139A priority Critical patent/JP2008205868A/en
Publication of JP2008205868A publication Critical patent/JP2008205868A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an IP fragment packet processor capable of reducing memory cost and lowering a deterioration in performance. <P>SOLUTION: An IP fragment packet processing part 2 buffers a non-head fragment packet until receiving a head fragment packet including layer 4 header information and transmits the buffered fragment packet with the head fragment packet as a head. A packet analyzing part 1 registers fragment identification information in an associative storage memory 4 in the case of a head fragment packet and stores the layer 4 header information in a cache memory 5 corresponding to registration information to the associative storage memory 4. The packet analyzing part 1 retrieves the associative storage memory 4 with the packet identification information, reads the layer 4 header information from the cache memory 5 corresponding to the retrieval result and overwrites the layer 4 header information in a high-speed small capacity memory 3 in the case of an intermediate or final fragment packet. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明はIPフラグメントパケット処理装置及びそれに用いるIPフラグメントパケット処理方法並びにプログラムに関し、特にIP(Internet Protocol)フラグメントパケットの処理方式に関する。   The present invention relates to an IP fragment packet processing apparatus, an IP fragment packet processing method and program used therefor, and more particularly to an IP (Internet Protocol) fragment packet processing method.

従来、IPフラグメントパケットの処理方式においては、大容量のバッファ領域を用意しておき、全てのフラグメントパケットが揃うのを待ってからリアセンブルして以降の処理を行っている。   Conventionally, in the IP fragment packet processing method, a large-capacity buffer area is prepared, and after waiting for all the fragment packets to be assembled, reassembly is performed and subsequent processing is performed.

このリアセンブルを行うことなく、IPフラグメントパケットを処理する方法としては、レイヤ4ヘッダ情報を持つIPフラグメントパケットの受信時にレイヤ3ヘッダ情報とともに出力ポート情報を記憶しておき、レイヤ4ヘッダ情報を持たないIPフラグメントパケットの受信時に、記憶しておいた出力ポート情報を用いることで、当該IPフラグメントパケットを転送する方法が提案されている(例えば、特許文献1参照)。
特開2003−143208号公報
As a method of processing the IP fragment packet without performing the reassembly, the output port information is stored together with the layer 3 header information when the IP fragment packet having the layer 4 header information is received, and the layer 4 header information is stored. There has been proposed a method of transferring the IP fragment packet by using the stored output port information when receiving an IP fragment packet that is not present (see, for example, Patent Document 1).
JP 2003-143208 A

しかしながら、上述した従来のIPフラグメントパケットの処理方式では、リアセンブルするために大容量のバッファ領域が必要となり、メモリコストを抑えられないという課題がある。   However, the conventional IP fragment packet processing method described above has a problem that a large-capacity buffer area is required for reassembling, and the memory cost cannot be suppressed.

また、従来のIPフラグメントパケットの処理方式では、リアセンブルするために全てのフラグメントパケットが揃うのを待たなければならないため、性能を上げることができないという課題がある。   In addition, the conventional IP fragment packet processing method has a problem in that performance cannot be improved because it is necessary to wait for all fragment packets to be assembled for reassembly.

TCP(Transmission Control Protocol)/IPネットワークのIP層では、最大64Kバイトまでのデータを一度に送信することが可能であるが、実際には物理層の制限で、より短いデータ[例えば、Ethernet(登録商標)の場合には1500バイト]しか送信することができない。   In the IP layer of a TCP (Transmission Control Protocol) / IP network, it is possible to transmit data of up to 64 Kbytes at a time, but in reality, shorter data [for example, Ethernet (registration) is limited due to physical layer limitations. In the case of trademark), only 1500 bytes] can be transmitted.

よって、一度に送信可能な長さよりも長いデータを送信する場合には、送信側で送信可能な長さに分割して送信し、それを受信側で再構築している。これをIPフラグメントというが、IPフラグメントパケットを処理する場合、中間/最終フラグメントパケットはレイヤ4ヘッダ情報を含んでいないため、そのままではレイヤ4ヘッダ情報を必要とする処理を行うことができず、事前にリアセンブルする必要がある。   Therefore, when data longer than the length that can be transmitted at one time is transmitted, the data is divided into lengths that can be transmitted on the transmission side, and is reconstructed on the reception side. Although this is called an IP fragment, when processing an IP fragment packet, the intermediate / final fragment packet does not include the layer 4 header information. Therefore, the processing requiring the layer 4 header information cannot be performed as it is. Need to be reassembled.

また、フラグメントされたIPパケットはそれぞれ独立にネットワーク内を転送されるため、必ずしも送信された順番で到着するとは限らない。よって、リアセンブルするためにはフラグメントされた全てのパケットが揃うまで大容量のバッファメモリへバッファリングしておく必要がある。その結果、従来のIPフラグメントパケットの処理方式では、メモリコストの増大や性能の低下を招いている。上記の特許文献1記載の技術では、出力ポート情報を後段の処理にて変更することが不可能である。   Further, since the fragmented IP packets are independently transferred within the network, they do not always arrive in the order of transmission. Therefore, in order to reassemble, it is necessary to buffer in a large-capacity buffer memory until all fragmented packets are collected. As a result, the conventional IP fragment packet processing method causes an increase in memory cost and a decrease in performance. With the technique described in Patent Document 1, it is impossible to change the output port information in the subsequent processing.

そこで、本発明の目的は上記の問題点を解消し、メモリコストを削減することができ、性能の低下を低減することができるIPフラグメントパケット処理装置及びそれに用いるIPフラグメントパケット処理方法並びにプログラムを提供することにある。   Accordingly, an object of the present invention is to provide an IP fragment packet processing apparatus, an IP fragment packet processing method, and a program used therefor, which can solve the above problems, reduce the memory cost, and reduce the performance degradation. There is to do.

本発明によるIPフラグメントパケット処理装置は、IP(Internet Protocol)フラグメントパケットを処理するIPフラグメントパケット処理装置であって、
フラグメントパケットを先頭フラグメントパケットが到着するまでバッファリングする手段と、前記先頭フラグメントパケットが到着した時に当該パケットを先頭にそれまでバッファリングしていたフラグメントパケットを送出する手段と、前記先頭フラグメントパケット受信時にレイヤ4ヘッダ情報をキャッシュしておく手段と、そのキャッシュしておいた前記レイヤ4ヘッダ情報を中間及び最終フラグメントパケットの受信時に使用して当該パケットを処理する手段とを備えている。
An IP fragment packet processing apparatus according to the present invention is an IP fragment packet processing apparatus that processes an IP (Internet Protocol) fragment packet,
Means for buffering a fragment packet until the first fragment packet arrives; means for sending out a fragment packet that has been buffered up to that packet when the first fragment packet arrives; Means for caching the layer 4 header information and means for processing the packet using the cached layer 4 header information when receiving the intermediate and final fragment packets.

本発明によるIPフラグメントパケット処理方法は、IP(Internet Protocol)フラグメントパケットを処理するIPフラグメントパケット処理装置が、フラグメントパケットを先頭フラグメントパケットが到着するまでバッファリングする処理と、前記先頭フラグメントパケットが到着した時に当該パケットを先頭にそれまでバッファリングしていたフラグメントパケットを送出する処理と、前記先頭フラグメントパケット受信時にレイヤ4ヘッダ情報をキャッシュしておく処理と、そのキャッシュしておいた前記レイヤ4ヘッダ情報を中間及び最終フラグメントパケットの受信時に使用して当該パケットを処理する処理とを実行している。   According to the IP fragment packet processing method of the present invention, an IP fragment packet processing device that processes an IP (Internet Protocol) fragment packet buffers the fragment packet until the first fragment packet arrives, and the first fragment packet arrives A process of sending a fragment packet that has been buffered up to the beginning of the packet, a process of caching layer 4 header information when the head fragment packet is received, and the cached layer 4 header information Is used when intermediate and final fragment packets are received to process the packets.

本発明によるプログラムは、IP(Internet Protocol)フラグメントパケットを処理するIPフラグメントパケット処理装置において実行されかつコンピュータで実行可能なプログラムであって、
前記コンピュータに、フラグメントパケットを先頭フラグメントパケットが到着するまでバッファリングする処理と、前記先頭フラグメントパケットが到着した時に当該パケットを先頭にそれまでバッファリングしていたフラグメントパケットを送出する処理と、前記先頭フラグメントパケット受信時にレイヤ4ヘッダ情報をキャッシュしておく処理と、そのキャッシュしておいた前記レイヤ4ヘッダ情報を中間及び最終フラグメントパケットの受信時に使用して当該パケットを処理する処理とを実行させている。
A program according to the present invention is a program that can be executed by a computer and executed in an IP fragment packet processing apparatus that processes an IP (Internet Protocol) fragment packet,
Processing to buffer the fragment packet until the first fragment packet arrives at the computer, processing to send the fragment packet that has been buffered up to the beginning when the head fragment packet arrives, and the head A process of caching layer 4 header information when a fragment packet is received, and a process of processing the packet using the cached layer 4 header information when receiving intermediate and final fragment packets Yes.

すなわち、本発明のIPフラグメントパケット処理方法は、先頭フラグメントパケット受信時にレイヤ4ヘッダ情報をキャッシュしておき、中間または最終フラグメントパケット受信時にキャッシュしておいた情報を使用することによって、レイヤ4ヘッダ情報を必要とする処理を実行することを可能としている。   That is, the IP fragment packet processing method of the present invention caches the layer 4 header information when the first fragment packet is received, and uses the information that is cached when the intermediate or final fragment packet is received. It is possible to execute a process that requires.

IP(Internet Protocol)フラグメントパケットの到着順序に関しては、全てのフラグメントパケットが到着するまでバッファリングするのではなく、先頭フラグメントパケットが到着するまでバッファリングしておき、先頭フラグメントパケットが到着したら、そのパケットを先頭にそれまでバッファリングしていたフラグメントパケットを処理することで、常に先頭フラグメントパケットから処理することが可能となる。   Regarding the arrival order of IP (Internet Protocol) fragment packets, it is not buffered until all fragment packets arrive, but is buffered until the first fragment packet arrives. It is possible to always process from the first fragment packet by processing the fragment packet that has been buffered up to the beginning.

本発明のIPフラグメントパケット処理方法は、TCP/IP(Transmission Control Protocol/Internet Protocol )ネットワークにおけるIP(Internet Protocol )フラグメントパケットを処理する場合において、先頭フラグメントパケットが持つレイヤ4ヘッダ情報を中間/後続フラグメントパケットからも使用可能とすることで、リアセンブルすることなしに、中間/後続フラグメントパケットを処理可能とすることを特徴としている。   According to the IP fragment packet processing method of the present invention, when processing an IP (Internet Protocol) fragment packet in a TCP / IP (Transmission Control Protocol / Internet Protocol) network, the layer 4 header information of the first fragment packet is an intermediate / subsequent fragment. It is characterized in that an intermediate / subsequent fragment packet can be processed without reassembling by making it usable from a packet.

よって、本発明のIPフラグメントパケット処理方法では、通常、リアセンブルするために必要となる大容量バッファメモリの確保によるメモリコストの増大や性能の低下を低減することが可能となる。   Therefore, in the IP fragment packet processing method of the present invention, it is possible to reduce an increase in memory cost and a decrease in performance due to securing a large-capacity buffer memory that is usually required for reassembling.

本発明は、上記のような構成及び動作とすることで、メモリコストを削減することができ、性能の低下を低減することができるという効果が得られる。   By adopting the configuration and operation as described above, the present invention can reduce the memory cost and the effects of reducing the performance degradation.

次に、本発明の実施例について図面を参照して説明する。   Next, embodiments of the present invention will be described with reference to the drawings.

図1は本発明の一実施例によるIPフラグメントパケット処理装置の構成を示すブロック図である。図1において、本発明の一実施例によるIPフラグメントパケット処理装置は、パケット解析部1と、IP(Internet Protocol)フラグメントパケット処理部2と、高速小容量記憶メモリ3と、連想記憶メモリ4と、キャッシュメモリ5と、アクセスコントロールリスト制御部6とから構成されている。   FIG. 1 is a block diagram showing the configuration of an IP fragment packet processing apparatus according to an embodiment of the present invention. In FIG. 1, an IP fragment packet processing apparatus according to one embodiment of the present invention includes a packet analysis unit 1, an IP (Internet Protocol) fragment packet processing unit 2, a high-speed small-capacity storage memory 3, an associative storage memory 4, The cache memory 5 and the access control list controller 6 are configured.

パケット解析部1はレイヤ3ヘッダ情報の抽出/保存、フラグメントパケットか否かの判定、レイヤ4ヘッダ情報が存在する場合にその抽出/保存を行う。IPフラグメントパケット処理部2はキューを介してパケット解析部1につながっており、レイヤ4情報を含む先頭フラグメントパケットが先頭となるように並び替えてパケット解析部1へ戻す。   The packet analysis unit 1 extracts / stores layer 3 header information, determines whether or not it is a fragment packet, and extracts / stores layer 4 header information if it exists. The IP fragment packet processing unit 2 is connected to the packet analysis unit 1 through a queue, rearranges the top fragment packet including the layer 4 information to be the top, and returns the packet to the packet analysis unit 1.

連想記憶メモリ4はパケット解析部1につながっており、フラグメントパケット識別情報41の登録/検索を行う。キャッシュメモリ5は連想記憶メモリ4と同様に、パケット解析部1につながっており、レイヤ4ヘッダ情報51の保存/読出しを行う。   The associative memory 4 is connected to the packet analysis unit 1 and registers / searches the fragment packet identification information 41. Similarly to the associative memory 4, the cache memory 5 is connected to the packet analysis unit 1 and stores / reads the layer 4 header information 51.

高速小容量記憶メモリ3はパケット解析部1とアクセスコントロールリスト制御部6に跨ってつながっており、レイヤ3ヘッダ情報31及びレイヤ4ヘッダ情報32の保存/読出しを行う。アクセスコントロールリスト制御部6は当業者にとってよく知られており、また本発明とは直接関係しないので、その詳細な構成の説明は省略する。   The high-speed small-capacity storage memory 3 is connected across the packet analysis unit 1 and the access control list control unit 6, and stores / reads the layer 3 header information 31 and the layer 4 header information 32. Since the access control list controller 6 is well known to those skilled in the art and is not directly related to the present invention, a detailed description of its configuration is omitted.

図2は本発明の一実施例によるIPフラグメントパケット処理方法を示すフローチャートである。これら図1及び図2を参照して本発明の一実施例によるIPフラグメントパケット処理方法について説明する。   FIG. 2 is a flowchart illustrating an IP fragment packet processing method according to an embodiment of the present invention. An IP fragment packet processing method according to an embodiment of the present invention will be described with reference to FIGS.

パケット解析部1はIPパケット(「3」,「1」,「2」)が与えられると、そのIPパケット(「3」,「1」,「2」)を解析し(図2ステップS1)、フラグメント識別情報及びレイヤ3/レイヤ4ヘッダ情報を抽出し(図2ステップS2)、レイヤ3ヘッダ情報とレイヤ4ヘッダ情報とを高速小容量メモリ3へ保存する(図2ステップS3)。   When an IP packet (“3”, “1”, “2”) is given, the packet analysis unit 1 analyzes the IP packet (“3”, “1”, “2”) (step S1 in FIG. 2). The fragment identification information and the layer 3 / layer 4 header information are extracted (step S2 in FIG. 2), and the layer 3 header information and the layer 4 header information are stored in the high-speed small-capacity memory 3 (step S3 in FIG. 2).

パケット解析部1は受信パケット(「3」,「1」,「2」)がフラグメントパケットの場合(図2ステップS4)、その受信パケット(「3」,「1」,「2」)をIPフラグメントパケット処理部2へ渡す(図2ステップS5)。   When the received packet (“3”, “1”, “2”) is a fragment packet (step S4 in FIG. 2), the packet analysis unit 1 converts the received packet (“3”, “1”, “2”) to IP The data is transferred to the fragment packet processing unit 2 (step S5 in FIG. 2).

IPフラグメントパケット処理部2では、レイヤ4ヘッダ情報を含む先頭フラグメントパケット(「1」)を受信するまで、非先頭フラグメントパケット(「3」)をバッファリングする。IPフラグメントパケット処理部2は、レイヤ4ヘッダ情報を含むフラグメントパケット(「1」)を受信すると、そのパケットを先頭として、それまでバッファリングしていたフラグメントパケット(「1」,「3」,「2」)をパケット解析部1へ送信する。   The IP fragment packet processing unit 2 buffers the non-first fragment packet (“3”) until the first fragment packet (“1”) including the layer 4 header information is received. When the IP fragment packet processing unit 2 receives the fragment packet (“1”) including the layer 4 header information, the fragment packet (“1”, “3”, “ 2 ") is transmitted to the packet analysis unit 1.

パケット解析部1はIPフラグメントパケット処理部2から受信したパケット(「1」,「3」,「2」)が先頭フラグメントパケット(「1」)の場合(図2ステップS6)、連想記憶メモリ4へフラグメント識別情報を登録し(図2ステップS7)、連想記憶メモリ4への登録情報と対応したキャッシュメモリ5の領域へレイヤ4ヘッダ情報を格納する(図2ステップS8)。   When the packet (“1”, “3”, “2”) received from the IP fragment packet processing unit 2 is the first fragment packet (“1”) (step S6 in FIG. 2), the packet analysis unit 1 performs associative memory 4 The fragment identification information is registered (step S7 in FIG. 2), and the layer 4 header information is stored in the area of the cache memory 5 corresponding to the registration information in the associative memory 4 (step S8 in FIG. 2).

パケット解析部1は受信フラグメントパケットが中間または最終フラグメントパケット(「3」,「2」)の場合、パケット識別情報を検索キーとして連想記憶メモリ4を検索し(図2ステップS9)、ヒットしたエントリに対応するキャッシュメモリ5の領域からレイヤ4ヘッダ情報を読出し、上記のステップS3にて保存した高速小容量メモリ3上のレイヤ4ヘッダ情報を上書きする(図2ステップS10)。   When the received fragment packet is an intermediate or final fragment packet (“3”, “2”), the packet analysis unit 1 searches the associative memory 4 using the packet identification information as a search key (step S9 in FIG. 2), and finds a hit entry Layer 4 header information is read from the area of the cache memory 5 corresponding to, and the layer 4 header information on the high-speed small-capacity memory 3 stored in step S3 is overwritten (step S10 in FIG. 2).

アクセスコントロールリスト制御部6は、高速小容量メモリ3の情報を利用してレイヤ4ヘッダ情報を利用したアクセスコントロールを行い(図2ステップS11)、受信パケット(「1」,「3」,「2」)を送出する。   The access control list control unit 6 performs access control using the layer 4 header information using the information in the high-speed small-capacity memory 3 (step S11 in FIG. 2), and receives the received packets (“1”, “3”, “2”). )).

このように、本実施例では、リアセンブルせずに処理が行えるため、リアセンブルのための大量のバッファ領域が不要となり、メモリコストを削減することができる。また、本実施例では、リアセンブルせずに処理が行えるため、リアセンブルのために全てのフラグメントパケットが揃うのを待つ必要がなくなり、性能低下の度合いを低減することができる。   Thus, in this embodiment, since processing can be performed without reassembling, a large amount of buffer area for reassembling is not required, and the memory cost can be reduced. In this embodiment, since processing can be performed without reassembling, it is not necessary to wait for all fragment packets to be assembled for reassembling, and the degree of performance degradation can be reduced.

図3は本発明の他の実施例によるキャッシュデータ構成を示す図である。本発明の他の実施例では、その基本的構成が上記の本発明の一実施例と同様であるが、キャッシュデータ内容についてさらに工夫している。   FIG. 3 is a diagram showing a cache data configuration according to another embodiment of the present invention. In another embodiment of the present invention, the basic configuration is the same as that of the above-described embodiment of the present invention, but the contents of the cache data are further devised.

図3において、本発明の他の実施例によるキャッシュデータ構成では、レイヤ4ヘッダ情報に加えてレイヤ3オプション情報をキャッシュデータとして保存している。すなわち、本発明の他の実施例では、キャッシュデータとして、「ESP識別フラグ」、「AH識別フラグ」、「IPv4/v6 Options識別フラグ」、「Destination Port Number(TCP/UDP)」、「Source Port Number(TCP/UDP)」、「Sequence Number(TCP)」、「Acknowledgement Number(TCP)」、「Data Offset(TCP)」、「TCP flags(TCP)」、「Windowサイズ(TCP)」を保存している。   In FIG. 3, in the cache data configuration according to another embodiment of the present invention, layer 3 option information is stored as cache data in addition to layer 4 header information. That is, in another embodiment of the present invention, the cache data includes “ESP identification flag”, “AH identification flag”, “IPv4 / v6 Options identification flag”, “Destination Port Number (TCP / UDP)”, “Source Port”. "Number (TCP / UDP)", "Sequence Number (TCP)", "Acknowledgement Number (TCP)", "Data Offset (TCP)", "TCP flags (TCP)", "Window Size (TCP)" ing.

これによって、本発明の他の実施例では、仮に先頭フラグメントパケットと中間/最終フラグメントパケットとの間でレイヤ3オプション情報が異なっていたとしても、先頭フラグメントパケットのレイヤ3オプション情報を使用することによって、後段にレイヤ3オプション情報にて処理を変える処理部があった場合でも、先頭パケットと同様の処理を実施させることができる。   Accordingly, in another embodiment of the present invention, even if the layer 3 option information is different between the head fragment packet and the intermediate / final fragment packet, the layer 3 option information of the head fragment packet is used. Even if there is a processing unit that changes the processing with the layer 3 option information in the subsequent stage, the same processing as that of the top packet can be performed.

このように、本実施例では、キャッシュデータとしてレイヤ3オプション情報まで対象にしているので、後段にてレイヤ3オプション情報によって処理内容を変えている処理部があった場合でも、リアセンブルした場合と同様の処理を行えるという効果が得られる。   As described above, in this embodiment, even the layer 3 option information is targeted as the cache data. Therefore, even when there is a processing unit whose processing contents are changed by the layer 3 option information in the subsequent stage, The effect that the same processing can be performed is obtained.

本発明の一実施例によるIPフラグメントパケット処理装置の構成を示すブロック図である。It is a block diagram which shows the structure of the IP fragment packet processing apparatus by one Example of this invention. 本発明の一実施例によるIPフラグメントパケット処理方法を示すフローチャートである。4 is a flowchart illustrating an IP fragment packet processing method according to an embodiment of the present invention. 本発明の他の実施例によるキャッシュデータ構成を示す図である。It is a figure which shows the cache data structure by the other Example of this invention.

符号の説明Explanation of symbols

1 パケット解析部
2 IPフラグメントパケット処理部
3 高速小容量記憶メモリ
4 連想記憶メモリ
5 キャッシュメモリ
6 アクセスコントロールリスト制御部
31 レイヤ3ヘッダ情報
32,51 レイヤ4ヘッダ情報
41 フラグメントパケット識別情報
1 Packet analyzer
2 IP fragment packet processor
3 High-speed small-capacity storage memory
4 Associative memory
5 Cache memory
6 Access Control List Control Unit 31 Layer 3 Header Information 32, 51 Layer 4 Header Information 41 Fragment Packet Identification Information

Claims (7)

IP(Internet Protocol)フラグメントパケットを処理するIPフラグメントパケット処理装置であって、
フラグメントパケットを先頭フラグメントパケットが到着するまでバッファリングする手段と、前記先頭フラグメントパケットが到着した時に当該パケットを先頭にそれまでバッファリングしていたフラグメントパケットを送出する手段と、前記先頭フラグメントパケット受信時にレイヤ4ヘッダ情報をキャッシュしておく手段と、そのキャッシュしておいた前記レイヤ4ヘッダ情報を中間及び最終フラグメントパケットの受信時に使用して当該パケットを処理する手段とを有することを特徴とするIPフラグメントパケット処理装置。
An IP fragment packet processing apparatus that processes an IP (Internet Protocol) fragment packet,
Means for buffering a fragment packet until the first fragment packet arrives; means for sending out a fragment packet that has been buffered up to that packet when the first fragment packet arrives; Means for caching layer 4 header information, and means for processing the packet by using the cached layer 4 header information when receiving intermediate and final fragment packets. Fragment packet processing device.
TCP/IP(Transmission Control Protocol/Internet Protocol)ネットワークにおけるIPフラグメントパケットを処理することを特徴とする請求項1記載のIPフラグメントパケット処理装置。   2. The IP fragment packet processing apparatus according to claim 1, wherein the IP fragment packet processing apparatus processes an IP fragment packet in a TCP / IP (Transmission Control Protocol / Internet Protocol) network. 前記レイヤ4ヘッダ情報に加えてレイヤ3オプション情報をキャッシュデータとして保存することを特徴とする請求項1または請求項2記載のIPフラグメントパケット処理装置。   3. The IP fragment packet processing apparatus according to claim 1, wherein layer 3 option information is stored as cache data in addition to the layer 4 header information. IP(Internet Protocol)フラグメントパケットを処理するIPフラグメントパケット処理装置が、フラグメントパケットを先頭フラグメントパケットが到着するまでバッファリングする処理と、前記先頭フラグメントパケットが到着した時に当該パケットを先頭にそれまでバッファリングしていたフラグメントパケットを送出する処理と、前記先頭フラグメントパケット受信時にレイヤ4ヘッダ情報をキャッシュしておく処理と、そのキャッシュしておいた前記レイヤ4ヘッダ情報を中間及び最終フラグメントパケットの受信時に使用して当該パケットを処理する処理とを実行することを特徴とするIPフラグメントパケット処理方法。   An IP fragment packet processing apparatus that processes an IP (Internet Protocol) fragment packet buffers the fragment packet until the first fragment packet arrives, and when the first fragment packet arrives, buffers the packet up to that point. Processing for sending out fragmented packets, processing for caching layer 4 header information when receiving the first fragment packet, and using the cached layer 4 header information when receiving intermediate and final fragment packets And a process for processing the packet. 前記IPフラグメントパケット処理装置が、TCP/IP(Transmission Control Protocol/Internet Protocol)ネットワークにおけるIPフラグメントパケットを処理することを特徴とする請求項4記載のIPフラグメントパケット処理方法。   5. The IP fragment packet processing method according to claim 4, wherein the IP fragment packet processing apparatus processes an IP fragment packet in a TCP / IP (Transmission Control Protocol / Internet Protocol) network. 前記IPフラグメントパケット処理装置が、前記レイヤ4ヘッダ情報に加えてレイヤ3オプション情報をキャッシュデータとして保存することを特徴とする請求項4または請求項5記載のIPフラグメントパケット処理方法。   6. The IP fragment packet processing method according to claim 4, wherein the IP fragment packet processing device stores layer 3 option information as cache data in addition to the layer 4 header information. IP(Internet Protocol)フラグメントパケットを処理するIPフラグメントパケット処理装置において実行されかつコンピュータで実行可能なプログラムであって、
前記コンピュータに、フラグメントパケットを先頭フラグメントパケットが到着するまでバッファリングする処理と、前記先頭フラグメントパケットが到着した時に当該パケットを先頭にそれまでバッファリングしていたフラグメントパケットを送出する処理と、前記先頭フラグメントパケット受信時にレイヤ4ヘッダ情報をキャッシュしておく処理と、そのキャッシュしておいた前記レイヤ4ヘッダ情報を中間及び最終フラグメントパケットの受信時に使用して当該パケットを処理する処理とを実行させるためのプログラム。
An IP fragment packet processing apparatus that processes an IP (Internet Protocol) fragment packet and is a computer executable program,
Processing to buffer the fragment packet until the first fragment packet arrives at the computer, processing to send the fragment packet that has been buffered up to the beginning when the head fragment packet arrives, and the head In order to execute processing for caching layer 4 header information when a fragment packet is received, and processing for processing the packet using the cached layer 4 header information when receiving intermediate and final fragment packets Program.
JP2007040139A 2007-02-21 2007-02-21 Ip fragment packet processor, and ip fragment packet processing method and program to be used in the same Pending JP2008205868A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007040139A JP2008205868A (en) 2007-02-21 2007-02-21 Ip fragment packet processor, and ip fragment packet processing method and program to be used in the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007040139A JP2008205868A (en) 2007-02-21 2007-02-21 Ip fragment packet processor, and ip fragment packet processing method and program to be used in the same

Publications (1)

Publication Number Publication Date
JP2008205868A true JP2008205868A (en) 2008-09-04

Family

ID=39782867

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007040139A Pending JP2008205868A (en) 2007-02-21 2007-02-21 Ip fragment packet processor, and ip fragment packet processing method and program to be used in the same

Country Status (1)

Country Link
JP (1) JP2008205868A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101820388A (en) * 2009-02-27 2010-09-01 凹凸电子(武汉)有限公司 The Apparatus and method for of packet fragment reassembly
WO2014007247A1 (en) * 2012-07-03 2014-01-09 日本電気株式会社 Network device, packet processing method and program, and network system
WO2017133014A1 (en) * 2016-02-06 2017-08-10 中国科学院计算技术研究所 Method and system for network performance detection based on receiving end in tcp transmission stream

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001244982A (en) * 2000-03-01 2001-09-07 Nippon Telegr & Teleph Corp <Ntt> Packet omission detection system, transmitter, receiver and packet omission detection method
JP2003143208A (en) * 2001-11-06 2003-05-16 Furukawa Electric Co Ltd:The Method and apparatus for relaying data
JP2004147164A (en) * 2002-10-25 2004-05-20 Nippon Telegr & Teleph Corp <Ntt> Packet transmission device
WO2004112326A1 (en) * 2003-06-10 2004-12-23 Fujitsu Limited Packet transferring method and apparatus
WO2005039150A1 (en) * 2003-10-22 2005-04-28 Nec Corporation Communication device, communication method, and program
JP2006135572A (en) * 2004-11-05 2006-05-25 Hitachi Ltd Traffic control in network device and its method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001244982A (en) * 2000-03-01 2001-09-07 Nippon Telegr & Teleph Corp <Ntt> Packet omission detection system, transmitter, receiver and packet omission detection method
JP2003143208A (en) * 2001-11-06 2003-05-16 Furukawa Electric Co Ltd:The Method and apparatus for relaying data
JP2004147164A (en) * 2002-10-25 2004-05-20 Nippon Telegr & Teleph Corp <Ntt> Packet transmission device
WO2004112326A1 (en) * 2003-06-10 2004-12-23 Fujitsu Limited Packet transferring method and apparatus
WO2005039150A1 (en) * 2003-10-22 2005-04-28 Nec Corporation Communication device, communication method, and program
JP2006135572A (en) * 2004-11-05 2006-05-25 Hitachi Ltd Traffic control in network device and its method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101820388A (en) * 2009-02-27 2010-09-01 凹凸电子(武汉)有限公司 The Apparatus and method for of packet fragment reassembly
WO2014007247A1 (en) * 2012-07-03 2014-01-09 日本電気株式会社 Network device, packet processing method and program, and network system
WO2017133014A1 (en) * 2016-02-06 2017-08-10 中国科学院计算技术研究所 Method and system for network performance detection based on receiving end in tcp transmission stream

Similar Documents

Publication Publication Date Title
US7684344B2 (en) Method and system for transparent TCP offload
US7912064B2 (en) System and method for handling out-of-order frames
US7346701B2 (en) System and method for TCP offload
US20070022212A1 (en) Method and system for TCP large receive offload
US7596628B2 (en) Method and system for transparent TCP offload (TTO) with a user space library
US7561573B2 (en) Network adaptor, communication system and communication method
US7397800B2 (en) Method and system for data placement of out-of-order (OOO) TCP segments
US20110090920A1 (en) Packet coalescing
US20050243834A1 (en) Packet transfer method and device
JP5094482B2 (en) Processing apparatus and processing method thereof
JP2010045767A (en) Network processing apparatus and processing method thereof
JP2008205868A (en) Ip fragment packet processor, and ip fragment packet processing method and program to be used in the same
EP1460804B1 (en) System and method for handling out-of-order frames (fka reception of out-of-order tcp data with zero copy service)
US20060245358A1 (en) Acceleration of data packet transmission
JP3824903B2 (en) Data relay method and apparatus
TWI825293B (en) Circuitry within network device
JP2011249922A (en) Network device, tcp packet receiver and method
JP4321390B2 (en) Semiconductor integrated circuit

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100119

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110610

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110628

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110829

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20120306