Brian Wellington
7e8dd00fce
More tsig rdatastruct problems fixed
2000-05-22 23:17:22 +00:00
Brian Wellington
e492431068
missing NULL initialization
2000-05-19 00:29:00 +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
7bb0f11636
stdlib.h needed on HP/UX for abs()
2000-05-08 19:30:10 +00:00
David Lawrence
6028d1ce03
Needs string.h for function prototypes. For some reason gcc and other
...
compilers do not warn about the missing str*/mem* prototypes.
2000-05-08 19:23:32 +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
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
Brian Wellington
dc3fc5830a
A couple minor bugs relating to TCP TSIG verification
2000-04-08 04:40:21 +00:00
Michael Graff
4195904998
s/DNS_R_/ISC_R_/ change for some codes.
2000-04-06 22:03:35 +00:00
Brian Wellington
5caab9f99d
TSIG and SIG(0) are no longer message pseudosections.
2000-03-29 01:32:22 +00:00
Brian Wellington
5766ea1011
Avoid calling dst_verify with an empty region
2000-03-16 23:13:25 +00:00
Brian Wellington
f7fbd68b1c
added msg.verify_attempted, renamed msg.verify_sig0 to verify_sig
2000-03-13 19:27:35 +00:00
Bob Halley
7d32c065c7
update copyright
2000-02-03 23:50:32 +00:00
Mark Andrews
768125e5e5
Use ISC_TRUE not 1.
2000-02-02 06:38:43 +00:00
Bob Halley
859ee7da20
lint
2000-02-01 23:28:09 +00:00
Andreas Gustafsson
ad8294ec37
eliminate HP-UX compiler warning
2000-01-31 21:59:50 +00:00
Brian Wellington
fb01226bcd
- generated TSIG keys can expire
...
- TKEY actually uses class ANY now
2000-01-24 22:22:51 +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
Andreas Gustafsson
a523752c60
do DNS_MESSAGE_VALID check in dns_tsig_verify() instead of
...
dns_view_checksig(); that way view.c does not need to include <dns/message.h>
2000-01-21 21:50:45 +00:00
Brian Wellington
b984520acc
major TSIG/TKEY cleanup
2000-01-21 20:18:41 +00:00
Brian Wellington
d84ce5d5c6
plug a memory leak on failure
1999-12-17 21:09:34 +00:00
Michael Graff
58aaab3687
isc_stdtime_get() now returns void, not isc_result_t.
1999-12-16 23:29:07 +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
Brian Wellington
d0345e08f2
Fix crash in dns_tsig_destroy and memory leak in dns_tsig_init
1999-11-16 03:02:36 +00:00
Bob Halley
65f9103cc5
destroy routine now does nothing if init failed
1999-11-05 20:19:24 +00:00
Brian Wellington
0f0162e629
cleanup of a reference leak
1999-11-03 16:52:28 +00:00
Brian Wellington
4a2f65ad8a
uninitialized variable
1999-11-02 23:40:05 +00:00
Brian Wellington
d598338952
Added the concept of a signature's identity - either from a SIG(0) key, a
...
statically configureed TSIG key, or the creator or a generated TSIG key.
1999-11-02 19:55:45 +00:00
Brian Wellington
fcc30797e1
conflicting variable name removed
1999-10-29 20:37:23 +00:00
Brian Wellington
ffdcf33647
TSIG uses the new kdeflist accessor, other assorted TSIG/TKEY config updates
1999-10-29 13:56:56 +00:00
Brian Wellington
e3533c62b9
only add keys from the config file if there are some
1999-10-28 23:13:42 +00:00
Brian Wellington
0dc4e6a6ae
a few error cases were handled wrong
1999-10-28 22:05:23 +00:00
Brian Wellington
e552b98037
- TSIG keys are created from the config structures
...
- TSIG key initialization cleanup
1999-10-27 19:59:34 +00:00
Brian Wellington
0a595c94a4
dns_tsig_create didn't null terminate the key name
1999-10-27 17:51:38 +00:00
Brian Wellington
d5334bc183
dst_sig_size changes
1999-10-26 19:31:52 +00:00
Brian Wellington
ac335315cd
add generated flag to tsig key
1999-10-25 20:55:31 +00:00
Brian Wellington
15660bccc1
Lock the reference count and deleted flags in a tsig key
1999-10-19 15:34:39 +00:00
Brian Wellington
1a2c699f0e
- suppress duplicate keys
...
- allow finding a key by name only (instead of name and algorithm)
- add creator field, which is filled in by TKEY
1999-10-14 18:35:25 +00:00
David Lawrence
83e4218f6c
Cast int arguments to isc_buffer_putuint{16,32} to appropriate size.
...
they are already masked out of a 64 bit int to the correct size, but
NT's CL is Unaware.
1999-10-09 00:00:54 +00:00
Brian Wellington
949d406b57
reference counting on TSIG keys. Necessary for TKEY delete
1999-10-08 20:14:47 +00:00
Brian Wellington
3f6dc1703f
tsig structure/function name change
1999-10-08 18:37:24 +00:00
Brian Wellington
2c12fc4d63
the TSIG key name shouldn't be created with dns_name_dup
1999-10-08 16:39:17 +00:00
Brian Wellington
452123247d
updated to match struct changes for tsig and sig
1999-10-07 21:51:49 +00:00
Bob Halley
10ba7f6f56
lint
1999-10-05 19:50:53 +00:00
Michael Graff
3b2b306f47
remove unused variable
1999-09-10 20:26:17 +00:00