|国家预印本平台
首页|基于OpenWRT控制无线AP网络流量的方法

基于OpenWRT控制无线AP网络流量的方法

Method of controlling the traffic of wireless AP network based on OpenWRT

中文摘要英文摘要

随移动终端业务的飞速发展,网络已进入社会生活的各个方面。随之而来的各种问题也逐渐引起人们的重视,网络安全威胁,网络中的异常流量都给网络的正常运行带来了很大的影响。因此,研究开发监测网络流量中的异常情况已成为计算机网络安全研究领域的一项重大课题。网络通信中,以太网接入设备是接入网络的关键设备。为防止网络流量过大而造成网络拥塞的状况,本文设计了基于Netfilter框架的路由器内核空间的流量捕获、流量统计模块。借助于OpenWRT平台交叉编译,动态加载内核模块,运行于路由器DLink DIR-615D的内核空间上,实时进行流量统计。本文设计网络接入设备的流量统计系统,能够有效的满足网络管理人员对网络流量指标的监测需求,降低监控系统与终端设备的耦合性。同时,内核态流量统计模块,能够有效的避免传统用户空间网络监测系统从内核空间到用户空间的内存拷贝操作,减少了对系统资源的浪费,提供了系统的整体性能。

With the rapid development of Internet technology, computer network has been in all aspects of life, and the attendant problems have gradually aroused people's attention.Network security threats, the abnormal flow in the network, etc., have brought a negative impact on the normal use of the network.Nowadays, with the increasing of access equipment and business diversity, the AP FAT network architecture is gradually turning to the AC +AP FIT network architecture.This is not only can provide more free system resources for AP to achieve more traffic statistics, while as the data packet forwarding device, the AP can achieve a more comprehensive statistics。In the network communication, AP is the key device of the wireless terminal access network. With the aid of OpenWRT platform, the paper designs the traffic capture and traffic statistics module based on the Netfilter framework.Through the cross compiling and dynamic loading, the module runs in the kernel space of DIR-615D DLink. In this paper, the design of the network access device traffic statistics system, which can effectively meet the network management personnel of the network traffic monitoring needs, can reduce the monitoring system and the coupling of terminal equipment.The core state traffic statistics module, which can effectively avoid the traditional user space network monitoring system from the kernel space to user space memory copy operation, reduce the waste of system resources, provides the overall performance of the system.

梁满贵、徐凯

无线通信通信电子技术应用

流量统计内核空间OpenWRTNetfilter

raffic statisticskernel spaceOpenWRTNetfilter

梁满贵,徐凯.基于OpenWRT控制无线AP网络流量的方法[EB/OL].(2016-01-06)[2025-08-16].http://www.paper.edu.cn/releasepaper/content/201601-124.点此复制

评论