2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 06:25:31 +00:00
Commit Graph

338 Commits

Author SHA1 Message Date
Brian Wellington
3fe99b84d6 removed cruft 2000-08-03 13:42:46 +00:00
David Lawrence
9805b668b7 isc_buffer_putmem() takes an unsigned char as its second argument but a literal
string is of type char, so a couple of different OSs were complaining.
The 2nd parameter to isc_buffer_putmem() should probably be a const void *,
but rather than deal with changing the API and whatever that implies
with regard to versioning and whatever else, I have instead worked around
the issue by using isc_buffer_putuint8() to add a NUL to the buffer in
the two places that isc_buffer_putmem(&b, "", 1) was used.
2000-08-02 20:27:14 +00:00
Brian Wellington
aabfa856aa Memory could be leaked if an improper signed keyset was seen. 2000-08-02 13:51:02 +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
36e0c37908 359. [bug] dnssec-signzone occasionally signed glue records. 2000-07-31 23:11:23 +00:00
David Lawrence
90fc267992 needs <dns/fixedname.h> now that it rdatastruct.h does not provide it 2000-07-31 21:13:38 +00:00
Brian Wellington
529a6b5224 358. [cleanup] Rename the intermediate files used by the dnssec
programs.
2000-07-31 15:28:21 +00:00
David Lawrence
9c3531d72a add RCS id string 2000-06-22 22:00:42 +00:00
Brian Wellington
ad4cf977d0 Reset the callback sources, so keyboard input will be prompted for each
time it's needed.
2000-06-22 19:10:11 +00:00
Brian Wellington
417bd845e5 Lots of miscellaneous cleanup 2000-06-21 23:38:46 +00:00
Brian Wellington
7f35bf8e17 -p for pseudorandom 2000-06-12 19:32:10 +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
f85aab2e1a joint copyright ISC 1999,2000 / NAI 2000-06-09 21:31:47 +00:00
Mark Andrews
a6733246ea 240. [func] databases now come in three flavours: zone, cache
and stub.
2000-06-07 02:38:41 +00:00
Brian Wellington
b3ef06344a DST API updates 2000-06-06 22:01:49 +00:00
Brian Wellington
83b32cc342 print memory stats when verbose>10 2000-06-02 19:02:52 +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
David Lawrence
923d87d9f4 use ISC_TF() to return an isc_boolean_t from an expression 2000-05-25 03:57:20 +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
Brian Wellington
a9bc95f22e dst now stores the key name as a dns_name_t, not a char *. 2000-05-24 23:13:32 +00:00
David Lawrence
ed019cabc1 fixed lines > 79 columns wide 2000-05-24 05:10:00 +00:00
Andreas Gustafsson
fa0ad4bc0e updated comments 2000-05-24 04:23:04 +00:00
Andreas Gustafsson
5c3e730c22 include program name in log messages printed through
the logging system
2000-05-24 04:21:34 +00:00
David Lawrence
d6a2af163f added missing prototype for usage().
wrapped long lines.
removed unused stack variable "byte" from set_bit in dnssec-signzone.
UNUSED(verbose) for yet-to-be-used variable in dnssec-keygen.
argument to return should be in parentheses.
2000-05-24 03:16:19 +00:00
Brian Wellington
c50936eb40 changed dst_key_free() prototype, misc. dst cleanup 2000-05-19 00:20:59 +00:00
David Lawrence
6a6b556d9d gcc (ANSI?) won't inline a variable arg function, but there wasn't much point
to inlining fatal() anyway.
2000-05-18 23:28:30 +00:00
Brian Wellington
acd5445e00 use the new names in program output 2000-05-18 22:04:02 +00:00
Brian Wellington
245d9f25a7 better wildcard warning 2000-05-18 17:14:35 +00:00
Brian Wellington
e021965f29 Null keys were improperly generated. 2000-05-18 01:11:48 +00:00
Brian Wellington
7a152bdae3 Use a database to store the zone, not a zone object. 2000-05-17 19:58:15 +00:00
Brian Wellington
6a285c816d better error reporting and miscellaneous cleanup 2000-05-16 18:41:00 +00:00
Brian Wellington
3de75141d2 Modified commandline parameters 2000-05-16 00:02:39 +00:00
David Lawrence
1a69a1a78c Megacommit of dozens of files.
Cleanup of redundant/useless header file inclusion.

ISC style lint, primarily for function declarations and standalone
comments -- ie, those that appear on a line without any code, which
should be written as follows:
   /*
    * This is a comment.
    */
