Wasm Network Filter

Attention

The Wasm filter is experimental and is currently under active development. Capabilities will be expanded over time and the configuration structures are likely to change.

The Wasm network filter is used to implement a network filter with a Wasm plugin.

Example configuration

Example filter configuration:

  1. name: envoy.filters.network.wasm
  2. typed_config:
  3. "@type": type.googleapis.com/envoy.extensions.filters.network.wasm.v3.Wasm
  4. config:
  5. config:
  6. name: "my_plugin"
  7. vm_config:
  8. runtime: "envoy.wasm.runtime.v8"
  9. code:
  10. local:
  11. filename: "/etc/envoy_filter_http_wasm_example.wasm"
  12. allow_precompiled: true

The preceding snippet configures a filter from a Wasm binary on local disk.