Commit Graph
5187 Commits
Author SHA1 Message Date
Brian Wellington f7f3cc5ee6 -p for pseudorandom, -h for help 2000-06-12 19:31:53 +00:00
Andreas Gustafsson 2f259b4eec commented 2000-06-12 19:23:51 +00:00
Brian Wellington c5c9aa94f7 parse -h 2000-06-12 19:21:48 +00:00
Andreas Gustafsson b092aef755 it's max-cache-ttl, not cache-ttl 2000-06-12 19:19:08 +00:00
Brian Wellington b010c73cbc entropy & tkey updates 2000-06-12 19:01:10 +00:00
Brian Wellington c4265bfd16 Oops, forgot to initialize server->entropy 2000-06-12 18:47:57 +00:00
Brian Wellington a9a7555a98 Make dst_test work again (use randomfile, look for errors in the right place) 2000-06-12 18:36:38 +00:00
Michael Graff 8fdd9c31b9 allow blocking when priming the pseudorandom generator 2000-06-12 18:28:25 +00:00
Michael Graff 8422b3823f require that we collect at least 20 bytes (hash size) of good randomness
before allowing pseudorandom operation.
2000-06-12 18:19:43 +00:00
Brian Wellington c0975ccf5c Use the dst entropy wrapper in all cases, so that the initial entropy flags
passes into dst are always in effect.
2000-06-12 18:05:15 +00:00
Brian Wellington ef09af8fa2 Make the random file bigger. 2000-06-12 17:42:18 +00:00
Michael Sawyer 03b5b5591c Change interface not set up return value to 1, getting rid of
"inspect" results of test (hopefully)
2000-06-12 17:41:06 +00:00
Andreas Gustafsson 19ab334c3f listed max-cache-size, as new and unimplemented 2000-06-12 17:08:44 +00:00
Brian Wellington b869f35f43 t_dst now uses a file of precomputed randomness as well as /dev/random (if
/dev/random exists).  This should allow the test to run on all platforms.
Also, the null key tests were changed to check for non-success on
dst_context_create rather than dst_context_sign.
2000-06-12 07:15:43 +00:00
Brian Wellington ce89d902a2 dst_context_create should check for a null key before creating a context 2000-06-12 07:07:53 +00:00
Brian Wellington 03e7db4ba4 hmacmd5_generate wasn't initializing a buffer 2000-06-12 07:07:14 +00:00
Andreas Gustafsson 5b3cfe4954 added 2000-06-11 21:05:11 +00:00
Brian Wellington 3bd1726b6f fix memory leak on entropy failure 2000-06-10 21:30:53 +00:00
David Lawrence ec90f1a1d6 revived openssl sha1 code to get the project to compile again. it is needed
by openssl/dsa_gen.c, as that file is currently written.  this might not
be what is ultimately desired, but was the quickest way to have a working
system again.
2000-06-10 16:53:53 +00:00
Michael Graff 8b143acb3a remove debugging printfs, no really 2000-06-10 01:53:02 +00:00
Michael Graff 01e8ed519e remove debugging printfs 2000-06-10 01:52:35 +00:00
Michael Graff f1400cb774 snapshot 2000-06-10 01:47:06 +00:00
Brian Wellington 5006de6531 - Added query-source to each server.
- Added an insecure child of a secure parent (insecure.secure.example)
- Added a privately secure child of a secure parent (private.secure.example)
2000-06-10 01:45:32 +00:00
Brian Wellington d01c654984 Removed unused openssl md5, sha1, and randomness code 2000-06-10 01:39:13 +00:00
Brian Wellington 3d3e7bce59 Add '-r randomfile' option to all tools 2000-06-10 01:28:11 +00:00
Michael Graff d08577ac0b don't reset added when retrying sources, and add another printf 2000-06-10 01:09:22 +00:00
Michael Graff a0dc53dd58 check in a debugging printf, to help track down a problem on linux 2000-06-10 00:52:56 +00:00
Michael Sawyer 51e09bf791 checkpoint 2000-06-10 00:50:36 +00:00
Michael Graff d730157099 Try a different tactic before returning failure 2000-06-10 00:50:03 +00:00
Michael Sawyer 2c12768b43 Change req_connected require to SOCKEVENT_CONNECT instead of
SOCKEVENT_SENDDONE
2000-06-10 00:37:05 +00:00
Michael Graff e679d0acb1 <, not <= 2000-06-10 00:35:08 +00:00
Brian Wellington 09b6ea10e0 typo 2000-06-09 23:50:19 +00:00
Brian Wellington 6204077770 Actually make openssl work with our entropy api 2000-06-09 23:31:55 +00:00
Michael Sawyer 2004704111 Bind socket before use 2000-06-09 23:29:35 +00:00
Andreas Gustafsson 7257176e6f added --keep option for leaving test servers running 2000-06-09 23:16:56 +00:00
Brian Wellington 79d91e9150 Use the entropy api 2000-06-09 22:34:40 +00:00
Brian Wellington d4e608c5bc use entropy api, tkey cleanup 2000-06-09 22:33:52 +00:00
Brian Wellington 14c5931d3d tkey cleanups and conversion to the entropy api 2000-06-09 22:33:08 +00:00
Brian Wellington 09a1a618cd Use the entropy api. 2000-06-09 22:32:20 +00:00
Michael Graff f8b50c193f snapshot 2000-06-09 22:24:22 +00:00
Michael Sawyer 2003deb5d1 Properly fail to work on systems which don't have the interface set up. 2000-06-09 22:23:42 +00:00
James Brister bedfa169b4 fixed handling of size+unit when value would be too large for internal
representation.

max-cache-size config option now takes a size-spec like 'datasize',
except 'default' is not allowed.
2000-06-09 22:13:23 +00:00
Andreas Gustafsson 3fe45d9897 do the length checks of 1.90 in a more efficient way; take
advantage of the new buffer API macros
2000-06-09 22:01:55 +00:00
Andreas Gustafsson 2bb908bd0b style; removed references to EDNS1 and local compression 2000-06-09 21:52:27 +00:00
Michael Graff 79fdce6aff add blocking mode, and add a flag to indicate the input is a device 2000-06-09 21:36:51 +00:00
Andreas Gustafsson 4979d89e04 joint copyright ISC/NAI 2000 2000-06-09 21:32:05 +00:00
Andreas Gustafsson f85aab2e1a joint copyright ISC 1999,2000 / NAI 2000-06-09 21:31:47 +00:00
Andreas Gustafsson ff8ef4e84c copyright ISC 2000 2000-06-09 21:31:08 +00:00
Andreas Gustafsson f9354808d1 fixed DNSSEC tool copyright info based on information from Brian 2000-06-09 21:28:48 +00:00
Andreas Gustafsson 828a5beda3 added support for the 'portions copyright ISC' copyright statement 2000-06-09 21:25:07 +00:00