中国电子商情:通信市场
中國電子商情:通信市場
중국전자상정:통신시장
2011年
4期
85-92
,共8页
江峰%王勇军%王晓东%解培岱
江峰%王勇軍%王曉東%解培岱
강봉%왕용군%왕효동%해배대
Linux防火墙%高性能%规则匹配%IPv6%Netfilter/Ip6tables
Linux防火牆%高性能%規則匹配%IPv6%Netfilter/Ip6tables
Linux방화장%고성능%규칙필배%IPv6%Netfilter/Ip6tables
Linux firewall%High performance%Rule matching%IPv6%Netfilter/Ip6tables
IPv6防火墙作为下一代网络安全的关键技术,其性能越来越受到人们的重视。当前Linux内核中的防火墙模块Netfilter/Ip6tables基于顺序查找算法实现规则匹配,当规则数增加时,其性能急剧下降。本文分析了基于HiPAC算法的IPv4高性能防火墙规则匹配技术,针对大规则集下该算法分段太多而导致子节点数迅速增加问题,提出了一种基于位选取法的IPv6防火墙规则匹配算法。该算法具有O(log2n)的时间复杂度和O(n)的空间复杂度,性能相对于Ip6tables实现算法有了极大的改善。
IPv6防火牆作為下一代網絡安全的關鍵技術,其性能越來越受到人們的重視。噹前Linux內覈中的防火牆模塊Netfilter/Ip6tables基于順序查找算法實現規則匹配,噹規則數增加時,其性能急劇下降。本文分析瞭基于HiPAC算法的IPv4高性能防火牆規則匹配技術,針對大規則集下該算法分段太多而導緻子節點數迅速增加問題,提齣瞭一種基于位選取法的IPv6防火牆規則匹配算法。該算法具有O(log2n)的時間複雜度和O(n)的空間複雜度,性能相對于Ip6tables實現算法有瞭極大的改善。
IPv6방화장작위하일대망락안전적관건기술,기성능월래월수도인문적중시。당전Linux내핵중적방화장모괴Netfilter/Ip6tables기우순서사조산법실현규칙필배,당규칙수증가시,기성능급극하강。본문분석료기우HiPAC산법적IPv4고성능방화장규칙필배기술,침대대규칙집하해산법분단태다이도치자절점수신속증가문제,제출료일충기우위선취법적IPv6방화장규칙필배산법。해산법구유O(log2n)적시간복잡도화O(n)적공간복잡도,성능상대우Ip6tables실현산법유료겁대적개선。
As is known to all, IPv6 firewall is one of the most important technologies for the next generation network security. People had paid much more attention to its performance. As part of Linux kernel, Netfilter/Ip6tables implement rule matching using linear search algorithm, its performance will dramatically decrease with the increasing of rules. To get started, this paper detailed in a high performance firewall based on HiPAC algorithm, and then, considering that the number of subnodes will dramatically increase due to large number of rules, we put forward a high performance IPv6 firewall based on Bit Selection. The time complexity of this algorithm is O(log2n), and space complexity is O(n), which has a good improvement over Ip6tables.