期刊文献+

POF表项指令和动作的合法性检测

Validity Check of Instructions and Actions of POF Entries
下载PDF
导出
摘要 POF协议是SDN的一种南向接口协议,相较于经典的OpenFlow协议具有协议无关、灵活性强的特点。在关于POF协议的最近研究中,学者们为POF增加了比较和跳转等动作和指令,使得每个表项可以实现的功能更为强大。但指令数量和功能的增加也为软件交换机对于表项指令和动作的解释执行过程带来了更大的不稳定性。本文旨在通过对表项的静态检查提前发现使得软件交换机崩溃的情形,从而提高系统的鲁棒性。首先分析POF表项动作和指令的特点,并设计检测方案的架构;接着提出基于控制流图的检测算法,用于发现表项中的指令错误、不可达指令和循环块;进一步地,针对出现的循环块,提出一种基于强连通分量的检测算法,用于判断循环块的合法性。在POF交换机上的实验表明,本文所述方案可以准确检测出常见的表项错误,为软件交换机的可靠性提供保证。同时,不同于通常的检测程序,本文的检测方案在设计时着重考虑检测效率,整体检测方案具有线性复杂度,可以实现对流表表项的实时检测。 The POF protocol is a southbound interface protocol of SDN.Compared with the classic OpenFlow protocol,POF is protocol-independent and flexible.In recent research on the POF protocol,scholars have added actions and instructions such as comparison and jump to the POF,making each table entry more powerful.However,the increase in the number of instructions and functions has also brought greater instability to the interpretation and execution of entry instructions and actions by software switches.The purpose of this article is to improve the robustness of the system by statically checking for situations that cause software switches to crash in advance.We first analyze the characteristics of the POF matching action table and design a specific detection scheme.Then a control flow graph-based detection algorithm is proposed to find instruction errors,unreachable instructions,and loop blocks in the entries.Further,for a cyclic block,a detection algorithm based on a strongly connected component is proposed to determine the validity of the cyclic block.Experiments on POF switches show that the scheme described in this article can accurately detect common entry errors and provide reliability for software switches.At the same time,the detection is light and fast,so that it can detect flow table entries in real time.
作者 封栋 陈晓 FENG Dong;CHEN Xiao(National Network New Media Engineering Research Center,Institute of Acoustics,Institute of Acoustics,Chinese Academy of Sciences,Beijing 100190,China;University of Chinese Academy of Sciences,Beijing 100049,China)
出处 《计算机与现代化》 2020年第10期23-30,共8页 Computer and Modernization
基金 中国科学院战略性科技先导专项课题(XDC02070100)。
关键词 静态检测 POF协议 流表表项 控制流图 强连通分量 static detection POF protocol flow table entry control flow graph strongly connected component
  • 相关文献

参考文献14

二级参考文献280

  • 1夏一民,罗军,张民选.基于静态分析的安全漏洞检测技术研究[J].计算机科学,2006,33(10):279-282. 被引量:29
  • 2Amyeen M E, Fuchs W K, et al. Fault equivalence identification using redundancy information and static and dynamic extraction ///Proceedings of the 19^th IEEE VLSI Test Symposium. March 2001
  • 3Lowry E, Medlock C. Object code optimization. Communications of the ACM,Jan. 1969 :13-22
  • 4Allen F E. Control flow analysis. SIGPLAN Notices, 1970, 5 (7):1-19
  • 5Hecht M S,Ullman J D. A simple algorithm for global data flow analysis problem. SIAM J. Comput. , 1975,4(4) : 519-532
  • 6Tarjan R E. Testing flow graph reducibility. J. Comput. Syst. Sci. , 1974,9: 355-365
  • 7Sinha S, Harrold M J,et al. Interprocedural control dependence. ACMSIGSOFT,2001,10(2):209 - 254
  • 8Aho A V, Sethi R, et al. Compilers: Principles, Techniques, and Tools. Addison-Wesley, 1986
  • 9Holloway G , Smith M D. The Machine - SUIF Control Flow Graph Library. http://www. eecs. harvard. edu/hube/software/ nci/cfg. pdf, 2002
  • 10Paul J, Purdom W, Moore E F. Immediate predominators in a directed graph. Communications of the ACM, 1972, 15 (8): 777- 778

共引文献844

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部