《计算机应用》唯一官方网站 ›› 2022, Vol. 42 ›› Issue (2): 528-533.DOI: 10.11772/j.issn.1001-9081.2021020362

• 网络空间安全 • 上一篇    

基于OpenFlow的软件定义网络流规则冲突检测系统

张立群, 林海涛(), 郇文明, 毕文婷   

  1. 海军工程大学 电子工程学院,武汉 430033
  • 收稿日期:2021-03-10 修回日期:2021-05-26 接受日期:2021-06-02 发布日期:2021-07-27 出版日期:2022-02-10
  • 通讯作者: 林海涛
  • 作者简介:张立群(1996—),男,山东青州人,硕士研究生,主要研究方向:软件定义网络、网络安全;
    林海涛(1974—),男,山东潍坊人,副教授,博士,主要研究方向:信息网络管理与规划;
    郇文明(1995—),男,山东临沂人,硕士研究生,主要研究方向:数据挖掘、网络安全;
    毕文婷(1998—),女,湖北荆州人,硕士研究生,主要研究方向:网络信息安全、攻防博弈对抗。

Software defined network flow rule conflict detection system based on OpenFlow

Liqun ZHANG, Haitao LIN(), Wenming HUAN, Wenting BI   

  1. College of Electronic Engineering,Naval University of Engineering,Wuhan Hubei 430033,China
  • Received:2021-03-10 Revised:2021-05-26 Accepted:2021-06-02 Online:2021-07-27 Published:2022-02-10
  • Contact: Haitao LIN
  • About author:ZHANG Liqun, born in 1996, M. S. candidate. His research interests include software defined network, cyber security.
    LIN Haitao, born in 1974, Ph. D., associate professor. His research interests include information network management and planning.
    HUAN Wenming, born in 1995, M. S. candidate. His research interests include data mining, cyber security.
    BI Wenting, born in 1998, M. S. candidate. Her research interests include network information security, game of attack and defense.

摘要:

在软件定义网络(SDN)中,各类网络应用的独立开发以及多用户的网络管理可能导致下发至交换设备的流规则发生冲突,而控制平面与转发平面的分离使得交换设备缺乏策略分析能力,无法独立检测内部的流规则冲突。针对这一问题,提出一种流规则冲突检测系统和检测算法。首先,通过监听、捕获控制平面与转发平面之间的OpenFlow报文,获取即将下发的流规则的信息。然后,使用冲突检测算法判定流规则的冲突类型。该算法根据流规则的匹配协议选择对应的规则集合,从而缩小了检测规模;而且在检测时优先对无冲突(NC)规则的特征进行检测,使得对NC规则的检测效率要高于其他类型的冲突规则。最后,根据冲突类型对流规则进行冲突消解。实验结果表明,所提冲突检测算法的检测准确率可以达到100%,与动态冲突检测模型相比该算法在同等规模的规则集合下的检测时间缩短约47%。且检测时间随NC规则占比的提高而缩短。

关键词: 软件定义网络, OpenFlow, 流规则冲突检测, 冲突消解

Abstract:

In Software Defined Network (SDN), independent development of various network applications and multi-user network management may cause conflicts in the flow rules issued to switching equipment. Due to the separation of the control plane and the forwarding plane, the switching equipments lack strategy analysis capability, and cannot independently detect internal flow rule conflicts. Aiming at this problem, a flow rule conflict detection system and a detection algorithm were proposed. Firstly, by monitoring and capturing OpenFlow messages between the control plane and the forwarding plane, the information about the flow rules to be issued was obtained. Then, the conflict detection algorithm was used to determine the conflict type of the flow rules. The corresponding rule set was selected by the algorithm according to the matching protocol of flow rules, thereby reducing the detection scale. In the detection, the features of Non-Conflict (NC) rules were detected at first, so that the detection efficiency of NC rules was higher than those of other types of conflict rules. Finally, the flow rule conflicts were resolved according to the conflict types. Experimental results show that the detection accuracy of the proposed algorithm can reach 100%; compared with the dynamic conflict detection model, the proposed algorithm shortens the detection time by about 47% under the same scale of rule set. And the detection time is shortened as the proportion of NC rules increases.

Key words: Software?Defined?Network (SDN), OpenFlow, flow rule conflict detection, conflict resolution

中图分类号: