Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP4400103B2 - Routing processing device - Google Patents
[go: Go Back, main page]

JP4400103B2 - Routing processing device - Google Patents

Routing processing device Download PDF

Info

Publication number
JP4400103B2
JP4400103B2 JP2003172714A JP2003172714A JP4400103B2 JP 4400103 B2 JP4400103 B2 JP 4400103B2 JP 2003172714 A JP2003172714 A JP 2003172714A JP 2003172714 A JP2003172714 A JP 2003172714A JP 4400103 B2 JP4400103 B2 JP 4400103B2
Authority
JP
Japan
Prior art keywords
destination search
packet
unregistered
information
destination
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.)
Expired - Fee Related
Application number
JP2003172714A
Other languages
Japanese (ja)
Other versions
JP2005012382A (en
Inventor
雄一 田崎
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
Original Assignee
NEC Corp
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 filed Critical NEC Corp
Priority to JP2003172714A priority Critical patent/JP4400103B2/en
Publication of JP2005012382A publication Critical patent/JP2005012382A/en
Application granted granted Critical
Publication of JP4400103B2 publication Critical patent/JP4400103B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Description

【0001】
【発明の属する技術分野】
本発明はルーティング処理装置に関し、特にIP(Internet Protocol)パケットのルーティングや特定パケットに対する応答をソフトウェアで処理するルーティング処理装置に関する。
【0002】
【従来の技術】
近年、IPトラフィックの増加にともなって、故意に宛先不明なパケットを流したり、特定パケットを多量に流してネットワークやルーティング処理装置にアタックを行い、ネットワークやルーティング処理装置に対して危害を加えるといったことが増大している。
【0003】
上記のルーティング処理装置としては、CAM(Content Addressable Memory)を用いてIPパケットの宛先解決等の処理を行う装置が提案されている(例えば、特許文献1参照)。
【0004】
上記のルーティング処理装置では、伝送路から受信したパケットを所定長のセルに分割し、そのセルから抽出した所定の検索キーを用いてCAMの検索を行い、CAMから出力されるメモリアドレスに基づいて検索情報格納メモリのメモリアドレスを算出し、検索情報格納メモリから出力される検索情報を基にセルのヘッダ更新や宛先解決が行われる。
【0005】
【特許文献1】
特開2003−23437号公報(第3〜7頁、図1)
【0006】
【発明が解決しようとする課題】
しかしながら、上述した従来のルーティング処理装置では、宛先不明のパケットに対するルーティング処理や特定パケットに対する応答をソフトウェアにて処理しているため、機能不全に陥るケースが発生している。
【0007】
そこで、本発明の目的は上記の問題点を解消し、処理能力の低下を防ぐことができ、アタックに対しての対処をソフトウェアでの処理に比べて格段に早く行うことができるルーティング処理装置を提供することにある。
【0008】
【課題を解決するための手段】
本発明によるルーティング処理装置は、宛先不明なパケットのルーティング処理及び特定パケットに対する応答処理をソフトウェアで行うルーティング処理装置であって、
前記宛先不明なパケットの廃棄判断を自律的に行うハードウェア部を備え
前記ハードウェア部は、予め経路情報が登録されかつ前記パケットのアドレス情報に基づいた宛先検索結果に応じて前記経路情報を出力する宛先検索用メモリと、予め未登録宛先検索用のアドレス情報が登録されかつ前記パケットのアドレス情報に基づいた未登録宛先検索結果に応じて廃棄情報を出力する未登録宛先検索用メモリと、前記宛先検索用メモリ及び前記未登録宛先検索用メモリのいずれにも未登録となっている未登録アドレス情報を一時記憶する検索結果記憶手段とを含み、
前記検索結果記憶手段は、予め設定された単位時間内に一定以上の流量が検出されたパケットについてのみ、当該パケットのアドレス情報を前記未登録宛先検索用メモリに書込んでいる。
【0009】
すなわち、本発明のルーティング処理装置は、アドレスが登録されていないIP(Internet Protocol)パケットのルーティングや、特定パケットの応答をソフトウェアにて処理する装置であり、ハードウェア自律での入力IPパケットの処理判定を行うことで、IPパケットが大量に入力した場合にソフトウェアの負荷を軽減させている。
【0010】
本発明のルーティング処理装置では、ハードウェア自律での入力IPパケットの処理判定を行うことで、単位時間内に一定以上の流量を持つ宛先不明のパケットが入力された場合でもソフトウェアでのルーティング処理を行う必要がないため、処理能力の低下を防ぐことが可能となる。
【0011】
また、本発明のルーティング処理装置では、宛先不明なパケットの廃棄判断をハードウェアが自律で行うため、アタックに対しての対処がソフトウェアでの処理に比べて格段に早く行うことが可能となる。
【0012】
【発明の実施の形態】
次に、本発明の実施例について図面を参照して説明する。図1は本発明の一実施例によるルーティング処理装置の構成を示すブロック図である。図1において、本発明の一実施例によるルーティング処理装置は回線部1と、スイッチ部2とから構成されている。
【0013】
回線部1は回線インタフェース部11と、宛先検索用CAM(ContentAddressable Memory)12と、未登録宛先検索用CAM13と、宛先検索部14と、スイッチングインタフェース部15と、検索結果記憶部16とから構成されている。
【0014】
回線インタフェース部11はIP(Internet Protocol)パケットの受信手段である。宛先検索用CAM12にはIPパケットの経路情報(以下、IPアドレスとする)が登録される。未登録宛先検索用CAM13は宛先検索用CAM12に登録されていないIPアドレスを持つIPパケットを受信した場合のIPアドレスが登録される。
【0015】
宛先検索部14は受信したIPパケットから宛先検索を行うためのIPアドレスの抽出と、宛先検索用CAM12からの転送情報及び未登録宛先検索用CAM13からの廃棄情報にしたがってIPパケットの処理を行う。スイッチングインタフェース部15はスイッチ部2とのインタフェースを行う。
【0016】
検索結果記憶部16は宛先検索用CAM12及び未登録宛先検索用CAM13のいずれにも未登録となっているIPアドレスを一時記憶する。また、検索結果記憶部16は未登録アドレスに対する各種処理を行う登録制御回路17と、未登録アドレスを管理するアドレス管理部18−1〜18−mとから構成されている。
【0017】
アドレス管理部18−1〜18−m各々は未登録アドレスを一時格納するアドレス格納部181−1〜181−m(アドレス格納部181−2〜181−mは図示せず)と、未登録アドレスを何回受信したかをカウントするカウンタ182−1〜182−m(カウンタ182−2〜182−mは図示せず)と、未登録アドレスが格納されてからの時間を計測するタイマ183−1〜183−m(タイマ183−2〜183−mは図示せず)とから構成されている。
【0018】
この図1を参照して本発明の一実施例によるルーティング処理装置のフロー検索処理について説明する。
【0019】
回線インタフェース部11はネットワーク(図示せず)からIPパケットを受信すると、正しいIPパケットであるかどうかをチェックし、正しいIPパケットであった場合にそのIPパケットを宛先検索部14に送信する。
【0020】
宛先検索部14は回線インタフェース部11から受信したIPパケットからそのIPパケットを次に転送するための宛先検索を行うためにIPアドレスを抽出し、宛先検索用CAM12に出力する。宛先検索用CAM12には予め経路情報が登録されており、宛先検索部14からのIPアドレスを入力として宛先検索を行う。
【0021】
宛先検索用CAM12はIPアドレスが登録されていたものであった場合に転送情報を、登録されていないアドレスであった場合に宛先無し情報を宛先検索部14にそれぞれ返信する。宛先検索部14は宛先検索用CAM12から転送情報が返信されてきた場合にスイッチングインタフェース部15にIPパケットを転送し、宛先無し情報が返信されてきた場合に未登録宛先検索用CAM13に対して同様に抽出したIPアドレスを出力する。
【0022】
未登録宛先検索用CAM13には検索結果記憶部16の指示によってIPアドレスが登録されており、宛先検索部14から受信したIPアドレスを入力として未登録宛先検索を行う。未登録宛先検索用CAM13は登録されているIPアドレスに一致するものがあった場合に廃棄情報を、一致するものがない場合に宛先無し情報を宛先検索部14にそれぞれ返信する。
【0023】
宛先検索部14は未登録宛先検索用CAM13から廃棄情報が返信されてきた場合にIPパケットを廃棄し、宛先無し情報が返信されてきた場合に検索結果記憶部16にIPアドレスを送信する。
【0024】
宛先検索部14から送信されてきたIPアドレスは、検索結果記憶部16内の登録制御回路17にて受信される。登録制御回路17はアドレス管理部18−1〜18−mの管理及び未登録宛先検索用CAM13へのIPアドレスの書込み制御を行う機能を有している。
【0025】
アドレス管理部18−1〜18−mは登録制御回路17からの指示にしたがってIPアドレスを格納するアドレス格納部181−1〜181−mと、IPアドレスの格納開始によって起動されかつタイマ値が「0」になった時点でカウンタ182−1〜182−mに“0”をロードさせるタイマ183−1〜183−mと、登録制御回路17から受信したIPアドレスが既にアドレス格納部181−1〜181−mに格納されているIPアドレスと同じであった場合に+1を行い、予め設けられた閾値を超えた段階で登録制御部17に通知を行うカウンタ182−1〜182−mとから構成されている。
【0026】
検索結果記憶部16が宛先検索部14からIPアドレスを受信すると、登録制御回路17がm個あるアドレス管理部18−1〜18−mのうちの既にIPアドレスが格納されているアドレス管理部18−1〜18−(i−1)(i<mとなる整数)にIPアドレスを出力する。
【0027】
IPアドレスを受取ったアドレス管理部18−1〜18−(i−1)では、アドレス格納部181−1〜181−(i−1)に格納されているアドレスと一致しているか否かをチェックする。アドレス管理部18−1〜18−(i−1)は格納されているIPアドレスと一致していない場合、検索不一致情報を登録制御回路17に通知する。登録制御回路17は全てのアドレス管理部18−1〜18−(i−1)から検索不一致情報が通知されると、未だIPアドレスを登録していないアドレス管理部18−iに対してIPアドレスの格納要求を行う。
【0028】
アドレス管理部18−iではIPアドレスをアドレス格納部181−iに格納し、タイマ183−iを起動させる。アドレス管理部18−iは格納されているIPアドレスと一致している場合、カウンタ182−iを+1し、検索一致情報を登録制御回路17に通知する。この時、カウンタ182−iでのカウント値が予め設定された閾値を超過した場合、アドレス管理部18−iは検出一致情報に加えてカウント値超過情報を登録制御回路17に通知する。
【0029】
登録制御回路17はアドレス管理部18−1〜18−iのいずれかから検索一致情報が通知されると、宛先検索部14から受信したIPアドレスを廃棄し、カウント値超過情報が通知された場合にIPアドレスを未登録宛先検索用CAM13に書込む。
【0030】
例えば、IPアドレスaが検索結果記憶部16にてカウント値超過によって未登録宛先検索用CAM13に登録された後、再び回線部1に入力されたとすると、回線インタフェース部11を経由して宛先検索部14にて宛先検索を実施する際に、未登録宛先検索用CAM13での検索で、登録れているアドレスと一致することになるため、未登録宛先検索用CAM13からは宛先検索部14に廃棄情報が返信されることとなる。宛先検索部14は未登録宛先検索用CAM13からの廃棄情報にしたがってIPパケットの廃棄を行う。
【0031】
このように、本実施例では、宛先検索部14が宛先検索用CAM12と未登録宛先検索用CAM13と検索結果記憶部16とを用いて宛先不明なパケットの廃棄判断をハードウェアで自律的に行うことによって、単位時間内に一定以上の流量を持つ宛先不明のパケットが入力された場合でも、ソフトウェアでのルーティング処理を行う必要がないため、処理能力の低下を防ぐことができる。
【0032】
また、本実施例では、宛先不明なパケットの廃棄判断をハードウェアが自律で行うことによって、アタックに対しての対処をソフトウェアでの処理に比べて格段に早く行うことができる。
【0033】
次に、本発明の他の実施例によるルーティング処理装置について説明する。本発明の他の実施例によるルーティング処理装置の構成は、上記の図1に示す本発明の一実施例によるルーティング処理装置の構成と同様なので、この図1を参照して本発明の他の実施例によるルーティング処理装置の動作について説明する。
【0034】
本発明の他の実施例によるルーティング処理装置では、回線部1が受信した全てのIPアドレスを検索結果記憶部16で管理し、単位時間内に一定以上の流量が検出されたIPパケットについてのみ未登録宛先検索用CAM13に登録している。
【0035】
これによって、本発明の他の実施例によるルーティング処理装置では、故意に多量のパケットを流すといったアタックに対してネットワークに所属するルーティング処理装置やサーバ等の機能不全を防止することができる。
【0036】
図2は本発明の別の実施例によるルーティング処理装置の構成を示すブロック図である。図2において、本発明の別の実施例によるルーティング処理装置は未登録宛先検索用CAM13を除いた以外は、図1に示す本発明の一実施例によるルーティング処理装置と同様の構成となっており、同一構成要素には同一符号を付してある。
【0037】
本発明の別の実施例によるルーティング処理装置では、未登録宛先検索用CAM13を除いているので、未登録宛先アドレスを宛先検索用CAM12に登録し、宛先検索部14に対する検索結果に転送情報/廃棄情報の識別子を追加している。
【0038】
これによって、本発明の別の実施例によるルーティング処理装置では、宛先検索部14が受信したIPパケットを転送すべきものか、廃棄すべきものかの判断を行うために、宛先検索用CAM12及び未登録宛先検索用CAM13の二度検索処理を実行しなければならかったものが、宛先検索用CAM12を検索するだけで判断可能となるため、検索処理にかかる時間を半減することができる。
【0039】
また、本発明の別の実施例によるルーティング処理装置では、宛先検索用CAM12に未登録宛先アドレスを登録しているので、未登録宛先検索用CAM13が不要となり、部品点数を削減することができる。
【0040】
【発明の効果】
以上説明したように本発明は、上記のような構成及び動作とすることで、処理能力の低下を防ぐことができ、アタックに対しての対処をソフトウェアでの処理に比べて格段に早く行うことができるという効果が得られる。
【図面の簡単な説明】
【図1】本発明の一実施例によるルーティング処理装置の構成を示すブロック図である。
【図2】本発明の別の実施例によるルーティング処理装置の構成を示すブロック図である。
【符号の説明】
1 回線部
2 スイッチ部
11 回線インタフェース部
12 宛先検索用CAM
13 未登録宛先検索用CAM
14 宛先検索部
15 スイッチングインタフェース部
16 検索結果記憶部
17 登録制御回路
18−1〜18−m アドレス管理部
181−1 アドレス格納部
182−1 カウンタ
183−1 タイマ
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a routing processing device, and more particularly to a routing processing device that processes routing of an IP (Internet Protocol) packet and a response to a specific packet by software.
[0002]
[Prior art]
In recent years, with the increase in IP traffic, packets with unknown destinations are intentionally sent, or a large amount of specific packets are sent to attack the network or routing processing device, causing harm to the network or routing processing device. Has increased.
[0003]
As the above-described routing processing device, a device that performs processing such as IP packet destination resolution using CAM (Content Addressable Memory) has been proposed (for example, see Patent Document 1).
[0004]
In the above routing processing device, a packet received from a transmission path is divided into cells of a predetermined length, a CAM is searched using a predetermined search key extracted from the cell, and based on a memory address output from the CAM. The memory address of the search information storage memory is calculated, and cell header update and destination resolution are performed based on the search information output from the search information storage memory.
[0005]
[Patent Document 1]
JP 2003-23437 A (pages 3 to 7, FIG. 1)
[0006]
[Problems to be solved by the invention]
However, in the above-described conventional routing processing device, a routing process for a packet whose destination is unknown and a response to a specific packet are processed by software.
[0007]
Accordingly, an object of the present invention is to provide a routing processing apparatus that can solve the above-described problems, prevent a reduction in processing capability, and can cope with an attack much faster than software processing. It is to provide.
[0008]
[Means for Solving the Problems]
A routing processing device according to the present invention is a routing processing device that performs routing processing of a packet with unknown destination and response processing to a specific packet by software,
A hardware unit that autonomously performs the discard determination of the unknown packet ,
The hardware unit includes destination search memory in which route information is registered in advance and the route information is output according to a destination search result based on the address information of the packet, and address information for unregistered destination search is registered in advance. Unregistered destination search memory for outputting discard information according to the unregistered destination search result based on the address information of the packet, and unregistered in both the destination search memory and the unregistered destination search memory Search result storage means for temporarily storing unregistered address information,
The search result storage means writes the address information of the packet in the unregistered destination search memory only for a packet in which a flow rate of a certain level or more is detected within a preset unit time .
[0009]
That is, the routing processing device of the present invention is a device that processes the routing of IP (Internet Protocol) packets whose addresses are not registered and the response of specific packets by software, and processes input IP packets in hardware autonomy. By performing the determination, the software load is reduced when a large number of IP packets are input.
[0010]
In the routing processing device of the present invention, by performing processing determination of input IP packets in hardware autonomous, routing processing in software is performed even when an unknown destination packet having a flow rate of a certain level or more is input within a unit time. Since it is not necessary to do so, it is possible to prevent a reduction in processing capacity.
[0011]
In the routing processing apparatus of the present invention, since the hardware autonomously determines whether to discard a packet whose destination is unknown, it is possible to cope with an attack much faster than the processing by software.
[0012]
DETAILED DESCRIPTION OF THE INVENTION
Next, embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing a configuration of a routing processing apparatus according to an embodiment of the present invention. In FIG. 1, a routing processing apparatus according to an embodiment of the present invention comprises a line unit 1 and a switch unit 2.
[0013]
The line unit 1 includes a line interface unit 11, a destination search CAM (Content Addressable Memory) 12, an unregistered destination search CAM 13, a destination search unit 14, a switching interface unit 15, and a search result storage unit 16. ing.
[0014]
The line interface unit 11 is a means for receiving an IP (Internet Protocol) packet. In the destination search CAM 12, IP packet route information (hereinafter referred to as an IP address) is registered. The unregistered destination search CAM 13 registers an IP address when an IP packet having an IP address not registered in the destination search CAM 12 is received.
[0015]
The destination search unit 14 extracts an IP address for performing destination search from the received IP packet, and processes the IP packet according to transfer information from the destination search CAM 12 and discard information from the unregistered destination search CAM 13. The switching interface unit 15 performs an interface with the switch unit 2.
[0016]
The search result storage unit 16 temporarily stores an unregistered IP address in both the destination search CAM 12 and the unregistered destination search CAM 13. The search result storage unit 16 includes a registration control circuit 17 that performs various processes for unregistered addresses, and address management units 18-1 to 18-m that manage unregistered addresses.
[0017]
Each of the address management units 18-1 to 18-m includes an address storage unit 181-1 to 181-m for temporarily storing an unregistered address (address storage units 181-2 to 181-m are not shown), and an unregistered address. Counter 182-1 to 182-m (counter 182-2 to 182-m is not shown) and timer 183-1 that measures the time since the unregistered address is stored 183 -m (timers 183-2 to 183 -m are not shown).
[0018]
With reference to FIG. 1, the flow search process of the routing processing apparatus according to the embodiment of the present invention will be described.
[0019]
When the line interface unit 11 receives an IP packet from a network (not shown), the line interface unit 11 checks whether the packet is a correct IP packet, and transmits the IP packet to the destination search unit 14 if it is a correct IP packet.
[0020]
The destination search unit 14 extracts an IP address from the IP packet received from the line interface unit 11 in order to perform destination search for transferring the IP packet next, and outputs the IP address to the destination search CAM 12. The route information is registered in the destination search CAM 12 in advance, and the destination search is performed with the IP address from the destination search unit 14 as an input.
[0021]
The destination search CAM 12 returns transfer information to the destination search unit 14 when the IP address is registered, and non-destination information when the IP address is not registered. The destination search unit 14 transfers the IP packet to the switching interface unit 15 when the transfer information is returned from the destination search CAM 12, and similarly to the unregistered destination search CAM 13 when the destinationless information is returned. The extracted IP address is output.
[0022]
An IP address is registered in the unregistered destination search CAM 13 in accordance with an instruction from the search result storage unit 16, and an unregistered destination search is performed using the IP address received from the destination search unit 14 as an input. The unregistered destination search CAM 13 returns discard information to the destination search unit 14 when there is a match with the registered IP address, and no destination information when there is no match.
[0023]
The destination search unit 14 discards the IP packet when the discard information is returned from the unregistered destination search CAM 13, and transmits the IP address to the search result storage unit 16 when the destinationless information is returned.
[0024]
The IP address transmitted from the destination search unit 14 is received by the registration control circuit 17 in the search result storage unit 16. The registration control circuit 17 has functions of managing the address management units 18-1 to 18-m and controlling the writing of the IP address to the unregistered destination search CAM 13.
[0025]
The address management units 18-1 to 18-m are activated by the address storage units 181-1 to 181-m that store IP addresses according to instructions from the registration control circuit 17, and the timer value is “ The timers 183-1 to 183-m for loading “0” into the counters 182-1 to 182-m when the value reaches “0” and the IP addresses received from the registration control circuit 17 are already stored in the address storage units 181-1 to 181-1. When the IP address is the same as the IP address stored in 181-m, the counter 182-1 to 182-m performs +1 and notifies the registration control unit 17 when a predetermined threshold value is exceeded. Has been.
[0026]
When the search result storage unit 16 receives an IP address from the destination search unit 14, the address management unit 18 in which the IP address is already stored among the m address management units 18-1 to 18-m having the registration control circuit 17. The IP address is output to −1 to 18- (i−1) (an integer satisfying i <m).
[0027]
The address management units 18-1 to 18- (i-1) that received the IP address check whether or not they match the addresses stored in the address storage units 181-1 to 181- (i-1). To do. If the address management units 18-1 to 18- (i-1) do not match the stored IP address, the address management units 18-1 to 18- (i-1) notify the registration control circuit 17 of the search mismatch information. When the search mismatch information is notified from all the address management units 18-1 to 18- (i-1), the registration control circuit 17 sends an IP address to the address management unit 18-i that has not yet registered an IP address. A storage request is made.
[0028]
The address management unit 18-i stores the IP address in the address storage unit 181-i and starts the timer 183-i. If the address management unit 18-i matches the stored IP address, the counter 182-i is incremented by 1, and the search control information is notified to the registration control circuit 17. At this time, when the count value in the counter 182-i exceeds a preset threshold value, the address management unit 18-i notifies the registration control circuit 17 of the count value excess information in addition to the detection match information.
[0029]
When the search control information is notified from any of the address management units 18-1 to 18-i, the registration control circuit 17 discards the IP address received from the destination search unit 14 and the count value excess information is notified The IP address is written in the unregistered destination search CAM 13.
[0030]
For example, if the IP address a is registered in the unregistered destination search CAM 13 due to exceeding the count value in the search result storage unit 16 and then input to the line unit 1 again, the destination search unit via the line interface unit 11 When the destination search is performed at 14, the search with the unregistered destination search CAM 13 matches the registered address, so the unregistered destination search CAM 13 sends the discard information to the destination search unit 14. Will be returned. The destination search unit 14 discards the IP packet according to the discard information from the unregistered destination search CAM 13.
[0031]
As described above, in this embodiment, the destination search unit 14 autonomously determines discard of a packet with an unknown destination by using the destination search CAM 12, the unregistered destination search CAM 13, and the search result storage unit 16. As a result, even when an unknown packet having a flow rate of a certain level or more is input within a unit time, it is not necessary to perform routing processing by software, so that a reduction in processing capability can be prevented.
[0032]
In this embodiment, the hardware autonomously determines whether to discard a packet whose destination is unknown, so that it is possible to cope with an attack much faster than the processing by software.
[0033]
Next, a routing processing apparatus according to another embodiment of the present invention will be described. Since the configuration of the routing processing apparatus according to another embodiment of the present invention is the same as the configuration of the routing processing apparatus according to the embodiment of the present invention shown in FIG. 1, the other embodiments of the present invention will be described with reference to FIG. An operation of the routing processing apparatus according to the example will be described.
[0034]
In the routing processing apparatus according to another embodiment of the present invention, all the IP addresses received by the line unit 1 are managed by the search result storage unit 16, and only IP packets for which a flow rate of a certain level or more is detected within a unit time are not yet obtained. It is registered in the registered destination search CAM 13.
[0035]
As a result, in the routing processing device according to another embodiment of the present invention, it is possible to prevent malfunction of the routing processing device or server belonging to the network against an attack such as intentionally flowing a large amount of packets.
[0036]
FIG. 2 is a block diagram showing the configuration of a routing processing apparatus according to another embodiment of the present invention. 2, the routing processing apparatus according to another embodiment of the present invention has the same configuration as the routing processing apparatus according to the embodiment of the present invention shown in FIG. 1 except that the unregistered destination search CAM 13 is excluded. The same components are denoted by the same reference numerals.
[0037]
In the routing processing apparatus according to another embodiment of the present invention, since the unregistered destination search CAM 13 is excluded, the unregistered destination address is registered in the destination search CAM 12, and the transfer information / discard is included in the search result for the destination search unit 14. An information identifier has been added.
[0038]
Accordingly, in the routing processing device according to another embodiment of the present invention, the destination search CAM 12 and the unregistered destination are used in order to determine whether the IP packet received by the destination search unit 14 should be transferred or discarded. Since it is possible to determine what has to be executed twice for the search CAM 13 by simply searching the destination search CAM 12, the time required for the search process can be halved.
[0039]
In the routing processing apparatus according to another embodiment of the present invention, since the unregistered destination address is registered in the destination search CAM 12, the unregistered destination search CAM 13 is not necessary, and the number of parts can be reduced.
[0040]
【The invention's effect】
As described above, the present invention is configured and operated as described above, so that it is possible to prevent a decrease in processing capability, and to cope with an attack much faster than processing by software. The effect of being able to be obtained.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a configuration of a routing processing apparatus according to an embodiment of the present invention.
FIG. 2 is a block diagram showing a configuration of a routing processing apparatus according to another embodiment of the present invention.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 1 Line part 2 Switch part 11 Line interface part 12 Address search CAM
13 CAM for unregistered destination search
14 Destination search unit 15 Switching interface unit 16 Search result storage unit 17 Registration control circuit 18-1 to 18-m Address management unit 181-1 Address storage unit 182-1 Counter 183-1 Timer

Claims (5)

宛先不明なパケットのルーティング処理及び特定パケットに対する応答処理をソフトウェアで行うルーティング処理装置であって、
前記宛先不明なパケットの廃棄判断を自律的に行うハードウェア部を有し、
前記ハードウェア部は、予め経路情報が登録されかつ前記パケットのアドレス情報に基づいた宛先検索結果に応じて前記経路情報を出力する宛先検索用メモリと、予め未登録宛先検索用のアドレス情報が登録されかつ前記パケットのアドレス情報に基づいた未登録宛先検索結果に応じて廃棄情報を出力する未登録宛先検索用メモリと、前記宛先検索用メモリ及び前記未登録宛先検索用メモリのいずれにも未登録となっている未登録アドレス情報を一時記憶する検索結果記憶手段とを含み、
前記検索結果記憶手段は、予め設定された単位時間内に一定以上の流量が検出されたパケットについてのみ、当該パケットのアドレス情報を前記未登録宛先検索用メモリに書込むことを特徴とするルーティング処理装置。
A routing processing device that performs a routing process for an unknown packet and a response process for a specific packet by software,
A hardware unit that autonomously performs discard determination of the packet with unknown destination,
The hardware unit includes destination search memory in which route information is registered in advance and the route information is output according to a destination search result based on the address information of the packet, and address information for unregistered destination search is registered in advance. Unregistered destination search memory for outputting discard information according to the unregistered destination search result based on the address information of the packet, and unregistered in both the destination search memory and the unregistered destination search memory Search result storage means for temporarily storing unregistered address information,
The search result storage means writes the address information of the packet to the unregistered destination search memory only for a packet in which a flow rate of a certain level or more is detected within a preset unit time. apparatus.
前記宛先検索用メモリ及び前記未登録宛先検索用メモリは、CAM(Content Addressable Memory)であることを特徴とする請求項1記載のルーティング処理装置。  The routing processing apparatus according to claim 1, wherein the destination search memory and the unregistered destination search memory are CAM (Content Addressable Memory). 前記未登録宛先検索用メモリは、前記パケットのアドレス情報が予め登録された未登録宛先検索用のアドレス情報と一致した時に当該パケットの廃棄情報を出力することを特徴とする請求項1または請求項2記載のルーティング処理装置。  2. The unregistered destination search memory outputs discard information of the packet when the address information of the packet matches preregistered address information for unregistered destination search. 3. The routing processing device according to 2. 前記宛先検索用メモリ及び前記未登録宛先検索用メモリは、一致するものがない時に宛先無し情報を出力することを特徴とする請求項1から請求項3のいずれか記載のルーティング処理装置。  4. The routing processing apparatus according to claim 1, wherein the destination search memory and the unregistered destination search memory output no-destination information when there is no match. 受信したパケットから宛先検索を行うためのアドレス情報の抽出と前記宛先検索用メモリからの転送情報及び前記未登録宛先検索用メモリからの廃棄情報にしたがってパケット処理を行う宛先検索手段を含むことを特徴とする請求項1から請求項4のいずれか記載のルーティング処理装置。  A destination search means for performing packet processing in accordance with extraction of address information for performing destination search from the received packet, transfer information from the destination search memory, and discard information from the unregistered destination search memory; The routing processing device according to any one of claims 1 to 4.
JP2003172714A 2003-06-18 2003-06-18 Routing processing device Expired - Fee Related JP4400103B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003172714A JP4400103B2 (en) 2003-06-18 2003-06-18 Routing processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003172714A JP4400103B2 (en) 2003-06-18 2003-06-18 Routing processing device

Publications (2)

Publication Number Publication Date
JP2005012382A JP2005012382A (en) 2005-01-13
JP4400103B2 true JP4400103B2 (en) 2010-01-20

Family

ID=34096748

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003172714A Expired - Fee Related JP4400103B2 (en) 2003-06-18 2003-06-18 Routing processing device

Country Status (1)

Country Link
JP (1) JP4400103B2 (en)

Also Published As

Publication number Publication date
JP2005012382A (en) 2005-01-13

Similar Documents

Publication Publication Date Title
US10075338B2 (en) Relay control unit, relay control system, relay control method, and relay control program
US9843535B2 (en) Low-cost flow matching in software defined networks without TCAMS
CN103248582B (en) For performing the stream buffer mechanism that packet stream is searched in a network device
RU2612599C1 (en) Control device, communication system, method for controlling switches and program
TWI635726B (en) Heavy network flow detection method and software-defined networking switch
WO2017000878A1 (en) Message processing
US9807009B2 (en) System and method for providing congestion notification in layer 3 networks
US10516615B2 (en) Network traffic congestion control
CN112491710B (en) A method and device for message forwarding based on Openflow
US11025523B2 (en) Path detection
US10798014B1 (en) Egress maximum transmission unit (MTU) enforcement
CN110191068A (en) Detect stale memory addresses of network device stream caches
US20070230469A1 (en) Transmission apparatus
JP4400103B2 (en) Routing processing device
JP4040045B2 (en) Data transfer device
CA2888136A1 (en) Communication node, communication system, control apparatus, packet forwarding method, and program
JP4758302B2 (en) Network node
US20160337232A1 (en) Flow-indexing for datapath packet processing
KR20040001218A (en) apparatus and method for controling packet using a MAC address
US20150180775A1 (en) Communication System, Control Apparatus, Communication Method, and Program
JP2008228069A (en) Auxiliary repeater
JP2017028521A (en) Frame processing apparatus and frame processing method
CN107409088A (en) A kind of data packet forwarding method and the network equipment
US12418440B2 (en) Method to build a service function chain in an overlay network
US11895005B1 (en) Network devices with hardware accelerated table updates

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060516

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20080411

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20081216

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090216

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090707

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090817

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: 20091006

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20091019

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121106

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121106

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20131106

Year of fee payment: 4

LAPS Cancellation because of no payment of annual fees