]> git.ipfire.org Git - people/ms/dnsmasq.git/log
people/ms/dnsmasq.git
12 years agoAdd rdata canonicalization functions.
Giovanni Bajo [Tue, 1 May 2012 22:30:56 +0000 (00:30 +0200)] 
Add rdata canonicalization functions.

12 years agoFix a bug in rdlen update while decompressing a name
Giovanni Bajo [Tue, 1 May 2012 22:16:08 +0000 (00:16 +0200)] 
Fix a bug in rdlen update while decompressing a name

12 years agoFix the macro names.
Giovanni Bajo [Tue, 1 May 2012 22:15:26 +0000 (00:15 +0200)] 
Fix the macro names.

12 years agoFix rrset_canonical_order() to correct handle canonicalization of domain names in...
Giovanni Bajo [Tue, 1 May 2012 16:28:43 +0000 (18:28 +0200)] 
Fix rrset_canonical_order() to correct handle canonicalization of domain names in RDATA.

12 years agoStart refactoring for correct handling of domain wire-format.
Giovanni Bajo [Tue, 1 May 2012 16:27:52 +0000 (18:27 +0200)] 
Start refactoring for correct handling of domain wire-format.

Introduce utility functions and RDATA meta-description.

12 years agoverifyalg_add_data_domain: fix for root domain ("").
Giovanni Bajo [Sat, 28 Apr 2012 10:59:49 +0000 (12:59 +0200)] 
verifyalg_add_data_domain: fix for root domain ("").

12 years agoImplement RSASHA256.
Giovanni Bajo [Sat, 28 Apr 2012 10:59:05 +0000 (12:59 +0200)] 
Implement RSASHA256.

12 years agoCanonicalize NS records.
Giovanni Bajo [Sat, 28 Apr 2012 10:23:04 +0000 (12:23 +0200)] 
Canonicalize NS records.

12 years agoProcess RRSIGs also in authority and additional sections.
Giovanni Bajo [Sat, 28 Apr 2012 10:22:41 +0000 (12:22 +0200)] 
Process RRSIGs also in authority and additional sections.

12 years agoRSASHA1-NSEC3-SHA1 is equivalent to RSASHA1 for the purpose of RRSIG validation.
Giovanni Bajo [Sat, 28 Apr 2012 10:20:53 +0000 (12:20 +0200)] 
RSASHA1-NSEC3-SHA1 is equivalent to RSASHA1 for the purpose of RRSIG validation.

12 years agoReformat some code (no semantic difference).
Giovanni Bajo [Sat, 28 Apr 2012 01:59:49 +0000 (03:59 +0200)] 
Reformat some code (no semantic difference).

12 years agoStart implementing canonicalization of RDATA wire formats.
Giovanni Bajo [Sat, 28 Apr 2012 01:49:24 +0000 (03:49 +0200)] 
Start implementing canonicalization of RDATA wire formats.

12 years agoSilence a few warnings.
Giovanni Bajo [Sat, 28 Apr 2012 01:48:09 +0000 (03:48 +0200)] 
Silence a few warnings.

12 years agoConvert to C-style comments.
Giovanni Bajo [Sat, 28 Apr 2012 01:47:10 +0000 (03:47 +0200)] 
Convert to C-style comments.

12 years agoRemove unused variable.
Giovanni Bajo [Sat, 28 Apr 2012 01:46:59 +0000 (03:46 +0200)] 
Remove unused variable.

12 years agoFix a validation bug when owner != signer.
Giovanni Bajo [Fri, 27 Apr 2012 23:04:56 +0000 (01:04 +0200)] 
Fix a validation bug when owner != signer.

Since owner and signer are both domain names and share the same
buffer in memory (daemon->namebuff), we need to go through a little
hoop to make sure one doesn't step on the other's toes. We don't
really need to extract the signer name until we have finished
calculating the hash of the RRset, so we postpone its extraction.

12 years agoImprove logging message.
Giovanni Bajo [Fri, 27 Apr 2012 23:03:22 +0000 (01:03 +0200)] 
Improve logging message.

12 years agoFix a bug in extract_name_no_compression.
Giovanni Bajo [Fri, 27 Apr 2012 23:03:10 +0000 (01:03 +0200)] 
Fix a bug in extract_name_no_compression.

When the maxlen was exactly equal to the length of the string,
the function was returning 0 because the end-of-buffer check was
misplaced.

12 years agoExport skip_name function.
Giovanni Bajo [Fri, 27 Apr 2012 23:01:16 +0000 (01:01 +0200)] 
Export skip_name function.

12 years agoDebug function.
Giovanni Bajo [Fri, 27 Apr 2012 01:24:12 +0000 (03:24 +0200)] 
Debug function.

12 years agoBugfix: domain names must go through hash function in DNS format (but uncompressed!)
Giovanni Bajo [Fri, 27 Apr 2012 01:19:40 +0000 (03:19 +0200)] 
Bugfix: domain names must go through hash function in DNS format (but uncompressed!)

12 years agoBugfix: rdata flags must go through hash function in network byte order.
Giovanni Bajo [Fri, 27 Apr 2012 01:18:52 +0000 (03:18 +0200)] 
Bugfix: rdata flags must go through hash function in network byte order.

12 years agoImplement RSA verification.
Giovanni Bajo [Fri, 27 Apr 2012 01:14:15 +0000 (03:14 +0200)] 
Implement RSA verification.

12 years agoverify() function must take a keydata chained buffer for input key.
Giovanni Bajo [Fri, 27 Apr 2012 01:13:34 +0000 (03:13 +0200)] 
verify() function must take a keydata chained buffer for input key.

12 years agoMove helper functions to common header file.
Giovanni Bajo [Fri, 27 Apr 2012 01:11:22 +0000 (03:11 +0200)] 
Move helper functions to common header file.

12 years agoHelper function to walk through keydata chained blocks.
Giovanni Bajo [Fri, 27 Apr 2012 01:11:03 +0000 (03:11 +0200)] 
Helper function to walk through keydata chained blocks.

12 years agoAdd a FIXME for missing logic.
Giovanni Bajo [Thu, 26 Apr 2012 12:37:22 +0000 (14:37 +0200)] 
Add a FIXME for missing logic.

12 years agoAdd cast to silence warning.
Giovanni Bajo [Thu, 26 Apr 2012 12:37:10 +0000 (14:37 +0200)] 
Add cast to silence warning.

12 years agoRework the loop a little (no functionality changes)
Giovanni Bajo [Wed, 25 Apr 2012 18:22:16 +0000 (20:22 +0200)] 
Rework the loop a little (no functionality changes)

12 years agoCall valg verify functions (unimplemented for now)
Giovanni Bajo [Wed, 25 Apr 2012 18:19:07 +0000 (20:19 +0200)] 
Call valg verify functions (unimplemented for now)

12 years agoInsert all DNSKEY/DS records into cache in one transaction.
Giovanni Bajo [Wed, 25 Apr 2012 18:16:22 +0000 (20:16 +0200)] 
Insert all DNSKEY/DS records into cache in one transaction.

12 years agoChange some logging messages.
Giovanni Bajo [Wed, 25 Apr 2012 18:15:35 +0000 (20:15 +0200)] 
Change some logging messages.

12 years agoSkip non-signing keys
Giovanni Bajo [Wed, 25 Apr 2012 16:17:50 +0000 (18:17 +0200)] 
Skip non-signing keys

12 years agoPostpone RRSIG processing after all DNSKEY/DS have been parsed.
Giovanni Bajo [Wed, 25 Apr 2012 16:13:41 +0000 (18:13 +0200)] 
Postpone RRSIG processing after all DNSKEY/DS have been parsed.

12 years agoBefore using a key for validation, also verify that algorithm matches.
Giovanni Bajo [Wed, 25 Apr 2012 16:13:20 +0000 (18:13 +0200)] 
Before using a key for validation, also verify that algorithm matches.

12 years agoFix argument in dnssec_parsekey() call.
Giovanni Bajo [Wed, 25 Apr 2012 16:03:52 +0000 (18:03 +0200)] 
Fix argument in dnssec_parsekey() call.

12 years agoAdd function to extract algorithm number from context.
Giovanni Bajo [Wed, 25 Apr 2012 16:03:24 +0000 (18:03 +0200)] 
Add function to extract algorithm number from context.

12 years agoStart parsing DNSKEY records and insert them into cache.
Giovanni Bajo [Wed, 25 Apr 2012 15:49:16 +0000 (17:49 +0200)] 
Start parsing DNSKEY records and insert them into cache.

12 years agoextract_name_no_compression: strip trailing dot.
Giovanni Bajo [Wed, 25 Apr 2012 15:48:40 +0000 (17:48 +0200)] 
extract_name_no_compression: strip trailing dot.

