]> git.ipfire.org Git - people/ms/dnsmasq.git/log
people/ms/dnsmasq.git
11 years agoSERVFAIL is an expected error return, don't try all servers.
Simon Kelley [Tue, 25 Mar 2014 21:07:00 +0000 (21:07 +0000)] 
SERVFAIL is an expected error return, don't try all servers.

11 years agoHandle failure of hash_questions()
Tomas Hozza [Tue, 25 Mar 2014 20:52:28 +0000 (20:52 +0000)] 
Handle failure of hash_questions()

11 years agoMemory leak in error path.
Tomas Hozza [Tue, 25 Mar 2014 20:43:21 +0000 (20:43 +0000)] 
Memory leak in error path.

11 years agoReorder sanity checks on UDP packet reception, to cope with failed recvfrom()
Simon Kelley [Mon, 24 Mar 2014 22:04:42 +0000 (22:04 +0000)] 
Reorder sanity checks on UDP packet reception, to cope with failed recvfrom()

11 years agoAdd dnssec-check-unsigned to example config file.
Simon Kelley [Mon, 24 Mar 2014 21:13:49 +0000 (21:13 +0000)] 
Add dnssec-check-unsigned to example config file.

11 years agoCHANGELOG update.
Simon Kelley [Sat, 22 Mar 2014 19:33:43 +0000 (19:33 +0000)] 
CHANGELOG update.

11 years agoIgnore DNS queries from port 0: http://www.ietf.org/mail-archive/web/dnsop/current...
Simon Kelley [Sat, 22 Mar 2014 19:18:06 +0000 (19:18 +0000)] 
Ignore DNS queries from port 0: http://www.ietf.org/mail-archive/web/dnsop/current/msg11441.html

11 years agoTidy uid defines.
Andy [Sat, 22 Mar 2014 19:10:07 +0000 (19:10 +0000)] 
Tidy uid defines.

11 years agoFix DNSSEC crash retrying to IPv6 server.
Simon Kelley [Fri, 21 Mar 2014 11:13:55 +0000 (11:13 +0000)] 
Fix DNSSEC crash retrying to IPv6 server.

11 years agoInitialise uid when creating CNAME cache record.
Simon Kelley [Thu, 20 Mar 2014 16:25:43 +0000 (16:25 +0000)] 
Initialise uid when creating CNAME cache record.

11 years agoMake --quiet-dhcp apply to DHCPDISCOVER when client ignored.
Simon Kelley [Thu, 20 Mar 2014 15:47:18 +0000 (15:47 +0000)] 
Make --quiet-dhcp apply to DHCPDISCOVER when client ignored.

11 years agoManpage typos.
Moritz Warning [Thu, 20 Mar 2014 15:32:22 +0000 (15:32 +0000)] 
Manpage typos.

11 years agoTidy and fix cache->uid handling.
Simon Kelley [Tue, 18 Mar 2014 22:38:30 +0000 (22:38 +0000)] 
Tidy and fix cache->uid handling.

Some CNAMES left the value of ->uid undefined.

Since there are now special values if this, for CNAMES
to interface names, that could cause a crash
if the undefined value hit the special value.

Also ensure that the special value can't arise
when the uid is encoding the source of an F_CONFIG
record, in case there's a CNAME to it.

11 years agoEnsure next_uid() can never return 0.
Andy [Mon, 17 Mar 2014 19:50:29 +0000 (19:50 +0000)] 
Ensure next_uid() can never return 0.

11 years agoHandle integer overflow in uid counter. Fixes rare crashes in cache code.
Simon Kelley [Sun, 16 Mar 2014 22:56:58 +0000 (22:56 +0000)] 
Handle integer overflow in uid counter. Fixes rare crashes in cache code.

11 years agoWarn about non-local queries once only for UDP.
Simon Kelley [Wed, 12 Mar 2014 20:12:56 +0000 (20:12 +0000)] 
Warn about non-local queries once only for UDP.

11 years agoTypo
Simon Kelley [Wed, 12 Mar 2014 20:07:12 +0000 (20:07 +0000)] 
Typo

11 years agoOPT_LOCAL_SERVICE needs up-to-date interface list too.
Simon Kelley [Thu, 6 Mar 2014 13:27:57 +0000 (13:27 +0000)] 
OPT_LOCAL_SERVICE needs up-to-date interface list too.

11 years agoSet --local-service in Debian package startup.
Simon Kelley [Wed, 5 Mar 2014 15:01:08 +0000 (15:01 +0000)] 
Set --local-service in Debian package startup.

