Commit Graph

4530 Commits

Author SHA1 Message Date
wouter
472d02ab51 - Rename additional-tls-port to tls-additional-ports.
The older name is accepted for backwards compatibility.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4703 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-06-01 08:02:04 +00:00
wouter
78716a759d rerun bison.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4702 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-05-30 09:35:21 +00:00
wouter
3506f85724 - Patch from Syzdek: Add ability to ignore RD bit and treat all
requests as if the RD bit is set.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4701 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-05-30 09:33:21 +00:00
wouter
ae80d3cf46 - Fix that fallback for windows port.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4700 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-05-29 07:52:31 +00:00
wouter
ee22f0ee84 - in compat/arc4random call getentropy_urandom when getentropy fails
with ENOSYS.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4699 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-05-29 07:48:58 +00:00
wouter
4a5ccf25b0 - tls-win-cert option that adds the system certificate store for
authenticating DNS-over-TLS connections.  It can be used instead
  of the tls-cert-bundle option, or with it to add certificates.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4698 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-05-28 14:15:06 +00:00
wouter
8fa54ec661 - Add routine from getdns to add windows cert store to the SSL_CTX.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4697 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-05-28 13:22:10 +00:00
wouter
aee754fc46 - Fix windows tcp and tls spin on events.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4696 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-05-28 12:30:34 +00:00
wouter
c8130661f9 - Fix close events for tcp only.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4695 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-05-25 10:41:24 +00:00
wouter
4fbdf39ad1 - Fix that tcp sticky events are removed for closed fd on windows.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4694 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-05-25 10:02:06 +00:00
wouter
0ab6ec77d0 - For TCP and TLS connections that don't establish, perform address
update in infra cache, so future selections can exclude them.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4693 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-05-25 06:21:39 +00:00
wouter
432f0d8062 setup when ssl upstream or a cert-bundle is configured.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4692 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-05-24 13:03:10 +00:00
wouter
5c34d74917 Fix asynclook for libunbound needing SSL initialization
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4691 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-05-24 12:59:17 +00:00
wouter
c0e79fd89f - unbound-host initializes ssl (for potential DNS-over-TLS usage
inside libunbound).


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4690 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-05-24 12:30:13 +00:00
wouter
c6c33182d0 - Fix that windows unbound service can use DNS-over-TLS.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4689 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-05-24 09:23:24 +00:00
wouter
4153c13b66 make depend for win_svc.c include.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4688 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-05-24 09:05:37 +00:00
wouter
44f5a4a72a - Fix that libunbound can do DNS-over-TLS, when configured.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4687 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-05-24 08:57:37 +00:00
wouter
34a161c0e3 - Use accept4 to speed up incoming TCP (and TLS) connections,
available on Linux and FreeBSD.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4686 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-05-23 13:55:09 +00:00
ralph
8b19239862 - Qname minimisation default changed to yes.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4685 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-05-17 10:33:19 +00:00
wouter
7d7303a6d2 generated yacc and lex output.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4684 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-05-15 07:48:12 +00:00
wouter
e02f387278 - Fix low-rtt-pct to low-rtt-permil, as it is parts in one thousand.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4683 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-05-15 07:30:53 +00:00
wouter
7ed1e207ae - Fix contrib/libunbound.pc for libssl libcrypto references,
from https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=226914


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4682 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-05-11 11:52:19 +00:00
wouter
c2d8866e86 - Fix mesh state assertion failure due to callback removal.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4681 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-05-07 11:29:12 +00:00
wouter
dab69869cd - Fix windows to not have sticky TLS events for TCP.
- Fix read of DNS over TLS length and data in one read call.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4680 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-05-07 08:31:17 +00:00
wouter
d37a0c3daf Fix async bool.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4679 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-05-03 14:37:04 +00:00
wouter
6c0069a68c fix to please gcc 8 and lint.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4678 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-05-03 14:29:15 +00:00
wouter
cd8ce5ecdb And cast here.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4677 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-05-03 14:17:56 +00:00
wouter
14cb872630 - Fix function type cast warning in libunbound context callback type.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4676 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-05-03 14:12:19 +00:00
wouter
c9f8a59ca7 - Fix gcc 8 buffer warning in testcode.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4675 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-05-03 14:09:33 +00:00
wouter
d0d6b73eb4 - Fix that configure --with-libhiredis also turns on cachedb.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4674 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-05-03 09:59:18 +00:00
wouter
a59c4e5e0e trunk has 1.7.2 in development
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4673 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-05-03 07:59:09 +00:00
wouter
0418878e3e Fixup test for new timeout value.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4671 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-05-02 06:52:46 +00:00
wouter
bb358ef952 - Fix fail to reject dead peers in forward-zone, with ssl-upstream.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4670 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-05-02 06:36:02 +00:00
wouter
1ad21fa550 - Fix that unbound-control reload frees the rrset keys and returns
the memory pages to the system.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4669 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-05-01 14:00:06 +00:00
wouter
bfdad92471 valgrind for unittest.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4668 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-05-01 12:20:37 +00:00
wouter
6b679fd74f valgrind more unit tests.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4667 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-05-01 12:12:21 +00:00
wouter
4532af436f - Fix spelling error in man page and note defaults as no instead of
off.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4666 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-04-30 07:24:05 +00:00
TheCharlatan
f499c788fa Remove pthread check when building with mingw. 2018-04-27 13:41:40 +02:00
wouter
6e90021c03 - tag for 1.7.1rc1 release.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4664 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-04-26 07:18:42 +00:00
wouter
dbbaa5f52f - Fix for crash in daemon_cleanup with dnstap during reload,
from Saksham Manchanda.
- Also that for dnscrypt.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4663 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-04-26 06:59:49 +00:00
ralph
a20b463a88 - Fix memory leak when caching wildcard records for aggressive NSEC use
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4662 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-04-25 13:13:05 +00:00
wouter
6609994291 And assertion.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4661 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-04-24 15:16:16 +00:00
wouter
9b8e7776b7 - Fix auth https for libev.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4660 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-04-24 15:13:18 +00:00
wouter
54c261df08 - Fix contrib/fastrpz.patch for this release.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4659 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-04-24 14:26:21 +00:00
wouter
b89b3ebb90 This lexer output looks like it'll have less signed-unsigned warnings.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4658 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-04-24 10:23:12 +00:00
wouter
7e510b3182 Fixup whitespace for added authzone code.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4657 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-04-24 10:22:30 +00:00
ralph
07d180c1d1 strcpy to memmove, to please analysers
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4656 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-04-24 10:10:11 +00:00
wouter
f4acc19649 Fix libunbound return for root key sentinel.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4655 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-04-24 09:16:10 +00:00
ralph
a7eda964dc Add root-key-sentinel test description
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4654 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-04-24 09:13:57 +00:00
ralph
7bf9e5327e Added root-key-sentinel test
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@4653 be551aaa-1e26-0410-a405-d3ace91eadb9
2018-04-24 09:10:38 +00:00