]> git.ipfire.org Git - thirdparty/unbound.git/log
thirdparty/unbound.git
11 years agogetentropy from Theo de Raadt
Wouter Wijngaards [Sat, 12 Jul 2014 20:19:14 +0000 (20:19 +0000)] 
getentropy from Theo de Raadt

git-svn-id: file:///svn/unbound/trunk@3189 be551aaa-1e26-0410-a405-d3ace91eadb9

11 years agosync with OpenBSD.
Wouter Wijngaards [Sat, 12 Jul 2014 20:07:41 +0000 (20:07 +0000)] 
sync with OpenBSD.

git-svn-id: file:///svn/unbound/trunk@3188 be551aaa-1e26-0410-a405-d3ace91eadb9

11 years agoLink and test main.
Wouter Wijngaards [Sat, 12 Jul 2014 19:31:09 +0000 (19:31 +0000)] 
Link and test main.

git-svn-id: file:///svn/unbound/trunk@3187 be551aaa-1e26-0410-a405-d3ace91eadb9

11 years agoFixup and link in main for some systems.
Wouter Wijngaards [Sat, 12 Jul 2014 19:30:32 +0000 (19:30 +0000)] 
Fixup and link in main for some systems.

git-svn-id: file:///svn/unbound/trunk@3186 be551aaa-1e26-0410-a405-d3ace91eadb9

11 years agoMaking getentropy the same across platforms.
Wouter Wijngaards [Sat, 12 Jul 2014 18:58:11 +0000 (18:58 +0000)] 
Making getentropy the same across platforms.

git-svn-id: file:///svn/unbound/trunk@3185 be551aaa-1e26-0410-a405-d3ace91eadb9

11 years ago- update compat/getentropy and arc4random to the most recent ones from OpenBSD.
Wouter Wijngaards [Sat, 12 Jul 2014 18:23:49 +0000 (18:23 +0000)] 
- update compat/getentropy and arc4random to the most recent ones from OpenBSD.

git-svn-id: file:///svn/unbound/trunk@3184 be551aaa-1e26-0410-a405-d3ace91eadb9

11 years ago- update compat/getentropy to the most recent ones from OpenBSD.
Wouter Wijngaards [Sat, 12 Jul 2014 18:03:27 +0000 (18:03 +0000)] 
- update compat/getentropy to the most recent ones from OpenBSD.

git-svn-id: file:///svn/unbound/trunk@3183 be551aaa-1e26-0410-a405-d3ace91eadb9

11 years ago- Fix bug in fix for log locks that caused deadlock in signal handler.
Wouter Wijngaards [Sat, 12 Jul 2014 17:34:37 +0000 (17:34 +0000)] 
- Fix bug in fix for log locks that caused deadlock in signal handler.

git-svn-id: file:///svn/unbound/trunk@3182 be551aaa-1e26-0410-a405-d3ace91eadb9

11 years agoFixup LibreSSL code to be futurecompatible if LibreSSL stops
Wouter Wijngaards [Sat, 12 Jul 2014 17:13:38 +0000 (17:13 +0000)] 
Fixup LibreSSL code to be futurecompatible if LibreSSL stops
providing the compat functions.

git-svn-id: file:///svn/unbound/trunk@3181 be551aaa-1e26-0410-a405-d3ace91eadb9

11 years ago- LibreSSL provides compat items, check for that in configure.
Wouter Wijngaards [Sat, 12 Jul 2014 14:13:45 +0000 (14:13 +0000)] 
- LibreSSL provides compat items, check for that in configure.

git-svn-id: file:///svn/unbound/trunk@3180 be551aaa-1e26-0410-a405-d3ace91eadb9

11 years ago- Fix to check openssl version number only for OpenSSL.
Wouter Wijngaards [Sat, 12 Jul 2014 12:54:50 +0000 (12:54 +0000)] 
- Fix to check openssl version number only for OpenSSL.

git-svn-id: file:///svn/unbound/trunk@3179 be551aaa-1e26-0410-a405-d3ace91eadb9

11 years ago- Fix getentropy compat code, function refs were not portable.
Wouter Wijngaards [Sat, 12 Jul 2014 11:33:38 +0000 (11:33 +0000)] 
- Fix getentropy compat code, function refs were not portable.

git-svn-id: file:///svn/unbound/trunk@3178 be551aaa-1e26-0410-a405-d3ace91eadb9

11 years agoarc4random_uniform does not need the support functions, and comments.
Wouter Wijngaards [Sat, 12 Jul 2014 09:46:15 +0000 (09:46 +0000)] 
arc4random_uniform does not need the support functions, and comments.

git-svn-id: file:///svn/unbound/trunk@3177 be551aaa-1e26-0410-a405-d3ace91eadb9

11 years agoremove ;
Wouter Wijngaards [Fri, 11 Jul 2014 16:45:47 +0000 (16:45 +0000)] 
remove ;

