]> git.ipfire.org Git - people/ms/dnsmasq.git/log
people/ms/dnsmasq.git
9 years agoFix datatype-sixe botch which broke DNSSEC sig timestamps when far in the future.
Simon Kelley [Mon, 4 Jan 2016 16:04:51 +0000 (16:04 +0000)] 
Fix datatype-sixe botch which broke DNSSEC sig timestamps when far in the future.

9 years agoTrivial code tweak.
Simon Kelley [Thu, 31 Dec 2015 20:55:39 +0000 (20:55 +0000)] 
Trivial code tweak.

9 years agoCorrect logic for when to start helper.
Simon Kelley [Thu, 31 Dec 2015 16:18:11 +0000 (16:18 +0000)] 
Correct logic for when to start helper.

9 years agoFirst complete version of DNS-client-id EDNS0 and ARP tracking code.
Simon Kelley [Mon, 28 Dec 2015 23:17:15 +0000 (23:17 +0000)] 
First complete version of DNS-client-id EDNS0 and ARP tracking code.

9 years agoCache access to the kernel's ARP table.
Simon Kelley [Wed, 23 Dec 2015 16:15:58 +0000 (16:15 +0000)] 
Cache access to the kernel's ARP table.

9 years agoMore EDNS0 packet-size tweaks.
Simon Kelley [Wed, 23 Dec 2015 12:27:37 +0000 (12:27 +0000)] 
More EDNS0 packet-size tweaks.

9 years agoLog signature algo with DNSKEY and DS, also digest with DS.
Simon Kelley [Mon, 21 Dec 2015 18:31:55 +0000 (18:31 +0000)] 
Log signature algo with DNSKEY and DS, also digest with DS.

9 years agoFix build failure when DNSSEC code omitted.
Simon Kelley [Mon, 21 Dec 2015 17:30:44 +0000 (17:30 +0000)] 
Fix build failure when DNSSEC code omitted.

9 years agoTruncate DNS replies >512 bytes that the client isn't expecting.
Simon Kelley [Mon, 21 Dec 2015 17:20:35 +0000 (17:20 +0000)] 
Truncate DNS replies >512 bytes that the client isn't expecting.

9 years agoHandle extending EDNS0 OPT RR.
Simon Kelley [Mon, 21 Dec 2015 16:23:47 +0000 (16:23 +0000)] 
Handle extending EDNS0 OPT RR.

9 years agoSplit EDNS0 stuff into its own source file.
Simon Kelley [Mon, 21 Dec 2015 14:17:06 +0000 (14:17 +0000)] 
Split EDNS0 stuff into its own source file.

9 years agoNSEC3 check: RFC5155 para 8.2
Simon Kelley [Sun, 20 Dec 2015 21:39:19 +0000 (21:39 +0000)] 
NSEC3 check: RFC5155 para 8.2

9 years agoMinor tweak to previous commit.
Simon Kelley [Sun, 20 Dec 2015 21:19:20 +0000 (21:19 +0000)] 
Minor tweak to previous commit.

9 years agoNasty, rare and obscure off-by-one in DNSSEC hostname_cmp().
Simon Kelley [Sun, 20 Dec 2015 20:50:05 +0000 (20:50 +0000)] 
Nasty, rare and obscure off-by-one in DNSSEC hostname_cmp().

9 years agoMore tweaks in handling unknown DNSSEC algorithms.
Simon Kelley [Sun, 20 Dec 2015 20:44:23 +0000 (20:44 +0000)] 
More tweaks in handling unknown DNSSEC algorithms.

9 years agoMajor tidy up of EDNS0 handling and computation/use of udp packet size.
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.

9 years agoDo a better job of determining which DNSSEC sig algos are supported.
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.

9 years agoFix brace botch in dnssec_validate_ds()
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.

9 years agoTidy up DNSSEC non-existence code. Check zone status is NSEC proof bad.
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.

9 years agoTweaks to EDNS0 handling in DNS replies.
Simon Kelley [Thu, 17 Dec 2015 10:44:58 +0000 (10:44 +0000)] 
Tweaks to EDNS0 handling in DNS replies.

9 years agoDNSSEC validation tweak.
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.

9 years agoGeneralise RR-filtering code, for use with EDNS0.
Simon Kelley [Tue, 15 Dec 2015 17:25:21 +0000 (17:25 +0000)] 
Generalise RR-filtering code, for use with EDNS0.

9 years agoMove code which caches DS records to a more logical place.
Simon Kelley [Tue, 15 Dec 2015 16:11:06 +0000 (16:11 +0000)] 
Move code which caches DS records to a more logical place.

9 years agoAbandon caching RRSIGs and returning them from cache.
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

9 years agoMajor rationalisation of DNSSEC validation.
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.

9 years agoFix crash at start up with conf-dir=/path,*
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.

9 years agoHandle unknown DS hash algos correctly.
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

9 years agoFix crash when empty address from DNS overlays A record from hosts.
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.

10 years agoUpdate list of subnet for --bogus-priv
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>
10 years agoCatch errors from sendmsg in DHCP code.
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

10 years agoUse /run/dnsmasq instead of /var/run/dnsmasq in Debian package.
Simon Kelley [Tue, 29 Sep 2015 21:54:41 +0000 (22:54 +0100)] 
Use /run/dnsmasq instead of /var/run/dnsmasq in Debian package.

10 years agoRationalise 5e3e464ac4022ee0b3794513abe510817e2cf3ca
Simon Kelley [Sat, 26 Sep 2015 20:40:45 +0000 (21:40 +0100)] 
Rationalise 5e3e464ac4022ee0b3794513abe510817e2cf3ca

10 years agoRespect the --no-resolv flag in inotify code.
Simon Kelley [Thu, 10 Sep 2015 22:08:43 +0000 (23:08 +0100)] 
Respect the --no-resolv flag in inotify code.

10 years agoDHCPv6 option 56 does not hold an address list. (RFC 5908).
Simon Kelley [Thu, 10 Sep 2015 20:50:00 +0000 (21:50 +0100)] 
DHCPv6 option 56 does not hold an address list. (RFC 5908).

10 years agoHandle signed dangling CNAME replies to DS queries.
Simon Kelley [Wed, 9 Sep 2015 21:51:13 +0000 (22:51 +0100)] 
Handle signed dangling CNAME replies to DS queries.

10 years agoClarify man page on RDNSS set in router advertisement.
Simon Kelley [Wed, 26 Aug 2015 21:48:13 +0000 (22:48 +0100)] 
Clarify man page on RDNSS set in router advertisement.

10 years agoSuggest solution to ENOMEM error with IPv6 multicast.
Simon Kelley [Wed, 26 Aug 2015 21:38:08 +0000 (22:38 +0100)] 
Suggest solution to ENOMEM error with IPv6 multicast.

10 years agoFix behaviour of empty dhcp-option=option6:dns-server, which should inhibit sending...
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.

10 years agoDon't answer non-auth queries for auth zones locally when --localise-queries set.
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.

10 years agoEnhance --add-subnet to allow arbitary subnet addresses.
Ed Bardsley [Wed, 5 Aug 2015 20:17:18 +0000 (21:17 +0100)] 
Enhance --add-subnet to allow arbitary subnet addresses.

10 years agoInclude 0.0.0.0/8 in DNS rebind checks.
Simon Kelley [Mon, 3 Aug 2015 20:52:12 +0000 (21:52 +0100)] 
Include 0.0.0.0/8 in DNS rebind checks.

10 years agoFix new poll() code for helper pipe. Removed CPU-spin. master
Simon Kelley [Thu, 30 Jul 2015 19:59:07 +0000 (20:59 +0100)] 
Fix new poll() code for helper pipe. Removed CPU-spin.

10 years agoDeclare utime().
Simon Kelley [Mon, 27 Jul 2015 18:48:43 +0000 (19:48 +0100)] 
Declare utime().

10 years agoUpdate DNSSEC timestamp file on process TERM.
Kevin Darbyshire-Bryant [Mon, 27 Jul 2015 18:34:23 +0000 (19:34 +0100)] 
Update DNSSEC timestamp file on process TERM.

10 years agoUpdate german translation
Conrad Kostecki [Mon, 27 Jul 2015 18:22:49 +0000 (19:22 +0100)] 
Update german translation

10 years agoDNSSEC fix: correct logic for signed records in unsigned DNS space.
Simon Kelley [Mon, 27 Jul 2015 17:56:43 +0000 (18:56 +0100)] 
DNSSEC fix: correct logic for signed records in unsigned DNS space.

10 years agoSmall tweak to DNSSEC fix.
Simon Kelley [Thu, 16 Jul 2015 21:37:37 +0000 (22:37 +0100)] 
Small tweak to DNSSEC fix.

10 years agoDNSSEC fix, signed wildcard CNAME to unsigned domain.
Simon Kelley [Thu, 16 Jul 2015 21:23:13 +0000 (22:23 +0100)] 
DNSSEC fix, signed wildcard CNAME to unsigned domain.

10 years agoUpdate Polish translation.
Jan Psota [Wed, 15 Jul 2015 18:57:47 +0000 (19:57 +0100)] 
Update Polish translation.

10 years agoClose Lauchpad bug in Debian changelog.
Simon Kelley [Wed, 15 Jul 2015 18:54:50 +0000 (19:54 +0100)] 
Close Lauchpad bug in Debian changelog.

10 years agoGrow pollfds array exponentially.
Simon Kelley [Mon, 13 Jul 2015 11:47:52 +0000 (12:47 +0100)] 
Grow pollfds array exponentially.

