Commit Graph

4530 Commits

Author SHA1 Message Date
wouter
f50092d51e - And Fix#596: Bail out of unbound-control dump_infra when ssl
write fails.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3195 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-07-16 10:07:26 +00:00
wouter
321a920e68 - iana portlist update.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3194 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-07-15 14:48:16 +00:00
wouter
c788e53800 - Fix #596: Bail out of unbound-control list_local_zones when ssl
write fails.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3193 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-07-15 14:42:57 +00:00
wouter
6f409350c3 autoconf on newer system.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3192 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-07-13 08:19:29 +00:00
wouter
7064fd4e00 Configure tests if main can be linked to from getentropy compat.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3191 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-07-13 08:18:57 +00:00
wouter
4e1cc8d35d Includes from windows.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3190 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-07-12 20:45:46 +00:00
wouter
4c5c9e2bd2 getentropy from Theo de Raadt
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3189 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-07-12 20:19:14 +00:00
wouter
edb2acae94 sync with OpenBSD.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3188 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-07-12 20:07:41 +00:00
wouter
05fe6e641c Link and test main.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3187 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-07-12 19:31:09 +00:00
wouter
41d5620427 Fixup and link in main for some systems.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3186 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-07-12 19:30:32 +00:00
wouter
0227ff54f1 Making getentropy the same across platforms.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3185 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-07-12 18:58:11 +00:00
wouter
1816535b88 - update compat/getentropy and arc4random to the most recent ones from OpenBSD.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3184 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-07-12 18:23:49 +00:00
wouter
e5d5340f1b - update compat/getentropy to the most recent ones from OpenBSD.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3183 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-07-12 18:03:27 +00:00
wouter
556c8f7752 - Fix bug in fix for log locks that caused deadlock in signal handler.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3182 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-07-12 17:34:37 +00:00
wouter
dbf08502a5 Fixup LibreSSL code to be futurecompatible if LibreSSL stops
providing the compat functions.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3181 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-07-12 17:13:38 +00:00
wouter
862e4bf306 - LibreSSL provides compat items, check for that in configure.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3180 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-07-12 14:13:45 +00:00
wouter
886fbdc54b - Fix to check openssl version number only for OpenSSL.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3179 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-07-12 12:54:50 +00:00
wouter
690b27c016 - Fix getentropy compat code, function refs were not portable.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3178 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-07-12 11:33:38 +00:00
wouter
b241ded1c6 arc4random_uniform does not need the support functions, and comments.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3177 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-07-12 09:46:15 +00:00
wouter
d2b8cd1af6 remove ;
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3176 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-07-11 16:45:47 +00:00
wouter
38aeded172 Fixup SHA512 definitions from compat not appearing when not needed.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3175 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-07-11 16:44:26 +00:00
wouter
db942d53c3 compat for arc4random with openssl 0.9.7 and openssl 0.9.8
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3174 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-07-11 16:35:05 +00:00
matje
2c269921c6 malloc calloc patch
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3173 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-07-11 15:38:07 +00:00
wouter
1135921a07 - arc4random, getentropy and explicit_bzero compat for Windows.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3172 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-07-11 14:46:46 +00:00
wouter
5aa4e51f0e - fix strptime implicit declaration error on OpenBSD.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3171 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-07-11 14:27:14 +00:00
wouter
5efc5d1ac7 And doc.
(svn:NO TEST)


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3170 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-07-11 13:26:31 +00:00
wouter
e2c0488cb5 Fixup locks to be more portable in compat.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3169 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-07-11 13:25:37 +00:00
wouter
bd07151d8f Fix dependency on -lrt and please lint.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3168 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-07-11 12:27:20 +00:00
wouter
e2e1f8027a Use log_info on OSX for getentropy pointer.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3167 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-07-11 12:09:37 +00:00
wouter
96d44a1fc4 Fix for sun compiler.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3166 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-07-11 11:49:27 +00:00
wouter
396129ba14 Make getentropy work on OSX with libunbound.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3165 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-07-11 11:37:53 +00:00
wouter
7ebdfe6890 No getentropy needed if arc4random available.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3164 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-07-11 10:44:00 +00:00
wouter
c780101d8c Fixup signed/unsigned comparison warnings on OSX in getentropy_osx.c
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3163 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-07-11 10:12:15 +00:00
wouter
5306e156fa Fix getentropy_solaris compile.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3162 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-07-11 09:59:15 +00:00
wouter
f0f6e4b72d Fixup solaris linkage.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3161 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-07-11 09:50:15 +00:00
wouter
812535a21b autoconf and autoheader
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3160 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-07-11 09:44:08 +00:00
wouter
ea396b7f2c Fix compile and test on Linux.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3159 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-07-11 09:39:13 +00:00
wouter
4b26592e42 - 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: https://unbound.nlnetlabs.nl/svn/trunk@3158 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-07-11 09:27:24 +00:00
wouter
6bc453987f cleaner compile without locks enabled.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3157 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-07-04 07:43:20 +00:00
wouter
9994fe8446 - Fix #593: segfault or crash upon rotating logfile.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3156 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-07-04 07:34:58 +00:00
wouter
36fd74972e - iana portlist updated.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3155 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-07-03 09:18:17 +00:00
wouter
bcfb7595ac - DLV tests added.
- signit tool fixup for compile with libldns library.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3154 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-07-03 09:07:38 +00:00
wouter
b3c4bac3da - so-reuseport is available on BSDs(such as FreeBSD 10) and OS/X.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3153 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-06-27 14:11:57 +00:00
wouter
cd1098f4da Fix va_list define for FreeBSD, Linux and OpenBSD compat for splint.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3152 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-06-26 09:27:25 +00:00
wouter
43713e48bc iana portlist updated.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3151 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-06-26 09:17:13 +00:00
wouter
14e8b85111 - unbound-control status reports if so-reuseport was successful.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3150 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-06-26 08:48:51 +00:00
wouter
bf41e55e6c Fix lint for FreeBSD jail.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3149 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-06-24 11:33:27 +00:00
wouter
63221696ac Test commit hooks.
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3148 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-06-24 10:34:48 +00:00
wouter
0b225540dc Fixup testsetup for VM tests (testcode/run_vm.sh).
git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3147 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-06-24 10:26:02 +00:00
wouter
c9c7f29161 - Fix caps-for-id fallback, and added fallback attempt when servers
drop 0x20 perturbed queries.


git-svn-id: https://unbound.nlnetlabs.nl/svn/trunk@3146 be551aaa-1e26-0410-a405-d3ace91eadb9
2014-06-24 08:24:28 +00:00