git-svn-id: file:///svn/unbound/trunk@3176 be551aaa-1e26-0410-a405-d3ace91eadb9

11 years agoFixup SHA512 definitions from compat not appearing when not needed.
Wouter Wijngaards [Fri, 11 Jul 2014 16:44:26 +0000 (16:44 +0000)] 
Fixup SHA512 definitions from compat not appearing when not needed.

git-svn-id: file:///svn/unbound/trunk@3175 be551aaa-1e26-0410-a405-d3ace91eadb9

11 years agocompat for arc4random with openssl 0.9.7 and openssl 0.9.8
Wouter Wijngaards [Fri, 11 Jul 2014 16:35:05 +0000 (16:35 +0000)] 
compat for arc4random with openssl 0.9.7 and openssl 0.9.8

git-svn-id: file:///svn/unbound/trunk@3174 be551aaa-1e26-0410-a405-d3ace91eadb9

11 years agomalloc calloc patch
Matthijs Mekking [Fri, 11 Jul 2014 15:38:07 +0000 (15:38 +0000)] 
malloc calloc patch

git-svn-id: file:///svn/unbound/trunk@3173 be551aaa-1e26-0410-a405-d3ace91eadb9

11 years ago- arc4random, getentropy and explicit_bzero compat for Windows.
Wouter Wijngaards [Fri, 11 Jul 2014 14:46:46 +0000 (14:46 +0000)] 
- arc4random, getentropy and explicit_bzero compat for Windows.

git-svn-id: file:///svn/unbound/trunk@3172 be551aaa-1e26-0410-a405-d3ace91eadb9

11 years ago- fix strptime implicit declaration error on OpenBSD.
Wouter Wijngaards [Fri, 11 Jul 2014 14:27:14 +0000 (14:27 +0000)] 
- fix strptime implicit declaration error on OpenBSD.

git-svn-id: file:///svn/unbound/trunk@3171 be551aaa-1e26-0410-a405-d3ace91eadb9

11 years agoAnd doc.
Wouter Wijngaards [Fri, 11 Jul 2014 13:26:31 +0000 (13:26 +0000)] 
And doc.
(svn:NO TEST)

git-svn-id: file:///svn/unbound/trunk@3170 be551aaa-1e26-0410-a405-d3ace91eadb9

11 years agoFixup locks to be more portable in compat.
Wouter Wijngaards [Fri, 11 Jul 2014 13:25:37 +0000 (13:25 +0000)] 
Fixup locks to be more portable in compat.

git-svn-id: file:///svn/unbound/trunk@3169 be551aaa-1e26-0410-a405-d3ace91eadb9

11 years agoFix dependency on -lrt and please lint.
Wouter Wijngaards [Fri, 11 Jul 2014 12:27:20 +0000 (12:27 +0000)] 
Fix dependency on -lrt and please lint.

git-svn-id: file:///svn/unbound/trunk@3168 be551aaa-1e26-0410-a405-d3ace91eadb9

11 years agoUse log_info on OSX for getentropy pointer.
Wouter Wijngaards [Fri, 11 Jul 2014 12:09:37 +0000 (12:09 +0000)] 
Use log_info on OSX for getentropy pointer.

git-svn-id: file:///svn/unbound/trunk@3167 be551aaa-1e26-0410-a405-d3ace91eadb9

11 years agoFix for sun compiler.
Wouter Wijngaards [Fri, 11 Jul 2014 11:49:27 +0000 (11:49 +0000)] 
Fix for sun compiler.

git-svn-id: file:///svn/unbound/trunk@3166 be551aaa-1e26-0410-a405-d3ace91eadb9

11 years agoMake getentropy work on OSX with libunbound.
Wouter Wijngaards [Fri, 11 Jul 2014 11:37:53 +0000 (11:37 +0000)] 
Make getentropy work on OSX with libunbound.

git-svn-id: file:///svn/unbound/trunk@3165 be551aaa-1e26-0410-a405-d3ace91eadb9

11 years agoNo getentropy needed if arc4random available.
Wouter Wijngaards [Fri, 11 Jul 2014 10:44:00 +0000 (10:44 +0000)] 
No getentropy needed if arc4random available.

git-svn-id: file:///svn/unbound/trunk@3164 be551aaa-1e26-0410-a405-d3ace91eadb9

11 years agoFixup signed/unsigned comparison warnings on OSX in getentropy_osx.c
Wouter Wijngaards [Fri, 11 Jul 2014 10:12:15 +0000 (10:12 +0000)] 
Fixup signed/unsigned comparison warnings on OSX in getentropy_osx.c

git-svn-id: file:///svn/unbound/trunk@3163 be551aaa-1e26-0410-a405-d3ace91eadb9

11 years agoFix getentropy_solaris compile.
Wouter Wijngaards [Fri, 11 Jul 2014 09:59:15 +0000 (09:59 +0000)] 
Fix getentropy_solaris compile.

git-svn-id: file:///svn/unbound/trunk@3162 be551aaa-1e26-0410-a405-d3ace91eadb9

11 years agoFixup solaris linkage.
Wouter Wijngaards [Fri, 11 Jul 2014 09:50:15 +0000 (09:50 +0000)] 
Fixup solaris linkage.

git-svn-id: file:///svn/unbound/trunk@3161 be551aaa-1e26-0410-a405-d3ace91eadb9

11 years agoautoconf and autoheader
Wouter Wijngaards [Fri, 11 Jul 2014 09:44:08 +0000 (09:44 +0000)] 
autoconf and autoheader

git-svn-id: file:///svn/unbound/trunk@3160 be551aaa-1e26-0410-a405-d3ace91eadb9

11 years agoFix compile and test on Linux.
Wouter Wijngaards [Fri, 11 Jul 2014 09:39:13 +0000 (09:39 +0000)] 
Fix compile and test on Linux.

git-svn-id: file:///svn/unbound/trunk@3159 be551aaa-1e26-0410-a405-d3ace91eadb9

11 years ago- arc4random in compat/ and getentropy, explicit_bzero, chacha for
Wouter Wijngaards [Fri, 11 Jul 2014 09:27:24 +0000 (09:27 +0000)] 
- arc4random in compat/ and getentropy, explicit_bzero, chacha for
  dependencies, from OpenBSD.  arc4_lock and sha512 in compat.
  This makes arc4random available on all platforms, except when
  compiled with LIBNSS (it uses libNSS crypto random).

git-svn-id: file:///svn/unbound/trunk@3158 be551aaa-1e26-0410-a405-d3ace91eadb9

11 years agocleaner compile without locks enabled.
Wouter Wijngaards [Fri, 4 Jul 2014 07:43:20 +0000 (07:43 +0000)] 
cleaner compile without locks enabled.

git-svn-id: file:///svn/unbound/trunk@3157 be551aaa-1e26-0410-a405-d3ace91eadb9

11 years ago- Fix #593: segfault or crash upon rotating logfile.
Wouter Wijngaards [Fri, 4 Jul 2014 07:34:58 +0000 (07:34 +0000)] 
- Fix #593: segfault or crash upon rotating logfile.

git-svn-id: file:///svn/unbound/trunk@3156 be551aaa-1e26-0410-a405-d3ace91eadb9

11 years ago- iana portlist updated.
Wouter Wijngaards [Thu, 3 Jul 2014 09:18:17 +0000 (09:18 +0000)] 
- iana portlist updated.

git-svn-id: file:///svn/unbound/trunk@3155 be551aaa-1e26-0410-a405-d3ace91eadb9

11 years ago- DLV tests added.
Wouter Wijngaards [Thu, 3 Jul 2014 09:07:38 +0000 (09:07 +0000)] 
- DLV tests added.
- signit tool fixup for compile with libldns library.

git-svn-id: file:///svn/unbound/trunk@3154 be551aaa-1e26-0410-a405-d3ace91eadb9

11 years ago- so-reuseport is available on BSDs(such as FreeBSD 10) and OS/X.
Wouter Wijngaards [Fri, 27 Jun 2014 14:11:57 +0000 (14:11 +0000)] 
- so-reuseport is available on BSDs(such as FreeBSD 10) and OS/X.

git-svn-id: file:///svn/unbound/trunk@3153 be551aaa-1e26-0410-a405-d3ace91eadb9

11 years agoFix va_list define for FreeBSD, Linux and OpenBSD compat for splint.
Wouter Wijngaards [Thu, 26 Jun 2014 09:27:25 +0000 (09:27 +0000)] 
Fix va_list define for FreeBSD, Linux and OpenBSD compat for splint.

git-svn-id: file:///svn/unbound/trunk@3152 be551aaa-1e26-0410-a405-d3ace91eadb9

11 years agoiana portlist updated.
Wouter Wijngaards [Thu, 26 Jun 2014 09:17:13 +0000 (09:17 +0000)] 
iana portlist updated.

git-svn-id: file:///svn/unbound/trunk@3151 be551aaa-1e26-0410-a405-d3ace91eadb9

11 years ago- unbound-control status reports if so-reuseport was successful.
Wouter Wijngaards [Thu, 26 Jun 2014 08:48:51 +0000 (08:48 +0000)] 
- unbound-control status reports if so-reuseport was successful.

git-svn-id: file:///svn/unbound/trunk@3150 be551aaa-1e26-0410-a405-d3ace91eadb9

11 years agoFix lint for FreeBSD jail.
Wouter Wijngaards [Tue, 24 Jun 2014 11:33:27 +0000 (11:33 +0000)] 
Fix lint for FreeBSD jail.

