]>
git.ipfire.org Git - people/ms/dnsmasq.git/log
Simon Kelley [Sun, 20 Dec 2015 17:12:16 +0000 (17:12 +0000)]
Major tidy up of EDNS0 handling and computation/use of udp packet size.
Simon Kelley [Thu, 17 Dec 2015 17:23:03 +0000 (17:23 +0000)]
Do a better job of determining which DNSSEC sig algos are supported.
Simon Kelley [Thu, 17 Dec 2015 16:58:04 +0000 (16:58 +0000)]
Fix brace botch in dnssec_validate_ds()
Thanks to Michał Kępień for spotting this.
Simon Kelley [Thu, 17 Dec 2015 11:57:26 +0000 (11:57 +0000)]
Tidy up DNSSEC non-existence code. Check zone status is NSEC proof bad.
Simon Kelley [Thu, 17 Dec 2015 10:44:58 +0000 (10:44 +0000)]
Tweaks to EDNS0 handling in DNS replies.
Simon Kelley [Wed, 16 Dec 2015 13:41:58 +0000 (13:41 +0000)]
DNSSEC validation tweak.
A zone which has at least one key with an algorithm we don't
support should be considered as insecure.
Simon Kelley [Tue, 15 Dec 2015 17:25:21 +0000 (17:25 +0000)]
Generalise RR-filtering code, for use with EDNS0.
Simon Kelley [Tue, 15 Dec 2015 16:11:06 +0000 (16:11 +0000)]
Move code which caches DS records to a more logical place.
Simon Kelley [Tue, 15 Dec 2015 12:04:40 +0000 (12:04 +0000)]
Abandon caching RRSIGs and returning them from cache.
The list of exceptions to being able to locally answer
cached data for validated records when DNSSEC data is requested
was getting too long, so don't ever do that. This means
that the cache no longer has to hold RRSIGS and allows
us to lose lots of code. Note that cached validated
answers are still returned as long as do=0
Simon Kelley [Tue, 15 Dec 2015 10:20:39 +0000 (10:20 +0000)]
Major rationalisation of DNSSEC validation.
Much gnarly special-case code removed and replaced with correct
general implementaion. Checking of zone-status moved to DNSSEC code,
where it should be, vastly simplifying query-forwarding code.
Simon Kelley [Sat, 21 Nov 2015 21:47:41 +0000 (21:47 +0000)]
Fix crash at start up with conf-dir=/path,*
Thanks to Brian Carpenter and American Fuzzy Lop for finding the bug.
Simon Kelley [Fri, 20 Nov 2015 23:20:47 +0000 (23:20 +0000)]
Handle unknown DS hash algos correctly.
When we can validate a DS RRset, but don't speak the hash algo it
contains, treat that the same as an NSEC/3 proving that the DS
doesn't exist. 4025 5.2
Edwin Török [Sat, 14 Nov 2015 17:45:48 +0000 (17:45 +0000)]
Fix crash when empty address from DNS overlays A record from hosts.
Simon Kelley [Tue, 20 Oct 2015 20:21:32 +0000 (21:21 +0100)]
Update list of subnet for --bogus-priv
RFC6303 specifies & recommends following zones not be forwarded
to globally facing servers.
+------------------------------+-----------------------+
| Zone | Description |
+------------------------------+-----------------------+
| 0.IN-ADDR.ARPA | IPv4 "THIS" NETWORK |
| 127.IN-ADDR.ARPA | IPv4 Loopback NETWORK |
| 254.169.IN-ADDR.ARPA | IPv4 LINK LOCAL |
| 2.0.192.IN-ADDR.ARPA | IPv4 TEST-NET-1 |
| 100.51.198.IN-ADDR.ARPA | IPv4 TEST-NET-2 |
| 113.0.203.IN-ADDR.ARPA | IPv4 TEST-NET-3 |
| 255.255.255.255.IN-ADDR.ARPA | IPv4 BROADCAST |
+------------------------------+-----------------------+
Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
Simon Kelley [Tue, 13 Oct 2015 19:30:32 +0000 (20:30 +0100)]
Catch errors from sendmsg in DHCP code.
Logs, eg, iptables DROPS of dest 255.255.255.255
Simon Kelley [Tue, 29 Sep 2015 21:54:41 +0000 (22:54 +0100)]
Use /run/dnsmasq instead of /var/run/dnsmasq in Debian package.
Simon Kelley [Sat, 26 Sep 2015 20:40:45 +0000 (21:40 +0100)]
Simon Kelley [Thu, 10 Sep 2015 22:08:43 +0000 (23:08 +0100)]
Respect the --no-resolv flag in inotify code.
Simon Kelley [Thu, 10 Sep 2015 20:50:00 +0000 (21:50 +0100)]
DHCPv6 option 56 does not hold an address list. (RFC 5908).
Simon Kelley [Wed, 9 Sep 2015 21:51:13 +0000 (22:51 +0100)]
Handle signed dangling CNAME replies to DS queries.
Simon Kelley [Wed, 26 Aug 2015 21:48:13 +0000 (22:48 +0100)]
Clarify man page on RDNSS set in router advertisement.
Simon Kelley [Wed, 26 Aug 2015 21:38:08 +0000 (22:38 +0100)]
Suggest solution to ENOMEM error with IPv6 multicast.
Simon Kelley [Tue, 25 Aug 2015 22:08:39 +0000 (23:08 +0100)]
Fix behaviour of empty dhcp-option=option6:dns-server, which should inhibit sending option.
Simon Kelley [Sun, 9 Aug 2015 16:45:06 +0000 (17:45 +0100)]
Don't answer non-auth queries for auth zones locally when --localise-queries set.
Ed Bardsley [Wed, 5 Aug 2015 20:17:18 +0000 (21:17 +0100)]
Enhance --add-subnet to allow arbitary subnet addresses.
Simon Kelley [Mon, 3 Aug 2015 20:52:12 +0000 (21:52 +0100)]
Include 0.0.0.0/8 in DNS rebind checks.
Simon Kelley [Thu, 30 Jul 2015 19:59:07 +0000 (20:59 +0100)]
Fix new poll() code for helper pipe. Removed CPU-spin.
Simon Kelley [Mon, 27 Jul 2015 18:48:43 +0000 (19:48 +0100)]
Declare utime().
Kevin Darbyshire-Bryant [Mon, 27 Jul 2015 18:34:23 +0000 (19:34 +0100)]
Update DNSSEC timestamp file on process TERM.
Conrad Kostecki [Mon, 27 Jul 2015 18:22:49 +0000 (19:22 +0100)]
Update german translation
Simon Kelley [Mon, 27 Jul 2015 17:56:43 +0000 (18:56 +0100)]
DNSSEC fix: correct logic for signed records in unsigned DNS space.
Simon Kelley [Thu, 16 Jul 2015 21:37:37 +0000 (22:37 +0100)]
Small tweak to DNSSEC fix.
Simon Kelley [Thu, 16 Jul 2015 21:23:13 +0000 (22:23 +0100)]
DNSSEC fix, signed wildcard CNAME to unsigned domain.
Jan Psota [Wed, 15 Jul 2015 18:57:47 +0000 (19:57 +0100)]
Update Polish translation.
Simon Kelley [Wed, 15 Jul 2015 18:54:50 +0000 (19:54 +0100)]
Close Lauchpad bug in Debian changelog.
Simon Kelley [Mon, 13 Jul 2015 11:47:52 +0000 (12:47 +0100)]
Grow pollfds array exponentially.
Simon Kelley [Sun, 12 Jul 2015 20:27:40 +0000 (21:27 +0100)]
Merge messages for translations.
Simon Kelley [Sun, 12 Jul 2015 20:09:11 +0000 (21:09 +0100)]
Use poll() instead of select() to remove limits on open file descriptors.
Simon Kelley [Wed, 8 Jul 2015 21:42:14 +0000 (22:42 +0100)]
Log message typo.
Simon Kelley [Wed, 8 Jul 2015 21:40:57 +0000 (22:40 +0100)]
Fix compilation warning.
Simon Kelley [Wed, 8 Jul 2015 21:38:13 +0000 (22:38 +0100)]
Test for overflowing platform FD_SET size.
Simon Kelley [Tue, 7 Jul 2015 20:54:55 +0000 (21:54 +0100)]
Bump version in Debian changelog.
Simon Kelley [Mon, 6 Jul 2015 20:48:49 +0000 (21:48 +0100)]
Fix inotify code to handle dangling symlinks better.
Simon Kelley [Sun, 5 Jul 2015 21:31:30 +0000 (22:31 +0100)]
Avoid hanngs in DHCP ping code when system time goes backwards.
Simon Kelley [Sun, 5 Jul 2015 20:59:10 +0000 (21:59 +0100)]
--conf-file should read no file, not try and read the default file.
Ján Sáreník [Sun, 5 Jul 2015 20:23:27 +0000 (21:23 +0100)]
Manpage typo fix.
Simon Kelley [Fri, 12 Jun 2015 20:39:11 +0000 (21:39 +0100)]
Handle CNAMEs to DS records when confirming absence of DS for DNSSEC.
Simon Kelley [Wed, 10 Jun 2015 21:31:02 +0000 (22:31 +0100)]
Merge messages and fix makefile process to do this.
Neil Jerram [Wed, 10 Jun 2015 21:23:20 +0000 (22:23 +0100)]
Documenation updates for --bridge-interface and "off-link".
Neil Jerram [Wed, 10 Jun 2015 21:16:35 +0000 (22:16 +0100)]
Apply --bridge-interfaces to unsolicited router advertisements.
Neil Jerram [Wed, 10 Jun 2015 21:14:49 +0000 (22:14 +0100)]
Upply --bridge-interface aliasing to solicited router advertisements.
Neil Jerram [Wed, 10 Jun 2015 21:13:06 +0000 (22:13 +0100)]
Allow router advertisements to have the "off-link" bit set.
Neil Jerram [Wed, 10 Jun 2015 21:11:06 +0000 (22:11 +0100)]
Extend --bridge-interface aliasing to DHCPv6.
Neil Jerram [Wed, 10 Jun 2015 21:06:33 +0000 (22:06 +0100)]
Fix logging of unknown interface in --bridge-interface, DHPCv4.
Simon Kelley [Tue, 9 Jun 2015 19:45:07 +0000 (20:45 +0100)]
Add a couple of missed logging strings to the catalogue.
Nicolas Cavallari [Tue, 9 Jun 2015 19:42:20 +0000 (20:42 +0100)]
Add Dbus methods to create and delete DHCP leases.
Simon Kelley [Sat, 6 Jun 2015 22:13:57 +0000 (23:13 +0100)]
Handle corner cases in NSEC coverage checks.
Simon Kelley [Thu, 4 Jun 2015 21:32:43 +0000 (22:32 +0100)]
More reproducibility fixes for Debian package.
Simon Kelley [Wed, 3 Jun 2015 21:30:59 +0000 (22:30 +0100)]
DHCPv6: DHCPCONFIRM should be OK for any address on link, not just dynamic addresses.
Simon Kelley [Mon, 1 Jun 2015 20:00:16 +0000 (21:00 +0100)]
Close Debian bug for bug fixed upstream.
swigger [Mon, 1 Jun 2015 19:54:59 +0000 (20:54 +0100)]
Correctly sanitise DNS header bits in answer when recreating query for retry.
Simon Kelley [Tue, 26 May 2015 21:12:01 +0000 (22:12 +0100)]
Merge branch 'master' of ssh://thekelleys.org.uk/var/cache/git/dnsmasq
John Hanks [Tue, 26 May 2015 21:07:57 +0000 (22:07 +0100)]
Add infiniband to example config file.
Christian Demsar [Wed, 20 May 2015 19:26:23 +0000 (20:26 +0100)]
Man page typo.
Simon Kelley [Wed, 20 May 2015 19:20:24 +0000 (20:20 +0100)]
Tweak immediately previous patch.
Simon Kelley [Tue, 19 May 2015 22:01:27 +0000 (23:01 +0100)]
Select correct DHCP context when in PXE bootserver mode.
Simon Kelley [Fri, 15 May 2015 19:43:48 +0000 (20:43 +0100)]
Remove support for DNS Extended Label Types.
The support was only partial, and the whole concept is
now deprecated in the standards.
Simon Kelley [Fri, 15 May 2015 17:13:06 +0000 (18:13 +0100)]
Fix buffer overflow introduced in 2.73rc6.
Fix off-by-one in code which checks for over-long domain names
in received DNS packets. This enables buffer overflow attacks
which can certainly crash dnsmasq and may allow for arbitrary
code execution. The problem was introduced in commit
b8f16556d ,
release 2.73rc6, so has not escaped into any stable release.
Note that the off-by-one was in the label length determination,
so the buffer can be overflowed by as many bytes as there are
labels in the name - ie, many.
Thanks to Ron Bowes, who used lcmatuf's afl-fuzz tool to find
the problem.
Simon Kelley [Thu, 14 May 2015 20:30:00 +0000 (21:30 +0100)]
Use correct DHCP context for PXE-proxy server-id.
Simon Kelley [Thu, 14 May 2015 20:16:18 +0000 (21:16 +0100)]
Tweak last commit.
Simon Kelley [Wed, 13 May 2015 21:33:04 +0000 (22:33 +0100)]
Allow T1 and T2 DHCPv4 options to be set.
Simon Kelley [Wed, 13 May 2015 11:35:57 +0000 (12:35 +0100)]
Pointer to mail-archive mailing list mirror in doc.html.
Simon Kelley [Wed, 13 May 2015 11:16:13 +0000 (12:16 +0100)]
Tweak Debian systemd unit file.
Simon Kelley [Sun, 10 May 2015 12:50:59 +0000 (13:50 +0100)]
Tweak EDNS timeout code.
Simon Kelley [Fri, 8 May 2015 19:25:51 +0000 (20:25 +0100)]
Check IPv4-mapped IPv6 addresses with --stop-rebind.
Simon Kelley [Fri, 8 May 2015 15:25:38 +0000 (16:25 +0100)]
Handle UDP packet loss when fragmentation of large packets is broken.
Nicolas Cavallari [Tue, 28 Apr 2015 20:55:18 +0000 (21:55 +0100)]
Constify some DHCP lease management functions.
Simon Kelley [Tue, 28 Apr 2015 20:26:35 +0000 (21:26 +0100)]
Don't remove RRSIG RR from answers to ANY queries when the do bit is not set.
Simon Kelley [Tue, 28 Apr 2015 19:45:57 +0000 (20:45 +0100)]
Fix argument-order botch which broke DNSSEC for TCP queries.
Johnny S. Lee [Sun, 26 Apr 2015 21:23:57 +0000 (22:23 +0100)]
Make get-version work when repo is a git submodule.
Simon Kelley [Sat, 25 Apr 2015 20:46:10 +0000 (21:46 +0100)]
Logs in DHCPv6 not suppressed by dhcp6-quiet.
Simon Kelley [Wed, 22 Apr 2015 20:14:31 +0000 (21:14 +0100)]
Tweaks to previous, DNS label charset commit.
Simon Kelley [Tue, 21 Apr 2015 21:57:06 +0000 (22:57 +0100)]
Handle domain names with '.' or /000 within labels.
Only in DNSSEC mode, where we might need to validate or store
such names. In none-DNSSEC mode, simply don't cache these, as before.
Simon Kelley [Mon, 20 Apr 2015 20:34:05 +0000 (21:34 +0100)]
Moshe Levi [Sun, 19 Apr 2015 21:10:40 +0000 (22:10 +0100)]
Check IP address command line arg in dhcp_release.c
Simon Kelley [Fri, 17 Apr 2015 21:50:20 +0000 (22:50 +0100)]
Log domain when reporting DNSSEC validation failure.
Simon Kelley [Thu, 16 Apr 2015 14:24:52 +0000 (15:24 +0100)]
Note CVE-2015-3294
Stefan Tomanek [Thu, 16 Apr 2015 14:20:59 +0000 (15:20 +0100)]
Fix (srk induced) crash in new tftp_no_fail code.
Simon Kelley [Thu, 16 Apr 2015 14:05:30 +0000 (15:05 +0100)]
Auth: correct replies to NS and SOA in .arpa zones.
Simon Kelley [Sun, 12 Apr 2015 20:52:47 +0000 (21:52 +0100)]
Fix crash in auth code with odd configuration.
Simon Kelley [Thu, 9 Apr 2015 20:48:00 +0000 (21:48 +0100)]
Fix crash on receipt of certain malformed DNS requests.
Simon Kelley [Mon, 6 Apr 2015 16:19:13 +0000 (17:19 +0100)]
Fix crash caused by looking up servers.bind when many servers defined.
Simon Kelley [Fri, 3 Apr 2015 20:42:30 +0000 (21:42 +0100)]
Fix compiler warning when not including DNSSEC.
Simon Kelley [Fri, 3 Apr 2015 20:25:05 +0000 (21:25 +0100)]
Return INSECURE, rather than BOGUS when DS proved not to exist.
Return INSECURE when validating DNS replies which have RRSIGs, but
when a needed DS record in the trust chain is proved not to exist.
It's allowed for a zone to set up DNSKEY and RRSIG records first, then
add a DS later, completing the chain of trust.
Also, since we don't have the infrastructure to track that these
non-validated replies have RRSIGS, don't cache them, so we don't
provide answers with missing RRSIGS from the cache.
Stefan Tomanek [Wed, 1 Apr 2015 16:55:07 +0000 (17:55 +0100)]
Whitespace fixes.
Stefan Tomanek [Tue, 31 Mar 2015 21:32:11 +0000 (22:32 +0100)]
add --tftp-no-fail to ignore missing tftp root
Simon Kelley [Mon, 30 Mar 2015 06:52:21 +0000 (07:52 +0100)]
Merge message translations.
Simon Kelley [Sun, 29 Mar 2015 21:35:44 +0000 (22:35 +0100)]
Fix crash in last commit.
Simon Kelley [Sun, 29 Mar 2015 21:17:14 +0000 (22:17 +0100)]
Allow control characters in names in the cache, handle when logging.
Simon Kelley [Sat, 28 Mar 2015 21:34:07 +0000 (21:34 +0000)]
DNSSEC fix for non-ascii characters in labels.