From: bert hubert Date: Fri, 24 Jun 2016 09:31:30 +0000 (+0100) Subject: Merge pull request #4006 from rgacogne/dnsdist-ebpf X-Git-Tag: auth-4.0.0-rc1~18 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=212da0514fc0fc109463b13399146517f512dd53;p=thirdparty%2Fpdns.git Merge pull request #4006 from rgacogne/dnsdist-ebpf dnsdist: Add eBPF source address and qname/qtype filtering --- 212da0514fc0fc109463b13399146517f512dd53 diff --cc pdns/README-dnsdist.md index 3e3ccfd0e4,1a5ae19aeb..85e394a051 --- a/pdns/README-dnsdist.md +++ b/pdns/README-dnsdist.md @@@ -1060,9 -1136,14 +1136,14 @@@ Here are all functions * `addACL(netmask)`: add to the ACL set who can use this server * `setACL({netmask, netmask})`: replace the ACL set with these netmasks. Use `setACL({})` to reset the list, meaning no one can use us * `showACL()`: show our ACL set + * ClientState related: + * function `showBinds()`: list every local bind + * function `getBind(n)`: return the corresponding `ClientState` object + * member `attachFilter(BPFFilter)`: attach a BPF Filter to this bind + * member `toString()`: print the address this bind listens to * Network related: - * `addLocal(netmask, [false], [false])`: add to addresses we listen on. Second optional parameter sets TCP/IP or not. Third optional parameter sets SO_REUSEPORT when available. - * `setLocal(netmask, [false], [false])`: reset list of addresses we listen on to this address. Second optional parameter sets TCP/IP or not. Third optional parameter sets SO_REUSEPORT when available. + * `addLocal(netmask, [true], [false])`: add to addresses we listen on. Second optional parameter sets TCP/IP or not. Third optional parameter sets SO_REUSEPORT when available. + * `setLocal(netmask, [true], [false])`: reset list of addresses we listen on to this address. Second optional parameter sets TCP/IP or not. Third optional parameter sets SO_REUSEPORT when available. * Blocking related: * `addDomainBlock(domain)`: block queries within this domain * Carbon/Graphite/Metronome statistics related: