A Language-Based Approach for Improving the Robustness of Network Application Protocol Implementations - Inria - Institut national de recherche en sciences et technologies du numérique Accéder directement au contenu
Rapport (Rapport De Recherche) Année : 2007

A Language-Based Approach for Improving the Robustness of Network Application Protocol Implementations

Résumé

The secure and robust functioning of a network relies on the defect-free implementation of network applications. As network protocols have become increasingly complex, however, hand-writing network message processing code has become increasingly error-prone. In this paper, we present a domain-specific language, Zebu, for describing protocol message formats and related processing constraints. From a Zebu specification, a compiler automatically generates stubs to be used by an application to parse network messages. Zebu is easy to use, as it builds on notations used in RFCs to describe protocol grammars. Zebu is also efficient, as the memory usage is tailored to application needs and message fragments can be specified to be processed on demand. Finally, Zebu-based applications are robust, as the Zebu compiler automatically checks specification consistency and generates parsing stubs that include validation of the message structure. Using a mutation analysis in the context of SIP and RTSP, we show that Zebu significantly improves application robustness.
Fichier principal
Vignette du fichier
RR-6167.pdf (282.91 Ko) Télécharger le fichier
Origine : Fichiers produits par l'(les) auteur(s)

Dates et versions

inria-00140964 , version 1 (11-04-2007)
inria-00140964 , version 2 (24-04-2007)

Identifiants

  • HAL Id : inria-00140964 , version 2
  • ARXIV : 0704.1373

Citer

Laurent Burgy, Laurent Réveillère, Julia L. Lawall, Gilles Muller. A Language-Based Approach for Improving the Robustness of Network Application Protocol Implementations. [Research Report] RR-6167, INRIA. 2007. ⟨inria-00140964v2⟩
348 Consultations
366 Téléchargements

Altmetric

Partager

Gmail Facebook X LinkedIn More