]> git.ipfire.org Git - thirdparty/pdns.git/commit
dnsdist: Implement filesystem pinning for eBPF maps
authorRemi Gacogne <remi.gacogne@powerdns.com>
Fri, 22 Oct 2021 15:03:27 +0000 (17:03 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 16 Nov 2021 08:02:37 +0000 (09:02 +0100)
commitad6bca0eeaab794d912e2a49574dc1b5de2782ac
treeb10117b45f37ce412ec48e4feb846a83e1636f69
parent445f2089cc5b10059c4db63abfa1a010e331e6d9
dnsdist: Implement filesystem pinning for eBPF maps

This makes the filter (v4, v6 and qnames) maps persistent across a
restart and allow external programs to read and update them without
the need to use dnsdist's console.
pdns/bpf-filter.cc
pdns/bpf-filter.hh
pdns/bpf-filter.main.ebpf
pdns/bpf-filter.qname.ebpf
pdns/dnsdist-lua-bindings.cc
pdns/dnsdistdist/docs/reference/ebpf.rst