Wouter Wijngaards
b9af2fa48d
Fixup signed/unsigned comparison warnings on OSX in getentropy_osx.c
...
git-svn-id: file:///svn/unbound/trunk@3163 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-07-11 10:12:15 +00:00
Wouter Wijngaards
89b915b4e1
Fix getentropy_solaris compile.
...
git-svn-id: file:///svn/unbound/trunk@3162 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-07-11 09:59:15 +00:00
Wouter Wijngaards
41a972ef9a
Fixup solaris linkage.
...
git-svn-id: file:///svn/unbound/trunk@3161 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-07-11 09:50:15 +00:00
Wouter Wijngaards
9f9ed82c5b
autoconf and autoheader
...
git-svn-id: file:///svn/unbound/trunk@3160 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-07-11 09:44:08 +00:00
Wouter Wijngaards
9f0a53e79b
Fix compile and test on Linux.
...
git-svn-id: file:///svn/unbound/trunk@3159 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-07-11 09:39:13 +00:00
Wouter Wijngaards
e445cc74af
- 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
2014-07-11 09:27:24 +00:00
Wouter Wijngaards
436d057765
cleaner compile without locks enabled.
...
git-svn-id: file:///svn/unbound/trunk@3157 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-07-04 07:43:20 +00:00
Wouter Wijngaards
c5bf2cf802
- Fix #593 : segfault or crash upon rotating logfile.
...
git-svn-id: file:///svn/unbound/trunk@3156 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-07-04 07:34:58 +00:00
Wouter Wijngaards
3cbdd45d09
- iana portlist updated.
...
git-svn-id: file:///svn/unbound/trunk@3155 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-07-03 09:18:17 +00:00
Wouter Wijngaards
2d2aa3483f
- DLV tests added.
...
- signit tool fixup for compile with libldns library.
git-svn-id: file:///svn/unbound/trunk@3154 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-07-03 09:07:38 +00:00
Wouter Wijngaards
6fcdb08164
- 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
2014-06-27 14:11:57 +00:00
Wouter Wijngaards
0aff3e3fca
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
2014-06-26 09:27:25 +00:00
Wouter Wijngaards
95cd396b25
iana portlist updated.
...
git-svn-id: file:///svn/unbound/trunk@3151 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-06-26 09:17:13 +00:00
Wouter Wijngaards
eaa926940c
- unbound-control status reports if so-reuseport was successful.
...
git-svn-id: file:///svn/unbound/trunk@3150 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-06-26 08:48:51 +00:00
Wouter Wijngaards
af127a0fed
Fix lint for FreeBSD jail.
...
git-svn-id: file:///svn/unbound/trunk@3149 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-06-24 11:33:27 +00:00
Wouter Wijngaards
0acc22a002
Test commit hooks.
...
git-svn-id: file:///svn/unbound/trunk@3148 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-06-24 10:34:48 +00:00
Wouter Wijngaards
43f3b0623f
Fixup testsetup for VM tests (testcode/run_vm.sh).
...
git-svn-id: file:///svn/unbound/trunk@3147 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-06-24 10:26:02 +00:00
Wouter Wijngaards
bc7f906590
- 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
2014-06-24 08:24:28 +00:00
Wouter Wijngaards
efe2a74af9
change to test post commit hooks.
...
git-svn-id: file:///svn/unbound/trunk@3145 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-06-23 08:48:22 +00:00
Wouter Wijngaards
ea7c8fb6d9
- iana portlist updated.
...
git-svn-id: file:///svn/unbound/trunk@3144 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-06-17 11:57:32 +00:00
Wouter Wijngaards
b4e45145cd
- Add AAAA for B root server to default root hints.
...
git-svn-id: file:///svn/unbound/trunk@3143 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-06-03 07:29:41 +00:00
Wouter Wijngaards
1a6515778d
Remove unused define from iterator.h
...
git-svn-id: file:///svn/unbound/trunk@3142 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-06-02 10:03:21 +00:00
Wouter Wijngaards
c3153f964e
- Fixup sldns_enum_edns_option typedef definition.
...
git-svn-id: file:///svn/unbound/trunk@3141 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-05-30 07:20:11 +00:00
Wouter Wijngaards
0121c7ad9f
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
2014-05-28 08:20:44 +00:00
Wouter Wijngaards
12cffd6263
- make depend.
...
git-svn-id: file:///svn/unbound/trunk@3139 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-05-28 08:19:06 +00:00
Wouter Wijngaards
dac217b621
- Fixup out-of-directory compile with unbound-control-setup.sh.in.
...
git-svn-id: file:///svn/unbound/trunk@3138 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-05-28 08:15:20 +00:00
Wouter Wijngaards
3468dce5c2
- 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
2014-05-28 08:07:12 +00:00
Wouter Wijngaards
684fd0aa15
- 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
2014-05-23 07:30:02 +00:00
Wouter Wijngaards
1773696a7e
review fixes.
...
git-svn-id: file:///svn/unbound/trunk@3134 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-05-20 11:39:41 +00:00
Wouter Wijngaards
bdc57e5be5
- 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
2014-05-20 10:38:32 +00:00
Wouter Wijngaards
9c12ca9c0a
- 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
2014-05-16 14:40:38 +00:00
Wouter Wijngaards
80b6bfb871
- iana portlist updated.
...
git-svn-id: file:///svn/unbound/trunk@3130 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-05-09 14:42:02 +00:00
Wouter Wijngaards
eab2ccf0a8
- Implement draft-ietf-dnsop-rfc6598-rfc6303-01.
...
git-svn-id: file:///svn/unbound/trunk@3129 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-05-09 14:33:10 +00:00
Wouter Wijngaards
c6e236cdfe
- 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
2014-05-08 13:39:03 +00:00
Wouter Wijngaards
cddec24dd2
- 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
2014-05-06 12:37:37 +00:00
Wouter Wijngaards
5a1ce3450f
- 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
2014-05-05 14:47:08 +00:00
Wouter Wijngaards
0bc3fab7a4
- 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
2014-04-29 08:47:33 +00:00
Wouter Wijngaards
8f8bea2e87
- iana portlist updated.
...
git-svn-id: file:///svn/unbound/trunk@3124 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-04-29 07:25:46 +00:00
Wouter Wijngaards
763721f626
Fix elifs
...
git-svn-id: file:///svn/unbound/trunk@3123 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-04-23 13:10:25 +00:00
Wouter Wijngaards
34b7918f2f
And changelog.
...
(svn:NO TEST)
git-svn-id: file:///svn/unbound/trunk@3122 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-04-23 13:04:10 +00:00
Wouter Wijngaards
8522d6c51f
The autoconf changes for the patch.
...
git-svn-id: file:///svn/unbound/trunk@3121 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-04-23 13:03:18 +00:00
Wouter Wijngaards
c598e85253
Patch from Jeremie Courreges-Anglas to use arc4random_uniform
...
git-svn-id: file:///svn/unbound/trunk@3120 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-04-23 13:00:35 +00:00
Wouter Wijngaards
b03122d04c
Different fix.
...
git-svn-id: file:///svn/unbound/trunk@3119 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-04-15 11:25:36 +00:00
Wouter Wijngaards
c5061b2573
Fix for event2 compile on FreeBSD.
...
git-svn-id: file:///svn/unbound/trunk@3118 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-04-15 11:25:08 +00:00
Wouter Wijngaards
0bf47ded61
Not needed.
...
git-svn-id: file:///svn/unbound/trunk@3117 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-04-15 11:23:02 +00:00
Wouter Wijngaards
ed95c1bc72
Fixup -L to -I for event2 includes..
...
git-svn-id: file:///svn/unbound/trunk@3116 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-04-15 11:17:40 +00:00
Wouter Wijngaards
29d77903c5
- If event2 is installed, include dir/include/event2 in compilation.
...
git-svn-id: file:///svn/unbound/trunk@3115 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-04-15 11:14:50 +00:00
Wouter Wijngaards
aa9c089946
- iana portlist updated.
...
git-svn-id: file:///svn/unbound/trunk@3114 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-04-11 09:02:01 +00:00
Wouter Wijngaards
3ff8c72549
- 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
2014-04-11 07:15:53 +00:00
Wouter Wijngaards
c19f818c52
- 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
2014-04-10 14:40:20 +00:00