JP7294764B2 - Format conversion device, method and program - Google Patents
Format conversion device, method and program Download PDFInfo
- Publication number
- JP7294764B2 JP7294764B2 JP2019220134A JP2019220134A JP7294764B2 JP 7294764 B2 JP7294764 B2 JP 7294764B2 JP 2019220134 A JP2019220134 A JP 2019220134A JP 2019220134 A JP2019220134 A JP 2019220134A JP 7294764 B2 JP7294764 B2 JP 7294764B2
- Authority
- JP
- Japan
- Prior art keywords
- header
- packet
- analysis
- xflow
- format
- 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.)
- Active
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
- Small-Scale Networks (AREA)
Description
本発明は、ネットワークのトラヒック分析で用いられるデータを対象としたフォーマット変換装置及び方法、並びにプログラムに関する。 The present invention relates to a format conversion apparatus, method, and program for data used in network traffic analysis.
近年、ネットワークに接続する端末の数や種類が増加してきており、またネットワーク自体も仮想化が進んだりサービス種類が増加するなど複雑化してきている。これに伴い、ネットワーク運用のためにネットワークの監視やトラヒックの傾向分析がより重要となってきている。ネットワークの監視やトラヒックの傾向分析のための技術としてはxFlowと呼ばれる技術が知られている。xFlow技術では、パケットのサンプリングを行い、ヘッダ情報から算出したフロー統計情報や、ヘッダ部分そのもの(ヘッダサンプル)を分析装置に転送することによりトラヒックの集計・分析等を行う。 In recent years, the number and types of terminals connected to a network have increased, and the network itself has also become more complex, with progress in virtualization and an increase in the types of services. Along with this, network monitoring and traffic trend analysis have become more important for network operation. A technology called xFlow is known as a technology for network monitoring and traffic trend analysis. In the xFlow technology, packets are sampled, and flow statistical information calculated from header information and the header portion itself (header sample) are transferred to an analysis device to aggregate and analyze traffic.
xFlow技術のうち、パケットのサンプリングを行い、フロー統計情報をヘッダ情報から算出し転送する方式としては、NetFlow(非特許文献1参照)、IPFIX(非特許文献2-1~2-6参照)が知られている。また、xFlow技術のうち、パケットのサンプリングを行い、ヘッダ部分そのもの(ヘッダサンプル)を切り取って転送する方式としては、sFlow(非特許文献3参照)、IPFIX w/IE315(非特許文献4参照)が知られている。また、既存の各種xFlow形式について、相互に形式を変換する技術の実装として、pmacct(非特許文献5参照)、nProbe(非特許文献6参照)が知られている。 Among the xFlow technologies, NetFlow (see Non-Patent Document 1) and IPFIX (see Non-Patent Documents 2-1 to 2-6) are methods of sampling packets and calculating and transferring flow statistical information from header information. Are known. Among the xFlow technologies, sFlow (see Non-Patent Document 3) and IPFIX w/IE315 (see Non-Patent Document 4) are methods for sampling packets and cutting and transferring the header portion itself (header sample). Are known. In addition, pmacct (see Non-Patent Document 5) and nProbe (see Non-Patent Document 6) are known as implementations of technology for mutual conversion between various existing xFlow formats.
ところで、ネットワークを流通するパケットはトンネルプロトコル等によりカプセル化されている場合がある。このようなネットワーク環境においては、カプセル内側のパケットについてトラヒックの集計や分析を行いたいという要望がある。 By the way, packets circulating in a network may be encapsulated by a tunnel protocol or the like. In such a network environment, there is a demand to aggregate and analyze traffic for packets inside capsules.
しかし、従来のxFlow技術は、カプセル化パケットにおけるカプセル内側トラヒックについての集計・分析を想定しておらず、カプセル外側トラヒックのみが処理対象となっている。このため、カプセル化パケットが転送されるネットワークにおいて従来のxFlow技術ではカプセル外側トラヒックについての集計・分析およびxFlow形式変換しか行えず、カプセル内側の集計・分析を行うことができないという問題がある。 However, the conventional xFlow technology does not assume the aggregation and analysis of the traffic inside the capsule in the encapsulated packet, and only the traffic outside the capsule is the object of processing. Therefore, in a network where encapsulated packets are transferred, the conventional xFlow technology can only perform aggregation/analysis and xFlow format conversion of traffic outside the capsule, and cannot perform aggregation/analysis inside the capsule.
一方、カプセル化パケットの分析手法として、カプセル内側のパケットを取り出し分析を可能にするフォーマット変換技術が知られている(特許文献1参照)。また、カプセル化パケットについて、カプセル内側のパケットヘッダとカプセル外側のパケットヘッダの対応づけを高速にデータベースに登録する技術が知られている(非特許文献7参照)。 On the other hand, as a technique for analyzing encapsulated packets, there is known a format conversion technique that enables extraction and analysis of the packet inside the capsule (see Patent Document 1). Also, for encapsulated packets, there is known a technique of registering the correspondence between the packet header inside the capsule and the packet header outside the capsule in a database at high speed (see Non-Patent Document 7).
上記のフォーマット変換技術は、カプセル化パケットそのものを処理対象としており、パケットの先頭部分から逐次ヘッダ種別を識別し不要なヘッダを除去し、またこの際にカプセル内側とカプセル外側のパケットヘッダを対応づけする方式である。このため、カプセル化パケット自体のフォーマット変換は行えるが、カプセル化パケットを対象としたヘッダサンプルxFlowパケットについて、フォーマット変換を行いカプセル内側のパケットを取り出すこと、およびカプセル内側とカプセル外側のパケットヘッダの対応づけを行うことができないという問題がある。 The above format conversion technology targets the encapsulated packet itself. It identifies the header type from the beginning of the packet, removes unnecessary headers, and associates the packet headers inside and outside the capsule. It is a method to Therefore, although the format of the encapsulated packet itself can be converted, the format of the header sample xFlow packet for the encapsulated packet must be converted to extract the packet inside the capsule, and the correspondence between the packet header inside the capsule and the packet header outside the capsule. There is a problem that it is not possible to perform
本発明は上記事情に鑑みてなされたものであり、その目的とするところは、カプセル化パケットが流通するネットワークにおいても既存の分析装置を用いてトラヒック分析等を可能にするフォーマット変換装置及び方法並びにプログラムを提供することにある。 The present invention has been made in view of the above circumstances, and its object is to provide a format conversion device and method that enable traffic analysis, etc., using existing analysis devices even in networks in which encapsulated packets are distributed. to provide the program.
本願発明は、カプセル化パケットが転送されるネットワーク上でヘッダサンプリングにより収集したカプセル化パケットのヘッダサンプルについて、カプセル内側のパケットについての分析用パケットを生成する機能部を導入することにより、既存の分析装置と組み合わせてカプセル内側トラヒックの集計・分析を可能とする。 The present invention introduces a functional unit that generates an analysis packet for the packet inside the capsule for the header sample of the encapsulated packet collected by header sampling on the network to which the encapsulated packet is transferred, thereby improving the existing analysis Combined with equipment, it enables the aggregation and analysis of traffic inside the capsule.
すなわち、本願発明は、パケットを分析する第1及び第2の分析装置の前段に設けられたフォーマット変換装置であって、パケットをカプセル化してなるカプセル化パケットが流通するネットワークから、カプセル化パケットの分析用のメタ情報とカプセル化パケットのヘッダであるアウターヘッダ及び該カプセル化パケットのカプセル内パケットのヘッダであるインナーヘッダを含む分析用ヘッダサンプルとが格納されたヘッダサンプル転送パケットの入力を受け付ける入力部と、前記入力部により入力されたヘッダサンプル転送パケットのフォーマットを該ヘッダサンプル転送パケットから分析用ヘッダサンプルに含まれるアウターヘッダを除外したフォーマットに変換するとともに、該分析用ヘッダサンプルに含まれるインナーヘッダと前記除外したアウターヘッダとの対応情報を保存する変換部と、前記変換部によって変換されたヘッダサンプル転送パケットを前記第1の分析装置に転送する第1の出力部と、所定期間において得られた前記変換部によって変換されたヘッダサンプル転送パケットに基づき統計型分析用データを生成する統計型分析用データ生成部と、前記統計型分析用データ生成部で生成した統計型分析用データを統計型分析用データ転送パケットに格納して前記第2の分析装置に転送する第2の出力部と、前記変換部によって保存された対応情報を、前記第1及び第2の分析装置の分析結果の出力先装置に対して出力する対応情報出力部とを備えたことを特徴とする。
That is, the present invention is a format conversion device provided in the preceding stage of the first and second analysis devices for analyzing packets, and converts encapsulated packets from a network through which encapsulated packets are distributed. An input for receiving an input of a header sample transfer packet in which meta information for analysis and an analysis header sample including an outer header that is a header of an encapsulated packet and an inner header that is a header of an in-capsule packet of the encapsulated packet are stored. and converting the format of the header sample transfer packet input by the input unit into a format in which the outer header included in the analysis header sample is excluded from the header sample transfer packet, and the inner header included in the analysis header sample. a conversion unit that stores correspondence information between the header and the excluded outer header; a first output unit that transfers the header sample transfer packet converted by the conversion unit to the first analysis device ; a statistical analysis data generation unit for generating statistical analysis data based on the header sample transfer packet converted by the conversion unit; a second output unit for storing data transfer packets for type analysis and transferring them to the second analysis device; and a correspondence information output unit for outputting to an output destination device .
本発明によれば、カプセル化パケットが転送されるネットワークにおいて、カプセル内側トラヒックの効率的な集計・分析が可能になる。 According to the present invention, it becomes possible to efficiently aggregate and analyze traffic inside the capsule in a network where encapsulated packets are transferred.
本発明の一実施の形態に係るネットワークシステムについて図面を参照して説明する。図1は本発明の概要を説明するネットワーク構成図である。 A network system according to an embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a network configuration diagram for explaining the outline of the present invention.
本発明では、図1に示すように、(1)カプセル化パケットが転送されるネットワーク10においてxFlowによるヘッダサンプリングを設定する。次に、(2)下記の機能を持つ機能部を導入する。入力:カプセルパケットのヘッダサンプルxFlowパケット。出力:カプセル内側のヘッダサンプルxFlowパケットおよび/またはカプセル内側の統計型xFlowパケット。保存:カプセル内外のパケットヘッダの対応。そして、(3)既存のxFlow分析装置21,22にてトラヒック集計・分析する。
In the present invention, as shown in FIG. 1, (1) header sampling by xFlow is set in a
すなわち、本発明では、カプセル化パケットが転送されるネットワーク10上でヘッダサンプリングにより収集したカプセル化パケットのヘッダサンプルについて、カプセル内側のパケットについての分析用パケットを生成する機能を有するフォーマット変換装置100を既存のxFlow分析装置21,22の前段に導入することにより、既存のxFlow分析装置21,22と組み合わせてカプセル内側トラヒックの集計・分析を可能とする。
That is, in the present invention, the
ネットワーク10は、カプセル化パケットが転送される区間を含む。図1の例では、ネットワーク10にはルータ11とルータ12との間にトンネル14が形成されており、当該ルータ11,12間がカプセル化パケットの転送される区間である。すなわち、トンネル14を終端する一方のルータ11は、パケットをカプセル化し、カプセル化パケットを対向する他方のルータ12に向けて送出する。ルータ11から送出されたカプセル化パケットは、ルータ11とルータ12との間の経路上に配置されているルータ13により中継され、他方のルータ12に到達する。ルータ12は、受信したカプセル化パケットをデカプセル化し、取り出したパケットをその宛先アドレスに転送するよう送出する。逆方向についても同様である。なお本発明では、パケットのカプセル化は多段階行われていてもよい。この場合、複数のカプセル化処理は通信経路状の異なる装置により行われてもよいし、1つの装置により行われてもよい。
The
本発明では、既存のxFlow技術を用い、ネットワーク10において、カプセル化パケットに含まれるヘッダを分析用ヘッダサンプルとして取得し、分析用ヘッダサンプルを格納したヘッダサンプルxFlowパケットをフォーマット変換装置100に送信する。分析用ヘッダサンプルの取得及びフォーマット変換装置100への送信処理は、カプセル化・デカプセル化を行うルータ11,12であってもよいし、カプセル化パケットを中継するルータ13であってもよい。図1の例では、カプセル化パケットを中継するルータ13が分析用ヘッダサンプルの取得及びフォーマット変換装置100への送信処理を行う。
In the present invention, the existing xFlow technology is used to acquire the header contained in the encapsulated packet as an analysis header sample in the
図2に各パケットのフォーマットを例示する。なお同図においては、レイヤー3(L3)のパケットを包含するものとしてレイヤー2(L2)のフレームフォーマットを記載している。なお、本実施の形態では、L3のプロトコルとしてIP(Internet Protocol)を用い、L2のプロコトルとしてEhernet(登録商標)を用いた例について説明する。 FIG. 2 illustrates the format of each packet. Note that in FIG. 1, the layer 2 (L2) frame format is shown as including layer 3 (L3) packets. In this embodiment, an example in which IP (Internet Protocol) is used as the L3 protocol and Ethernet (registered trademark) is used as the L2 protocol will be described.
図2において(A)は、カプセル化前のパケット210すなわちカプセル内のパケット210のフォーマットを示す。このパケット210は、L2のフレームヘッダ211と、L3のIPヘッダ212と、ペイロード213とからなる。ここで、当該パケット210のIPヘッダ212はInnnerヘッダ212とも表記する。
In FIG. 2, (A) shows the format of the packet 210 before encapsulation, that is, the packet 210 within the capsule. This packet 210 consists of an
図2において(B)は、カプセル化パケット220のフォーマットを示す。このカプセル化パケット220は、L2のフレームヘッダ221と、所定のカプセル化プロトコルにより付されたOuterヘッダ222と、前記Innerヘッダ212と、前記ペイロード213とからなる。ここで、カプセル化プロトコルの種別及びレイヤーは不問である。例えば、カプセル化プロトコルとしてIPIPトンネルイングプロトコルを用いる場合にはOuterヘッダ222はIPヘッダである。また、カプセル化プロトコルとしてMPLS(Multi-Protocol Label Switching)を用いる場合にはOuterヘッダ222はMPLSヘッダとなる。また、Outerヘッダ222は、複数のカプセル化プロトコルにより多段的に付された複数のヘッダを含むことができる。この場合、複数のカプセル化プロコトルは複数のレイヤーに亘ることができる。例えば、Outerヘッダ222は、IPヘッダ+UDP(User Datagram Protocol)ヘッダ+L2TP(Layer 2 Tunneling Protocol)ヘッダという複数のヘッダを含むことができる。本実施の形態では、カプセル化プロトコルとしてIPIPトンネルプロトコルを用い、Outerヘッダ222には、宛先アドレス及び送信元アドレスとして、ネットワーク10におけるトンネル14を終端するルータ11,12のアドレス情報が含まれる。なお、カプセル化パケット220のフレームヘッダ221は、前記パケット210のフレームヘッダ211とは異なるものである点に留意されたい。
(B) in FIG. 2 shows the format of the encapsulated packet 220 . This encapsulated packet 220 consists of an
図2において(C)は、分析用ヘッダサンプルを格納したヘッダサンプルxFlowパケット230のフォーマットを示す。このヘッダサンプルxFlowパケット230は、分析用ヘッダサンプルの取得及びフォーマット変換装置100への送信処理を行うルータにより生成される。ヘッダサンプルxFlowパケット230は、L2のフレームヘッダ231と、L3のIPヘッダ232と、xFlowデータ233と、分析用ヘッダサンプル234とを含む。ここで、L3のIPヘッダ232は、ヘッダサンプルxFlowパケット230を転送するためのものであり、宛先アドレスとしてフォーマット変換装置100のアドレス情報を含み、送信元アドレスとしてルータ13のアドレス情報を含む。なお、ヘッダサンプルxFlowパケット230のフレームヘッダ231は、前記カプセル化パケット220のフレームヘッダ221、前記パケット210のフレームヘッダ211とは異なるものである点に留意されたい。
In FIG. 2, (C) shows the format of a header sample xFlow packet 230 storing analysis header samples. This header sample xFlow packet 230 is generated by a router that acquires header samples for analysis and performs transmission processing to the
xFlowデータ233は、xFlow技術により規定されたものであり、分析用ヘッダサンプル234には含まれない、カプセル化パケット220のメタ情報であって分析処理で利用可能なものを含む。例えば、メタ情報としては、ルータ13においてカプセル化パケット220を受信した物理ポート情報(インタフェース情報)や、カプセル化パケットを受信したタイムスタンプ情報が挙げられる。
The
分析用ヘッダサンプル234は、少なくも前記Innerヘッダ212と前記Outerヘッダ222の全部または一部を含む。分析用ヘッダサンプル234は、カプセル化パケット220のフレームヘッダ221を含んでいてもよい。また、図2(c)の例では、分析用ヘッダサンプル234は、ペイロード213の先頭の一部を含む。これは、Innerヘッダ212やOuterヘッダ222は、そのプロトコルによってはオプション領域が存在するため不定長である場合があることから、カプセル化パケット220から分析用ヘッダサンプル234を抜き出す際に、カプセル化パケット220の先頭からInnerヘッダ212及びOuterヘッダ222の最大長から算出した固定長で抜き出す処理を行っているためである。このような処理により、分析用ヘッダサンプル234の取得処理を低負荷且つ高速に実施できる。なお、Innerヘッダ212及びOuterヘッダ222に自身のヘッダ長情報が格納されている場合やヘッダ長が固定の場合には、当該ヘッダ長情報を参照することにより又は当該固定長を用いることによりペイロード213の先頭の一部を含むことなくInnerヘッダ212及びOuterヘッダ222のみを抜き出すこともできる。
フォーマット変換装置100は、ネットワーク10からヘッダサンプルxFlowパケット230を受信し、既存のxFlow技術によるxFlow分析装置21,22で処理可能なデータへと変換し、各xFlow分析装置21,22に出力する。ネットワーク10からフォーマット変換装置100へのデータ通信経路やその形態(例えばトンネルの有無)、フォーマット変換装置100から各xFlow分析装置21,22へのデータ通信経路やその形態(例えばトンネルの有無)については不問である。
The
図3にフォーマット変換装置100の機能ブロック図を示す。フォーマット変換装置100は、パケット入力部110と、フォーマット変換部120と、対応情報DB130と、統計型xFlowデータ生成部140と、パケット出力部150と、対応情報出力部160とを備える。
FIG. 3 shows a functional block diagram of the
フォーマット変換装置100は周知の情報処理装置により構成される。フォーマット変換装置100の実装形態は不問であり、例えば専用のハードウェア装置として実装してもよいし、物理コンピュータまたは仮想コンピュータにプログラムをインストールすることにより実装してもよい。また、フォーマット変換装置100は、その各部を複数のハードウェア装置に分散して実装してもよい。また、フォーマット変換装置100の各部又は一部は、ヘッダサンプルを取得するルータ13と同じ物理装置に実装されていてもよいし、xFlow分析装置21又は22と同じ物理装置上に実装されていてもよい。
The
パケット入力部110は、ネットワーク10からヘッダサンプルxFlowパケット230の入力を受け付ける。
フォーマット変換部120は、ヘッダサンプルxFlowパケット230のフォーマットを、該ヘッダサンプルxFlowパケット230から分析用ヘッダサンプル234に含まれるOuterヘッダ222を除外したフォーマットに変換し、当該分析用ヘッダサンプル234に含まれるInnerヘッダ212と前記除外したOuterヘッダ222との対応情報を対応情報DB130に保存する。
The
対応情報DB130に保存する対応情報は、Innerヘッダ212を識別可能な情報とOuterヘッダ222を識別可能な情報とを含み、両者を紐付ける(関連付ける)情報である。各ヘッダを識別情報な可能な情報は、当該ヘッダに係るプロトコルに依存する。例えばIPヘッダの場合、アドレス情報を用いることができる。また例えばMPLSヘッダの場合、ラベル情報を用いることができる。また、Outerヘッダ222が複数のヘッダを含む場合には、それぞれのヘッダに係るプロトコルに対応した複数の情報を含むことができる。本実施の形態では、カプセル化プロトコルとしてIPIPトンネルプロトコルを用いたので、Innerヘッダ212に含まれるアドレス情報とOuterヘッダ222に含まれるアドレス情報とを含む。アドレス情報は、少なくともL3のアドレス情報を含む。アドレス情報は、さらにL3からみて上位プロトコルのアドレス情報を含むことができる。また対応情報は、プロコトル種別情報などヘッダに含まれる他の情報を含むことができる。本実施の形態では、各ヘッダに含まれる宛先IPアドレス及び宛先ポート番号並びに発信元IPアドレス及び発信元ポート番号の組を含む。また、他の例としては、さらにプロコトル種別情報を含む5-tupleであってもよい。
The correspondence information stored in the
統計型xFlowデータ生成部140は、所定期間において得られたフォーマット変換部120によって変換された複数のヘッダサンプルxFlowパケットに基づき、統計型分析用データを生成する。この統計処理については既存のxFlow技術が用いられる。
The statistical xFlow
パケット出力部150は、フォーマット変換部120による変換で得られたヘッダサンプルxFlowパケット240を、ヘッダサンプル分析型のxFlow分析装置(A)21に転送する。図2(D)にパケット出力部150が転送するヘッダサンプルxFlowパケット240のフォーマットを示す。図に示すように、このヘッダサンプルxFlowパケット240は、L2のフレームヘッダ241と、L3のIPヘッダ242と、xFlowデータ233と、分析用ヘッダサンプル244とを含む。ここで、パケット出力部150の出力するヘッダサンプルxFlowパケット240と、パケット入力部110に入力されたヘッダサンプルxFlowパケット230とのフォーマット上の相違点は、Outerヘッダ222の有無のみである。なお、L3のIPヘッダ242は、ヘッダサンプルxFlowパケット240を転送するためのものであり、宛先アドレスとしてxFlow分析装置(A)21のアドレス情報を含み、送信元アドレスとしてフォーマット変換装置100のアドレス情報を含む。なお、ヘッダサンプルxFlowパケット240のフレームヘッダ241は、前記ヘッダサンプルxFlowパケット230のフレームヘッダ231、前記カプセル化パケット220のフレームヘッダ221、前記パケット210のフレームヘッダ211とは異なるものである点に留意されたい。
The
また、パケット出力部150は、統計型xFlowデータ生成部140により生成された統計型分析用データを統計型xFlowパケット250に格納し、統計型のxFlow分析装置(B)22に転送する。図2(E)にパケット出力部150が出力する統計型xFlowパケット250のフォーマットを示す。図に示すように、L2のフレームヘッダ251と、L3のIPヘッダ252と、xFlowデータ253とを含む。
The
ここで、xFlowデータ253は、統計型xFlowデータ生成部140により生成された統計型分析用データである。また、L3のIPヘッダ252は、統計型xFlowパケット250を転送するためのものであり、宛先アドレスとしてxFlow分析装置(B)22のアドレス情報を含み、送信元アドレスとしてフォーマット変換装置100のアドレス情報を含む。なお、統計型xFlowパケット250のフレームヘッダ251は、前記ヘッダサンプルxFlowパケット240のフレームヘッダ241、前記ヘッダサンプルxFlowパケット230のフレームヘッダ231、前記カプセル化パケット220のフレームヘッダ221、前記パケット210のフレームヘッダ211とは異なるものである点に留意されたい。
Here, the
対応情報出力部160は、対応情報DB130に保存された対応情報を任意の出力先に出力する。対応情報出力部160は、xFlow分析装置(A)21及びxFlow分析装置(B)22の分析結果と同じ出力先に対応情報を出力することができる。対応情報出力部160は、出力先からの要求に応じて対応情報を出力してもよいし、出力先に対して「プッシュ」の形態で通知してもよい。例えば対応情報DB130の更新タイミングで又は定期的に対応情報を出力することができる。
The correspondence
xFlow分析装置(A)21及びxFlow分析装置(B)22は、既存のxFlow技術で用いられる分析装置である。xFlow分析装置(A)21及びxFlow分析装置(B)22は、それぞれ周知の情報処理装置により構成される。xFlow分析装置(A)21及びxFlow分析装置(B)22の実装形態は不問であり、例えば専用のハードウェア装置として実装してもよいし、物理コンピュータまたは仮想コンピュータにプログラムをインストールすることにより実装してもよい。また、xFlow分析装置(A)21及びxFlow分析装置(B)22は、複数のハードウェア装置に分散して実装してもよい。 The xFlow analysis device (A) 21 and the xFlow analysis device (B) 22 are analysis devices used in the existing xFlow technology. The xFlow analysis device (A) 21 and the xFlow analysis device (B) 22 are each configured by a known information processing device. The implementation form of the xFlow analysis device (A) 21 and the xFlow analysis device (B) 22 is irrelevant. You may Also, the xFlow analysis device (A) 21 and the xFlow analysis device (B) 22 may be distributed and implemented in a plurality of hardware devices.
xFlow分析装置(A)21は、ヘッダサンプルを入力として分析を行うものであり、具体的には、sFlow(非特許文献3参照)、IPFIX w/IE315(非特許文献4参照)などの方式が用いられる。xFlow分析装置(B)22は、サンプリングされたパケットのヘッダ情報から算出されたフロー統計情報を入力として分析を行うものであり、具体的には、NetFlow(非特許文献1参照)、IPFIX(非特許文献2-1~2-6参照)などの方式が用いられる。 The xFlow analysis device (A) 21 analyzes the header sample as an input. Specifically, methods such as sFlow (see Non-Patent Document 3) and IPFIX w/IE315 (see Non-Patent Document 4) are used. Used. The xFlow analysis device (B) 22 analyzes the flow statistical information calculated from the header information of the sampled packets as input. (See Patent Documents 2-1 to 2-6).
xFlow分析装置(A)21及びxFlow分析装置(B)22は、それぞれ分析結果をユーザの端末300に提供する。xFlow分析装置(A)21及びxFlow分析装置(B)22は、提供先からの要求に応じて分析結果を提供してもよいし、提供先に対して「プッシュ」の形態で通知してもよい。例えば分析結果の更新タイミングで又は定期的に分析結果を出力することができる。
The xFlow analysis device (A) 21 and the xFlow analysis device (B) 22 each provide analysis results to the
次に、本実施の形態に係るネットワークシステムのシーケンス例について図4のシーケンスチャートを参照して説明する。 Next, a sequence example of the network system according to this embodiment will be described with reference to the sequence chart of FIG.
分析実施フェーズでは、図4に示すように、まずカプセル化パケット220が流通するネットワーク10のルータ13が、当該カプセル化パケット220から分析用ヘッダサンプル234を取得し、当該分析用ヘッダサンプル234及びxFlowデータ233が格納されたヘッダサンプルxFlowパケット230をフォーマット変換装置100に転送する(ステップS1)。
In the analysis implementation phase, as shown in FIG. 4, first, the
フォーマット変換装置100は、ヘッダサンプルxFlowパケット230のフォーマットをOuterヘッダ222を除外したフォーマットに変換するとともに、Innerヘッダ212とOuterヘッダ222の対応情報を対応情報DB130に格納する(ステップS2)。そして、フォーマット変換装置100は、xFlow分析装置(A)21に対しては、フォーマット変換した得られたヘッダサンプルxFlowパケット240を転送する(ステップS3)。また、フォーマット変換装置100は、xFlow分析装置(B)22に対しては、フォーマット変換したヘッダサンプルxFlowパケットに基づき統計型分析用データを生成し、当該統計型分析用データを格納した統計型xFlowパケット250をxFlow分析装置(B)22に転送する。
The
分析結果確認フェーズでは、フォーマット変換装置100は、ユーザ端末300に対して対応情報DB130に保存されている対応情報を提供する(ステップS11)。また、xFlow分析装置(A)21及びxFlow分析装置(B)22は、それぞれ分析結果をユーザ端末300に提供する(ステップS12,S13)。これにより、ユーザ端末300は、xFlow分析装置(A)21及びxFlow分析装置(B)22で実施されたInnnerヘッダ212に基づく分析結果を得ることができるとともに、Innerヘッダ212とOuterヘッダ222の対応関係を認識することができるので、カプセル化パケット220が流通するネットワーク10において、カプセル内側トラヒックの効率的な集計・分析が可能になる。図5にユーザ端末300に表示させたxFlow分析装置(A)21における分析結果の一例を示す。また図6にユーザ端末300に表示させた対応情報の一例を示す。
In the analysis result confirmation phase, the
以上、本発明の一実施の形態について詳述したが、本発明は上記実施の形態に限定されるものではなく、本発明の主旨を逸脱しない範囲において、種々の改良や変更をしてもよい。 Although one embodiment of the present invention has been described in detail above, the present invention is not limited to the above-described embodiment, and various improvements and modifications may be made without departing from the gist of the present invention. .
例えば、上記実施の形態ではフォーマット変換装置100は、xFlow分析装置(A)21用のヘッダサンプルxFlowパケット240と、xFlow分析装置(B)22用の統計型xFlowパケット250の双方を出力するよう構成したが、何れか一方のみを出力するよう構成してもよい。
For example, in the above embodiment, the
10…ネットワーク
11,12,13…ルータ
14…トンネル
100…フォーマット変換装置
110…パケット入力部
120…フォーマット変換部
130…対応情報DB
140…統計型xFlowデータ生成部
150…パケット出力部
160…対応情報出力部
210…パケット(カプセル内パケット)
212…Innerヘッダ
220…カプセル化パケット
222…Outerヘッダ
230…ヘッダサンプルxFlowパケット
240…ヘッダサンプルxFlowパケット(変換後)
250…統計型xFlowパケット
DESCRIPTION OF
140 Statistical xFlow
212 Inner header 220
250 Statistical type xFlow packet
Claims (4)
パケットをカプセル化してなるカプセル化パケットが流通するネットワークから、カプセル化パケットの分析用のメタ情報とカプセル化パケットのヘッダであるアウターヘッダ及び該カプセル化パケットのカプセル内パケットのヘッダであるインナーヘッダを含む分析用ヘッダサンプルとが格納されたヘッダサンプル転送パケットの入力を受け付ける入力部と、
前記入力部により入力されたヘッダサンプル転送パケットのフォーマットを該ヘッダサンプル転送パケットから分析用ヘッダサンプルに含まれるアウターヘッダを除外したフォーマットに変換するとともに、該分析用ヘッダサンプルに含まれるインナーヘッダと前記除外したアウターヘッダとの対応情報を保存する変換部と、
前記変換部によって変換されたヘッダサンプル転送パケットを前記第1の分析装置に転送する第1の出力部と、
所定期間において得られた前記変換部によって変換されたヘッダサンプル転送パケットに基づき統計型分析用データを生成する統計型分析用データ生成部と、
前記統計型分析用データ生成部で生成した統計型分析用データを統計型分析用データ転送パケットに格納して前記第2の分析装置に転送する第2の出力部と、
前記変換部によって保存された対応情報を、前記第1及び第2の分析装置の分析結果の出力先装置に対して出力する対応情報出力部とを備えた
ことを特徴とするフォーマット変換装置。 A format conversion device provided in front of first and second analysis devices for analyzing packets,
Meta information for analyzing the encapsulated packet , the outer header that is the header of the encapsulated packet, and the inner header that is the header of the packet within the capsule of the encapsulated packet are obtained from the network in which the encapsulated packet that encapsulates the packet is distributed. an input unit for receiving an input of a header sample transfer packet in which are stored header samples for analysis including;
converting the format of the header sample transfer packet input by the input unit into a format in which the outer header included in the header sample for analysis is excluded from the header sample transfer packet, and the inner header included in the header sample for analysis and the a conversion unit that stores correspondence information with the excluded outer header;
a first output unit that transfers the header sample transfer packet converted by the conversion unit to the first analysis device ;
a statistical analysis data generation unit that generates statistical analysis data based on header sample transfer packets converted by the conversion unit obtained in a predetermined period;
a second output unit that stores the statistical analysis data generated by the statistical analysis data generation unit in a statistical analysis data transfer packet and transfers the packet to the second analysis device;
A format conversion device, comprising: a correspondence information output unit that outputs the correspondence information saved by the conversion unit to an output destination device of analysis results of the first and second analysis devices.
ことを特徴とする請求項1記載のフォーマット変換装置。 2. The format conversion device according to claim 1 , wherein said header sample transfer packet includes a frame header of a frame that stores an encapsulated packet and is distributed in said network.
入力部が、パケットをカプセル化してなるカプセル化パケットが流通するネットワークから、カプセル化パケットの分析用のメタ情報とカプセル化パケットのヘッダであるアウターヘッダ及び該カプセル化パケットのカプセル内パケットのヘッダであるインナーヘッダを含む分析用ヘッダサンプルとが格納されたヘッダサンプル転送パケットの入力を受け付ける入力ステップと、
変換部が、前記入力ステップにより入力されたヘッダサンプル転送パケットのフォーマットを該ヘッダサンプル転送パケットから分析用ヘッダサンプルに含まれるアウターヘッダを除外したフォーマットに変換するとともに、該分析用ヘッダサンプルに含まれるインナーヘッダと前記除外したアウターヘッダとの対応情報を保存する変換ステップと、
第1の出力部が、前記変換部によって変換されたヘッダサンプル転送パケットを前記第1の分析装置に転送する第1の出力ステップと、
統計型分析用データ生成部が、所定期間において得られた前記変換部によって変換されたヘッダサンプル転送パケットに基づき統計型分析用データを生成する統計型分析用データ生成ステップと、
第2の出力部が、前記統計型分析用データ生成部で生成した統計型分析用データを統計型分析用データ転送パケットに格納して前記第2の分析装置に転送する第2の出力ステップと、
対応情報出力部が、前記変換部によって保存された対応情報を前記第1及び第2の分析装置の分析結果の出力先装置に対して出力する対応情報出力ステップとを備えた
ことを特徴とするフォーマット変換方法。 A format conversion method in a format conversion device provided upstream of first and second analysis devices for analyzing packets,
The input unit receives meta information for analysis of the encapsulated packet, the outer header which is the header of the encapsulated packet, and the header of the packet within the capsule of the encapsulated packet from the network in which the encapsulated packet that encapsulates the packet is distributed. an input step of receiving an input of a header sample transfer packet in which an analysis header sample including an inner header is stored;
A conversion unit converts the format of the header sample transfer packet input in the input step into a format in which the outer header included in the analysis header sample is excluded from the header sample transfer packet, and the format is included in the analysis header sample. a converting step of storing correspondence information between the inner header and the excluded outer header;
a first output step in which a first output unit transfers the header sample transfer packet converted by the conversion unit to the first analysis device ;
a statistical analysis data generation step in which the statistical analysis data generation unit generates statistical analysis data based on the header sample transfer packets converted by the conversion unit obtained in a predetermined period;
a second output step in which a second output unit stores the statistical analysis data generated by the statistical analysis data generation unit in a statistical analysis data transfer packet and transfers the packet to the second analysis device; ,
and a correspondence information output step in which the correspondence information output unit outputs the correspondence information saved by the conversion unit to an output destination device of the analysis results of the first and second analysis devices. Format conversion method.
3. A format conversion program for causing a computer to function as each part of the format conversion device according to claim 1 or 2 .
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2019220134A JP7294764B2 (en) | 2019-12-05 | 2019-12-05 | Format conversion device, method and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2019220134A JP7294764B2 (en) | 2019-12-05 | 2019-12-05 | Format conversion device, method and program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2021090161A JP2021090161A (en) | 2021-06-10 |
JP7294764B2 true JP7294764B2 (en) | 2023-06-20 |
Family
ID=76220498
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2019220134A Active JP7294764B2 (en) | 2019-12-05 | 2019-12-05 | Format conversion device, method and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP7294764B2 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2024024058A1 (en) * | 2022-07-28 | 2024-02-01 | 日本電信電話株式会社 | Analysis device, analysis method, analysis program, and analysis system |
WO2024038523A1 (en) * | 2022-08-17 | 2024-02-22 | 日本電信電話株式会社 | Conversion device, conversion method, and conversion program |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2011239218A (en) | 2010-05-11 | 2011-11-24 | Hitachi Cable Ltd | Network relay device, statistic information acquisition system, and statistic information acquisition method |
JP2016508353A (en) | 2013-01-10 | 2016-03-17 | ネットフロー ロジック コーポレーション | Improved streaming method and system for processing network metadata |
WO2018066228A1 (en) | 2016-10-06 | 2018-04-12 | 日本電信電話株式会社 | Flow information analysis apparatus, flow information analysis method, and flow information analysis program |
JP2019097069A (en) | 2017-11-24 | 2019-06-20 | 日本電信電話株式会社 | Format converter and format conversion program |
-
2019
- 2019-12-05 JP JP2019220134A patent/JP7294764B2/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2011239218A (en) | 2010-05-11 | 2011-11-24 | Hitachi Cable Ltd | Network relay device, statistic information acquisition system, and statistic information acquisition method |
JP2016508353A (en) | 2013-01-10 | 2016-03-17 | ネットフロー ロジック コーポレーション | Improved streaming method and system for processing network metadata |
WO2018066228A1 (en) | 2016-10-06 | 2018-04-12 | 日本電信電話株式会社 | Flow information analysis apparatus, flow information analysis method, and flow information analysis program |
JP2019097069A (en) | 2017-11-24 | 2019-06-20 | 日本電信電話株式会社 | Format converter and format conversion program |
Non-Patent Citations (1)
Title |
---|
林 裕平、他,ハッシュを用いたinner-outerヘッダ対応付け方式の設定値の一検討,電子情報通信学会2019年ソサイエティ大会 通信講演論文集2,日本,一般社団法人電子情報通信学会,2019年08月27日,P18 |
Also Published As
Publication number | Publication date |
---|---|
JP2021090161A (en) | 2021-06-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111953604B (en) | Method and device for providing business service for business flow | |
KR101694082B1 (en) | Software-defined network overlay | |
US8751642B2 (en) | Method and system for management of sampled traffic data | |
CN112702330B (en) | Lightweight in-band network telemetry method and device for Overlay network and storage medium | |
US7974308B2 (en) | Interworking circuit emulation service over packet and IP/MPLS packet processing | |
JP6571883B2 (en) | Flow information analysis apparatus, flow information analysis method, and flow information analysis program | |
US20100125661A1 (en) | Arrangement for monitoring performance of network connection | |
US8514723B2 (en) | Traffic monitoring by lowest transmission layer marking | |
CN102694738B (en) | Virtual private network (VPN) gateway and method for forwarding messages at VPN gateway | |
JP7294764B2 (en) | Format conversion device, method and program | |
JP6699065B2 (en) | Packet sampling to measure network performance | |
US20130329633A1 (en) | System and method for transporting digital baseband streams in a network environment | |
US10523536B2 (en) | Length control for packet header sampling | |
JP6290849B2 (en) | Traffic analysis system and traffic analysis method | |
JP4823156B2 (en) | Remote traffic monitoring method | |
CN113328915A (en) | Associated network measuring method based on SRv6 | |
Grayeli et al. | Performance analysis of ipv6 transition mechanisms over mpls | |
Sookun et al. | Performance analysis of IPv4/IPv6 transition techniques | |
CN114079674A (en) | Data processing method, user plane function and device | |
CN113328956B (en) | Message processing method and device | |
Narayan et al. | Performance analysis of 4to6 and 6to4 transition mechanisms over point to point and IPSec VPN protocols | |
US8386600B2 (en) | Performance monitoring of E-tree service | |
JP2006050433A (en) | Traffic monitoring apparatus, communication network traffic monitoring system and monitoring method | |
EP1445896A1 (en) | Provider connection system, packet exchange apparatus thereof, dns server, packet exchange method, and computer program thereof | |
JP3487551B2 (en) | Monitor device, monitor method, and recording medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
RD01 | Notification of change of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7426 Effective date: 20191209 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A821 Effective date: 20191209 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20220214 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20221128 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20221221 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20230215 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20230607 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20230607 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 7294764 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |