Commit Graph

  • 4cf2f757ec Rationalise reties. Simon Kelley 2024-11-22 22:23:36 +00:00
  • ae85ea3858 Fix buffer overflow when configured lease-change script name is too long. Simon Kelley 2024-11-21 15:42:49 +00:00
  • b087cf4a6c Fix out-of-bounds heap read in order_qsort(). Simon Kelley 2024-11-21 15:28:31 +00:00
  • 0adaf13438 Don't clear tcpfd for literal address server records. Simon Kelley 2024-11-21 15:18:19 +00:00
  • b5ac983bf6 Fix wrong transaction ID when retrying DNSSEC queries. Simon Kelley 2024-11-21 15:09:14 +00:00
  • 498794ad85 Extralog tweaks to get log-id right in a couple of odd cases. Simon Kelley 2024-11-03 23:40:43 +00:00
  • 467fbd1086 Fix argument-order thinko on call to new lookup_frec() Simon Kelley 2024-11-03 23:07:54 +00:00
  • 7b7aef903e Handle error return from blockdata_alloc in all cases. Simon Kelley 2024-11-02 22:37:51 +00:00
  • 09a1839272 Don't send suspect answer as query to next server in DNS TCP codepath. Simon Kelley 2024-11-02 22:13:52 +00:00
  • 1b76e1c8ec Remove hash-questions.c - no longer required. Simon Kelley 2024-11-02 21:29:47 +00:00
  • 959d991d10 Replace query hashing in TCP code path. Simon Kelley 2024-11-02 20:48:17 +00:00
  • ed6d29a784 Remove query hashing in UDP DNS code path. Simon Kelley 2024-11-02 15:33:37 +00:00
  • 5d6399b71c DOn't churn a query though the blockdata store twice when forwarding it. Simon Kelley 2024-11-01 16:50:15 +00:00
  • 3b6df06fb8 Always save forwarded query locally. Simon Kelley 2024-11-01 16:06:58 +00:00
  • a9d46d42cb Tweak packet-reduction code going from TCP->UDP. Simon Kelley 2024-10-13 23:09:48 +01:00
  • 0338aa4586 Don't log bogus source address when doing fast retry. Simon Kelley 2024-10-12 23:21:58 +01:00
  • d15d371051 Handle truncated response UDP-to-TCP to downstream queries when validating. Simon Kelley 2024-10-12 22:25:06 +01:00
  • 1c26ec2876 UDP-to-TCP bugfix: wrong calls to extract_name and suppress rapid (UDP) retry once we've switched to TCP. Simon Kelley 2024-10-02 21:47:48 +01:00
  • e9a7cd0a50 Fix DNSSEC work counting when swapping from UDP to TCP Simon Kelley 2024-09-23 16:45:12 +01:00
  • f5cdb007d8 Improve handling of truncated replies to DNSSEC queries. Simon Kelley 2024-09-22 22:32:13 +01:00
  • 46288c7e90 Tidy up parameters to sendmsg() syscall. Simon Kelley 2024-08-19 21:38:37 +01:00
  • d7d682637d Merge branch 'master' of ssh://thekelleys.org.uk/var/local/git/dnsmasq Simon Kelley 2024-10-04 17:03:55 +01:00
  • f006be7842 Fix crash when reloading DHCP config on SIGHUP. Simon Kelley 2024-10-04 16:59:14 +01:00
  • fd37817ec8 Fix memcheck errors like "Syscall param sendmsg(msg.msg_control) points to uninitialised byte(s)" fix/sendmsg_unititalized DL6ER 2024-07-27 11:13:49 +02:00
  • bf4c149f81 Fix crash caused by double free() corruption encountered with rev-server addresses with prefix lengths != {8,16,24,32} fix/rev-server-cidr DL6ER 2024-06-17 17:36:43 +02:00
  • 550c368ade Treat cache insertion failure of DNSKEY and DS records as another resource problem and fail validation with suitable logging. Simon Kelley 2024-03-27 16:00:06 +00:00
  • b8ff4bb762 Remove debian directory and replace with a git submodule. Simon Kelley 2024-02-22 22:45:37 +00:00
  • 9adbf009a6 The DHCPv4 server doesn't need CAP_NET_ADMIN if always broadcasting. Simon Kelley 2024-02-21 00:46:25 +00:00
  • ccff85ad72 [PATCH] Fix error introduced in 51471cafa5 renmingshuai 2024-02-21 00:24:25 +00:00
  • 4c590320ec Fix breakage in DBus FilterA and FilterAAAA methods. Simon Kelley 2024-02-20 23:38:26 +00:00
  • 89aad01468 Fix infinite loop when invoking SetFilterA dbus method more than once. Simon Kelley 2024-02-19 23:21:58 +00:00
  • de6f914654 Add missing CHANGELOG entries for 2.90 Simon Kelley 2024-02-19 13:22:09 +00:00
  • 1ed783b8d7 Fix spurious "resource limit exceeded" messages. Simon Kelley 2024-02-19 12:22:43 +00:00
  • 3705ec5592 Relax limits imposed by d/t/functions.d/ip-addr.patterns in Debian autotest. Simon Kelley 2024-02-15 09:55:57 +00:00
  • b6769234bc Bump Debian version. Simon Kelley 2024-02-13 13:49:15 +00:00
  • 214a046f47 Merge branch 'dnssec-limit' Simon Kelley 2024-02-13 13:27:25 +00:00
  • b38da6b191 Reverse suppression of ANY query answer logging. Simon Kelley 2024-02-13 13:26:24 +00:00
  • 9621c16a78 Add CHANGELOG entry for DNSSEC security fixes. Simon Kelley 2024-02-12 22:07:33 +00:00
  • 3ae7f1ab0d Add --dnssec-limits option. Simon Kelley 2024-01-07 22:47:30 +00:00
  • 39de57499e Better allocation code for DS digest cache. Simon Kelley 2024-01-06 20:51:13 +00:00
  • 3c91bca943 Better stats and logging from DNSSEC resource limiting. Simon Kelley 2024-01-06 16:13:44 +00:00
  • 76bceb06c4 Overhaul data checking in NSEC code. Simon Kelley 2024-01-05 22:56:47 +00:00
  • 6f23a0a75e Rework validate-by-DS to avoid DoS vuln without arbitrary limits. Simon Kelley 2024-01-04 15:57:43 +00:00
  • 06945c4b77 Update EDE code -> text conversion. Simon Kelley 2024-01-04 00:45:31 +00:00
  • c5aa221e44 Parameterise work limits for DNSSEC validation. Simon Kelley 2024-01-02 21:43:04 +00:00
  • bfefd6e38c Fix error introduced in 635bc51cac3d5d7dd49ce9e27149cf7e402b7e79 Simon Kelley 2024-01-02 12:25:44 +00:00
  • 59d30390c9 Measure cryptographic work done by DNSSEC. Simon Kelley 2024-01-01 17:17:25 +00:00
  • 51471cafa5 Update NSEC3 iterations handling to conform with RFC 9276. Simon Kelley 2023-12-31 23:28:11 +00:00
  • be73efc020 Update header with new EDE values. Simon Kelley 2023-12-31 15:11:54 +00:00
  • 40595f80d9 Protection against pathalogical DNSSEC domains. Simon Kelley 2023-12-30 21:01:05 +00:00
  • 8c8e5385fd Close debian bug. Simon Kelley 2024-02-12 21:33:35 +00:00
  • 3de7289bd6 Make --filter-rr=ANY filter the answer to ANY queries. Simon Kelley 2024-02-12 16:14:06 +00:00
  • febeea9d01 Tweak logging and special handling of T_ANY in rr-filter code. Simon Kelley 2024-02-12 13:42:07 +00:00
  • 762a3f2430 Don't create a useless inotify file desrcriptor when --port=0 Heikki Linnakangas 2024-02-07 14:44:49 +00:00
  • 6d35601da4 Refactor the accumulated crud of years in process_reply(). Simon Kelley 2024-02-03 22:44:54 +00:00
  • a827127c77 Handle caching SOA for negative PTR queries. Simon Kelley 2024-02-02 23:07:57 +00:00
  • d4a6f3a93e Fix logic error in signed RR handling. Simon Kelley 2024-02-02 21:36:56 +00:00
  • 86c15032ba Fix compiler warning. Simon Kelley 2024-02-02 00:26:44 +00:00
  • 12ddb2a4b9 Cache SOAs and return them with cached NXDOMAIN/NODATA replies. Simon Kelley 2024-02-01 23:37:11 +00:00
  • db07664f2a Hardcode Lua library version in debian/rules, rather than the Makefile. Simon Kelley 2024-01-26 22:58:58 +00:00
  • 1205fc3541 Let pkg-config select the newest installed Lua version, don't hardcode it. Simon Kelley 2024-01-26 22:44:06 +00:00
  • 3a8ebcac77 Debian changelog tweaking: LUA -> Lua and use upstream test version for experimental release. Simon Kelley 2024-01-26 22:23:12 +00:00
  • 729e54b386 debian/changelog cosmetic tweak. Simon Kelley 2024-01-23 23:30:57 +00:00
  • a61dbc84bf Adjust .gitignore to reflect new Debian packaging. Simon Kelley 2024-01-23 23:19:01 +00:00
  • 3cbd4b0fc0 Use debhelper to simplify tmpfiles installation in debian package. Gioele Barabucci 2024-01-23 23:09:11 +00:00
  • 75965b19bd 2023->2024 in debian/copyright Simon Kelley 2024-01-23 23:04:29 +00:00
  • 830459d3a1 Tie up loose ends in debian/changelog for upload to experimental. Simon Kelley 2024-01-23 23:02:49 +00:00
  • aa9e9651a1 Man page typo fix. Justin 2024-01-21 22:24:43 +00:00
  • 9142942483 Remove Debian patch to bump Lua version. It's upstream now. Simon Kelley 2024-01-21 12:51:14 +00:00
  • 68fe0d78bb Bump version in Debian changelog to 2.90 Simon Kelley 2024-01-19 22:27:41 +00:00
  • c9d7b983c4 Bump copright year in debian/copyright and add a copyright holder. Simon Kelley 2024-01-19 14:47:03 +00:00
  • 7c07dc3526 Bump LUA library to 5.4 Simon Kelley 2024-01-19 14:11:47 +00:00
  • cd93d15ab1 Largely replace the Debian packaging with a new and much more up-to-date Debhelper based version. Sven Geuer 2024-01-18 16:28:49 +00:00
  • 34bbb7a1b8 Fix FTBFS introduced in 2748d4e901 Simon Kelley 2024-01-19 14:32:02 +00:00
  • b5820d1fd8 Bump copyright to 2024. Simon Kelley 2024-01-13 22:20:04 +00:00
  • 2748d4e901 Introduce new --local-service=host parameter Petr Menšík 2021-10-05 13:46:51 +02:00
  • 63ba726e1f Fix --synth-domain NXDOMAIN responses. Simon Kelley 2023-12-03 17:48:56 +00:00
  • f1beb79429 Fix problem with domains associated with DHCP hosts at startup. Simon Kelley 2023-12-03 16:09:08 +00:00
  • cd4db8246e Fix typo in dnsmasq.conf.example Simon Kelley 2023-11-30 12:46:47 +00:00
  • 69877f565a Add information on process-forking for TCP connections to metrics. Damian Sawicki 2023-11-30 15:55:51 +00:00
  • 744231d995 Tighten up error checking in --bind-dynamic mode. Simon Kelley 2023-11-27 23:08:31 +00:00
  • 65c2d6afd6 Fix standalone SHA256 implementation. Simon Kelley 2023-11-22 22:02:05 +00:00
  • b27b94cfdc Merge branch 'master' of ssh://thekelleys.org.uk/var/local/git/dnsmasq Simon Kelley 2023-11-22 15:29:10 +00:00
  • b8b5b734b4 Fix misuse of const pointer in src/nftset.c. Simon Kelley 2023-11-22 15:20:53 +00:00
  • 568fb02449 Fix use-after-free in cache_remove_uid(). Simon Kelley 2023-11-13 22:08:08 +00:00
  • 77ef9b2603 Fix crash when DNS disabled, introduced in 416390f996 Simon Kelley 2023-11-10 23:13:46 +00:00
  • 416390f996 Add --max-tcp-connections option to make this dynamically configurable. Damian Sawicki 2023-11-04 23:33:28 +00:00
  • 24804b7431 Fix compile warning introduced by a889c554a7 Simon Kelley 2023-11-04 16:58:30 +00:00
  • 1fe9d2ba45 Add RESINFO RR-type to the table of RR-type names. Dominik Derigs 2023-11-04 16:52:09 +00:00
  • a6331078d3 New querytype 261 RESINFO new/RESINFO DL6ER 2023-11-02 17:57:54 +01:00
  • 3868066085 Fix bad reply to DHCPCONFIRM messages (wrong message type). Simon Kelley 2023-10-11 22:33:17 +01:00
  • a889c554a7 Work around possible Linux bug with VRF interfaces and DHCPv6. Simon Kelley 2023-10-09 21:50:15 +01:00
  • ca8d04a8ff Cache zero-TTL DNS replies when stale-caching is enabled. Simon Kelley 2023-10-09 21:15:13 +01:00
  • 8b606543a3 Fix memory leak in arbitrary-RR caching. Simon Kelley 2023-10-09 21:00:11 +01:00
  • d16b995756 Fix memory leak when using --dhcp-optsfile with DHCPv6 options. renmingshuai 2023-09-30 23:31:08 +01:00
  • 768b45a023 Remove two-decade old hack. Simon Kelley 2023-09-11 22:11:50 +01:00
  • 3b5ddf37d9 Fix problem with arbitrary RR caching. Simon Kelley 2023-09-02 21:34:54 +01:00
  • 9bbf098a97 =/== typo in last commit. Simon Kelley 2023-05-26 18:19:15 +01:00
  • 6536187b62 Merge branch 'master' of ssh://thekelleys.org.uk/var/local/git/dnsmasq Simon Kelley 2023-05-26 18:01:58 +01:00
  • 50adf82199 Behave better when attempting to contact unresponsive TCP servers. Simon Kelley 2023-05-26 17:55:35 +01:00