RPF检测

上一篇 / 下一篇  2008-04-29 14:19:07

RPF检测
~&Z?dwO6|0
"HjH-XP+O0
RPF Check: In order to forward a multicast datagram, aunicastpacketback to the source
8g0x2n\;`d}9I;e.{Z0==>If the RPF check succeeds, the router forwards the packetITPUB个人空间8L[m*[F+WR"]
==>If the RPF check fails, the packet silently discarded
ITPUB个人空间.[4ZYC"p d? [@O#w
ITPUB个人空间-A QA&wo5Pmm/Ms
Reverse Path ForwardingITPUB个人空间+L7Y3u[6jU@A
ITPUB个人空间 ?sH8W+R^:z
IP multicasting uses reverse path forwarding (RPF) to verify that a router receives a multicast packet on the correct incoming interface. The RPF algorithm allows a router to accept a multicast datagram only on the interface from which the router would send a unicast datagram to the source of the multicast datagram.ITPUB个人空间W\(n*Fmf {je

R}%K r4fa6D0Figure 4-1 illustrates reverse path forwarding in a network where all routers run dense-mode multicasting protocols. Routers that receive a multicast datagram associated with a group for which they have no hosts return prune messages upstream toward the source of the datagram. Upstream routers do not forward subsequent multicast datagrams to routers from which they receive prune messages. This technique creates a source-rooted tree (SRT), also known as a shortest-path tree (SPT), — a structure that connects the source of a datagram to subnetworks of a multicast group through the shortest path. For more information on dense-mode protocols, see PIM DM, later in this chapter.
?!J]_(N l*sz/K0ITPUB个人空间(n3Y#zSG;}JQ
When all routers in a network are running sparse-mode multicast protocols, the routers forward a multicast datagram only to other routers with downstream members of the groups associated with the datagram. Routers running sparse-mode protocols forward multicast traffic only when explicitly requested to do so, whereas routers running dense-mode protocols forward multicast traffic except when explicitly requested not to do so. For more information on sparse-mode protocols, see PIM SM, later in this chapter.
{:qk.Sp1f0f+J/d H0ITPUB个人空间+IfKo-Bh8H k{
RPF may take place through static routes, dynamic routes, or local subnets. You can define static routes for this purpose and view information associated with RPF routes.
G3~+_|Z[0
5M0iUf0y([`0Figure 4-1 Reverse path forwarding in a dense-mode environment

dju!C[n@k j0ITPUB个人空间hMGQ;H!_W[
ITPUB个人空间U(`I$Q0~Q iY9r[

O8nR7XX0

  RPF检查其实不单单应用在组播里面,很多时候在安全里面也常用它避免smurf的攻击,比如如果一个路由器从一个接口收到一个报文的时候,根据源地址检查路由表,如果源地址在路由表中的接口和进来的相同,那么正常转发,否则丢弃,从而可以有效的避免smurf攻击。


TAG:

 

评分:0

我来说两句

显示全部

:loveliness: :handshake :victory: :funk: :time: :kiss: :call: :hug: :lol :'( :Q :L ;P :$ :P :o :@ :D :( :)

我的栏目

日历

« 2008-11-22  
      1
2345678
9101112131415
16171819202122
23242526272829
30      

数据统计

  • 访问量: 36513
  • 日志数: 2725
  • 图片数: 1
  • 建立时间: 2008-03-20
  • 更新时间: 2008-09-02

RSS订阅

Open Toolbar