2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-27 12:38:24 +00:00

162 Commits

Author SHA1 Message Date
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
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
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
Bob Halley
d62314ba31 dbtable api change 2000-04-19 18:50:00 +00:00
Michael Graff
4195904998 s/DNS_R_/ISC_R_/ change for some codes. 2000-04-06 22:03:35 +00:00
Brian Wellington
43a5758df7 TKEYs go in the answer section of responses. 2000-03-28 03:16:40 +00:00
Brian Wellington
21fbf56571 Use isc_mem_get(0) rather than NULL pointers in regions 2000-03-17 19:50:22 +00:00
Brian Wellington
4d6ad56819 Require incoming TKEY queries to be signed. 2000-03-08 20:15:16 +00:00
Bob Halley
7d32c065c7 update copyright 2000-02-03 23:50:32 +00:00
Andreas Gustafsson
4328bbbe93 #include <dns/confctx.h> is no longer needed 2000-01-27 19:39:59 +00:00
Brian Wellington
fb01226bcd - generated TSIG keys can expire
- TKEY actually uses class ANY now
2000-01-24 22:22:51 +00:00
Brian Wellington
7d86ce8dfc More TKEY updates and fixes... 2000-01-24 20:19:53 +00:00
Andreas Gustafsson
f93d33e24f separated BIND specific configuration code from rest
of TSIG/TKEY code; renamed TSIG/TKEY context create and destroy functions for
consistency with rest of library
2000-01-24 19:14:26 +00:00
Brian Wellington
b6666e61dc More TSIG/TKEY minor fixes (including a few more plugged memory leaks) 2000-01-22 04:45:17 +00:00
Brian Wellington
8dd915daf3 obvious memory leaks 2000-01-21 22:51:48 +00:00
Brian Wellington
b984520acc major TSIG/TKEY cleanup 2000-01-21 20:18:41 +00:00
James Brister
1ce5dcf1c8 Change config API to not take a isc_log_t but use dns_lctx extern. 1999-12-06 12:40:39 +00:00
Bob Halley
65f9103cc5 destroy routine now does nothing if init failed 1999-11-05 20:19:24 +00:00
Brian Wellington
37300957db added dns_tkey_destroy, other minor fixes 1999-11-05 16:53:47 +00:00