【24h】

FFPF: Fairly Fast Packet Filters

机译:FFPF:相当快的数据包筛选器

获取原文
获取原文并翻译 | 示例

摘要

FFPF is a network monitoring framework designed for three things: speed (handling high link rates), scalability (ability to handle multiple applications) and flexibility. Multiple applications that need to access overlapping sets of packets may share their packet buffers, thus avoiding a packet copy to each individual application that needs it. In addition, context switching and copies across the kernel boundary are minimised by handling most processing in the kernel or on the network card and by memory mapping all buffers to userspace, respectively. For these reasons, FFPF has superior performance compared to existing approaches such as BSD packet filters, and especially shines when multiple monitoring applications execute simultaneously. Flexibility is achieved by allowing expressions written in different languages to be connected to form complex processing graphs (not unlike UNIX processes can be connected to create complex behaviour using pipes). Moreover, FFPF explicitly supports extensibility by allowing new functionality to be loaded at runtime. By also implementing the popu-lar pcap packet capture library on FFPF, we have ensured backward compatibility with many existing tools, while at the same time giving the applications a signficant performance boost.
机译:FFPF是一种网络监视框架,专为三件事而设计:速度(处理高链接速率),可伸缩性(处理多个应用程序的能力)和灵活性。需要访问重叠的数据包集合的多个应用程序可以共享其数据包缓冲区,从而避免将数据包复制到需要它的每个单独的应用程序。此外,通过处理内核或网卡上的大多数处理,以及通过将所有缓冲区分别映射到用户空间的内存,可以最大程度地减少跨内核边界的上下文切换和复制。由于这些原因,与现有的方法(例如BSD数据包过滤器)相比,FFPF具有卓越的性能,并且在同时执行多个监视应用程序时尤为突出。通过允许使用不同语言编写的表达式进行连接以形成复杂的处理图,可以实现灵活性(与UNIX进程可以使用管道连接以创建复杂的行为一样)。此外,FFPF通过允许在运行时加载新功能来显式支持可扩展性。通过在FFPF上实现流行的pcap数据包捕获库,我们确保了与许多现有工具的向后兼容性,同时又使应用程序获得了显着的性能提升。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号