10 years agoMerge messages for translations.
Simon Kelley [Sun, 12 Jul 2015 20:27:40 +0000 (21:27 +0100)] 
Merge messages for translations.

10 years agoUse poll() instead of select() to remove limits on open file descriptors.
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.

10 years agoLog message typo.
Simon Kelley [Wed, 8 Jul 2015 21:42:14 +0000 (22:42 +0100)] 
Log message typo.

10 years agoFix compilation warning.
Simon Kelley [Wed, 8 Jul 2015 21:40:57 +0000 (22:40 +0100)] 
Fix compilation warning.

10 years agoTest for overflowing platform FD_SET size.
Simon Kelley [Wed, 8 Jul 2015 21:38:13 +0000 (22:38 +0100)] 
Test for overflowing platform FD_SET size.

10 years agoBump version in Debian changelog.
Simon Kelley [Tue, 7 Jul 2015 20:54:55 +0000 (21:54 +0100)] 
Bump version in Debian changelog.

10 years agoFix inotify code to handle dangling symlinks better.
Simon Kelley [Mon, 6 Jul 2015 20:48:49 +0000 (21:48 +0100)] 
Fix inotify code to handle dangling symlinks better.

10 years agoAvoid hanngs in DHCP ping code when system time goes backwards.
Simon Kelley [Sun, 5 Jul 2015 21:31:30 +0000 (22:31 +0100)] 
Avoid hanngs in DHCP ping code when system time goes backwards.

10 years ago--conf-file should read no file, not try and read the default file.
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.

10 years agoManpage typo fix.
Ján Sáreník [Sun, 5 Jul 2015 20:23:27 +0000 (21:23 +0100)] 
Manpage typo fix.

10 years agoHandle CNAMEs to DS records when confirming absence of DS for DNSSEC.
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.

10 years agoMerge messages and fix makefile process to do this.
Simon Kelley [Wed, 10 Jun 2015 21:31:02 +0000 (22:31 +0100)] 
Merge messages and fix makefile process to do this.

10 years agoDocumenation updates for --bridge-interface and "off-link".
Neil Jerram [Wed, 10 Jun 2015 21:23:20 +0000 (22:23 +0100)] 
Documenation updates for --bridge-interface and "off-link".

10 years agoApply --bridge-interfaces to unsolicited router advertisements.
Neil Jerram [Wed, 10 Jun 2015 21:16:35 +0000 (22:16 +0100)] 
Apply --bridge-interfaces to unsolicited router advertisements.

10 years agoUpply --bridge-interface aliasing to solicited router advertisements.
Neil Jerram [Wed, 10 Jun 2015 21:14:49 +0000 (22:14 +0100)] 
Upply --bridge-interface aliasing to solicited router advertisements.

10 years agoAllow router advertisements to have the "off-link" bit set.
Neil Jerram [Wed, 10 Jun 2015 21:13:06 +0000 (22:13 +0100)] 
Allow router advertisements to have the "off-link" bit set.

10 years agoExtend --bridge-interface aliasing to DHCPv6.
Neil Jerram [Wed, 10 Jun 2015 21:11:06 +0000 (22:11 +0100)] 
Extend --bridge-interface aliasing to DHCPv6.

10 years agoFix logging of unknown interface in --bridge-interface, DHPCv4.
Neil Jerram [Wed, 10 Jun 2015 21:06:33 +0000 (22:06 +0100)] 
Fix logging of unknown interface in --bridge-interface, DHPCv4.

10 years agoAdd a couple of missed logging strings to the catalogue.
Simon Kelley [Tue, 9 Jun 2015 19:45:07 +0000 (20:45 +0100)] 
Add a couple of missed logging strings to the catalogue.

10 years agoAdd Dbus methods to create and delete DHCP leases.
Nicolas Cavallari [Tue, 9 Jun 2015 19:42:20 +0000 (20:42 +0100)] 
Add Dbus methods to create and delete DHCP leases.

10 years agoHandle corner cases in NSEC coverage checks.
Simon Kelley [Sat, 6 Jun 2015 22:13:57 +0000 (23:13 +0100)] 
Handle corner cases in NSEC coverage checks.

10 years agoMore reproducibility fixes for Debian package.
Simon Kelley [Thu, 4 Jun 2015 21:32:43 +0000 (22:32 +0100)] 
More reproducibility fixes for Debian package.

10 years agoDHCPv6: DHCPCONFIRM should be OK for any address on link, not just dynamic addresses.
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.

10 years agoClose Debian bug for bug fixed upstream.
Simon Kelley [Mon, 1 Jun 2015 20:00:16 +0000 (21:00 +0100)] 
Close Debian bug for bug fixed upstream.

