Cloudflare has open-sourced its configurable Rust library for writing and executing Wireshark®-like filters in different parts of their stack. The library is called WireFilter and can be found on GitHub at https://github.com/cloudflare/wirefilter. The design of the library, reasons for choosing Rust, parsing approach, execution engine, and WebAssembly support are discussed in detail in this post.