Skip to main content

Automated verification of customizable middlebox properties with gravel

Publication ,  Conference
Zhang, K; Zhuo, D; Akella, A; Krishnamurthy, A; Wang, X
Published in: Proceedings of the 17th USENIX Symposium on Networked Systems Design and Implementation, NSDI 2020
January 1, 2020

Building a formally-verified software middlebox is attractive for network reliability. In this paper, we explore the feasibility of verifying “almost unmodified” software middleboxes. Our key observation is that software middleboxes are already designed and implemented in a modular way (e.g., Click). Further, to achieve high performance, the number of operations each element or module performs is finite and small. These two characteristics place them within reach of automated verification through symbolic execution. We perform a systematic study to test how many existing Click elements can be automatically verified using symbolic execution. We show that 45% of the elements can be automatically verified and an additional 33% of Click elements can be automatically verified with slight code modifications. To allow automated verification, we build Gravel, a software middlebox verification framework. Gravel allows developers to specify high-level middlebox properties and checks correctness in the implementation without requiring manual proofs. We then use Gravel to specify and verify middlebox-specific properties for several Click-based middleboxes. Our evaluation shows that Gravel avoids bugs that are found in today's middleboxes with minimal code changes and that the code modifications needed for proof automation do not affect middlebox performance.

Duke Scholars

Published In

Proceedings of the 17th USENIX Symposium on Networked Systems Design and Implementation, NSDI 2020

Publication Date

January 1, 2020

Start / End Page

221 / 239
 

Citation

APA
Chicago
ICMJE
MLA
NLM
Zhang, K., Zhuo, D., Akella, A., Krishnamurthy, A., & Wang, X. (2020). Automated verification of customizable middlebox properties with gravel. In Proceedings of the 17th USENIX Symposium on Networked Systems Design and Implementation, NSDI 2020 (pp. 221–239).
Zhang, K., D. Zhuo, A. Akella, A. Krishnamurthy, and X. Wang. “Automated verification of customizable middlebox properties with gravel.” In Proceedings of the 17th USENIX Symposium on Networked Systems Design and Implementation, NSDI 2020, 221–39, 2020.
Zhang K, Zhuo D, Akella A, Krishnamurthy A, Wang X. Automated verification of customizable middlebox properties with gravel. In: Proceedings of the 17th USENIX Symposium on Networked Systems Design and Implementation, NSDI 2020. 2020. p. 221–39.
Zhang, K., et al. “Automated verification of customizable middlebox properties with gravel.” Proceedings of the 17th USENIX Symposium on Networked Systems Design and Implementation, NSDI 2020, 2020, pp. 221–39.
Zhang K, Zhuo D, Akella A, Krishnamurthy A, Wang X. Automated verification of customizable middlebox properties with gravel. Proceedings of the 17th USENIX Symposium on Networked Systems Design and Implementation, NSDI 2020. 2020. p. 221–239.

Published In

Proceedings of the 17th USENIX Symposium on Networked Systems Design and Implementation, NSDI 2020

Publication Date

January 1, 2020

Start / End Page

221 / 239