]> git.ipfire.org Git - thirdparty/pdns.git/commit - pdns/pdns_recursor.cc
add ipfilter() lua hook, document it and also preoutquery. Cache which lua functions...
authorbert hubert <bert.hubert@netherlabs.nl>
Tue, 20 Jan 2015 21:03:31 +0000 (22:03 +0100)
committerbert hubert <bert.hubert@netherlabs.nl>
Tue, 20 Jan 2015 21:03:31 +0000 (22:03 +0100)
commit4ea949413c495254acb0bd19335142761c1efc0c
treed9e86f4b1b095094123a4b365b657492d7c2f77e
parentd738f00f821b42e52a0033df155db9cf8231fdca
add ipfilter() lua hook, document it and also preoutquery. Cache which lua functions are defined, shaving a few microseconds per undefined hook. Feed preoutquery the address of the original requestor, which might then be added to an ipset for use by ipfilter. Update our example scripts.
docs/markdown/recursor/scripting.md
pdns/lua-recursor.cc
pdns/lua-recursor.hh
pdns/pdns_recursor.cc
pdns/powerdns-example-script.lua
pdns/syncres.cc
pdns/syncres.hh