]> git.ipfire.org Git - thirdparty/knot-resolver.git/commit
daemon/worker: track query in BEGIN and dst addr
authorMarek Vavrusa <marek@vavrusa.com>
Thu, 16 Jun 2016 17:39:07 +0000 (10:39 -0700)
committerMarek Vavrusa <marek@vavrusa.com>
Wed, 6 Jul 2016 06:33:38 +0000 (23:33 -0700)
commite4747066ac53db908fb925fcf48a4b9e872b34b2
tree54b252e32173d45fb33c502399d29464d9cc10a0
parentcd5d5f0d4984eb304ba4a41f71031fd40849b8b2
daemon/worker: track query in BEGIN and dst addr

* in the begin() layer, the incoming query is
  exposed as req->qsource.packet, it is invalidated
  after begin() and should not be modified
* the destination address (local interface) is
  also tracked for filtering purposes
daemon/lua/kres.lua
daemon/worker.c
daemon/worker.h
lib/resolve.c
lib/resolve.h