12 years agoMacros to simplify tentative parsing.
Giovanni Bajo [Wed, 25 Apr 2012 15:47:56 +0000 (17:47 +0200)] 
Macros to simplify tentative parsing.

12 years agoRefactor to use new VerifyAlg context, and start implementing logic for querying...
Giovanni Bajo [Wed, 25 Apr 2012 15:46:53 +0000 (17:46 +0200)] 
Refactor to use new VerifyAlg context, and start implementing logic for querying DNSKEYs.

12 years agoExplicitize the context of verification algorithm.
Giovanni Bajo [Wed, 25 Apr 2012 15:40:47 +0000 (17:40 +0200)] 
Explicitize the context of verification algorithm.

12 years agoMove general macros in dnsmasq.h
Giovanni Bajo [Wed, 25 Apr 2012 15:40:13 +0000 (17:40 +0200)] 
Move general macros in dnsmasq.h

12 years agoRename key cache field.
Giovanni Bajo [Wed, 25 Apr 2012 15:39:35 +0000 (17:39 +0200)] 
Rename key cache field.

12 years agoFix bug in keydata_alloc()
Giovanni Bajo [Wed, 25 Apr 2012 15:39:12 +0000 (17:39 +0200)] 
Fix bug in keydata_alloc()

12 years agoFix rrset qsort comparison function.
Giovanni Bajo [Tue, 24 Apr 2012 00:23:11 +0000 (02:23 +0200)] 
Fix rrset qsort comparison function.

12 years agoAdd skeleton for RSASHA256.
Giovanni Bajo [Tue, 24 Apr 2012 00:21:50 +0000 (02:21 +0200)] 
Add skeleton for RSASHA256.

12 years agoRemove useless endian-conversion after GETLONG().
Giovanni Bajo [Tue, 24 Apr 2012 00:02:55 +0000 (02:02 +0200)] 
Remove useless endian-conversion after GETLONG().

12 years agoFix off-by-one in iteration.
Giovanni Bajo [Tue, 24 Apr 2012 00:02:29 +0000 (02:02 +0200)] 
Fix off-by-one in iteration.

12 years agoSpecify the correct place where to canonicalize RR within RRset.
Giovanni Bajo [Mon, 23 Apr 2012 23:46:47 +0000 (01:46 +0200)] 
Specify the correct place where to canonicalize RR within RRset.

12 years agoInitial openssl RSASHA1 implementation (only SHA1 for now).
Giovanni Bajo [Sun, 22 Apr 2012 22:32:01 +0000 (00:32 +0200)] 
Initial openssl RSASHA1 implementation (only SHA1 for now).

12 years agoAdd openssl support to build machinery.
Giovanni Bajo [Sun, 22 Apr 2012 22:30:38 +0000 (00:30 +0200)] 
Add openssl support to build machinery.

12 years agoFurther abstract API of verify crypto.
Giovanni Bajo [Sun, 22 Apr 2012 22:30:00 +0000 (00:30 +0200)] 
Further abstract API of verify crypto.

12 years agoFilter out invalid characters in domain names.
Giovanni Bajo [Sun, 22 Apr 2012 13:59:27 +0000 (15:59 +0200)] 
Filter out invalid characters in domain names.

12 years agoSkip trailing \0 in domain name.
Giovanni Bajo [Sun, 22 Apr 2012 13:53:52 +0000 (15:53 +0200)] 
Skip trailing \0 in domain name.

12 years agoAugment verify algorithm table.
Giovanni Bajo [Sun, 22 Apr 2012 13:22:07 +0000 (15:22 +0200)] 
Augment verify algorithm table.

12 years agoInitial dnssec structure.
Giovanni Bajo [Sun, 22 Apr 2012 12:32:02 +0000 (14:32 +0200)] 
Initial dnssec structure.

12 years agoDNSSEC validation require EDNS0, force larger packet size.
Giovanni Bajo [Sun, 22 Apr 2012 12:31:43 +0000 (14:31 +0200)] 
DNSSEC validation require EDNS0, force larger packet size.

12 years agoExternalize dns parsing functions.
Giovanni Bajo [Sun, 22 Apr 2012 12:30:53 +0000 (14:30 +0200)] 
Externalize dns parsing functions.

12 years agoAdd run-time options to activate dnssec validation.
Giovanni Bajo [Thu, 5 Apr 2012 00:50:13 +0000 (02:50 +0200)] 
Add run-time options to activate dnssec validation.

12 years agoAdd dnssec RR types
Giovanni Bajo [Thu, 5 Apr 2012 00:47:28 +0000 (02:47 +0200)] 
Add dnssec RR types

12 years agoRename existing DNSSEC macros into DNSSEC_PROXY.
Giovanni Bajo [Thu, 5 Apr 2012 00:46:52 +0000 (02:46 +0200)] 
Rename existing DNSSEC macros into DNSSEC_PROXY.

12 years agoAdd compile-time macro for DNSSEC support.
Giovanni Bajo [Thu, 5 Apr 2012 00:43:39 +0000 (02:43 +0200)] 
Add compile-time macro for DNSSEC support.

12 years agoFix dhcp-range sanity checking.
Simon Kelley [Tue, 20 Aug 2013 13:41:31 +0000 (14:41 +0100)] 
Fix dhcp-range sanity checking.

12 years agoUse tags from pxe-proxy dhcp-range statements.
Simon Kelley [Tue, 20 Aug 2013 09:33:32 +0000 (10:33 +0100)] 
Use tags from pxe-proxy dhcp-range statements.

12 years agoAllow prefix :: in constructed dhcp-range.
Vladislav Grishenko [Mon, 19 Aug 2013 15:20:31 +0000 (16:20 +0100)] 
Allow prefix :: in constructed dhcp-range.

12 years agoIFACE_PERMANENT interface flag in enumeration.
Vladislav Grishenko [Mon, 19 Aug 2013 15:07:07 +0000 (16:07 +0100)] 
IFACE_PERMANENT interface flag in enumeration.

12 years agoSilence compiler warning.
Simon Kelley [Mon, 19 Aug 2013 13:12:59 +0000 (14:12 +0100)] 
Silence compiler warning.

12 years agoAdd code to get IPv6 address lifetimes and flags for *BSD.
Vladislav Grishenko [Mon, 19 Aug 2013 13:04:38 +0000 (14:04 +0100)] 
Add code to get IPv6 address lifetimes and flags for *BSD.

12 years agoSet SOREUSEADDR as well as SOREUSEPORT on DHCP sockets when both available.
Simon Kelley [Wed, 14 Aug 2013 14:53:57 +0000 (15:53 +0100)] 
Set SOREUSEADDR as well as SOREUSEPORT on DHCP sockets when both available.

12 years agoDebian package change: update resolvconf script.
Simon Kelley [Wed, 14 Aug 2013 13:54:23 +0000 (14:54 +0100)] 
Debian package change: update resolvconf script.

12 years agoFix DHCPv6 lease time calculation when client sends VL==0 or PL==0
Simon Kelley [Mon, 5 Aug 2013 14:03:44 +0000 (15:03 +0100)] 
Fix DHCPv6 lease time calculation when client sends VL==0 or PL==0

12 years agoSanity check for dhcp-range template.
Simon Kelley [Thu, 1 Aug 2013 19:19:32 +0000 (20:19 +0100)] 
Sanity check for dhcp-range template.

12 years agoProvide independent control over which interfaces get TFTP.
Simon Kelley [Mon, 29 Jul 2013 18:49:07 +0000 (19:49 +0100)] 
Provide independent control over which interfaces get TFTP.

12 years agoMake --listen-address higher priority than --except-interface.
Simon Kelley [Mon, 29 Jul 2013 16:21:48 +0000 (17:21 +0100)] 
Make --listen-address higher priority than --except-interface.

12 years agoAdd --force-fast-ra option.
Simon Kelley [Mon, 29 Jul 2013 14:41:26 +0000 (15:41 +0100)] 
Add --force-fast-ra option.

12 years agoApply ceiling of configured dhcp-range leasetime to deprecated prefix adverts.
Simon Kelley [Sun, 28 Jul 2013 14:47:04 +0000 (15:47 +0100)] 
Apply ceiling of configured dhcp-range leasetime to deprecated prefix adverts.

12 years agoSupport RFC-4242 information-refresh-time.
Simon Kelley [Sat, 27 Jul 2013 20:32:32 +0000 (21:32 +0100)] 
Support RFC-4242 information-refresh-time.

12 years agoRemove dead code.
Simon Kelley [Sat, 27 Jul 2013 14:15:38 +0000 (15:15 +0100)] 
Remove dead code.

12 years agoBetter job with domain for DHCPv6 information-request.
Simon Kelley [Sat, 27 Jul 2013 14:11:44 +0000 (15:11 +0100)] 
Better job with domain for DHCPv6 information-request.

