• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

J4 ›› 2013, Vol. 35 ›› Issue (5): 51-55.

• 论文 • 上一篇    下一篇

IPv6下基于Huffman编码的路径回溯算法研究

胡清钟,张斌   

  1. (桂林电子科技大学网络中心,广西 桂林 541004)
  • 收稿日期:2012-03-01 修回日期:2012-09-06 出版日期:2013-05-25 发布日期:2013-05-25
  • 基金资助:

    广西教育厅科研资助项目(201010LX161);桂教科研资助项目([2010]10号)

Research of IPv6 path reconstruction
algorithm based on Huffman code 

HU Qingzhong,ZHANG  Bin   

  1. (Network Center,Guilin University of Electronic Technology,Guilin 541004,China)
  • Received:2012-03-01 Revised:2012-09-06 Online:2013-05-25 Published:2013-05-25

摘要:

包标记算法是一种常用的IP回溯算法,该算法把路径信息标记到IP报头的标记区域中,可以根据标记包中的标记信息重构出攻击路径,从而追踪到攻击的源头。由于标记空间大小的限制,标记信息有限,往往需要多个标记包才能重构出一条攻击路径,路径重构算法的复杂度较高,效率和准确率较低。为了解决这一问题,提出一种基于Huffman编码的路径回溯算法,将与上一跳路由器相关的链路信息以Huffman编码方式标记到标记区域,且不需将标记信息转存在中间节点。该算法适用于IPv6网络,仅需一个标记包就能准确地重构出攻击路径。实验结果表明,本文提出的算法在重构路径时速度快、效率和准确率高。

关键词: DDoS, IPv6, 包标记, Huffman

Abstract:

Packet marking is a commonly used IP traceback algorithm, which marks the path information into the IP header and is able to reconstruct the attack path according to the marked information so as to find the attack source. The marked information is not much due to the limited mark area, so several marked packets are required to reconstruct an attack path, resulting in high complexity, low efficiency and poor accuracy of path reconstruction algorithms. To address this problem, a path reconstruction algorithm based on Huffman code was proposed, which marks the link information into the mark area and does not need to store the marked information into intermediate nodes. The proposed algorithm is applicable to IPv6 networks and only requires a single marked packet to reconstruct the entire attack path. The experiment shows that the proposed algorithm is fast and has high efficiency and accuracy.

Key words: DDoS;IPv6;packet marking;Huffman