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
94a08e09db
Check for edns1 and strict decompression once and for all in
...
dns_[de]compress_setmethods instead of separately in every caller
2000-05-04 22:19:34 +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
Andreas Gustafsson
97f75286ad
corrupted requests with multiple questions could
...
cause assertion failure (fix from Bob)
2000-04-28 23:48:49 +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
Brian Wellington
6f17d90364
Partial support for SIG(0) on incoming messages - works when we have the
...
key and it's marked as secure (that is, when no validator or fetch is needed).
2000-04-20 19:51:39 +00:00
Michael Graff
c0a8689438
use correct type, not int
2000-04-14 23:03:13 +00:00
Michael Graff
5d4660ccb5
maila/mailb are only allowed as questions, too
2000-04-14 22:59:01 +00:00
Michael Graff
7ec579cd5d
Add functions to check that a type is only or is not allowed in a question section
2000-04-14 20:13:49 +00:00
Michael Graff
3bb3b7ac46
implement singleton type checking
2000-04-14 18:36:45 +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
David Lawrence
ecb6c5782e
exorcized local compression
2000-03-23 05:18:46 +00:00
Brian Wellington
9dee95b41c
code review - minor formatting changes, remove duplicate assignment,
...
add a comment to reinspect a loop later
2000-03-18 01:00:57 +00:00
Mark Andrews
acb0311b11
dns_message_renderreset should cause the message to forget the render
...
buffer.
2000-03-16 06:51:04 +00:00
Brian Wellington
f7fbd68b1c
added msg.verify_attempted, renamed msg.verify_sig0 to verify_sig
2000-03-13 19:27:35 +00:00
Brian Wellington
2871292a56
Require that a message hasn't already been signed before signing it.
...
Hopefully this will never be triggered.
2000-03-03 19:46:15 +00:00
Bob Halley
435abcf2e2
add dns_message_renderreset()
2000-02-24 19:37:28 +00:00
Bob Halley
7d32c065c7
update copyright
2000-02-03 23:50:32 +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
b984520acc
major TSIG/TKEY cleanup
2000-01-21 20:18:41 +00:00
Michael Graff
3ddd814a97
dns_result_t is no more. s/dns_result_t/isc_result_t/ -- more later, when I need a break.
1999-12-23 00:09:04 +00:00
Michael Graff
733b16eb0b
priority rendering
1999-12-22 03:22:59 +00:00
Michael Graff
59602a4485
set DNS_RDATASETATTR_TTLADJUSTED when the ttl's for rdata don't match
1999-12-17 00:21:38 +00:00
Mark Andrews
271154eafd
dns_message_reply(): copy the question section of notify messages.
1999-12-15 07:28:51 +00:00
Mark Andrews
8b791b4ee8
'covers' was not being set when extracting questions from a incoming message,
...
set covers to zero.
1999-12-15 02:25:35 +00:00
Bob Halley
5eb8688b78
fix memory leak; dns_message_renderrelease() is now void
1999-11-25 01:58:16 +00:00
Bob Halley
7ab5937e0b
turn off AD if we have rendered pending data
1999-11-23 20:53:34 +00:00
Michael Graff
fb12d257ef
plug some memory leaks found durring interop testing
1999-11-09 05:39:45 +00:00
Michael Graff
499371d17c
call dns_rdataset_init() on temprdatasets returned from
...
dns_message_gettemprdataset(). This is the only way to
allow us to insist that they are not associated when
returned via puttemprdataset().
1999-11-04 06:59:59 +00:00
Brian Wellington
5c688a008a
A bit of SIG(0) cleanup
1999-11-02 22:58:29 +00:00
Michael Graff
f2762b0d99
check for more things with INSIST()
1999-11-02 21:29:13 +00:00
Brian Wellington
0b764d91c9
- updates to dns_message_signer to handle SIG(0) as well as TSIG
...
- SIG(0)'s can be rendered, and information is stored to allow them to be
verified after parsing. This needs some cleanup work done.
1999-11-02 19:59:04 +00:00
Brian Wellington
06f9d6486e
dns_message_signer update
1999-10-28 14:18:52 +00:00
Brian Wellington
e5c7544550
dns_message_signer
1999-10-27 22:25:55 +00:00
Michael Graff
0583bf2d0a
set names on mempools
1999-10-27 19:33:49 +00:00
Brian Wellington
1672aaee14
tkey processing
1999-10-25 21:07:01 +00:00
Bob Halley
004da17157
Make the public version of findname() set attributes appropriately.
1999-10-20 23:28:10 +00:00
David Lawrence
c866769e66
more INSISTs for proper range before passing integers to isc_buffer_putuint16
1999-10-17 22:31:03 +00:00
Bob Halley
2f6040ed67
Store CNAMEs and their SIGs (if any) in their own name structure on the
...
name list. I.e. do not mix CNAMEs with non-CNAME data. Do the same thing
for DNAMEs.
1999-10-17 19:20:20 +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
069104dd6a
the message->cleanup list was being improperly cleaned
1999-10-08 14:59:02 +00:00
Michael Graff
7153a32ae9
memory leak fix
1999-09-14 23:48:27 +00:00
Michael Graff
d8f304288d
Use a memory pool for rdatasets as well
1999-09-11 01:35:55 +00:00
Brian Wellington
24694ab18a
new fields needed for TCP-TSIG
1999-09-10 14:54:10 +00:00
Michael Graff
af6e7e5cd2
Changes to message.c/h to use memory pools for names. Coming soon:
...
same thing for rdata, rdatalist, and rdatasets.
Also implement dns_message_takebuffer().
See comments in message.h for news.
1999-09-10 02:48:32 +00:00