git-svn-id: file:///svn/unbound/trunk@3149 be551aaa-1e26-0410-a405-d3ace91eadb9

11 years agoTest commit hooks.
Wouter Wijngaards [Tue, 24 Jun 2014 10:34:48 +0000 (10:34 +0000)] 
Test commit hooks.

git-svn-id: file:///svn/unbound/trunk@3148 be551aaa-1e26-0410-a405-d3ace91eadb9

11 years agoFixup testsetup for VM tests (testcode/run_vm.sh).
Wouter Wijngaards [Tue, 24 Jun 2014 10:26:02 +0000 (10:26 +0000)] 
Fixup testsetup for VM tests (testcode/run_vm.sh).

git-svn-id: file:///svn/unbound/trunk@3147 be551aaa-1e26-0410-a405-d3ace91eadb9

11 years ago- Fix caps-for-id fallback, and added fallback attempt when servers
Wouter Wijngaards [Tue, 24 Jun 2014 08:24:28 +0000 (08:24 +0000)] 
- Fix caps-for-id fallback, and added fallback attempt when servers
  drop 0x20 perturbed queries.

git-svn-id: file:///svn/unbound/trunk@3146 be551aaa-1e26-0410-a405-d3ace91eadb9

11 years agochange to test post commit hooks.
Wouter Wijngaards [Mon, 23 Jun 2014 08:48:22 +0000 (08:48 +0000)] 
change to test post commit hooks.

git-svn-id: file:///svn/unbound/trunk@3145 be551aaa-1e26-0410-a405-d3ace91eadb9

11 years ago- iana portlist updated.
Wouter Wijngaards [Tue, 17 Jun 2014 11:57:32 +0000 (11:57 +0000)] 
- iana portlist updated.

git-svn-id: file:///svn/unbound/trunk@3144 be551aaa-1e26-0410-a405-d3ace91eadb9

11 years ago- Add AAAA for B root server to default root hints.
Wouter Wijngaards [Tue, 3 Jun 2014 07:29:41 +0000 (07:29 +0000)] 
- Add AAAA for B root server to default root hints.

git-svn-id: file:///svn/unbound/trunk@3143 be551aaa-1e26-0410-a405-d3ace91eadb9

11 years agoRemove unused define from iterator.h
Wouter Wijngaards [Mon, 2 Jun 2014 10:03:21 +0000 (10:03 +0000)] 
Remove unused define from iterator.h

git-svn-id: file:///svn/unbound/trunk@3142 be551aaa-1e26-0410-a405-d3ace91eadb9

11 years ago- Fixup sldns_enum_edns_option typedef definition.
Wouter Wijngaards [Fri, 30 May 2014 07:20:11 +0000 (07:20 +0000)] 
- Fixup sldns_enum_edns_option typedef definition.

git-svn-id: file:///svn/unbound/trunk@3141 be551aaa-1e26-0410-a405-d3ace91eadb9

11 years agoFrom Dag-Erling Smorgrav: The prototype for libworker_event_done_cb()
Wouter Wijngaards [Wed, 28 May 2014 08:20:44 +0000 (08:20 +0000)] 
From Dag-Erling Smorgrav: The prototype for libworker_event_done_cb()
needs to be moved from libunbound/libworker.h to libunbound/worker.h.

git-svn-id: file:///svn/unbound/trunk@3140 be551aaa-1e26-0410-a405-d3ace91eadb9

11 years ago- make depend.
Wouter Wijngaards [Wed, 28 May 2014 08:19:06 +0000 (08:19 +0000)] 
- make depend.

git-svn-id: file:///svn/unbound/trunk@3139 be551aaa-1e26-0410-a405-d3ace91eadb9

11 years ago- Fixup out-of-directory compile with unbound-control-setup.sh.in.
Wouter Wijngaards [Wed, 28 May 2014 08:15:20 +0000 (08:15 +0000)] 
- Fixup out-of-directory compile with unbound-control-setup.sh.in.

git-svn-id: file:///svn/unbound/trunk@3138 be551aaa-1e26-0410-a405-d3ace91eadb9

11 years ago- Code cleanup patch from Dag-Erling Smorgrav, with compiler issue
Wouter Wijngaards [Wed, 28 May 2014 08:07:12 +0000 (08:07 +0000)] 
- Code cleanup patch from Dag-Erling Smorgrav, with compiler issue
  fixes from FreeBSD's copy of Unbound, he notes:
  Generate unbound-control-setup.sh at build time so it respects
  prefix and sysconfdir from the configure script.  Also fix the
  umask to match the comment, and the comment to match the umask.
  Add const and static where needed.  Use unions instead of
  playing pointer poker.  Move declarations that are needed in
  multiple source files into a shared header.  Move sldns_bgetc()
  from parse.c to buffer.c where it belongs.  Introduce a new
  header file, worker.h, which declares the callbacks that
  all workers must define.  Remove those declarations from
  libworker.h. Include the correct headers in the correct places.
  Fix a few dummy callbacks that don't match their prototype.
  Fix some casts.  Hide the sbrk madness behind #ifdef HAVE_SBRK.
  Remove a useless printf which breaks reproducible builds.
  Get rid of CONFIGURE_{TARGET,DATE,BUILD_WITH} now that they're
  no longer used.  Add unbound-control-setup.sh to the list of
  generated files.

