Zebu: a language-based approach for network protocol message processing

Laurent Burgy, Laurent Réveillère, Julia Lawall, Gilles Muller

13 Citationer (Scopus)

Abstract

A network application communicates with other applications according to a set of rules known as a protocol. This communication is managed by the part of the application known as the protocol-handling layer which enables the manipulation of protocol messages. This layer is a critical component of a network application since it represents the interface between the application and the outside world. This paper proposes a new language-based approach to the development of protocol-handling layers, to improve their robustness without compromising their performance. Our approach is based on the use of a domain-specific language, Zebu, to specify the protocol-handling layer of network applications that use HTTP-like protocols. The Zebu syntax is very close to that of ABNF, facilitating the adoption of Zebu by domain experts. By annotating the ABNF specification of a protocol, the user can dedicate the protocol-handling layer to the needs of a given application. The Zebu compiler checks the annotated specification for inconsistencies and generates a protocol-handling layer according to the annotations. This protocol-handling layer is made of of data structures that represent a message, a parser that fills in these data structures and various stub functions to access these structures or drive the parsing of a message.
OriginalsprogEngelsk
TidsskriftI E E E Transactions on Software Engineering
Vol/bind37
Udgave nummer4
Sider (fra-til)575-591
Antal sider17
ISSN0098-5589
DOI
StatusUdgivet - 2011

Fingeraftryk

Dyk ned i forskningsemnerne om 'Zebu: a language-based approach for network protocol message processing'. Sammen danner de et unikt fingeraftryk.

Citationsformater