首页 | 本学科首页   官方微博 | 高级检索  
     

基于JIT技术的BPF过滤器
引用本文:叶俊,文旭.基于JIT技术的BPF过滤器[J].电子测量技术,2012,35(5):136-138.
作者姓名:叶俊  文旭
作者单位:龙泉市政府电子政务网建设办公室 龙泉323700
摘    要:网络数据包过滤作为网路系统的一项重要功能,过滤器的性能很大部分影响着网络系统的性能,因而急需一个高性能的数据包过滤器。BPF(berkeley packet filter)位于linux的内核中,它独立于TCP/IP协议栈,为应用程序访问数据链路层提供了一个原始接口。但是由于执行方式的效率低下,不能被广泛应用。利用JIT技术改进BPF的执行方式,提高BPF过滤效率,对基于实时编译技术的BPF过滤器进行了性能测试。测试结果表明该模块能在实现动态配置功能的基础上同时保证模块运行的高性能。

关 键 词:伯克利封包过滤  实时编译  Tcpdump  数据包过滤

BPF filter based on JIT
Ye Jun , Wen Xu.BPF filter based on JIT[J].Electronic Measurement Technology,2012,35(5):136-138.
Authors:Ye Jun  Wen Xu
Affiliation:Ye Jun Wen Xu(Longquan government office,Longquan 323700)
Abstract:As an important feature of the network system,network packet filter's performance has an impact on network performance,so a high-performance packet filter is essential.Berkeley packet filter lies in the kernel of Linux,and it is independent of the TCP/IP stack,and it provides a raw interface to access data link layer for application program.Because of the ineffective execution,it can't be widely used.JIT technology is used to improve the execution way and efficiency of BPF.Some tests are done to test the performance of BPF filter based on real-time compiler technology,and results show that the module can realize the dynamic configuration features and ensure high performance of the module running.
Keywords:BPF  real-time compiler  Tcpdump  packet filter
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号