首页> 外文会议>ACM SIGCOMM Internet Measurement Conference >binpac: A yacc for Writing Application Protocol Parsers
【24h】

binpac: A yacc for Writing Application Protocol Parsers

机译:binpac:用于编写应用程序协议解析器的YACC

获取原文

摘要

A key step in the semantic analysis of network traffic is to parse thetraffic stream according to the high-level protocols it contains. This process transforms raw bytes into structured, typed, and semantically meaningful data fields that provide a high-level representation of the traffic. However, constructing protocol parsers by hand is a tedious and error-prone affair due to the complexity and sheer number of application protocols. This paper presents binpac, a declarative language and compiler designed to simplify the task of constructing robust and efficient semantic analyzers for complex network protocols. We discuss the design of the binpac language and a range of issues in generating efficient parsers from high-level specifications. We have used binpac to build several protocol parsers for the "Bro" network intrusion detection system, replacing some of its existing analyzers (handcrafted in C++), and supplementing its operation with analyzers for new protocols. We can then use Bro's powerful scripting language to express application-level analysis of network traffic in high-level terms that are both concise and expressive. binpac is now part of the open-source Bro distribution.
机译:网络流量的语义分析的一个关键步骤是根据它包含的高级协议解析晶片流。此过程将原始字节转换为结构化,键入和语义有意义的数据字段,该数据字段提供流量的高级表示。然而,由于应用协议的复杂性和纯粹纯粹的应用程序数量,手动构建协议解析器是一种繁琐而易于出错的事件。本文介绍了Binpac,旨在简化为复杂网络协议构建强大和高效语义分析仪的任务的陈述语言和编译器。我们讨论了从高级规格生成高效解析器的一系列问题的设计。我们使用Binpac为“兄弟”网络入侵检测系统构建了几种协议解析器,替换其现有的一些分析仪(在C ++中手工制作),并补充其与新协议的分析仪的操作。然后,我们可以使用兄弟强大的脚本语言来表达在简洁和表现力的高级术语中的网络流量的应用程序级别分析。 Binpac现在是开源兄弟分发的一部分。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号