10 years agoCorrectly sanitise DNS header bits in answer when recreating query for retry.
swigger [Mon, 1 Jun 2015 19:54:59 +0000 (20:54 +0100)] 
Correctly sanitise DNS header bits in answer when recreating query for retry.

10 years agoMerge branch 'master' of ssh://thekelleys.org.uk/var/cache/git/dnsmasq
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

10 years agoAdd infiniband to example config file.
John Hanks [Tue, 26 May 2015 21:07:57 +0000 (22:07 +0100)] 
Add infiniband to example config file.

10 years agoMan page typo.
Christian Demsar [Wed, 20 May 2015 19:26:23 +0000 (20:26 +0100)] 
Man page typo.

10 years agoTweak immediately previous patch.
Simon Kelley [Wed, 20 May 2015 19:20:24 +0000 (20:20 +0100)] 
Tweak immediately previous patch.

10 years agoSelect correct DHCP context when in PXE bootserver mode.
Simon Kelley [Tue, 19 May 2015 22:01:27 +0000 (23:01 +0100)] 
Select correct DHCP context when in PXE bootserver mode.

10 years agoRemove support for DNS Extended Label Types.
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.

10 years agoFix buffer overflow introduced in 2.73rc6.
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.

10 years agoUse correct DHCP context for PXE-proxy server-id.
Simon Kelley [Thu, 14 May 2015 20:30:00 +0000 (21:30 +0100)] 
Use correct DHCP context for PXE-proxy server-id.

10 years agoTweak last commit.
Simon Kelley [Thu, 14 May 2015 20:16:18 +0000 (21:16 +0100)] 
Tweak last commit.

10 years agoAllow T1 and T2 DHCPv4 options to be set.
Simon Kelley [Wed, 13 May 2015 21:33:04 +0000 (22:33 +0100)] 
Allow T1 and T2 DHCPv4 options to be set.

10 years agoPointer to mail-archive mailing list mirror in doc.html.
Simon Kelley [Wed, 13 May 2015 11:35:57 +0000 (12:35 +0100)] 
Pointer to mail-archive mailing list mirror in doc.html.

10 years agoTweak Debian systemd unit file.
Simon Kelley [Wed, 13 May 2015 11:16:13 +0000 (12:16 +0100)] 
Tweak Debian systemd unit file.

10 years agoTweak EDNS timeout code.
Simon Kelley [Sun, 10 May 2015 12:50:59 +0000 (13:50 +0100)] 
Tweak EDNS timeout code.

10 years agoCheck IPv4-mapped IPv6 addresses with --stop-rebind.
Simon Kelley [Fri, 8 May 2015 19:25:51 +0000 (20:25 +0100)] 
Check IPv4-mapped IPv6 addresses with --stop-rebind.

10 years agoHandle UDP packet loss when fragmentation of large packets is broken.
Simon Kelley [Fri, 8 May 2015 15:25:38 +0000 (16:25 +0100)] 
Handle UDP packet loss when fragmentation of large packets is broken.

10 years agoConstify some DHCP lease management functions.
Nicolas Cavallari [Tue, 28 Apr 2015 20:55:18 +0000 (21:55 +0100)] 
Constify some DHCP lease management functions.

10 years agoDon't remove RRSIG RR from answers to ANY queries when the do bit is not set.
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.

10 years agoFix argument-order botch which broke DNSSEC for TCP queries.
Simon Kelley [Tue, 28 Apr 2015 19:45:57 +0000 (20:45 +0100)] 
Fix argument-order botch which broke DNSSEC for TCP queries.

10 years agoMake get-version work when repo is a git submodule.
Johnny S. Lee [Sun, 26 Apr 2015 21:23:57 +0000 (22:23 +0100)] 
Make get-version work when repo is a git submodule.

10 years agoLogs in DHCPv6 not suppressed by dhcp6-quiet.
Simon Kelley [Sat, 25 Apr 2015 20:46:10 +0000 (21:46 +0100)] 
Logs in DHCPv6 not suppressed by dhcp6-quiet.

10 years agoTweaks to previous, DNS label charset commit.
Simon Kelley [Wed, 22 Apr 2015 20:14:31 +0000 (21:14 +0100)] 
Tweaks to previous, DNS label charset commit.

10 years agoHandle domain names with '.' or /000 within labels.
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.

10 years agoRevert 61b838dd574c51d96fef100285a0d225824534f9 and just quieten log instead.
Simon Kelley [Mon, 20 Apr 2015 20:34:05 +0000 (21:34 +0100)] 
Revert 61b838dd574c51d96fef100285a0d225824534f9 and just quieten log instead.

10 years agoCheck IP address command line arg in dhcp_release.c
Moshe Levi [Sun, 19 Apr 2015 21:10:40 +0000 (22:10 +0100)] 
Check IP address command line arg in dhcp_release.c