A POX Controller Module to Collect Web Traffic Statistics in SDN Environment
Software Defined Networking (SDN) is a new norm of networks. It is designed to facilitate the way of managing, measuring, debugging and controlling the network dynamically, and to make it suitable for the modern applications. Generally, measurement methods can be divided into two categories: Active and passive methods. Active measurement method is employed to inject test packets into the network in order to monitor their behaviour (ping tool as an example). Meanwhile the passive measurement method is used to monitor the traffic for the purpose of deriving measurement values. The measurement methods, both active and passive, are useful for the collection of traffic statistics, and monitoring of the network traffic. Although there has been a work focusing on measuring traffic statistics in SDN environment, it was only meant for measuring packets and bytes rates for non-web traffic. In this study, a feasible method will be designed to measure the number of packets and bytes in a certain time, and facilitate obtaining statistics for both web traffic and non-web traffic. Web traffic refers to HTTP requests that use application layer; while non-web traffic refers to ICMP and TCP requests. Thus, this work is going to be more comprehensive than previous works. With a developed module on POX OpenFlow controller, information will be collected from each active flow in the OpenFlow switch, and presented on Command Line Interface (CLI) and wireshark interface. Obviously, statistics that will be displayed on CLI and on wireshark interfaces include type of protocol, number of bytes and number of packets, among others. Besides, this module will show the number of flows added to the switch whenever traffic is generated from and to hosts in the same statistics list. In order to carry out this work effectively, our Python module will send a statistics request message to the switch requesting its current ports and flows statistics in every five seconds; while the switch will reply with the required information in a message called statistics reply message. Thus, POX controller will be notified and updated with any changes could happen in the entire network in a very short time. Therefore, our aim of this study is to prepare a list for the important statistics elements that are collected from the whole network, to be used for any further researches; particularly, those that are dealing with the detection of the network attacks that cause a sudden rise in the number of packets and bytes like Distributed Denial of Service (DDoS).
Digital Object Identifier (DOI): doi.org/10.5281/zenodo.1339684Procedia APA BibTeX Chicago EndNote Harvard JSON MLA RIS XML ISO 690 PDF Downloads 2121
 Open Networking Foundation “Software Defined Networks: The new Norm of Networks” White paper 2012 Available at: https://www.opennetworking.org/images/stories/downloads/sdn-resources/white-papers/wp-sdn-newnorm.pdf
 POX controller. Available: http://www.noxrepo.org/pox/about-pox/
 Pfaff, B. (2011). OpenFlow Switch Specification Version 1.1. 0 Implemented (Wire Protocol 0x02). URL: http://www. openflow. org/documents/openflow-spec-v1, 1.
 Hsu, C. Y., Tsai, P. W., Chou, H. Y., Luo, M. Y., & Yang, C. S. (2014). A Flow-based Method to Measure Traffic Statistics in Software Defined Network. Proceedings of the Asia-Pacific Advanced Network, 38, 19-22.
 Yu, C., Lumezanu, C., Zhang, Y., Singh, V., Jiang, G., & Madhyastha, H. V. (2013, March). Flowsense: Monitoring network utilization with zero measurement cost. In International Conference on Passive and Active Network Measurement (pp. 31-41). Springer Berlin Heidelberg.
 Yassine, A., Rahimi, H., & Shirmohammadi, S. (2015). Software defined network traffic measurement: Current trends and challenges. IEEE Instrumentation & Measurement Magazine, 18(2), 42-50.
 Mohan, V., Reddy, Y. J., & Kalpana, K. (2011). Active and passive network measurements: a survey. International Journal of Computer Science and Information Technologies, 2(4), 1372-1385. J.
 Hu, F. (Ed.). (2014). Network Innovation through OpenFlow and SDN: Principles and Design. CRC Press.
 Mininet. Available: http://mininet.org/