Commit Graph

81 Commits

Author SHA1 Message Date
Mark Andrews
a4c4295268 update copyright notice 2006-01-04 23:50:21 +00:00
Mark Andrews
8019162f81 1940. [bug] Fixed a number of error conditions reported by
Coverity.
2006-01-04 03:43:20 +00:00
Mark Andrews
21232c22c7 update copyright notice 2005-06-12 00:02:26 +00:00
Mark Andrews
98529358bd 1884. [bug] process_dhtkey() was using the wrong memory context
to free some memory. [RT #14890]
2005-06-10 07:04:58 +00:00
Mark Andrews
98c575983b 1654. [bug] isc_result_totext() contained array bounds read
error.

1653.   [func]          Add key type checking to dst_key_fromfilename(),
                        DST_TYPE_KEY should be used to read TSIG, TKEY and
                        SIG(0) keys.

1652.   [bug]           TKEY still uses KEY.
2004-06-11 00:31:01 +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
cbdd3a318b update lib copyrights 2004-03-06 08:15:48 +00:00
Mark Andrews
69acffbb19 sync with HEAD 2003-10-14 03:48:11 +00:00
Mark Andrews
9052beb238 pullup
Check return values or cast them to (void), as required by the coding
standards; add exceptions to the coding standards for cases where this is
not desirable
2003-08-11 05:28:23 +00:00
Andreas Gustafsson
ae62248c8a pullup:
1038.   [bug]           TKEY queries with an owner name other than the root
                        could cause an assertion failure. [RT #1866, #1869]
2001-10-09 23:06:57 +00:00
Andreas Gustafsson
76c8294c81 format string bugs and improved format string checking [RT #1578] 2001-08-08 22:54:55 +00:00
Brian Wellington
01535cfb3a removed erroneous UNUSED macro 2001-06-08 19:16:15 +00:00
Brian Wellington
9af6e1c548 Don't die when trying to delete a nonexistent key [RT #1392] 2001-06-08 18:29:31 +00:00
Brian Wellington
62adc5ed76 Call free_namelist() rather than freeing the list manually. 2001-02-17 02:22:43 +00:00
Brian Wellington
8766351a67 general cleanup 2001-02-14 00:43:10 +00:00
Brian Wellington
c716477d2e don't free the structure twice (thanks, Andreas) 2001-02-05 20:29:56 +00:00
Brian Wellington
5e8ff069e2 clean up the code to determine if dns_rdata_freestruct() needs to be called 2001-02-05 19:50:42 +00:00
Bob Halley
7427490a67 Certain TKEY processing failure modes could
reference an uninitialized variable, causing the
server to crash. [RT #750]
2001-01-30 19:18:19 +00:00
Brian Wellington
a5ff47f55c replace a chunk of code inside an #if 0 with a comment. 2001-01-12 00:56:44 +00:00
Brian Wellington
f847f8208c Fixed an uninitialized variable, removed a dead line of code, and changed
several response processing functions to not require keyrings.
2001-01-11 19:09:47 +00:00
Brian Wellington
8e0044fe57 another memory leak. 2001-01-11 07:28:30 +00:00
Brian Wellington
9b0c4bf700 675. [func] TKEY queries could cause the server to leak
memory.
2001-01-11 04:23:39 +00:00
Brian Wellington
3e89268f1f isc_buffer_region -> isc_buffer_usedregion 2001-01-11 04:00:17 +00:00
Brian Wellington
499b34cea0 copyright update 2001-01-09 22:01:04 +00:00
Mark Andrews
88a6fef494 init dns_rdata_t's 2000-12-11 23:09:47 +00:00
Brian Wellington
78838d3e0c 8 space -> tab conversion 2000-12-11 19:24:30 +00:00
Brian Wellington
cff0491bed The TKEYTRACE macro was never used, and wasn't correct. 2000-12-07 19:13:05 +00:00
Brian Wellington
0e5d6900bd Various hacks to allow (at some point in the future) interoperability
with Windows 2000's broken implementation of TKEY.
2000-10-12 00:40:52 +00:00
Brian Wellington
d1cbf71409 clean up suspicious looking and incorrect uses of dns_name_fromregion 2000-10-07 00:09:28 +00:00
Brian Wellington
4ed956c5c0 current snapshot of gss-tsig code. I'd be surprised if this works with
w2k, but a bind9 client and server can talk.
2000-10-06 17:08:15 +00:00
Brian Wellington
352e28b5ee The UNUSED() macro wasn't used. 2000-09-20 00:01:26 +00:00
Brian Wellington
f2338a0d6a Minor tsig cleanup. 2000-08-14 18:13:11 +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
David Lawrence
15a4474541 word wrap copyright notice at column 70 2000-07-27 09:55:03 +00:00
Brian Wellington
0378429c74 Add some log messages 2000-06-23 01:51:35 +00:00
Brian Wellington
e0d98fa781 TKEY failure could leak memory. 2000-06-22 23:07:00 +00:00
Brian Wellington
14c5931d3d tkey cleanups and conversion to the entropy api 2000-06-09 22:33:08 +00:00
Mark Andrews
db06b81059 signed vs unsigned char. 2000-06-08 06:16:09 +00:00
Brian Wellington
bb36b3102c Use the isc md5 routines instead of dst. 2000-06-07 02:33:46 +00:00
Brian Wellington
4fe8755480 Use the new DST API 2000-06-02 18:59:33 +00:00
Brian Wellington
451a3c5262 include isc/buffer.h, dns/name.h, dns/rdatastruct.h 2000-05-30 22:28:37 +00:00
Brian Wellington
af60263664 Added dns_tsigkey_attach & _detach, to simplify reference counting.
Added dns_message_get/settsigkey to deuglify tsig key handling in message code.
2000-05-26 00:16:46 +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
Brian Wellington
fc16635d3c remove a memory leak 2000-05-23 23:36:39 +00:00
Brian Wellington
c610d78e67 changes to the rdata_tostruct api had broken tsig/tkey 2000-05-19 22:11:20 +00:00
Brian Wellington
c50936eb40 changed dst_key_free() prototype, misc. dst cleanup 2000-05-19 00:20:59 +00:00
Brian Wellington
81ab85fd39 dst function name cleanup 2000-05-17 22:48:10 +00:00
David Lawrence
66c5ce9e0c Fixed these warnings:
"tkey.c", line 220: remark(1552): variable "tsigkey" was set but never used
"tkey.c", line 846: remark(1552): variable "tsigkey" was set but never used

by removing the unused variables.
2000-05-14 02:31:13 +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
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