Commit Graph

  • 9a9f6e147c Make fast-retry more configurable and do exponential backoff. Simon Kelley 2022-09-14 16:16:08 +01:00
  • 8f2d432799 Remove unused vars. Simon Kelley 2022-09-13 09:36:08 +01:00
  • 92eab03b12 Return EDE_STALE extended error when returning stale data from cache. Simon Kelley 2022-09-12 15:28:46 +01:00
  • 1ba4ae2830 Add stale cache replies to metrics. Simon Kelley 2022-09-12 14:50:17 +01:00
  • 0076481dfd Add GetServerMetrics method to DBus interface. Simon Kelley 2022-09-12 14:35:40 +01:00
  • c0e731d545 Further optimisation of --port-limit. Simon Kelley 2022-09-09 18:18:46 +01:00
  • 3f56bb8ba1 Second try at port-limit option. Simon Kelley 2022-09-09 17:09:32 +01:00
  • e518e87533 Fix namebuff overwrite leading to wrong log after socket bind warning. Simon Kelley 2022-09-09 15:56:54 +01:00
  • c4b9bc63e0 Fix a problem in overload handling. Simon Kelley 2022-09-09 12:53:49 +01:00
  • 1d53d958bb Remove fast-retry development logging. Simon Kelley 2022-09-06 22:09:21 +01:00
  • d334e7c34f Add --use-stale-cache option. Simon Kelley 2022-08-29 21:44:05 +01:00
  • d21438a7df Add --fast-dns-retry option. Simon Kelley 2022-08-21 18:07:17 +01:00
  • 24c3b5b3d4 Add --port-limit option. Simon Kelley 2022-08-17 15:33:15 +01:00
  • 4447d48bb9 Add DHCPv4 option 108 "ipv6-only" to the options table. Simon Kelley 2022-09-06 22:40:06 +01:00
  • 04cc2ae1a6 Fix logic when a SERVFAIL reply is received after good replt for DNSSEC. Simon Kelley 2022-08-19 13:28:00 +01:00
  • 32588c755a Add source address to RA packet dumps. Simon Kelley 2022-09-06 18:08:39 +01:00
  • 84a6d07cdd Fix DHCPv6 relay to use a more sensble source address. Simon Kelley 2022-09-06 15:40:42 +01:00
  • d6c69f6bdb Free sockets awaiting upstream DNS replies ASAP. Simon Kelley 2022-09-06 15:35:54 +01:00
  • ce372917fe Tweak packet dump code to make port numbers more accurate. Simon Kelley 2022-09-05 18:04:35 +01:00
  • 09d741f58a Simplify realloc use in poll.c Simon Kelley 2022-08-11 17:04:54 +01:00
  • 0666ae3d27 Introduce whine_realloc Petr Menšík 2022-07-18 13:30:07 +02:00
  • ba4c7d906b CHANGELOG typo. Simon Kelley 2022-08-08 15:36:47 +01:00
  • f4b2813818 Fix bad interaction between --address=/#/<ip> and --server=/some.domain/# Simon Kelley 2022-08-08 15:27:32 +01:00
  • 5586934da0 Bound the value of UDP packet size in the EDNS0 header of forwarded queries to the configured or default value of edns-packet-max. There's no point letting a client set a larger value if we're unable to return the answer. Bertie, Taylor 2022-07-31 17:20:21 +01:00
  • 6134b94c02 Update man page on DHCP data provided to scripts. Provide requested options for DHCPv6 also. Simon Kelley 2022-07-31 12:15:38 +01:00
  • 05e6728e98 Fix bit-rotted data handling code for LUA scripts. Simon Kelley 2022-07-31 11:33:05 +01:00
  • 6578acd668 Tidy last two commits. Simon Kelley 2022-07-31 11:04:12 +01:00
  • b5581ed173 Pass MUD URLs (RFC 8520) supplied via DHCPv4 to DHCP scripts Kevin Yeich 2022-07-09 19:46:36 +00:00
  • 508d6b4885 Pass MUD URLs (RFC 8520) supplied via DHCPv6 to DHCP scripts Hugo Hakim Damer 2022-07-09 19:45:51 +00:00
  • ef6efd69ed Merge branch 'master' of ssh://thekelleys.org.uk/var/local/git/dnsmasq Simon Kelley 2022-07-19 23:40:50 +01:00
  • 151d7dc5ea Fix comment typo. Simon Kelley 2022-07-19 23:40:11 +01:00
  • 20b4a4ea5b Fix comment typo. Simon Kelley 2022-07-07 20:56:07 +01:00
  • 770bce967c Fix parsing of IPv6 addresses with peer from netlink. Beniamino Galvani 2022-05-27 21:16:18 +01:00
  • a267a9e489 Add the ability to specify destination port in DHCP-relay mode. Simon Kelley 2022-05-26 16:40:44 +01:00
  • f65d210012 Fix outdated comment. Simon Kelley 2022-05-26 14:49:10 +01:00
  • 858bfcf261 Update GNU GPL file. Petr Menšík 2022-05-13 21:22:11 +01:00
  • 9b801c4e72 Also log upstream port for dnssec-retry Dominik Derigs 2022-04-02 21:45:47 +02:00
  • 1a98d1a94f Add inode compare while checking resolv file change 袁建鹏 2022-04-18 15:25:54 +01:00
  • 03345ecefe Fix write-after-free error in DHCPv6 code. CVE-2022-0934 refers. Simon Kelley 2022-03-31 21:35:20 +01:00
  • 191924576c Add DNSMASQ_DATA_MISSING envvar to lease-change script. Simon Kelley 2022-03-22 13:47:05 +00:00
  • 756a1dcc19 Manpage update for --localise-queries. Simon Kelley 2022-03-05 18:13:15 +00:00
  • 3ab6dd1c37 Enhance --domain to accept, interface names for the address range. Simon Kelley 2022-03-05 18:07:07 +00:00
  • 4458d87289 Merge branch 'master' of ssh://thekelleys.org.uk/var/local/git/dnsmasq Simon Kelley 2022-03-05 16:31:17 +00:00
  • b7f62475d0 Update German translation. Conrad Kostecki 2022-03-02 19:28:26 +00:00
  • 4732aa663b Merge branch 'master' of ssh://thekelleys.org.uk/var/local/git/dnsmasq Simon Kelley 2022-02-24 23:21:55 +00:00
  • c27cfeaa7b Fix memory leak when DBUS connection fails. Simon Kelley 2022-02-24 23:18:54 +00:00
  • bb6f6bae0b Fix longjump() compiler warnings. Simon Kelley 2022-02-22 21:56:48 +00:00
  • f4c87b504b Fix missing reverse-records from --dynamic-host. Simon Kelley 2022-02-18 20:53:56 +00:00
  • e426c2d3bc Add --conf-script Simon Kelley 2022-02-08 11:37:06 +00:00
  • 6279d9eaf3 Merge branch 'master' of ssh://thekelleys.org.uk/var/local/git/dnsmasq Simon Kelley 2022-02-04 22:28:53 +00:00
  • 12949aa0c0 Ask netlink for new address events unconditionally. Simon Kelley 2022-02-04 22:24:00 +00:00
  • 84f3357dd9 Merge branch 'master' of ssh://thekelleys.org.uk/var/local/git/dnsmasq Simon Kelley 2022-02-04 21:00:16 +00:00
  • 4333d5d93a Fix FTBFS on BSD platforms. Johnny S. Lee via Dnsmasq-discuss 2022-02-03 23:42:00 +00:00
  • fa580ad3eb Handle changing interface indexes when binding DHCP sockets. Simon Kelley 2022-02-03 17:12:38 +00:00
  • 292dfa653e Merge branch 'master' of ssh://thekelleys.org.uk/var/local/git/dnsmasq Simon Kelley 2022-02-02 18:31:22 +00:00
  • 7fbf1cce7b Improve the performance of DHCP relay. Simon Kelley 2022-02-01 00:18:44 +00:00
  • dbceeb4178 Dump.c Fix IPv6 checksum on big-endian. Simon Kelley 2022-01-30 00:42:46 +00:00
  • ed200fa001 Handle options other than source link-layer address in router solicitations. Simon Kelley 2022-01-29 23:22:52 +00:00
  • b5dafc0b7e Extend packet dump system to RA. Simon Kelley 2022-01-29 22:52:21 +00:00
  • fc664d114d Extend packet-dump system to DHCP and TFTP. Simon Kelley 2022-01-29 15:55:04 +00:00
  • c6d4c33d61 Bump copyright to 2022. Simon Kelley 2022-01-24 15:19:00 +00:00
  • bf1fc6c6fd Tidy iface_check(). Simon Kelley 2022-01-21 15:41:53 +00:00
  • b18e9c8c61 fix dnsmasq typo in man page Olaf Hering 2022-01-19 14:58:50 +01:00
  • a3293bb242 Fix indentation in Umbrella option code. Simon Kelley 2022-01-21 12:07:42 +00:00
  • 4e2a4b8788 Fix crash in PXE code with bad config. Simon Kelley 2022-01-18 00:55:13 +00:00
  • 2362784bc0 Debian bug management. Simon Kelley 2022-01-18 00:32:15 +00:00
  • b2cec1b881 Debian: fold in 2.86-1.1 changelog and close bug introducded by same. Simon Kelley 2022-01-18 00:02:32 +00:00
  • a946857133 Remove temporary debugging message and close related Debian bug. Simon Kelley 2022-01-17 23:54:58 +00:00
  • 10cd342f5c Document change of behaviour of --address in 2.86 onwards. Simon Kelley 2022-01-17 16:01:02 +00:00
  • 27ce754b3d Tidy previous commit and add manpage entries for new options. Simon Kelley 2022-01-15 17:57:57 +00:00
  • 3ab0ad8748 Strip EDNS(0) Client Subnet / MAC information if --strip-subnet or --strip-mac is set. If both the add and strip options are set, incoming EDNS0 options are replaced. This ensures we do not unintentionally forward client information somewhere upstream when ECS is used in lower DNS layers in our local network. Dominik Derigs 2022-01-07 06:11:53 +01:00
  • 4308236262 Minimum safe size is recommended to be 1232. See https://dnsflagday.net/2020/ Dominik Derigs 2021-12-28 11:03:40 +01:00
  • ebd8350300 Fix DNSSEC failure to validate unsigned NoDATA replies. Simon Kelley 2022-01-13 00:12:07 +00:00
  • 8285d335f4 Fix error introduced in 11c52d032b Simon Kelley 2022-01-12 23:05:25 +00:00
  • 9db275ebea Small fix to ff43d35aee Simon Kelley 2022-01-12 23:00:16 +00:00
  • 1f8f78a49b Add root group writeable flag to log file Petr Menšík 2022-01-10 12:34:42 +01:00
  • c2f129ba3d Fix FTBFS when HAVE_DNSSEC not defined. Simon Kelley 2022-01-11 22:48:14 +00:00
  • 07c47416a9 Log source of ignored query when local-service is used. Simon Kelley 2022-01-11 22:36:01 +00:00
  • 8f2a62b386 Extend cache dump: "!" as type for non-terminals, new flag "C" for config-provided and log source when applicable. Dominik Derigs 2021-12-30 10:53:24 +01:00
  • a6c0edd4f4 Fix header of cache dump. The width of the host and address fields are 30 and 40 characters, respectively. Dominik Derigs 2021-12-18 10:08:01 +01:00
  • ff43d35aee Log port numbers in server addresses when non-standard ports in use. Simon Kelley 2022-01-11 21:56:40 +00:00
  • 70fca205be Overhaul code which sends DNSSEC queries. Simon Kelley 2022-01-11 00:09:15 +00:00
  • 1033130b6c Handle malformed query packets sensibly. Simon Kelley 2022-01-09 23:21:55 +00:00
  • f48372b12f Compare label instead of interface name against dhcp_except and tftp interfaces to extend their scope to interface aliases. The man page does not mention that they are limited to "real" interfaces and stop working once an alias interface is specified (even if valid). using_interface_instead Dominik Derigs 2021-12-26 10:35:00 +01:00
  • 33605d70b0 Log which interface is actually used when a different was configured Dominik Derigs 2021-12-26 10:29:14 +01:00
  • 14a9cf5382 Compare label instead of interface name against dhcp_except and tftp interfaces to extend their scope to interface aliases. The man page does not mention that they are limited to "real" interfaces and stop working once an alias interface is specified (even if valid). label_interfaces Dominik Derigs 2021-12-26 10:35:00 +01:00
  • cc07a92ba2 Don't accept queries ariving on alias interface if configured not to do this. Dominik Derigs 2021-11-19 10:59:25 +01:00
  • 8cfcd9ff63 Clarify man page for --filterwin2k Andreas Metzler 2022-01-06 23:12:53 +00:00
  • 80a6c16dcc Implements a SetLocaliseQueriesOption D-Bus method. For setting the state of the -y/--localise-queries option. Daniel Collins 2022-01-06 00:20:05 +00:00
  • 553c4c99cc Fix massive confusion on server reload. Simon Kelley 2022-01-03 23:32:30 +00:00
  • 4165c1331b Fix fail to build when NO_SCRIPT set. Simon Kelley 2022-01-03 23:31:15 +00:00
  • b2690415bf src/option.c: fix build with gcc 4.8 Fabrice Fontaine 2022-01-02 22:01:31 +01:00
  • 011f8cf1d0 Tidy code for --umbrella option. Simon Kelley 2022-01-01 23:33:39 +00:00
  • 2748fb81e2 Fix 46312909d9 typo. Simon Kelley 2022-01-01 23:03:26 +00:00
  • 46312909d9 src/option.c: fix build with gcc 4.8 Fabrice Fontaine 2021-12-31 17:29:44 +01:00
  • 41adecad14 Include client address if TFTP file-not-found errors. Simon Kelley 2022-01-01 22:15:16 +00:00
  • ea5d8c56a0 Finesse parsing of --dhcp-remoteid and --dhcp-subscrid. Simon Kelley 2021-12-30 23:22:43 +00:00
  • d242cbffa4 Add snooping of DHCPv6 prefix delegation to the DHCP-relay function. Simon Kelley 2021-12-30 21:20:37 +00:00
  • 1c8855ed10 Fix wrong client address for dhcp-script when DHCPv4 relay in use. Simon Kelley 2021-12-26 16:35:54 +00:00
  • ea33a01303 Fix rare "Internal error in cache" messages. Simon Kelley 2021-12-24 18:58:35 +00:00