]> git.ipfire.org Git - thirdparty/bind9.git/commit
restore "blackhole" functionality
authorEvan Hunt <each@isc.org>
Wed, 17 Jun 2020 19:09:10 +0000 (12:09 -0700)
committerOndřej Surý <ondrej@isc.org>
Thu, 1 Oct 2020 14:44:43 +0000 (16:44 +0200)
commitb14cb9e2f181c2d25cb66a5f0d17b7bd43e20d5f
treebf92b8aa15d6762f7aed8db6d37f8da27a895992
parent0a58a8e049bed1f60eb2c85a6e6e43b0e423b25d
restore "blackhole" functionality

the blackhole ACL was accidentally disabled with respect to client
queries during the netmgr conversion.

in order to make this work for TCP, it was necessary to add a return
code to the accept callback functions passed to isc_nm_listentcp() and
isc_nm_listentcpdns().

(cherry picked from commit 23c7373d68d2b5aca838aab2ebb16e1c9156ed60)
lib/isc/include/isc/netmgr.h
lib/isc/netmgr/netmgr-int.h
lib/isc/netmgr/tcp.c
lib/isc/netmgr/tcpdns.c
lib/ns/client.c
lib/ns/include/ns/client.h
lib/ns/include/ns/interfacemgr.h
lib/ns/interfacemgr.c
lib/ns/win32/libns.def