Kneecap: model-based generation of network traffic [article]

Nikolai Sultana, Richard Mortier, Apollo-University Of Cambridge Repository, Apollo-University Of Cambridge Repository
2016
Packet generation is an important activity for network administration and security. Tools for packet generation work through template instantiation and are used in an imperative programming style. We describe a new design for a $\textit{declarative}$ packet generator that affords users rich expressiveness to describe the packets they wish to generate. This relies on a domain-specific language for describing packets and constraints over them. This is translated into bitvector constraints that
more » ... dispatched to an SMT solver. The resulting bitvector solutions are then concatenated and composed into the different layers of the network protocol stack, and can be sent over the network interface. In this paper we describe a library implementation of this approach, and evaluate its extensibility and scalability.
doi:10.17863/cam.348 fatcat:dryg6yh3wvg2ff7e77pyfxu4mm