Re:Glibc getaddrinfo stack-based buffer overflow
by sveiss on Wednesday February 17, 2016 @12:36PM
(#11119555)
I haven't tested it, but I'd expect not. Given a limited EDNS0 buffer size, UDP responses would either come back with a truncated flag or not at all. Either case would trigger a TCP retry, and the bug can be triggered that way.
Configuring BIND to use a specific buffer size (only for BIND 9.3.2 and newer):
Add the following line to the "options" section of your named.conf file:
edns-udp-size: n
Configuring Unbound to use a specific buffer size:
Add the following line to the "server" section of your unbound.conf file:
edns-buffer-size: n
source: https://labs.ripe.net/Members/anandb/content-testing-your-re...