git-svn-id: file:///svn/unbound/trunk@3137 be551aaa-1e26-0410-a405-d3ace91eadb9

11 years ago- unbound-host -D enabled dnssec and reads root trust anchor from
Wouter Wijngaards [Fri, 23 May 2014 07:30:02 +0000 (07:30 +0000)] 
- unbound-host -D enabled dnssec and reads root trust anchor from
  the default root key file that was compiled in.

git-svn-id: file:///svn/unbound/trunk@3136 be551aaa-1e26-0410-a405-d3ace91eadb9

11 years agoreview fixes.
Wouter Wijngaards [Tue, 20 May 2014 11:39:41 +0000 (11:39 +0000)] 
review fixes.

git-svn-id: file:///svn/unbound/trunk@3134 be551aaa-1e26-0410-a405-d3ace91eadb9

11 years ago- Feature, unblock-lan-zones: yesno that you can use to make unbound
Wouter Wijngaards [Tue, 20 May 2014 10:38:32 +0000 (10:38 +0000)] 
- Feature, unblock-lan-zones: yesno that you can use to make unbound
  perform 10.0.0.0/8 and other reverse lookups normally, for use if
  unbound is running service for localhost on localhost.

git-svn-id: file:///svn/unbound/trunk@3133 be551aaa-1e26-0410-a405-d3ace91eadb9

11 years ago- Updated create_unbound_ad_servers and unbound_cache scripts from
Wouter Wijngaards [Fri, 16 May 2014 14:40:38 +0000 (14:40 +0000)] 
- Updated create_unbound_ad_servers and unbound_cache scripts from
  Yuri Voinov in the source/contrib directory. Added
  warmup.cmd (and .sh): warm up the DNS cache with your MRU domains.

git-svn-id: file:///svn/unbound/trunk@3131 be551aaa-1e26-0410-a405-d3ace91eadb9

11 years ago- iana portlist updated.
Wouter Wijngaards [Fri, 9 May 2014 14:42:02 +0000 (14:42 +0000)] 
- iana portlist updated.

git-svn-id: file:///svn/unbound/trunk@3130 be551aaa-1e26-0410-a405-d3ace91eadb9

11 years ago- Implement draft-ietf-dnsop-rfc6598-rfc6303-01.
Wouter Wijngaards [Fri, 9 May 2014 14:33:10 +0000 (14:33 +0000)] 
- Implement draft-ietf-dnsop-rfc6598-rfc6303-01.

git-svn-id: file:///svn/unbound/trunk@3129 be551aaa-1e26-0410-a405-d3ace91eadb9

11 years ago- Contrib windows scripts from Yuri Voinov added to src/contrib:
Wouter Wijngaards [Thu, 8 May 2014 13:39:03 +0000 (13:39 +0000)] 
- Contrib windows scripts from Yuri Voinov added to src/contrib:
  create_unbound_ad_servers.cmd: enters anti-ad server lists.
  unbound_cache.cmd: saves and loads the cache.
- Added unbound-control-setup.cmd from Yuri Voinov to the windows
  unbound distribution set.  It requires openssl installed in %PATH%.

git-svn-id: file:///svn/unbound/trunk@3128 be551aaa-1e26-0410-a405-d3ace91eadb9

11 years ago- Change MAX_SENT_COUNT from 16 to 32 to resolve some cases easier.
Wouter Wijngaards [Tue, 6 May 2014 12:37:37 +0000 (12:37 +0000)] 
- Change MAX_SENT_COUNT from 16 to 32 to resolve some cases easier.

git-svn-id: file:///svn/unbound/trunk@3127 be551aaa-1e26-0410-a405-d3ace91eadb9

11 years ago- More #567: remove : from output of stub and forward lists, this is
Wouter Wijngaards [Mon, 5 May 2014 14:47:08 +0000 (14:47 +0000)] 
- More #567: remove : from output of stub and forward lists, this is
  easier to parse.

git-svn-id: file:///svn/unbound/trunk@3126 be551aaa-1e26-0410-a405-d3ace91eadb9

11 years ago- Add unbound-control flush_negative that flushed nxdomains, nodata,
Wouter Wijngaards [Tue, 29 Apr 2014 08:47:33 +0000 (08:47 +0000)] 
- Add unbound-control flush_negative that flushed nxdomains, nodata,
  and errors from the cache.  For dnssec-trigger and NetworkManager,
  fixes cases where network changes have localdata that was already
  negatively cached from the previous network.