11 years ago--local-service. Default protection from DNS amplification attacks.
Simon Kelley [Wed, 5 Mar 2014 14:29:54 +0000 (14:29 +0000)] 
--local-service. Default protection from DNS amplification attacks.

11 years agoAdd --static to pkg-config command when appropriate.
Simon Kelley [Wed, 5 Mar 2014 11:01:23 +0000 (11:01 +0000)] 
Add --static to pkg-config command when appropriate.

11 years agoCompiler warning.
Simon Kelley [Mon, 3 Mar 2014 14:19:19 +0000 (14:19 +0000)] 
Compiler warning.

11 years agoMan page updates for DNSSEC.
Simon Kelley [Sun, 2 Mar 2014 14:30:05 +0000 (14:30 +0000)] 
Man page updates for DNSSEC.

11 years agoKEYBLOCK LEN better as a multiple of 8.
Simon Kelley [Sun, 2 Mar 2014 12:46:51 +0000 (12:46 +0000)] 
KEYBLOCK LEN better as a multiple of 8.

11 years agoCan have local DS records (trust anchors).
Simon Kelley [Sat, 1 Mar 2014 22:53:57 +0000 (22:53 +0000)] 
Can have local DS records (trust anchors).

11 years agoMass edit of INSECURE->BOGUS returns for server failure/bad input.
Simon Kelley [Sat, 1 Mar 2014 20:48:24 +0000 (20:48 +0000)] 
Mass edit of INSECURE->BOGUS returns for server failure/bad input.

11 years agoDon't cache secure replies which we've messsed with.
Simon Kelley [Sat, 1 Mar 2014 20:08:58 +0000 (20:08 +0000)] 
Don't cache secure replies which we've messsed with.

11 years agoTweak tuning params.
Simon Kelley [Sat, 1 Mar 2014 20:03:47 +0000 (20:03 +0000)] 
Tweak tuning params.

11 years agoHandle replies with no answers and no NS in validate_reply.
Simon Kelley [Sat, 1 Mar 2014 18:07:57 +0000 (18:07 +0000)] 
Handle replies with no answers and no NS in validate_reply.

11 years agoDon't free blockdata for negative DS cache entries.
Simon Kelley [Sat, 1 Mar 2014 17:58:28 +0000 (17:58 +0000)] 
Don't free blockdata for negative DS cache entries.

11 years agoFix off-by-one overwrite.
Simon Kelley [Sat, 1 Mar 2014 16:12:28 +0000 (16:12 +0000)] 
Fix off-by-one overwrite.

11 years agoTidy.
Simon Kelley [Sat, 1 Mar 2014 15:35:50 +0000 (15:35 +0000)] 
Tidy.

11 years agoCheck that unsigned replies come from unsigned zones if --dnssec-check-unsigned set.
Simon Kelley [Fri, 28 Feb 2014 18:10:55 +0000 (18:10 +0000)] 
Check that unsigned replies come from unsigned zones if --dnssec-check-unsigned set.

11 years agoNegative caching for DS records.
Simon Kelley [Thu, 27 Feb 2014 14:30:03 +0000 (14:30 +0000)] 
Negative caching for DS records.

11 years agoReturn INSECURE when validation fails with proved non-existent DS.
Simon Kelley [Tue, 25 Feb 2014 23:13:28 +0000 (23:13 +0000)] 
Return INSECURE when validation fails with proved non-existent DS.

11 years agoStrip DNSSEC RRs when query doesn't have DO bit set.
Simon Kelley [Tue, 25 Feb 2014 23:02:28 +0000 (23:02 +0000)] 
Strip DNSSEC RRs when query doesn't have DO bit set.

11 years agoSpeeling.
Simon Kelley [Mon, 24 Feb 2014 21:46:44 +0000 (21:46 +0000)] 
Speeling.

11 years agoCode cleanup.
Simon Kelley [Mon, 24 Feb 2014 21:01:09 +0000 (21:01 +0000)] 
Code cleanup.

11 years agoAn NSEC record cannot attest to its own non-existance!
Simon Kelley [Mon, 24 Feb 2014 20:20:00 +0000 (20:20 +0000)] 
An NSEC record cannot attest to its own non-existance!

11 years agoCheck signer name in RRSIGs.
Simon Kelley [Sun, 23 Feb 2014 16:20:46 +0000 (16:20 +0000)] 
Check signer name in RRSIGs.

11 years agoBugfix for last commit.
Simon Kelley [Sun, 23 Feb 2014 15:24:26 +0000 (15:24 +0000)] 
Bugfix for last commit.

11 years agoNSEC3 validation. First pass.
Simon Kelley [Sun, 23 Feb 2014 10:48:32 +0000 (10:48 +0000)] 
NSEC3 validation. First pass.

11 years agoAdd --servers-file option.
Simon Kelley [Thu, 20 Feb 2014 13:43:28 +0000 (13:43 +0000)] 
Add --servers-file option.

11 years agoOmit ECC from DNSSEC if nettle library is old.
Simon Kelley [Wed, 19 Feb 2014 18:14:33 +0000 (18:14 +0000)] 
Omit ECC from DNSSEC if nettle library is old.

11 years agoMore server cleanup.
Simon Kelley [Wed, 19 Feb 2014 17:45:17 +0000 (17:45 +0000)] 
More server cleanup.

11 years agoCleanup of server reading code, preparation, for dynamic reading from files.
Simon Kelley [Tue, 18 Feb 2014 22:30:30 +0000 (22:30 +0000)] 
Cleanup of server reading code, preparation, for dynamic reading from files.

11 years ago--rev-server option. Syntactic sugar for PTR queries.
Simon Kelley [Mon, 17 Feb 2014 21:43:27 +0000 (21:43 +0000)] 
--rev-server option. Syntactic sugar for PTR queries.

11 years agoLog BOGUS validation result when upstream sends SERVFAIL.
Simon Kelley [Thu, 13 Feb 2014 16:56:30 +0000 (16:56 +0000)] 
Log BOGUS validation result when upstream sends SERVFAIL.

11 years agoTYpo.
Simon Kelley [Thu, 13 Feb 2014 16:43:49 +0000 (16:43 +0000)] 
TYpo.

11 years agoNo CD in forwarded queries unless dnssec-debug for TCP too.
Simon Kelley [Thu, 13 Feb 2014 16:42:02 +0000 (16:42 +0000)] 
No CD in forwarded queries unless dnssec-debug for TCP too.

11 years agoDon't mess with the TTL of DNSSEC RRs.
Simon Kelley [Thu, 13 Feb 2014 16:38:23 +0000 (16:38 +0000)] 
Don't mess with the TTL of DNSSEC RRs.

11 years agoAdd RFC-6605 ECDSA DNSSEC verification.
Simon Kelley [Thu, 13 Feb 2014 14:56:10 +0000 (14:56 +0000)] 
Add RFC-6605 ECDSA DNSSEC verification.

11 years agoUse DS records as trust anchors, not DNSKEYs.
Simon Kelley [Tue, 11 Feb 2014 11:07:22 +0000 (11:07 +0000)] 
Use DS records as trust anchors, not DNSKEYs.

This allows us to query for the root zone DNSKEY RRset and validate
it, thus automatically handling KSK rollover.

11 years agoFurther tidying of AD and DO bit handling.
Simon Kelley [Mon, 10 Feb 2014 21:02:01 +0000 (21:02 +0000)] 
Further tidying of AD and DO bit handling.

11 years agoHandle validation when more one key is needed.
Simon Kelley [Mon, 10 Feb 2014 20:11:24 +0000 (20:11 +0000)] 
Handle validation when more one key is needed.

11 years agoFix Byte-order botch: broke DNSSEC on big-endian platforms.
Simon Kelley [Mon, 10 Feb 2014 16:42:46 +0000 (16:42 +0000)] 
Fix Byte-order botch: broke DNSSEC on big-endian platforms.

11 years agoFix DNSSEC caching problems: incomplete RRSIG RRsets.
Simon Kelley [Mon, 10 Feb 2014 10:35:42 +0000 (10:35 +0000)] 
Fix DNSSEC caching problems: incomplete RRSIG RRsets.

11 years agoAD bit in queries handled as RFC6840 p5.7
Simon Kelley [Thu, 6 Feb 2014 18:14:09 +0000 (18:14 +0000)] 
AD bit in queries handled as RFC6840 p5.7

11 years agoAdd trust-anchors file to Debian package.
Simon Kelley [Thu, 6 Feb 2014 15:21:37 +0000 (15:21 +0000)] 
Add trust-anchors file to Debian package.

