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

Laurent Burgy 1 Laurent Réveillère 1, 2, 3 Julia Lawall 4 Gilles Muller 5
1 PHOENIX - Programming Language Technology For Communication Services
INRIA Futurs, Université Sciences et Technologies - Bordeaux 1, École Nationale Supérieure d'Électronique, Informatique et Radiocommunications de Bordeaux (ENSEIRB)
5 OBASCO - Objects, aspects and components
Mines Nantes - Mines Nantes, Inria Rennes – Bretagne Atlantique
Abstract : 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.
Type de document :
Rapport
[Research Report] RR-6167, INRIA. 2007
Liste complète des métadonnées

https://hal.inria.fr/inria-00140964
Contributeur : Rapport de Recherche Inria <>
Soumis le : mardi 24 avril 2007 - 18:14:00
Dernière modification le : mardi 16 janvier 2018 - 14:37:12
Document(s) archivé(s) le : mardi 21 septembre 2010 - 13:28:18

Fichiers

RR-6167.pdf
Fichiers produits par l'(les) auteur(s)

Identifiants

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

Citation

Laurent Burgy, Laurent Réveillère, Julia Lawall, Gilles Muller. A Language-Based Approach for Improving the Robustness of Network Application Protocol Implementations. [Research Report] RR-6167, INRIA. 2007. 〈inria-00140964v2〉

Partager

Métriques

Consultations de la notice

448

Téléchargements de fichiers

306