簡易檢索 / 詳目顯示

研究生: 關博偉
GUAN BOWEI
論文名稱: FlowSpy: 在軟體定義網路中使用P4的負載均衡網路監控框架
FlowSpy: A Load Balancing Network Monitoring Framework using P4 in Software-Defined Networks
指導教授: 沈上翔
Shan-Hsiang Shen
口試委員: 沈上翔
Shan-Hsiang Shen
邱舉明
Ge-Ming Chiu
黃琴雅
Chin-Ya Huang
學位類別: 碩士
Master
系所名稱: 電資學院 - 資訊工程系
Department of Computer Science and Information Engineering
論文出版年: 2019
畢業學年度: 107
語文別: 英文
論文頁數: 46
中文關鍵詞: 軟體定義網路P4網路監控
外文關鍵詞: SDN, P4, Network Monitoring
相關次數: 點閱:242下載:0
分享至:
查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報
  • 近些年,隨著網路技術地不斷進步、行動網路及物聯網技術的發展,網路直播、影音串流等應用使得網路流量與日俱增,為了保障網路通訊的可靠及安全性,我們需要通過有效的網路監控,為網路故障的定位以及惡意流量的偵測提供資料。軟體定義網路(Software Defined Networks, SDN)為網路監控提供了一個彈性的平台,其依靠集中控制器與交換機連線來獲得全局流量視野。然而,在軟體定義網路中可用來做網路監控的資源是有限的,如交換機的效能,在網路監控任務日益增多的情況下,會影響數據平面流量傳輸的效能。為解決這一問題,本論文提出了一個讓網路監控任務能均衡地分配給各節點(交換機)的網路監控框架FlowSpy,並使用P4(Programming Protocol-Independent Packet Processors)語言更加靈活地定義數據平面封包處理管道,能相對減少數據平面與控制平面的頻繁互動對網路品質的影響,相比基於OpenFlow的軟體定義網路架構為監控提供了更多的彈性,讓每台交換機充分發揮其監控能力,相較傳統監控方法能完成更多的監控任務並且没有節點超過其負荷。


    With the rapid development of network technology and growing services running, there is more network traffic on the Internet. To ensure the reliability and security of network, we need to do more effective network monitoring tasks that can help us gain more information for network troubleshooting and malicious traffic detection. Software-Defined Networks (or SDN, for short) provides a flexible platform for the network monitoring and relies on a central controller and switches interact with each other to gain a global view of traffic. However, the capacity of network monitoring are limited in SDN, such as switch performance. Thus, too many monitoring tasks will affect data plane traffic performance. To address this issue, we proposed FlowSpy which is a load balancing network monitoring framework using P4 (Programming Protocol-Independent Packet Processors) programming language in SDN. P4 program can specify how a switch processes packets, that can reduce the overhead of the interaction between data plane and control plane in SDN, and provides more flexibility for monitoring than OpenFlow-based SDN. As compared to existing network monitoring methods, FlowSpy can take more monitoring capacity at each switch for complete more monitoring tasks without any overloaded nodes.

    中文摘要 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . iii Abstract . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . iv Acknowledgment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . v Table of contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vi List of Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . viii List of Figures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ix 1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 2 Related Work . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 2.1 Software-Defined Networks: SDN . . . . . . . . . . . . . . . . . . . . . 4 2.2 Programming Protocol-Independent Packet Processors: P4 . . . . . . . . 5 2.3 Network Monitoring in SDN . . . . . . . . . . . . . . . . . . . . . . . . 6 3 System Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 3.1 Application Plane . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 3.2 Control Plane . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 3.3 Data Plane . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 4 Core Functions of FlowSpy . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 4.1 Problem Formulation . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 4.2 FlowSpy.p4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 5 Performance Evaluation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 5.1 Implementation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 5.2 Experiment Scenarios . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 5.3 Experiment Metrics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 5.4 Emulation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 5.4.1 Emulation Experiment Setup . . . . . . . . . . . . . . . . . . . . 19 5.4.2 Emulation Results . . . . . . . . . . . . . . . . . . . . . . . . . 20 5.5 Simulation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 5.5.1 Simulation Experiment Setup . . . . . . . . . . . . . . . . . . . 27 5.5.2 Simulation Results . . . . . . . . . . . . . . . . . . . . . . . . . 28 6 Conclusions and Future Work . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34

    [1] Cisco, “Cisco Visual Networking Index: Forecast and Methodology, 20162021.” https:
    //www.cisco.com/c/en/us/solutions/collateral/service-provider/
    visual-networking-index-vni/complete-white-paper-c11-481360.html,
    2017. [Online].
    [2] Akamai, “Q4 2017 State of the Internet / Security Report.” https://www.akamai.com/
    stateoftheinternet-security, 2017. [Online].
    [3] P.W. Tsai, C.W. Tsai, C.W. Hsu, and C. S. Yang, “Network monitoring in software-defined networking:
    A review,” IEEE Systems Journal, pp. 1–12, 2018.
    [4] D. Kreutz, F. M. V. Ramos, P. E. Verssimo, C. E. Rothenberg, S. Azodolmolky, and S. Uhlig,
    “Software-defined networking: A comprehensive survey,” Proceedings of the IEEE, vol. 103, pp. 14–
    76, Jan 2015.
    [5] Y. Li, R. Miao, C. Kim, and M. Yu, “Flowradar: A better netflow for data centers,” in 13th
    USENIX Symposium on Networked Systems Design and Implementation (NSDI 16), (Santa Clara,
    CA), pp. 311–324, USENIX Association, 2016.
    [6] A. R. Curtis, J. C. Mogul, J. Tourrilhes, P. Yalagandula, P. Sharma, and S. Banerjee, “Devoflow:
    Scaling flow management for high-performance networks,” in Proceedings of the ACM SIGCOMM
    2011 Conference, SIGCOMM ’11, (New York, NY, USA), pp. 254–265, ACM, 2011.
    [7] N. McKeown, T. Anderson, H. Balakrishnan, G. Parulkar, L. Peterson, J. Rexford, S. Shenker, and
    J. Turner, “Openflow: Enabling innovation in campus networks,” SIGCOMM Comput. Commun. Rev.,
    vol. 38, pp. 69–74, Mar. 2008.
    [8] sFlow.org, “sFlow.” https://sflow.org/, 2018. [Online].
    [9] Cisco, “NetFlow.” https://www.cisco.com/c/en/us/products/
    ios-nx-os-software/ios-netflow/index.html, 2018. [Online].
    [10] T. Benson, A. Anand, A. Akella, and M. Zhang, “Microte: Fine grained traffic engineering for data
    centers,” in Proceedings of the Seventh COnference on Emerging Networking EXperiments and Technologies,
    CoNEXT ’11, (New York, NY, USA), pp. 8:1–8:12, ACM, 2011.
    [11] A. R. Curtis, W. Kim, and P. Yalagandula, “Mahout: Low-overhead datacenter traffic management
    using end-host-based elephant detection,” in 2011 Proceedings IEEE INFOCOM, pp. 1629–1637,
    April 2011.
    [12] P. Sun, M. Yu, M. J. Freedman, J. Rexford, and D. Walker, “Hone: Joint host-network traffic management
    in software-defined networks,” J. Netw. Syst. Manage., vol. 23, pp. 374–399, Apr. 2015
    [13] V. Mann, A. Vishnoi, and S. Bidkar, “Living on the edge: Monitoring network flows at the edge in
    cloud data centers,” in 2013 Fifth International Conference on Communication Systems and Networks
    (COMSNETS), pp. 1–9, Jan 2013.
    [14] S. R. Chowdhury, M. F. Bari, R. Ahmed, and R. Boutaba, “Payless: A low cost network monitoring
    framework for software defined networks,” in 2014 IEEE Network Operations and Management
    Symposium (NOMS), pp. 1–9, May 2014.
    [15] C. Kim, A. Sivaraman, N. Katta, A. Bas, A. Dixit, L. J. Wobker, and B. Networks, “In-band Network
    Telemetry via Programmable Dataplanes,” ACM SIGCOMM, 2015.
    [16] Z. Yang and K. L. Yeung, “An efficient flow monitoring scheme for sdn networks,” in 2017 IEEE 30th
    Canadian Conference on Electrical and Computer Engineering (CCECE), pp. 1–4, April 2017.
    [17] P. Bosshart, D. Daly, G. Gibb, M. Izzard, N. McKeown, J. Rexford, C. Schlesinger, D. Talayco,
    A. Vahdat, G. Varghese, and D. Walker, “P4: Programming protocol-independent packet processors,”
    SIGCOMM Comput. Commun. Rev., vol. 44, pp. 87–95, July 2014.
    [18] K. Greene, “10 Breakthrough Technologies: Software-defined Networking.” http://www2.
    technologyreview.com/news/412194/tr10-software-defined-networking/,
    2009. [Online].
    [19] The P4 Language Consortium, “P416 language specification.” https://p4.org/p4-spec/
    docs/P4-16-v1.0.0-spec.html, 2017. [Online].
    [20] N. McKeown and J. Rexford, “Clarifying the differences between P4 and OpenFlow.” https://p4.
    org/p4/clarifying-the-differences-between-p4-and-openflow.html, 2016.
    [Online].
    [21] The P4 Language Consortium, “P4 language consortium homepage.” https://p4.org, 2018.
    [Online].
    [22] Open Networking Foundation, “Stratum.” https://stratumproject.org/, 2018. [Online].
    [23] Gurobi Optimization, LLC, “Gurobi Optimizer Reference Manual.” http://www.gurobi.com,
    2018. [Online].
    [24] S. Orlowski, M. Pi´oro, A. Tomaszewski, and R. Wess¨aly, “SNDlib 1.0–Survivable Network Design
    Library,” in Proceedings of the 3rd International Network Optimization Conference (INOC 2007),
    Spa, Belgium, April 2007. http://sndlib.zib.de, extended version accepted in Networks, 2009.
    [25] The P4 Language Consortium, “Behavioral Model version 2.” https://github.com/p4lang/
    behavioral-model, 2018. [Online].
    [26] Mininet Team, “Mininet.” http://mininet.org/, 2018. [Online].
    [27] Apache Software Foundation, “Apache Thrift.” https://thrift.apache.org/, 2018. [Online].
    [28] The P4 Language Consortium, “East Coast P4 Developer Day, Spring 2018.” https://p4.org/
    events/2018-03-09-p4-developer-day/, 2018. [Online].
    [29] Oracle, “VirtualBox.” https://www.virtualbox.org/wiki/VirtualBox, 2018. [Online].
    [30] Open Networking Foundation, “ONOS.” https://onosproject.org/, 2018. [Online].

    QR CODE