Commit Graph
40 Commits
Author SHA1 Message Date
Mark Andrews e391a31850 update copyright notice 2005-07-02 02:42:43 +00:00
Mark Andrews 9d36849299 1892. [bug] dnssec-signzone, dnssec-keygen: handle negative debug
levels. [RT #14962]
2005-07-01 03:57:18 +00:00
Mark Andrews a821d5fa3d DNSSEC bis merge from HEAD:
1581.  [func]          Disable DNSSEC support by default.  To enable
                       DNSSEC specify "enable-dnssec yes;" in named.conf.

1565.  [bug]           CD flag should be copied to outgoing queries unless
                       the query is under a secure entry point in which case
                       CD should be set.

1558.  [func]          New DNSSEC 'disable-algorithms'.  Support entry into
                       child zones for which we don't have a supported
                       algorithm.  Such child zones are treated as unsigned.

1557.  [func]          Implement missing DNSSEC tests for
                       * NOQNAME proof with wildcard answers.
                       * NOWILDARD proof with NXDOMAIN.
                       Cache and return NOQNAME with wildcard answers.

1541.  [func]          NSEC now uses new bitmap format.

1519.  [bug]           dnssec-signzone:nsec_setbit() computed the wrong
                       length of the new bitmap.

1516.  [func]          Roll the DNSSEC types to RRSIG, NSEC and DNSKEY.
2004-03-08 02:08:05 +00:00
Mark Andrews a09e55f624 update copyrights 2004-03-06 10:22:54 +00:00
Mark Andrews 57b54234cd sizeof style 2003-09-11 00:18:18 +00:00
Mark Andrews 854e4a3bfc 981. [func] The dnssec tools can now take multiple '-r randomfile'
arguments.
2003-08-01 23:50:46 +00:00
Mark Andrews c1df871a18 silence compiler warnings (HPUX/11i) 2003-07-23 06:57:59 +00:00
Andreas Gustafsson e8c4b14cde pullup:
1142.   [bug]           dnssec-signzone would fail to delete temporary files
                        in some failure cases. [RT #2144]
2001-11-27 22:41:49 +00:00
Andreas Gustafsson 3f538ef15c pullup:
[RT #1709]
Change isc_entropy_usebestsource() to have saner semantics:
 - If an invalid file is specified, an error will be returned instead of the
   keyboard being used.
 - If no file is specified but a random device is present, the keyboard will
   be used if there is an error opening the random device.
 - ISC_ENTROPY_KEYBOARDYES indicates that the keyboard should be the
   only device used.  Otherwise, passing '-r keyboard' is meaningless
   on a machine with a random device, since the keyboard will not be used.

Change the callers in the dnssec tools and rndc-confgen to check for the
special file "keyboard" and call isc_entropy_usebestsource() with the right set
of parameters.
2001-09-06 00:14:18 +00:00
Danny Mayer a9c57ae221 Bug fixes to support win32 2001-07-22 06:09:42 +00:00
David Lawrence 9bfa90768a 907. [func] The ability to get entropy from either the
random device, a user-provided file or from
			the keyboard was migrated from the DNSSEC tools
			to libisc as isc_entropy_usebestsource().
2001-06-22 17:05:54 +00:00
David Lawrence 6c35e4dd17 894. [bug] A message intended to warn when the keyboard was being
used because of the lack of a suitable random device
			was not being printed.

wantkeyboard was always being set to true just before setting up the keyboard
callback, rather than only being set to true if PATH_RANDOMDEV was undefined
or not able to be opened.
2001-06-08 22:07:16 +00:00
Brian Wellington c9c630ee84 If signing a zone fails, remove the partial file. [RT #1131] 2001-03-31 02:12:26 +00:00
Brian Wellington 499b34cea0 copyright update 2001-01-09 22:01:04 +00:00
Brian Wellington ee303f481d 639. [bug] Reading entropy from the keyboard would sometimes fail.
[RT #591]

note: the entropy callback conventions should really be documented.
2000-12-27 00:11:26 +00:00
Brian Wellington 78838d3e0c 8 space -> tab conversion 2000-12-11 19:24:30 +00:00
Andreas Gustafsson 3955d85b3c uninitialized variable 2000-11-27 22:19:37 +00:00
Brian Wellington 85e60ef497 Change an error message and allow time to be specified as YYYYMMDD
(without HHMMSS).
2000-11-06 17:28:24 +00:00
Brian Wellington db503b6daf logging changes. 2000-09-26 22:11:25 +00:00
Brian Wellington 42848e71bc Move some shared code to the shared file. 2000-09-08 08:38:59 +00:00
Brian Wellington 529ff4b495 HAVE_RANDOMDEV -> PATH_RANDOMDEV 2000-08-17 19:17:57 +00:00
Brian Wellington a14613fce9 --with-randomdev sets HAVE_RANDOMDEV, use that instead of /dev/random. 2000-08-17 18:56:49 +00:00
Andreas Gustafsson 91ab5ca629 <isc/print.h> needed for snprintf() 2000-08-17 01:22:10 +00:00
Brian Wellington 4fc4813eb3 Remove all non-threadsafe functions (in the non-threaded programs). 2000-08-14 04:43:17 +00:00
Brian Wellington 565d0dc22f Added a convenience function to convert a sig rdatastruct into a string. 2000-08-11 23:07:53 +00:00
David Lawrence 40f53fa8d9 Trailing whitespace trimmed. Perhaps running "perl util/spacewhack.pl in your
own CVS tree will help minimize CVS conflicts.  Maybe not.
Blame Graff for getting me to trim all trailing whitespace.
2000-08-01 01:33:37 +00:00
Brian Wellington abb04a9d70 Don't print "stop typing" if the user interrupted the entropy gathering. 2000-07-31 20:38:27 +00:00
David Lawrence 15a4474541 word wrap copyright notice at column 70 2000-07-27 09:55:03 +00:00
David Lawrence 9c3531d72a add RCS id string 2000-06-22 22:00:42 +00:00
Brian Wellington 2492d62e44 Don't print the "lacking /dev/random" message if the user specifically
wanted to use the keyboard for whatever reason.
2000-06-22 19:16:33 +00:00
Brian Wellington c62eb55568 improved prompting 2000-06-22 19:09:30 +00:00
Brian Wellington 8de5cd8d06 kbdstart had a reversed test 2000-06-22 18:42:05 +00:00
Brian Wellington 49d233a08a Allow the user to specify "keyboard" as the random device. 2000-06-22 02:47:33 +00:00
Michael Graff 7685c082c8 remove flags from source types. It was never used, and probably shouldn't be there. 2000-06-17 01:42:21 +00:00
Michael Graff c3581e2bcc No need to destroy filesources -- they will clean up when the source is destroyed 2000-06-15 18:15:26 +00:00
Brian Wellington 3d3e7bce59 Add '-r randomfile' option to all tools 2000-06-10 01:28:11 +00:00
Brian Wellington 79d91e9150 Use the entropy api 2000-06-09 22:34:40 +00:00
Andreas Gustafsson ff8ef4e84c copyright ISC 2000 2000-06-09 21:31:08 +00:00
David Lawrence 7efc8c3f69 Megacommit of many files.
Mostly, several functions that take pointers as arguments, almost
always char * pointers, had those pointers qualified with "const".
Those that returned pointers to previously const-qualified arguments
had their return values qualified as const.  Some structure members
were qualified as const to retain that attribute from the variables
from which they were assigned.

Minor other ISC style cleanups.
2000-06-01 18:49:22 +00:00
Brian Wellington b1d234eb75 The dnssec tools properly use the logging subsystem and share more code. 2000-05-24 23:54:43 +00:00