Tinderbox User
791aa3e9be
update copyright notice / whitespace
2017-09-28 23:45:49 +00:00
Evan Hunt
24172bd2ee
[master] completed and corrected the crypto-random change
...
4724. [func] By default, BIND now uses the random number
functions provided by the crypto library (i.e.,
OpenSSL or a PKCS#11 provider) as a source of
randomness rather than /dev/random. This is
suitable for virtual machine environments
which have limited entropy pools and lack
hardware random number generators.
This can be overridden by specifying another
entropy source via the "random-device" option
in named.conf, or via the -r command line option;
however, for functions requiring full cryptographic
strength, such as DNSSEC key generation, this
cannot be overridden. In particular, the -r
command line option no longer has any effect on
dnssec-keygen.
This can be disabled by building with
"configure --disable-crypto-rand".
[RT #31459 ] [RT #46047 ]
2017-09-28 10:09:22 -07:00
Tinderbox User
e880197f31
update copyright notice / whitespace
2017-09-27 23:45:52 +00:00
Mukund Sivaraman
abb8813a33
Make isc_refcount_current() atomically read the counter value ( #46074 )
2017-09-27 15:09:04 +05:30
Mark Andrews
2495de04a5
use %u and cast to unsigned int
2017-09-27 17:57:07 +10:00
Mark Andrews
42ee853c23
check for ISC_R_EOF
2017-09-27 16:19:07 +10:00
Mark Andrews
73074e954a
4740. [cleanup] Avoid triggering format-truncated warnings. [RT #46107 ]
2017-09-27 16:02:02 +10:00
Mark Andrews
f9f3f20d2d
4739. [cleanup] Address clang static analysis warnings. [RT #45952 ]
2017-09-27 10:27:09 +10:00
Mukund Sivaraman
fb9712f639
Use stdint.h only when stdatomic.h is in use (stdint.h isn't available everywhere)
2017-09-22 15:14:04 +05:30
Mark Andrews
6138c5a5e4
#include <isc/string.h> as it includes both <string.h> and <strings.h> if they both exist
2017-09-22 18:08:54 +10:00
Tinderbox User
8200eb4c60
update copyright notice / whitespace
2017-09-21 23:47:11 +00:00
Mark Andrews
af7ded82e0
alphabetise
2017-09-21 17:48:26 +10:00
Tinderbox User
243b3ec486
regen master
2017-09-21 07:23:48 +00:00
Mark Andrews
f8c82bbf39
#include <stdint.h>
2017-09-21 14:18:59 +10:00
Mark Andrews
e8703033c5
atomic_compare_exchange_strong_explicit's second argument should not be atomic_*
2017-09-21 13:41:22 +10:00
Mark Andrews
d17cf1cade
explicitly list test programs
2017-09-21 12:56:33 +10:00
Tinderbox User
ffbe6b9537
update copyright notice / whitespace
2017-09-19 23:46:23 +00:00
Mukund Sivaraman
d5707676e4
Don't use memset() to wipe memory ( #45947 )
2017-09-19 16:16:45 +05:30
Mukund Sivaraman
404c9b1c53
Use C11's stdatomic.h instead of isc_atomic where available
2017-09-19 15:43:45 +05:30
Tinderbox User
cb5bc50c91
update copyright notice / whitespace
2017-09-18 23:48:50 +00:00
Michał Kępień
c2179857de
[master] Improve handling of TCP_FASTOPEN on FreeBSD
...
4726. [port] Prevent setsockopt() errors related to TCP_FASTOPEN
from being logged on FreeBSD if the kernel does not
support it. Notify the user when the kernel does
support TCP_FASTOPEN, but it is disabled by sysctl.
Add a new configure option, --disable-tcp-fastopen, to
disable use of TCP_FASTOPEN altogether. [RT #44754 ]
2017-09-18 08:34:41 +02:00
Tinderbox User
0b115f3b55
update copyright notice / whitespace
2017-09-16 23:46:04 +00:00
Francis Dupont
ad67f0bb42
Added isc_entropy_sethook in exported symbols
2017-09-16 15:57:06 +02:00
Francis Dupont
5fc7163211
Added isc_entropy_usehook in exported symbols
2017-09-16 15:56:13 +02:00
Francis Dupont
9c829f4f96
Merged rt31459d (openssl random)
2017-09-16 13:53:29 +02:00
Tinderbox User
f54a365aeb
update copyright notice / whitespace
2017-09-14 23:46:40 +00:00
Mark Andrews
c59bf663e8
silence warning
2017-09-14 19:02:27 +10:00
Mark Andrews
bace03316c
#include <isc/string.h>
...
(cherry picked from commit 7eb73f6288 )
2017-09-14 18:59:04 +10:00
Mark Andrews
5fb0c09a5e
#include <isc/string.h>
2017-09-14 18:54:46 +10:00
Mark Andrews
cb629cdeda
more str{n}{cat,cpy} corrections rt45981_stage2
2017-09-14 18:11:56 +10:00
Tinderbox User
33987cb5fd
update copyright notice / whitespace
2017-09-13 23:48:32 +00:00
Mukund Sivaraman
188fa6ea68
Add missing <isc/print.h>
2017-09-13 19:44:47 +05:30
Mukund Sivaraman
8997fc0a3f
Tweak hash_test.c further, passing sizeof(str)
2017-09-13 19:30:03 +05:30
Mukund Sivaraman
a2873eabf6
Tweak
2017-09-13 19:22:03 +05:30
Mukund Sivaraman
bc5e0a6868
Fix size of output string in hash tests
2017-09-13 19:21:08 +05:30
Mark Andrews
4c9ba9ded8
add #include <isc/string.h>
2017-09-13 23:43:43 +10:00
Evan Hunt
114f95089c
[master] cleanup strcat/strcpy
...
4722. [cleanup] Clean up uses of strcpy() and strcat() in favor of
strlcpy() and strlcat() for safety. [RT #45981 ]
2017-09-13 00:14:37 -07:00
Evan Hunt
586e65ea5c
[rt31459d] rebased rt31459c
2017-09-12 19:05:46 -07:00
Mark Andrews
34130ee25a
4719. [bug] Address PVS static analyzer warnings. [RT #45946 ]
2017-09-13 09:50:51 +10:00
Tinderbox User
1e33899f86
update copyright notice / whitespace
2017-09-12 23:46:14 +00:00
Evan Hunt
7ffd6934ba
[master] install include files
2017-09-12 10:38:22 -07:00
Evan Hunt
a9dfb7ef6e
[master] update copyrights, bump release tag
2017-09-11 22:06:05 -07:00
Mark Andrews
c75e9c7630
4714. [port] openbsd/libressl: add support for building with
...
--enable-openssl-hash. [RT #45982 ]
2017-09-12 14:19:10 +10:00
Evan Hunt
0c9683cff8
[master] prep 9.12.0a1
2017-09-11 17:30:39 -07:00
Tinderbox User
672586440b
update copyright notice / whitespace
2017-09-09 23:46:01 +00:00
Francis Dupont
90f6140832
Finished merge of rt45019 (openssl hash default)
2017-09-09 10:30:16 +02:00
Evan Hunt
8eb88aafee
[master] add libns and remove liblwres
...
4708. [cleanup] Legacy Windows builds (i.e. for XP and earlier)
are no longer supported. [RT #45186 ]
4707. [func] The lightweight resolver daemon and library (lwresd
and liblwres) have been removed. [RT #45186 ]
4706. [func] Code implementing name server query processing has
been moved from bin/named to a new library "libns".
Functions remaining in bin/named are now prefixed
with "named_" rather than "ns_". This will make it
easier to write unit tests for name server code, or
link name server functionality into new tools.
[RT #45186 ]
2017-09-08 13:47:34 -07:00
Evan Hunt
1fd1c0b027
[rt45019] fix some library ordering problems
2017-09-06 23:01:54 -07:00
Mark Andrews
6adc40b3ce
4704. [cleanup] Silence Visual Studio compiler warnings. [RT #45898 ]
2017-09-07 12:57:55 +10:00
Mark Andrews
10076239f6
missing (const)
2017-09-04 18:22:52 +10:00