11 years agoFix stack-smashing crash in DNSSEC. Thanks to Henk Jan Agteresch.
Simon Kelley [Thu, 6 Feb 2014 14:45:17 +0000 (14:45 +0000)] 
Fix stack-smashing crash in DNSSEC. Thanks to Henk Jan Agteresch.

11 years agoDNSSEC config in example file.
Simon Kelley [Thu, 6 Feb 2014 12:07:10 +0000 (12:07 +0000)] 
DNSSEC config in example file.

11 years agoProtect against malicious DNS replies with very large RRsets.
Simon Kelley [Thu, 6 Feb 2014 12:01:05 +0000 (12:01 +0000)] 
Protect against malicious DNS replies with very large RRsets.

11 years agoMake RR work when returning A/AAAA records and an RRSIG.
Simon Kelley [Tue, 4 Feb 2014 22:03:06 +0000 (22:03 +0000)] 
Make RR work when returning A/AAAA records and an RRSIG.

11 years agoUpdated version of contrib/try-all-ns
Jesse Glick [Tue, 4 Feb 2014 20:20:35 +0000 (20:20 +0000)] 
Updated version of contrib/try-all-ns

11 years agoLinking stuff. Latest Debian/Ubuntu don't automatically link gmp.
Simon Kelley [Tue, 4 Feb 2014 16:57:25 +0000 (16:57 +0000)] 
Linking stuff. Latest Debian/Ubuntu don't automatically link gmp.

11 years agoMake DNSEC default, add build-depends for same, bump version.
Simon Kelley [Tue, 4 Feb 2014 16:49:41 +0000 (16:49 +0000)] 
Make DNSEC default, add build-depends for same, bump version.

11 years agoCHANGLEOG for DNSSEC.
Simon Kelley [Tue, 4 Feb 2014 11:50:11 +0000 (11:50 +0000)] 
CHANGLEOG for DNSSEC.

11 years agoFormat tweak.
Simon Kelley [Mon, 3 Feb 2014 21:17:04 +0000 (21:17 +0000)] 
Format tweak.

11 years agoLog NXDOMAIN correctly.
Simon Kelley [Mon, 3 Feb 2014 17:07:51 +0000 (17:07 +0000)] 
Log NXDOMAIN correctly.

11 years agoReturn configured DNSKEYs even though we don't have RRSIGS for them.
Simon Kelley [Mon, 3 Feb 2014 16:44:32 +0000 (16:44 +0000)] 
Return configured DNSKEYs even though we don't have RRSIGS for them.

11 years agoNasty cache failure and memory leak with DNSSEC.
Simon Kelley [Mon, 3 Feb 2014 16:27:37 +0000 (16:27 +0000)] 
Nasty cache failure and memory leak with DNSSEC.

11 years agoValidate Ooops.
Simon Kelley [Sat, 1 Feb 2014 14:54:26 +0000 (14:54 +0000)] 
Validate Ooops.

11 years agoBlockdata fixes and tuning.
Simon Kelley [Fri, 31 Jan 2014 21:05:48 +0000 (21:05 +0000)] 
Blockdata fixes and tuning.

11 years agoBlockdata leak.
Simon Kelley [Fri, 31 Jan 2014 12:42:54 +0000 (12:42 +0000)] 
Blockdata leak.

11 years agocopy-n-paste error.
Simon Kelley [Fri, 31 Jan 2014 11:12:27 +0000 (11:12 +0000)] 
copy-n-paste error.

11 years agoAnounce DNSSEC at startup.
Simon Kelley [Fri, 31 Jan 2014 10:32:45 +0000 (10:32 +0000)] 
Anounce DNSSEC at startup.

11 years agoInit ->dependent field in frec allocation.
Simon Kelley [Fri, 31 Jan 2014 10:19:52 +0000 (10:19 +0000)] 
Init ->dependent field in frec allocation.

11 years agoCompiler warning.
Simon Kelley [Fri, 31 Jan 2014 09:52:50 +0000 (09:52 +0000)] 
Compiler warning.

11 years agoAdd a file containing current root trust anchors, for convenience.
Simon Kelley [Thu, 30 Jan 2014 09:49:28 +0000 (09:49 +0000)] 
Add a file containing current root trust anchors, for convenience.

11 years agoCrash in cache code when compiled with HAVE_DNSSEC.
Simon Kelley [Tue, 28 Jan 2014 14:54:46 +0000 (14:54 +0000)] 
Crash in cache code when compiled with HAVE_DNSSEC.

