Lune

SIGCOMM2021Top-tier venue

Semi-automated protocol disambiguation and code generation

Jane Yen, Tamás Lévai, Qinyuan Ye, Xiang Ren, Ramesh Govindan, Barath Raghavan

2021Year
33Citations
13Top-tier citations

Abstract

For decades, Internet protocols have been specified using natural language. Given the ambiguity inherent in such text, it is not surprising that protocol implementations have long exhibited bugs. In this paper, we apply natural language processing (NLP) to effect semi-automated generation of protocol implementations from specification text. Our system, sage, can uncover ambiguous or under-specified sentences in specifications; once these are clarified by the spec author, sage can generate protocol code automatically.

Using sage, we discover 5 instances of ambiguity and 6 instances of under-specification in the ICMP RFC; after clarification, sage is able to automatically generate code that interoperates perfectly with Linux implementations. We show that sage generalizes to BFD, IGMP, and NTP. We also find that sage supports many of the conceptual components found in key protocols, suggesting that, with some additional machinery, sage may be able to generalize to TCP and BGP.

Ask about this paper

Your agent reads all of it.

Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.

Questions to start from

Your agent calls

Luneget_paper_fulltext

Ask in Lune

Free to start. No credit card required.

lune papers fulltext 162d4146-876d-4684-9008-24cdb1e84bb1

Cited by top-tier papers13

Ask how each one uses it

Builds on3

Related papers

Dusk over the sea between two cliffs drawn in fine vertical lines