git-svn-id: file:///svn/unbound/trunk@3125 be551aaa-1e26-0410-a405-d3ace91eadb9

11 years ago- iana portlist updated.
Wouter Wijngaards [Tue, 29 Apr 2014 07:25:46 +0000 (07:25 +0000)] 
- iana portlist updated.

git-svn-id: file:///svn/unbound/trunk@3124 be551aaa-1e26-0410-a405-d3ace91eadb9

11 years agoFix elifs
Wouter Wijngaards [Wed, 23 Apr 2014 13:10:25 +0000 (13:10 +0000)] 
Fix elifs

git-svn-id: file:///svn/unbound/trunk@3123 be551aaa-1e26-0410-a405-d3ace91eadb9

11 years agoAnd changelog.
Wouter Wijngaards [Wed, 23 Apr 2014 13:04:10 +0000 (13:04 +0000)] 
And changelog.
(svn:NO TEST)

git-svn-id: file:///svn/unbound/trunk@3122 be551aaa-1e26-0410-a405-d3ace91eadb9

11 years agoThe autoconf changes for the patch.
Wouter Wijngaards [Wed, 23 Apr 2014 13:03:18 +0000 (13:03 +0000)] 
The autoconf changes for the patch.

git-svn-id: file:///svn/unbound/trunk@3121 be551aaa-1e26-0410-a405-d3ace91eadb9

11 years agoPatch from Jeremie Courreges-Anglas to use arc4random_uniform
Wouter Wijngaards [Wed, 23 Apr 2014 13:00:35 +0000 (13:00 +0000)] 
Patch from Jeremie Courreges-Anglas to use arc4random_uniform

git-svn-id: file:///svn/unbound/trunk@3120 be551aaa-1e26-0410-a405-d3ace91eadb9

11 years agoDifferent fix.
Wouter Wijngaards [Tue, 15 Apr 2014 11:25:36 +0000 (11:25 +0000)] 
Different fix.

git-svn-id: file:///svn/unbound/trunk@3119 be551aaa-1e26-0410-a405-d3ace91eadb9

11 years agoFix for event2 compile on FreeBSD.
Wouter Wijngaards [Tue, 15 Apr 2014 11:25:08 +0000 (11:25 +0000)] 
Fix for event2 compile on FreeBSD.

git-svn-id: file:///svn/unbound/trunk@3118 be551aaa-1e26-0410-a405-d3ace91eadb9

11 years agoNot needed.
Wouter Wijngaards [Tue, 15 Apr 2014 11:23:02 +0000 (11:23 +0000)] 
Not needed.

git-svn-id: file:///svn/unbound/trunk@3117 be551aaa-1e26-0410-a405-d3ace91eadb9

11 years agoFixup -L to -I for event2 includes..
Wouter Wijngaards [Tue, 15 Apr 2014 11:17:40 +0000 (11:17 +0000)] 
Fixup -L to -I for event2 includes..

git-svn-id: file:///svn/unbound/trunk@3116 be551aaa-1e26-0410-a405-d3ace91eadb9

11 years ago- If event2 is installed, include dir/include/event2 in compilation.
Wouter Wijngaards [Tue, 15 Apr 2014 11:14:50 +0000 (11:14 +0000)] 
- If event2 is installed, include dir/include/event2 in compilation.

git-svn-id: file:///svn/unbound/trunk@3115 be551aaa-1e26-0410-a405-d3ace91eadb9

11 years ago- iana portlist updated.
Wouter Wijngaards [Fri, 11 Apr 2014 09:02:01 +0000 (09:02 +0000)] 
- iana portlist updated.

git-svn-id: file:///svn/unbound/trunk@3114 be551aaa-1e26-0410-a405-d3ace91eadb9

11 years ago- Fix #502: explain that do-ip6 disable does not stop AAAA lookups,
Wouter Wijngaards [Fri, 11 Apr 2014 07:15:53 +0000 (07:15 +0000)] 
- Fix #502: explain that do-ip6 disable does not stop AAAA lookups,
  but it stops the use of the ipv6 transport layer for DNS traffic.

git-svn-id: file:///svn/unbound/trunk@3113 be551aaa-1e26-0410-a405-d3ace91eadb9

11 years ago- Fix #545: improved logging, the ip address of the error is printed
Wouter Wijngaards [Thu, 10 Apr 2014 14:40:20 +0000 (14:40 +0000)] 
- Fix #545: improved logging, the ip address of the error is printed
  on the same log-line as the error.

git-svn-id: file:///svn/unbound/trunk@3112 be551aaa-1e26-0410-a405-d3ace91eadb9

