]> granicus.if.org Git - pdns/commit
rec: Add `use-incoming-edns-subnet` to process and pass along ECS
authorRemi Gacogne <remi.gacogne@powerdns.com>
Thu, 9 Feb 2017 14:01:41 +0000 (15:01 +0100)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 20 Feb 2017 16:59:06 +0000 (17:59 +0100)
commitb40562da39e3be0dcf193163c386eef369dcc4af
tree13354b9c42ffe0a2d2718231c32e1be3de13665e
parent53221eafae3fe410586daf98cca0df3d81ea344c
rec: Add `use-incoming-edns-subnet` to process and pass along ECS

If set, the recusor will process and pass along a received EDNS
Client Subnet to authoritative servers.
The ECS information will only be sent for netmasks and domains listed
in `edns-subnet-whitelist`, and will be truncated if the received scope
exceeds `ecs-ipv4-bits` for IPv4 or `ecs-ipv6-bits` for IPv6.
An incoming ECS source prefix-length of 0 can also be used to
request that no ECS value be sent to the authoritative servers,
in accordance with RFC7871.
docs/markdown/recursor/settings.md
pdns/ednssubnet.hh
pdns/lua-recursor4.cc
pdns/pdns_recursor.cc
pdns/recursordist/ecs.cc
pdns/syncres.cc
pdns/syncres.hh