Unnamed repository
Go to file
Petr Menšík 7cbf2a2449 Fix bug in TCP process handling
Fix bug which caused dnsmasq to lose track of processes forked
to handle TCP DNS connections under heavy load. The code
checked that at least one free process table slot was
available before listening on TCP sockets, but didn't take
into account that more than one TCP connection could
arrive, so that check was not sufficient to ensure that
there would be slots for all new processes. It compounded
this error by silently failing to store the process when
it did run out of slots. Even when this bug is triggered,
all the right things happen, and answers are still returned.
Only under very exceptional circumstances, does the bug
manifest itself: see
https://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2021q2/014976.html
Thanks to Tijs Van Buggenhout for finding the conditions under
which the bug manifests itself, and then working out
exactly what was going on.

Resolves: RHEL-6584
2024-02-22 12:25:10 +01:00
.fmf Run tmt based tests from dnsmasq 2023-06-12 16:47:04 +02:00
plans Import optional plan from Fedora 2023-07-18 18:05:18 +02:00
.gitignore Update to 2.85 (#1947198) 2021-07-02 18:07:30 +02:00
ci.fmf Run tmt based tests from dnsmasq 2023-06-12 16:47:04 +02:00
dnsmasq-2.77-underflow.patch RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:43:55 +02:00
dnsmasq-2.78-fips.patch RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:43:55 +02:00
dnsmasq-2.79-server-domain-fixup.patch Ensure also server_domains_cleanup is called always 2022-08-30 13:46:48 +02:00
dnsmasq-2.79-server-domain-rh1919894.patch dnsmasq option to query the last known working domain specific upstream server first 2022-02-10 23:22:39 +01:00
dnsmasq-2.80-rh1728701.patch RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:43:55 +02:00
dnsmasq-2.81-configuration.patch RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:43:55 +02:00
dnsmasq-2.85-domain-blocklist-speedup.patch Do not create server_domain for non-server records 2023-06-14 08:08:05 +02:00
dnsmasq-2.85-search_servers-rhbz2182342.patch fixup! Ensure search_servers domain is set on dnssec 2023-05-11 10:37:31 +02:00
dnsmasq-2.85-serv_domain-rh2186481-2.patch fixup! Correct releasing of serv_domain 2023-05-10 13:18:42 +02:00
dnsmasq-2.85-serv_domain-rh2186481.patch Correct releasing of serv_domain 2023-05-04 16:17:10 +02:00
dnsmasq-2.86-alternative-lease.patch Offer alternative address if requested is leased 2022-02-24 15:34:12 +01:00
dnsmasq-2.86-dhcpv6-client-arch.patch Support client arch and interface identifier options 2022-02-24 15:35:13 +01:00
dnsmasq-2.86-tcp-free-fd-rh2188443.patch Fix bug in TCP process handling 2024-02-22 12:25:10 +01:00
dnsmasq-2.87-coverity-forward-cache.patch Backport Coverity fix to hide detected issue 2023-07-28 16:16:31 +02:00
dnsmasq-2.87-CVE-2022-0934.patch Use upstream version of CVE-2022-0934 fix 2023-01-26 18:42:54 +01:00
dnsmasq-2.87-log-root-writeable.patch Add group writeable permission for log file 2023-07-17 19:53:13 +02:00
dnsmasq-2.89-edns0-size.patch Set the default maximum DNS UDP packet size to 1232 2023-04-03 16:36:40 +02:00
dnsmasq-systemd-sysusers.conf RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:43:55 +02:00
dnsmasq.service Change default pid file into run directory 2021-07-02 18:10:26 +02:00
dnsmasq.spec Fix bug in TCP process handling 2024-02-22 12:25:10 +01:00
gating.yaml Use CentOS/RHEL id for gating tmt plan 2023-07-18 18:39:18 +02:00
rpminspect.yaml Auto-waive bad_fucts in current release 2023-02-15 21:00:51 +01:00
sources Update to 2.85 (#1947198) 2021-07-02 18:07:30 +02:00
srkgpg.txt RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:43:55 +02:00
test-release-public-key RHEL 9.0.0 Alpha bootstrap 2020-10-14 23:43:55 +02:00