11 years ago- Fix #558: failed prefetch lookup does not remove cached response
Wouter Wijngaards [Thu, 10 Apr 2014 13:56:16 +0000 (13:56 +0000)] 
- Fix #558: failed prefetch lookup does not remove cached response
  but delays next prefetch (in lieu of caching a SERVFAIL).

git-svn-id: file:///svn/unbound/trunk@3111 be551aaa-1e26-0410-a405-d3ace91eadb9

11 years ago- Fix #554: use unsigned long to print 64bit statistics counters on
Wouter Wijngaards [Thu, 10 Apr 2014 11:20:41 +0000 (11:20 +0000)] 
- Fix #554: use unsigned long to print 64bit statistics counters on
  64bit systems.

git-svn-id: file:///svn/unbound/trunk@3110 be551aaa-1e26-0410-a405-d3ace91eadb9

11 years ago- Fix #567: unbound lists if forward zone is secure or insecure with
Wouter Wijngaards [Thu, 10 Apr 2014 10:54:21 +0000 (10:54 +0000)] 
- Fix #567: unbound lists if forward zone is secure or insecure with
  +i annotation in output of list_forwards, also for list_stubs
  (for NetworkManager integration.)

git-svn-id: file:///svn/unbound/trunk@3109 be551aaa-1e26-0410-a405-d3ace91eadb9

11 years ago- unbound-control stats prints num.query.tcpout with number of TCP
Wouter Wijngaards [Thu, 10 Apr 2014 09:13:58 +0000 (09:13 +0000)] 
- unbound-control stats prints num.query.tcpout with number of TCP
  outgoing queries made in the previous statistics interval.

git-svn-id: file:///svn/unbound/trunk@3108 be551aaa-1e26-0410-a405-d3ace91eadb9

11 years ago- Patch from Hannes Frederic Sowa for Linux 3.15 fragmentation
Wouter Wijngaards [Thu, 10 Apr 2014 08:35:45 +0000 (08:35 +0000)] 
- Patch from Hannes Frederic Sowa for Linux 3.15 fragmentation
  option for DNS fragmentation defense.

git-svn-id: file:///svn/unbound/trunk@3107 be551aaa-1e26-0410-a405-d3ace91eadb9

11 years ago- iana portlist updated.
Wouter Wijngaards [Thu, 10 Apr 2014 08:20:50 +0000 (08:20 +0000)] 
- iana portlist updated.

git-svn-id: file:///svn/unbound/trunk@3106 be551aaa-1e26-0410-a405-d3ace91eadb9

11 years agoiana portlist updated.
Wouter Wijngaards [Tue, 8 Apr 2014 07:46:09 +0000 (07:46 +0000)] 
iana portlist updated.

git-svn-id: file:///svn/unbound/trunk@3105 be551aaa-1e26-0410-a405-d3ace91eadb9

11 years ago- Fix #574: make test fails on Ubuntu 14.04. Disabled remote-control
Wouter Wijngaards [Tue, 8 Apr 2014 07:13:49 +0000 (07:13 +0000)] 
- Fix #574: make test fails on Ubuntu 14.04.  Disabled remote-control
  in testbound scripts.

git-svn-id: file:///svn/unbound/trunk@3104 be551aaa-1e26-0410-a405-d3ace91eadb9

11 years ago- Fix #572: Fix unit test failure for systems with different
Wouter Wijngaards [Mon, 7 Apr 2014 09:18:29 +0000 (09:18 +0000)] 
- Fix #572: Fix unit test failure for systems with different
  /etc/services.

git-svn-id: file:///svn/unbound/trunk@3103 be551aaa-1e26-0410-a405-d3ace91eadb9

11 years ago- C.ROOT-SERVERS.NET has an IPv6 address, and we updated the root
Wouter Wijngaards [Mon, 7 Apr 2014 08:18:39 +0000 (08:18 +0000)] 
- C.ROOT-SERVERS.NET has an IPv6 address, and we updated the root
  hints (patch from Anand Buddhdev).

git-svn-id: file:///svn/unbound/trunk@3102 be551aaa-1e26-0410-a405-d3ace91eadb9

11 years ago- Fix #569: do_tcp is do-tcp in unbound.conf man page.
Wouter Wijngaards [Fri, 28 Mar 2014 08:19:21 +0000 (08:19 +0000)] 
- Fix #569: do_tcp is do-tcp in unbound.conf man page.

git-svn-id: file:///svn/unbound/trunk@3101 be551aaa-1e26-0410-a405-d3ace91eadb9

11 years ago- Patch from Stuart Henderson to build unbound-host man from .1.in.
Wouter Wijngaards [Tue, 25 Mar 2014 08:09:33 +0000 (08:09 +0000)] 
- Patch from Stuart Henderson to build unbound-host man from .1.in.

git-svn-id: file:///svn/unbound/trunk@3100 be551aaa-1e26-0410-a405-d3ace91eadb9