12 years agoTweak when old prefix returns.
Simon Kelley [Sat, 27 Jul 2013 12:36:08 +0000 (13:36 +0100)] 
Tweak when old prefix returns.

12 years agoMerge branch 'master' of ssh://thekelleys.org.uk/var/cache/git/dnsmasq
Simon Kelley [Sat, 27 Jul 2013 11:32:29 +0000 (12:32 +0100)] 
Merge branch 'master' of ssh://thekelleys.org.uk/var/cache/git/dnsmasq

Conflicts:
CHANGELOG

12 years agoFix MAC address enumeration on *BSD.
Simon Kelley [Fri, 26 Jul 2013 14:38:59 +0000 (15:38 +0100)] 
Fix MAC address enumeration on *BSD.

12 years agoAdvertise lost prefixes with pref_time == 0 for 2 hours.
Simon Kelley [Fri, 26 Jul 2013 12:59:03 +0000 (13:59 +0100)] 
Advertise lost prefixes with pref_time == 0 for 2 hours.

12 years agoMake --clear-on-reload apply to DBus API too.
Simon Kelley [Thu, 25 Jul 2013 20:47:17 +0000 (21:47 +0100)] 
Make --clear-on-reload apply to DBus API too.

12 years agoDHCP FQDN option tweaks.
Roy Marples [Thu, 25 Jul 2013 15:22:46 +0000 (16:22 +0100)] 
DHCP FQDN option tweaks.

12 years agoTweak parameter lifetimes in Router advertisements.
Simon Kelley [Thu, 25 Jul 2013 13:19:27 +0000 (14:19 +0100)] 
Tweak parameter lifetimes in Router advertisements.

12 years agoAllow hostnames to start with a number.
Kyle Mestery [Wed, 24 Jul 2013 12:11:58 +0000 (13:11 +0100)] 
Allow hostnames to start with a number.

12 years agoTypo in name in CHANGELOG.
Simon Kelley [Wed, 3 Jul 2013 19:40:45 +0000 (20:40 +0100)] 
Typo in name in CHANGELOG.

12 years agoFix crash with empty DHCP string options.
Simon Kelley [Tue, 2 Jul 2013 20:19:32 +0000 (21:19 +0100)] 
Fix crash with empty DHCP string options.

12 years agoIncrease timeout/number of retries in TFTP.
Simon Kelley [Wed, 19 Jun 2013 09:31:23 +0000 (10:31 +0100)] 
Increase timeout/number of retries in TFTP.

12 years agoDon't BIND DHCP socket if more interfaces may come along later.
Simon Kelley [Fri, 31 May 2013 16:04:25 +0000 (17:04 +0100)] 
Don't BIND DHCP socket if more interfaces may come along later.

12 years agoAdd constructor-noauth: keyword
Simon Kelley [Fri, 31 May 2013 13:07:22 +0000 (14:07 +0100)] 
Add constructor-noauth: keyword

12 years agoAllow constructed ranges from interface address at end of range.
Simon Kelley [Fri, 31 May 2013 12:47:26 +0000 (13:47 +0100)] 
Allow constructed ranges from interface address at end of range.

Also make man page on this clearer, as it's been confusing many.

12 years agoLog forwarding table overflows.
Marcelo Salhab Brogliato [Fri, 31 May 2013 10:49:06 +0000 (11:49 +0100)] 
Log forwarding table overflows.

12 years agoRemove limit in prefix length in --auth-zone.
Simon Kelley [Wed, 29 May 2013 15:32:07 +0000 (16:32 +0100)] 
Remove limit in prefix length in --auth-zone.

12 years agoFix option parsing for --dhcp-host.
Simon Kelley [Wed, 29 May 2013 13:31:33 +0000 (14:31 +0100)] 
Fix option parsing for --dhcp-host.

12 years agoUpdate Debian resolvconf script for dnscrypt-proxy integration.
Simon Kelley [Tue, 28 May 2013 13:49:54 +0000 (14:49 +0100)] 
Update Debian resolvconf script for dnscrypt-proxy integration.

12 years agoFix hang from new interface-name code, when using TCP.
Simon Kelley [Thu, 23 May 2013 09:04:25 +0000 (10:04 +0100)] 
Fix hang from new interface-name code, when using TCP.

12 years agoDebian changelog update.
Simon Kelley [Mon, 20 May 2013 10:50:33 +0000 (11:50 +0100)] 
Debian changelog update.