Tinderbox User
452a29e62c
update copyright notice / whitespace
2015-04-28 23:45:24 +00:00
Mark Andrews
b292230ab8
4110. [bug] Address memory leaks / null pointer dereferences
...
on out of memory. [RT #39310 ]
2015-04-29 03:16:50 +10:00
Evan Hunt
e89972afcb
[master] fixed build errors with libressl
...
4088. [port] Fixed errors when building with libressl. [RT #38899 ]
2015-03-23 13:34:56 -05:00
Tinderbox User
29756974c5
update copyright notice / whitespace
2015-02-06 23:45:21 +00:00
Evan Hunt
591389c7d4
[master] 5011 tests and fixes
...
4056. [bug] Expanded automatic testing of trust anchor
management and fixed several small bugs including
a memory leak and a possible loss of key state
information. [RT #38458 ]
4055. [func] "rndc managed-keys" can be used to check status
of trust anchors or to force keys to be refreshed,
Also, the managed keys data file has easier-to-read
comments. [RT #38458 ]
2015-02-05 17:18:15 -08:00
Mark Andrews
d2a50c9ba8
cast to (unsigned long) to silence format warning
2015-02-05 07:50:24 +11:00
Tinderbox User
be755f4725
update copyright notice / whitespace
2015-01-22 23:45:26 +00:00
Evan Hunt
84ee90b52d
[master] fix 'total use' accounting
...
4046. [bug] Accounting of "total use" in memory context
statistics was not correct. [RT #38370 ]
2015-01-22 09:44:24 -08:00
Tinderbox User
c110d61b17
update copyright notice / whitespace
2015-01-20 23:45:26 +00:00
Evan Hunt
11463c0ac2
[master] clean up gcc -Wshadow warnings
...
4039. [cleanup] Cleaned up warnings from gcc -Wshadow. [RT #37381 ]
2015-01-20 13:29:18 -08:00
Mark Andrews
d8f2dd46cb
4025. [port] bsdi: failed to build. [RT #38047 ]
2014-12-19 12:06:35 +11:00
Evan Hunt
05e448935c
[master] refactor max-recursion-queries
...
- the counters weren't set correctly when fetches timed out.
instead we now pass down a counter object.
2014-11-19 18:21:02 -08:00
Evan Hunt
c325ff9c79
[master] complete coverity fixes
2014-11-17 17:39:00 -08:00
Mark Andrews
4ac862fa96
only execute additional tests if create call succeeds
2014-11-18 12:19:37 +11:00
Evan Hunt
907e01d6f3
[master] buffer ATF test was failing
2014-11-15 00:56:17 -08:00
Evan Hunt
e32d354f75
[master] allow arbitrary-size rndc output
...
4005. [func] The buffer used for returning text from rndc
commands is now dynamically resizable, allowing
arbitrarily large amounts of text to be sent back
to the client. (Prior to this change, it was
possible for the output of "rndc tsig-list" to be
truncated.) [RT #37731 ]
2014-11-14 15:58:54 -08:00
Mukund Sivaraman
a3157f3c75
[master] close() fd when done (Coverity report)
2014-11-11 07:15:02 +05:30
Evan Hunt
fadf7291df
[master] check creat() return
2014-11-10 17:30:58 -08:00
Mark Andrews
8f0cf84bb1
set working directory; #include <string.h>
2014-11-06 18:02:32 +11:00
Evan Hunt
ce96d4326c
[master] new mkeys and nzf naming format
...
3999. [func] "mkeys" and "nzf" files are now named after
their corresponding views, unless the view name
contains characters that would be incompatible
with use in a filename (i.e., slash, backslash,
or capital letters). If a view name does contain
these characters, the files will still be named
using a cryptographic hash of the view name.
Regardless of this, if a file using the old name
format is found to exist, it will continue to be
used. [RT #37704 ]
2014-11-04 19:43:27 -08:00
Mark Andrews
b976c39c07
3998. [bug] isc_radix_search was returning matches that were
...
to precise. [RT #37680 ]
2014-11-04 12:34:12 +11:00
Mark Andrews
6a6838f973
3898. [bug] To small a buffer in tohexstr() calls in test code.
...
[RT #36598 ]
2014-07-22 11:26:28 +10:00
Tinderbox User
b6f7267093
update copyright notice
2014-07-15 23:45:19 +00:00
Mark Andrews
71ec6d0940
3894. [bug] Buffers in isc_print_vsnprintf were not properly
...
initialized leading to potential overflows when
printing out quad values. [RT #36505 ]
2014-07-15 22:53:07 +10:00
Mukund Sivaraman
84dc4b3e7e
[35942] Update random number generator to ChaCha based (and add tests)
...
Squashed commit of the following:
commit 219a904fea95c74016229b6f4436d4f09de1bfd0
Author: Evan Hunt <each@isc.org>
Date: Mon Jun 2 12:20:54 2014 -0700
[rt35942] style
commit 90bc77185e9798af4595989abb8698efef8c70d7
Author: Mukund Sivaraman <muks@isc.org>
Date: Mon Jun 2 18:01:30 2014 +0530
Return p-value=0 when prerequisite (monobit) fails
commit 5594669728f1181a447616f60b835e4a043d1b21
Author: Mukund Sivaraman <muks@isc.org>
Date: Mon Jun 2 17:44:25 2014 +0530
Print proportion of test sequences passing too
commit 9e94b67a4114651224a8285f7c4a7fb03907f376
Author: Mukund Sivaraman <muks@isc.org>
Date: Mon Jun 2 17:34:03 2014 +0530
Check uniform distribution of p-values
commit acf911b32dd84ac1c30c57d8937cfeb6b3ff972f
Author: Mukund Sivaraman <muks@isc.org>
Date: Mon Jun 2 17:17:39 2014 +0530
Check proportion of sequences passing a test
commit 7289eb441fc4ec623364ad882e22b240ba8da308
Author: Mukund Sivaraman <muks@isc.org>
Date: Mon Jun 2 04:33:37 2014 +0530
Refactor common setup code into random_test()
No behavioral change is made.
commit 51feef3e08c233d34a6b8b9d25a72d43110b4eed
Author: Mukund Sivaraman <muks@isc.org>
Date: Sun Jun 1 17:31:57 2014 +0530
Fix binary rank computation
commit 0ea3c03dea353f309d13c38e26aa0abbffdcff2b
Author: Mukund Sivaraman <muks@isc.org>
Date: Tue May 27 06:01:10 2014 +0530
Add binary matrix rank RNG test
commit eb4e7c53540ac97436d94714d30084907eeff01a
Author: Mukund Sivaraman <muks@isc.org>
Date: Mon May 26 15:45:31 2014 +0530
Add function to find rank of a binary matrix
commit 1292a06e0e09ebd37d4ecf5337814951dcacc4a4
Author: Evan Hunt <each@isc.org>
Date: Thu May 29 16:21:51 2014 -0700
[rt35942] style; check whether we need libm for exp()
commit c19788e5a89235e937a5aedf2ebea50f33406609
Author: Evan Hunt <each@isc.org>
Date: Thu May 29 15:31:19 2014 -0700
[rt35942] incidental spelling error fixed
commit c833326ad0df21e2a8b35958e85ccc0a692e38be
Author: Mukund Sivaraman <muks@isc.org>
Date: Thu May 29 11:34:37 2014 +0530
Revert "Add function to find rank of a binary matrix"
This reverts commit 21b2f230e17f7fc638f81d9a34bcb148b0c4a6fb.
This test will be added in RT#36125.
commit cf786a533d34fdcd9e1c5650356e56d33e93a29f
Author: Mukund Sivaraman <muks@isc.org>
Date: Thu May 29 11:33:18 2014 +0530
Revert "Add binary matrix rank RNG test"
This reverts commit dd843b9ca84fa9af80ec39631152f82778f0b97c.
This test will be added in RT#36125.
commit dd843b9ca84fa9af80ec39631152f82778f0b97c
Author: Mukund Sivaraman <muks@isc.org>
Date: Tue May 27 06:01:10 2014 +0530
Add binary matrix rank RNG test
commit 21b2f230e17f7fc638f81d9a34bcb148b0c4a6fb
Author: Mukund Sivaraman <muks@isc.org>
Date: Mon May 26 15:45:31 2014 +0530
Add function to find rank of a binary matrix
commit 313c30088d6ba933bde3abb920f2a6d16b9b77e1
Author: Mukund Sivaraman <muks@isc.org>
Date: Mon May 26 13:38:44 2014 +0530
Add block frequency random test
commit 0d279c60ed3eabe52cf3e1435bf14ec62752536f
Author: Mukund Sivaraman <muks@isc.org>
Date: Mon May 26 13:04:03 2014 +0530
Add preconditions from NIST spec
commit 7a6c5f2ce5078814d5cf0fea30596e58171174c1
Author: Mukund Sivaraman <muks@isc.org>
Date: Mon May 26 12:51:03 2014 +0530
Add functions to use in RNG tests
commit 8c5cb5594f904f6669cdffaa364f799b4a2c6b58
Author: Mukund Sivaraman <muks@isc.org>
Date: Thu May 22 00:26:10 2014 +0530
Add runs RNG test
commit 4882f078cc2596c0911066ffb783e4dd145a63ec
Author: Mukund Sivaraman <muks@isc.org>
Date: Wed May 21 23:58:20 2014 +0530
Pre-compute bitcounts LUT
commit 896db3809fba2d9884a4a3a2fa847a73e007ad7f
Author: Mukund Sivaraman <muks@isc.org>
Date: Wed May 21 23:30:23 2014 +0530
Fix the bit value being checked (this shouldn't affect the test)
commit b932cbb5dae39eb819db29cf9490fb51d59b7c56
Author: Mukund Sivaraman <muks@isc.org>
Date: Wed May 21 19:35:12 2014 +0530
Add monobits RNG test
commit 7bef19fd8b095aa567a975ef5c97d5812162d92e
Author: Mukund Sivaraman <muks@isc.org>
Date: Wed May 21 16:53:02 2014 +0530
Add API documentation
commit 54483f7feb64b5646dd1da45b1fd396e7d04b926
Author: Mukund Sivaraman <muks@isc.org>
Date: Wed May 21 16:39:03 2014 +0530
Rename isc_rngctx_t to isc_rng_t
commit 7c5031b53555137a82c6b6218cd4dd5e95acf94d
Author: Evan Hunt <each@isc.org>
Date: Tue May 20 23:29:53 2014 -0700
[rt35942] use attach/detach with isc_rngctx_t
commit 8aabae5e09888e6af651ed27bd6b4e9f76334d55
Author: Mukund Sivaraman <muks@isc.org>
Date: Tue May 20 18:32:42 2014 +0530
Move RNG from dispatch.c to libisc
commit e6d4ad4f389998b91d46e95e258cf420cb21d977
Author: Mukund Sivaraman <muks@isc.org>
Date: Mon May 12 19:16:27 2014 +0530
Replace old arc4random with new ChaCha implementation from OpenBSD
2014-06-04 13:44:10 +05:30
Tinderbox User
cc2a515684
update copyright notice
2014-03-04 23:46:15 +00:00
Evan Hunt
b454c03196
[master] use ANSI prototypes, clean up some casts
2014-03-04 10:42:25 -08:00
Evan Hunt
98922b2b2b
[master] merge several interdependent fixes
...
3760. [bug] Improve SIT with native PKCS#11 and on Windows.
[RT #35433 ]
3759. [port] Enable delve on Windows. [RT #35441 ]
3758. [port] Enable export library APIs on windows. [RT #35382 ]
2014-02-26 19:00:05 -08:00
Mark Andrews
e676a59686
update copyrights
2014-02-20 10:53:11 +11:00
Mark Andrews
b5f6271f4d
3744. [experimental] SIT: send and process Source Identity Tokens
...
(which are similar to DNS Cookies by Donald Eastlake)
and are designed to help clients detect off path
spoofed responses and for servers to detect legitimate
clients.
SIT use a experimental EDNS option code (65001).
SIT can be enabled via --enable-developer or
--enable-sit. It is on by default in Windows.
RRL processing as been updated to know about SIT with
legitimate clients not being rate limited. [RT #35389 ]
2014-02-19 12:53:42 +11:00
Evan Hunt
dbb012765c
[master] merge libiscpk11 to libisc
...
3735. [cleanup] Merged the libiscpk11 library into libisc
to simplify dependencies. [RT #35205 ]
2014-02-11 21:20:28 -08:00
Evan Hunt
90b513b2a0
[master] another build fix for pkcs11+atf+libtool
2014-01-15 12:07:04 -08:00
Evan Hunt
ba751492fc
[master] native PKCS#11 support
...
3705. [func] "configure --enable-native-pkcs11" enables BIND
to use the PKCS#11 API for all cryptographic
functions, so that it can drive a hardware service
module directly without the need to use a modified
OpenSSL as intermediary (so long as the HSM's vendor
provides a complete-enough implementation of the
PKCS#11 interface). This has been tested successfully
with the Thales nShield HSM and with SoftHSMv2 from
the OpenDNSSEC project. [RT #29031 ]
2014-01-14 15:40:56 -08:00
Evan Hunt
903247531a
[master] portable replacement for timegm()
2014-01-10 19:22:02 -08:00
Mark Andrews
a7c412f37c
update copyrights
2014-01-11 07:07:56 +11:00
Mark Andrews
fd0f3e7cd8
add unit test for isc_time_parsehttptimestamp
2014-01-11 00:30:41 +11:00
Tinderbox User
431a83fb29
update copyright notice
2014-01-09 23:46:35 +00:00
Evan Hunt
e851ea8260
[master] replace memcpy() with memmove().
...
3698. [cleanup] Replaced all uses of memcpy() with memmove().
[RT #35120 ]
2014-01-08 16:39:05 -08:00
Mark Andrews
0a47bc90af
3668. [bug] Fix cast in lex.c which could see 0xff treated as eof.
...
[RT #34993 ]
2013-11-11 10:49:28 +11:00
Evan Hunt
5b7abbef51
[master] added isc_safe_memcmp()
...
3611. [bug] Improved resistance to a theoretical authentication
attack based on differential timing. [RT #33939 ]
2013-07-09 11:47:16 -07:00
Tinderbox User
5924e4ace0
update copyright notice
2013-06-10 23:46:19 +00:00
Evan Hunt
e59937c728
[rt33746] use CRC64 for map file error detection
...
3591. [func] Use CRC-64 to detect map file corruption at load
time. [RT #33746 ]
2013-06-10 14:19:22 -07:00
Mark Andrews
45b727f651
silence coverity warnings
2013-04-11 17:07:50 +10:00
Mark Andrews
22b5363195
printf -> fprintf
2013-03-26 16:40:14 +11:00
Tinderbox User
313b0ea9f2
update copyright notice
2013-03-23 23:46:06 +00:00
Evan Hunt
cd594861c2
[master] add missing include
2013-03-22 14:50:22 -07:00
Evan Hunt
67adc03ef8
[master] add DSCP support
...
3535. [func] Add support for setting Differentiated Services Code
Point (DSCP) values in named. Most configuration
options which take a "port" option (e.g.,
listen-on, forwarders, also-notify, masters,
notify-source, etc) can now also take a "dscp"
option specifying a code point for use with
outgoing traffic, if supported by the underlying
OS. [RT #27596 ]
2013-03-22 14:05:33 -07:00
Mark Andrews
36b3ac4dce
add <isc/util.h>
2013-02-27 16:14:44 +11:00
Mark Andrews
fdc5f1702e
silence compiler warnings
2013-02-27 15:57:46 +11:00
Mark Andrews
609b8d0817
update copyrights
2013-02-27 12:27:58 +11:00