bind9/lib/ns
Artem Boldariev 8ae661048d Fix flawed logic when detecting same listener type
The older version of the code was reporting that listeners are going
to be of the same type after reconfiguration when switching from DoT
to HTTPS listener, making BIND abort its executions.

That was happening due to the flaw in logic due to which the code
could consider a current listener and a configuration for the new one
to be of the same type (DoT) even when the new listener entry is
explicitly marked as HTTP.

The checks for PROXY in between the configuration were masking that
behaviour, but when porting it to 9.18 (when there is no PROXY
support), the behaviour was exposed.

Now the code mirrors the logic in 'interface_setup()' closely (as it
was meant to).
2024-01-12 17:59:53 +02:00
..
include Recreate listeners on DNS transport change 2024-01-12 14:55:12 +02:00
.gitignore Add support for User Statically Defined Tracing (USDT) probes 2023-08-21 18:39:53 +02:00
client.c BIND: Add 'allow-proxy' and 'allow-proxy-on' options 2023-12-06 15:15:25 +02:00
hooks.c Remove do-nothing header <isc/print.h> 2023-02-15 16:44:47 +00:00
interfacemgr.c Fix flawed logic when detecting same listener type 2024-01-12 17:59:53 +02:00
listenlist.c Integrate TLS cipher suites support into BIND 2024-01-12 13:27:59 +02:00
log.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
Makefile.am Add support for User Statically Defined Tracing (USDT) probes 2023-08-21 18:39:53 +02:00
notify.c convert TSIG keyring storage from RBT to hash table 2023-06-14 08:14:38 +00:00
probes.d Add a probe when the response rate limiting drops or slips query 2023-08-21 18:39:53 +02:00
query.c Obtain a client->handle reference when calling async_restart 2023-12-20 02:50:48 +11:00
server.c Allocate DNS send buffers using dedicated per-worker memory arenas 2023-09-05 09:39:41 +02:00
sortlist.c Convert rwlock in dns_acl to RCU 2023-10-13 14:44:40 +02:00
stats.c Refactor isc_stats_create() and its downstream users to return void 2023-07-27 11:37:44 +02:00
tests Move all the unit tests to /tests/<libname>/ 2022-05-28 14:53:02 -07:00
update.c Report the type being filtered from an UPDATE 2024-01-12 14:06:58 +00:00
xfrout.c Adjust comment to have correct message limit value 2023-11-16 11:22:47 +11:00