2000-05-08 14:38:29 +00:00
Andreas Gustafsson
2e6c976751 include severity level in log messages printed on stderr 2000-05-06 00:50:41 +00:00
Andreas Gustafsson
b4780360a4 log dns library warnings to stderr even when not verbose;
do not prefix stderr messages with time stamp
2000-05-06 00:48:53 +00:00
Michael Graff
c90f5e8d1e Split dns_log_init() into dns_log_init() which sets up module and category names, and dns_log_setcontext() which sets the logging context. Call isc_log_setcontext(), dns_log_init(), and dns_log_setcontext(). 2000-05-03 21:11:40 +00:00
Andreas Gustafsson
6ba0a8a5e7 eliminated compiler warnings on alpha 2000-05-03 18:25:52 +00:00
David Lawrence
09f22ac5b0 Redundant header work, mostly removing <dns/result.h> from installed
headers and adding it to source files that need it.
2000-05-02 03:54:17 +00:00
Michael Graff
ebff64a8bd add a ; after a goto label, since it needs a statement after it.
Brian should look at this section of code, since I believe it will leak
a reference to 'keyset'
2000-05-01 21:59:05 +00:00
Brian Wellington
abce4875c3 Import the parent zone key signature, create null keys for unsigned children
or set the zone status bit for signed children.
2000-04-28 15:47:36 +00:00
Mark Andrews
b8dd48ecf8 119. [cleanup] structure definitions for generic rdata stuctures do
not have _generic_ in their names.
2000-04-28 02:08:37 +00:00
Bob Halley
364a82f7c2 include isc/util.h 2000-04-28 01:12:23 +00:00
Brian Wellington
a15583c681 Conform to the dns_dnssec_verify api change 2000-04-27 18:17:27 +00:00
David Lawrence
6e49e91bd0 103. [func] libisc buffer API changes for <isc/buffer.h>:
Added:
                                isc_buffer_base(b)          (pointer)
                                isc_buffer_current(b)       (pointer)
                                isc_buffer_active(b)        (pointer)
                                isc_buffer_used(b)          (pointer)
                                isc_buffer_length(b)            (int)
                                isc_buffer_usedlength(b)        (int)
                                isc_buffer_consumedlength(b)    (int)
                                isc_buffer_remaininglength(b)   (int)
                                isc_buffer_activelength(b)      (int)
                                isc_buffer_availablelength(b)   (int)
                        Removed:
                                ISC_BUFFER_USEDCOUNT(b)
                                ISC_BUFFER_AVAILABLECOUNT(b)
                                isc_buffer_type(b)
                        Changed names:
                                isc_buffer_used(b, r) ->
                                        isc_buffer_usedregion(b, r)
                                isc_buffer_available(b, r) ->
                                        isc_buffer_available_region(b, r)
                                isc_buffer_consumed(b, r) ->
                                        isc_buffer_consumedregion(b, r)
                                isc_buffer_active(b, r) ->
                                        isc_buffer_activeregion(b, r)
                                isc_buffer_remaining(b, r) ->
                                        isc_buffer_remainingregion(b, r)

                        Buffer types were removed, so the ISC_BUFFERTYPE_*
                        macros are no more, and the type argument to
                        isc_buffer_init and isc_buffer_allocate were removed.
                        isc_buffer_putstr is now void (instead of isc_result_t)
                        and requires that the caller ensure that there
                        is enough available buffer space for the string.
2000-04-27 00:03:12 +00:00
Michael Graff
4195904998 s/DNS_R_/ISC_R_/ change for some codes. 2000-04-06 22:03:35 +00:00
Brian Wellington
2b71493ae6 Add an option (-a) to attempt to verify generated signatures 2000-03-06 18:16:49 +00:00
Brian Wellington
2e9fe863e1 Print a warning if we see a wildcard in a zone we're signing. 2000-03-01 21:23:46 +00:00
David Lawrence
edcd1247ad isc_log_create now has three parameters, the additional one used to
return an isc_logconfig_t.  isc_log_cretechannel and isc_log_usechannel
now take an isc_logconfig_t instead of an isc_log_t; this is to address
reconfiguration in a multithreaded environment.

isc_logconfig_create, isc_logconfig_get, isc_logconfig_use and
isc_logconfig_destroy were added to work with the new isc_logconfig_t type.

isc_logregister_categories and dns_log_init are now both void rather than
returning isc_result_t.
2000-02-26 19:57:02 +00:00
Brian Wellington
2d478b7049 comments and logging changes 2000-02-14 23:38:31 +00:00