Commit Graph

7 Commits

Author SHA1 Message Date
Petr Menšík
2084d400c7 fixup! Correct releasing of serv_domain
Ensure correct domain entries are prepared also for DBus specified
domains. Initialize server_domain when adding new nameserver, no matter
what is its source. Do not wait for check_servers() to domain
initialization.

Resolves: rhbz#2186481
2023-05-10 13:43:45 +02:00
Petr Menšík
764271fcfc Correct releasing of serv_domain
In case the server->serv_domain points to domain also when it is not the
last server used, ensure the reference to last_server is always reset.
Some records might reference the server_domain, but cannot ever become
last_server. Such as server=/example.com/#

Do proper check also for above case and do not delete used serv_domain
structure. Also do optimization to reuse common server domains and do
not create new entry to already existing one.

Do two step cleaning during nameservers cleanup stage. Should avoid any
invalid pointer present.

Resolves: rhbz#2186481
2023-04-21 19:21:08 +02:00
Petr Menšík
f132a4c40b Set the default maximum DNS UDP packet size to 1232
Resolves: CVE-2023-28450
2023-04-21 19:19:26 +02:00
CentOS Sources
8237ae4b13 Auto sync2gitlab import of dnsmasq-2.79-26.el8.src.rpm 2023-02-18 00:17:53 +00:00
CentOS Sources
65adf43f35 Auto sync2gitlab import of dnsmasq-2.79-24.el8.src.rpm 2022-08-26 16:14:04 +00:00
CentOS Sources
079cef3ac0 Auto sync2gitlab import of dnsmasq-2.79-23.el8.src.rpm 2022-08-02 06:12:39 +00:00
James Antill
ede9cffdaa Auto sync2gitlab import of dnsmasq-2.79-21.el8.src.rpm 2022-05-26 01:20:47 -04:00