11 years agoAllow use of COPTS in Debian rules invokation for nefarious purposes.
Simon Kelley [Tue, 28 Jan 2014 11:16:49 +0000 (11:16 +0000)] 
Allow use of COPTS in Debian rules invokation for nefarious purposes.

11 years agoDebian package with DNSSEC now possible.
Simon Kelley [Tue, 28 Jan 2014 11:08:57 +0000 (11:08 +0000)] 
Debian package with DNSSEC now possible.

DNSSEC will eventually become opt-out and when that happens
I'll add libnettle build-depends. For now, build with

fakeroot debian/rules DEB_BUILD_OPTIONS=usednssec

to get DNSSEC support.

11 years agoMan page entries for DNSSEC flags.
Simon Kelley [Mon, 27 Jan 2014 22:38:48 +0000 (22:38 +0000)] 
Man page entries for DNSSEC flags.

11 years agoTrivial format fix.
Simon Kelley [Mon, 27 Jan 2014 21:38:11 +0000 (21:38 +0000)] 
Trivial format fix.

11 years agoCode tidy.
Simon Kelley [Sun, 26 Jan 2014 23:39:17 +0000 (23:39 +0000)] 
Code tidy.

11 years agoDon't mark answers as DNSEC validated if DNS-doctored.
Simon Kelley [Sun, 26 Jan 2014 22:47:39 +0000 (22:47 +0000)] 
Don't mark answers as DNSEC validated if DNS-doctored.

11 years agoExclude CRC code in DNSSEC build - replaced with SHA1.
Simon Kelley [Sun, 26 Jan 2014 09:36:54 +0000 (09:36 +0000)] 
Exclude CRC code in DNSSEC build - replaced with SHA1.

11 years agoRemove --dnssec-permissive, pointless if we don't set CD upstream.
Simon Kelley [Sun, 26 Jan 2014 09:33:21 +0000 (09:33 +0000)] 
Remove --dnssec-permissive, pointless if we don't set CD upstream.

11 years agoFix to last commit.
Simon Kelley [Sat, 25 Jan 2014 23:46:23 +0000 (23:46 +0000)] 
Fix to last commit.

11 years agoReplace CRC32 with SHA1 for spoof detection in DNSSEC builds.
Simon Kelley [Sat, 25 Jan 2014 23:17:21 +0000 (23:17 +0000)] 
Replace CRC32 with SHA1 for spoof detection in DNSSEC builds.

11 years agoGet AA flag right in DNSSEC answers from cache.
Simon Kelley [Sat, 25 Jan 2014 18:43:59 +0000 (18:43 +0000)] 
Get AA flag right in DNSSEC answers from cache.

11 years agoRRSIG answer logging.
Simon Kelley [Sat, 25 Jan 2014 18:19:51 +0000 (18:19 +0000)] 
RRSIG answer logging.

11 years agoClass specifier in --dnskey, instead of hardwiring C_IN.
Simon Kelley [Sat, 25 Jan 2014 17:59:14 +0000 (17:59 +0000)] 
Class specifier in --dnskey, instead of hardwiring C_IN.

11 years ago--dnssec-debug
Simon Kelley [Sat, 25 Jan 2014 17:03:07 +0000 (17:03 +0000)] 
--dnssec-debug

11 years agoMore DNSSEC caching logic, and avoid repeated validation of DS/DNSKEY
Simon Kelley [Sat, 25 Jan 2014 16:40:15 +0000 (16:40 +0000)] 
More DNSSEC caching logic, and avoid repeated validation of DS/DNSKEY

11 years agoRRSIGS for PTR records from cache.
Simon Kelley [Fri, 24 Jan 2014 22:37:25 +0000 (22:37 +0000)] 
RRSIGS for PTR records from cache.

11 years agoTweak.
Simon Kelley [Fri, 24 Jan 2014 10:37:36 +0000 (10:37 +0000)] 
Tweak.

11 years agoRRSIGs in DS and DNSKEY cached answers.
Simon Kelley [Thu, 23 Jan 2014 22:02:19 +0000 (22:02 +0000)] 
RRSIGs in DS and DNSKEY cached answers.

11 years agoMore DNSSEC cache readout.
Simon Kelley [Thu, 23 Jan 2014 20:59:46 +0000 (20:59 +0000)] 
More DNSSEC cache readout.

11 years agoCompiler warning.
Simon Kelley [Thu, 23 Jan 2014 12:11:43 +0000 (12:11 +0000)] 
Compiler warning.