11 years ago- Fix print filename of encompassing config file on read failure.
Wouter Wijngaards [Mon, 24 Mar 2014 13:13:42 +0000 (13:13 +0000)] 
- Fix print filename of encompassing config file on read failure.

git-svn-id: file:///svn/unbound/trunk@3099 be551aaa-1e26-0410-a405-d3ace91eadb9

11 years agotrunk has 1.4.23 in development.
Wouter Wijngaards [Wed, 12 Mar 2014 14:25:21 +0000 (14:25 +0000)] 
trunk has 1.4.23 in development.

git-svn-id: file:///svn/unbound/trunk@3098 be551aaa-1e26-0410-a405-d3ace91eadb9

11 years agotag 1.4.22 release-1.4.22
Wouter Wijngaards [Wed, 12 Mar 2014 12:30:23 +0000 (12:30 +0000)] 
tag 1.4.22

git-svn-id: file:///svn/unbound/trunk@3096 be551aaa-1e26-0410-a405-d3ace91eadb9

11 years ago- Fix bug#561: contrib/cacti plugin did not report SERVFAIL rcodes
Wouter Wijngaards [Mon, 10 Mar 2014 10:42:49 +0000 (10:42 +0000)] 
- Fix bug#561: contrib/cacti plugin did not report SERVFAIL rcodes
  because of spelling.  Patch from Chris Coates.

git-svn-id: file:///svn/unbound/trunk@3095 be551aaa-1e26-0410-a405-d3ace91eadb9

11 years ago1.4.22rc1 tag created
Wouter Wijngaards [Thu, 27 Feb 2014 08:02:24 +0000 (08:02 +0000)] 
1.4.22rc1 tag created

git-svn-id: file:///svn/unbound/trunk@3094 be551aaa-1e26-0410-a405-d3ace91eadb9

11 years ago- iana portlist updated. release-1.4.22rc1
Wouter Wijngaards [Fri, 21 Feb 2014 09:38:02 +0000 (09:38 +0000)] 
- iana portlist updated.

git-svn-id: file:///svn/unbound/trunk@3092 be551aaa-1e26-0410-a405-d3ace91eadb9

11 years ago- Be lenient when a NSEC NameError response with RCODE=NXDOMAIN is
Wouter Wijngaards [Thu, 20 Feb 2014 12:36:05 +0000 (12:36 +0000)] 
- Be lenient when a NSEC NameError response with RCODE=NXDOMAIN is
  received. This is okay according 4035, but not after revising
  existence in 4592.  NSEC empty non-terminals exist and thus the
  RCODE should have been NOERROR. If this occurs, and the RRsets
  are secure, we set the RCODE to NOERROR and the security status
  of the reponse is also considered secure.

git-svn-id: file:///svn/unbound/trunk@3091 be551aaa-1e26-0410-a405-d3ace91eadb9

11 years agoadd test for being lenient with NSEC empty non-terminal Name Error responses with...
Matthijs Mekking [Thu, 20 Feb 2014 09:48:08 +0000 (09:48 +0000)] 
add test for being lenient with NSEC empty non-terminal Name Error responses with rcode=NXDOMAIN while it should be rcode=NOERROR

git-svn-id: file:///svn/unbound/trunk@3090 be551aaa-1e26-0410-a405-d3ace91eadb9

11 years agoBe lenient when a NSEC NameError response with RCODE=NXDOMAIN is received.
Matthijs Mekking [Thu, 20 Feb 2014 09:46:50 +0000 (09:46 +0000)] 
Be lenient when a NSEC NameError response with RCODE=NXDOMAIN is received.
This is okay according 4035, but not after revising existence in 4592.
NSEC empty non-terminals exist and thus the RCODE should have been NOERROR.

If this occurs, and the RRsets are secure, we set the RCODE to NOERROR and
the security status of the reponse is also considered secure.

git-svn-id: file:///svn/unbound/trunk@3089 be551aaa-1e26-0410-a405-d3ace91eadb9

11 years agoonly whitespace changes
Matthijs Mekking [Tue, 18 Feb 2014 13:54:19 +0000 (13:54 +0000)] 
only whitespace changes

git-svn-id: file:///svn/unbound/trunk@3088 be551aaa-1e26-0410-a405-d3ace91eadb9

11 years agoreview commit.
Wouter Wijngaards [Tue, 18 Feb 2014 09:58:51 +0000 (09:58 +0000)] 
review commit.

git-svn-id: file:///svn/unbound/trunk@3087 be551aaa-1e26-0410-a405-d3ace91eadb9

11 years ago- test for too lenient LOC record
Matthijs Mekking [Tue, 18 Feb 2014 09:46:16 +0000 (09:46 +0000)] 
- test for too lenient LOC record
- remove temporary review comments

git-svn-id: file:///svn/unbound/trunk@3086 be551aaa-1e26-0410-a405-d3ace91eadb9