Envoy Dns filter
This project implements a L4 Udp Filter based on envoy proxy. The repo is adopted from the sample 'echo2' filter example.
Building
To build the Envoy static binary:
git submodule update --init
bazel build //:envoy
Testing
To run the dns filter tests:
bazel test //test/...
To run the regular Envoy tests from this project:
bazel test @envoy//test/...
How it works
The private Envoy repository is provided as a submodule.
The WORKSPACE
file maps the @envoy
repository to this local path.
The BUILD
file introduces a new Envoy static binary target, envoy
,
that links together the new filter and @envoy//source/exe:envoy_main_lib
. The
dns
filter registers itself during the static initialization phase of the
Envoy binary as a new filter.