aboutsummaryrefslogtreecommitdiff
path: root/plugin/kubernetes/handler_test.go
diff options
context:
space:
mode:
authorGravatar rsclarke <hey@rsclarke.dev> 2022-11-01 17:16:55 +0800
committerGravatar GitHub <noreply@github.com> 2022-11-01 10:16:55 +0100
commitead84e1fa8c618e5eef07d6bc5e9d20fc01e4ca7 (patch)
tree820558330bc879b157ac413070e1b9a2e0ac5c0b /plugin/kubernetes/handler_test.go
parentfaaf2b446e0aa032a68061d82e403a716ec56059 (diff)
downloadcoredns-ead84e1fa8c618e5eef07d6bc5e9d20fc01e4ca7.tar.gz
coredns-ead84e1fa8c618e5eef07d6bc5e9d20fc01e4ca7.tar.zst
coredns-ead84e1fa8c618e5eef07d6bc5e9d20fc01e4ca7.zip
plugin/acl: adding ability to drop queries (#5722)
Both block and filter actions write responses to the client based upon the source IP address of the UDP packet containing the query. An attacker spoofing the source IP address to that of their target, can elicit a response to be sent to the victim host, known as DNS Reflection. If an attacker is able to elicit a large response from a relatively small query, with a spoofed source IP address, they are able to increase the amount of data sent to the victim, known as DNS Amplification. Scaling this from one to many queries allows an attacker to perform an effective Denial of Service (DoS) attack against their target. Adding the drop action enables CoreDNS to ignore queries of a given type or network range from being processed and a response written, where an operator knows ahead of time, should not originate or be destined to. Signed-off-by: rsclarke <hey@rsclarke.dev> Signed-off-by: rsclarke <hey@rsclarke.dev>
Diffstat (limited to 'plugin/kubernetes/handler_test.go')
0 files changed, 0 insertions, 0 deletions