Formalization and verification of a mail server in Coq

  • Authors:
  • Reynald Affeldt;Naoki Kobayashi

  • Affiliations:
  • Department of Computer Science, University of Tokyo;Department of Computer Science, Tokyo Institute of Technology

  • Venue:
  • ISSS'02 Proceedings of the 2002 Mext-NSF-JSPS international conference on Software security: theories and systems
  • Year:
  • 2002

Quantified Score

Hi-index 0.00

Visualization

Abstract

This paper reports on the formalization and verification of a mail server (SMTP server) in Coq. The correctness of a mail server is very important: bugs of the mail server may be abused for eavesdropping mail contents, spreading virus, sending spam messages, etc. We have verified a part of a mail server written in Java, by manually translating the Java program into a Coq function as faithfully as possible, and verifying properties of the Coq function. The results of this experiment indicate the feasibility and usefulness of verification of middle-sized system softwares in this style. The verification has been carried out in a few months, and a few bugs in the mail server have been indeed found during the verification process.