Commit Graph

164 Commits

Author SHA1 Message Date
Brian Wellington
dd380f3dca removed cruft that caused a memory leak 2000-12-06 00:38:12 +00:00
Brian Wellington
b585f0373c dnssec-signzone prints warnings if loading a child's signkey file fails. 2000-11-09 18:39:46 +00:00
Brian Wellington
82f4c5bc90 - print the names of the files generated, expand the usages a bit
- add -d directory option to dnssec-signzone
2000-10-31 20:09:15 +00:00
Mark Andrews
368b37b616 dns_rdata_invalidate -> dns_rdata_reset 2000-10-31 03:22:05 +00:00
Brian Wellington
c5c77ccbe1 Redo the dns_rdata_init() stuff again. 2000-10-28 22:56:25 +00:00
Brian Wellington
3af66745d8 Use the nxt rdatastruct instead of an ugly hack. 2000-10-28 01:09:36 +00:00
Brian Wellington
3568cef90b Use the SOA TTL as the TTL for NXT records, not the SOA minimum value. 2000-10-28 00:53:39 +00:00
Brian Wellington
ecc8ad5822 changes to stats printing 2000-10-27 21:08:03 +00:00
Brian Wellington
babe5bc58a The initialize/invalidate rdata changes weren't made in all places. 2000-10-27 20:56:39 +00:00
Brian Wellington
18d1a4ea33 fix the case when keys are not specified on the command line 2000-10-27 20:27:51 +00:00
Brian Wellington
469f328aa0 - added statistics gathering
- work when keys specified on the command line are in a different directory
- misc cleanup
2000-10-27 18:48:22 +00:00
Mark Andrews
c03bb27f06 532. [func] Implement DNS UPDATE pseudo records using
DNS_RDATA_UPDATE flag.

 531.   [func]          Rdata really should be initalized before being
                        assigned to (dns_rdata_fromwire(), dns_rdata_fromtext(),
                        dns_rdata_clone(), dns_rdata_fromregion()),
                        check that it is.
2000-10-25 04:26:57 +00:00
Mark Andrews
5e589b5356 Uninitalised link fixes, batch 1. 2000-10-20 02:21:58 +00:00
Mark Andrews
b20ee662a7 521. [bug] Detect master files which contain $INCLUDE and always
reload. [RT #196]

new result code DNS_R_SEENINCLUDE
dns_master_load* can now return DNS_R_SEENINCLUDE
2000-10-17 07:22:39 +00:00
Brian Wellington
db503b6daf logging changes. 2000-09-26 22:11:25 +00:00
Brian Wellington
356fdd6073 missing initializer 2000-09-12 11:33:14 +00:00
Brian Wellington
1f8f904ad6 Added support for non-IN classes. 2000-09-12 10:07:50 +00:00
Brian Wellington
66f5b00c37 Some of the resigning policies were a bit strange. 2000-09-08 14:16:43 +00:00
Brian Wellington
42848e71bc Move some shared code to the shared file. 2000-09-08 08:38:59 +00:00
Brian Wellington
4b9384f20d Print a warning if attempting to sign a zone with no keys. Fail if the
zone's signedkey file has keys that don't match the zone.
2000-09-07 15:53:15 +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
924fbebfbe more cleanup 2000-08-11 23:59:46 +00:00
Brian Wellington
b4d8cb6bf7 Large sections rewritten to use dns_diff_t instead of rdatalists/rdatasets.
This should remove any possible problems relating to database modifications
while iterators are active.
2000-08-11 23:23:19 +00:00
Brian Wellington
c7d63ae5a4 Remove support for the zone status bit, since the proposal no longer exists. 2000-08-11 19:39:10 +00:00
Brian Wellington
cdde861f12 Chage 'key id' to 'key tag' in a few places 2000-08-10 22:08:23 +00:00
Brian Wellington
e8892697f9 Incrementally write the signed zone instead of adding all of the SIG
records to the database and using dns_db_dump.
2000-08-03 20:10:05 +00:00
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