2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-27 20:49:04 +00:00

430 Commits

Author SHA1 Message Date
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
Michael Graff
186817c92c make dns_message_findtype() public 1999-09-09 01:10:53 +00:00
Michael Graff
4556681e19 snapshot socket.[ch] code and commit dynbuf_t -> buffer_t changes 1999-09-02 02:10:44 +00:00
Bob Halley
ac77fece9a EDNS0 1999-09-02 01:52:31 +00:00
Bob Halley
bf555703f2 OPT support 1999-09-01 20:50:34 +00:00
Bob Halley
732e0731de SIG support 1999-08-31 22:14:06 +00:00
Brian Wellington
6d4886fa74 Added support for TSIG records in message and resolver subsystems, added
tsig to_struct/from_struct
1999-08-20 18:56:24 +00:00
Andreas Gustafsson
d347e7af94 dns_message_parse now takes new argument 'preserve_order'; support RR data >512 bytes 1999-08-20 06:08:39 +00:00
Bob Halley
0e919917cc class to rdclass 1999-08-02 22:19:30 +00:00
Andreas Gustafsson
57cf89b149 set msg->rdclass even if question section is empty 1999-07-30 13:33:14 +00:00
Bob Halley
a6ebd71eed tweaks to dns_message_reply() 1999-07-29 01:26:53 +00:00
Andreas Gustafsson
8c55a67a6d null pointer dereference 1999-07-28 05:23:16 +00:00
Bob Halley
996028142c update message reply support 1999-07-28 02:19:46 +00:00
Brian Wellington
991322a2ab A TSIG record's class should be ANY, not that of the question 1999-07-26 17:00:34 +00:00
Bob Halley
d8705ff90a Break msginit() into msginitheader() and msginitprivate().
Put MAGIC macros into the DNS_ namespace.
Take name cleanup code from msgreset() and put it into msgresetnames().
In dns_message_create(), the intent is now specified before the returned
message pointer.
dns_message_reset() now allows an intent to be specified.
msg->header_ok is set if parsing the header succeeded, and msg->question_ok
is set if parsing the question section succeeded.
Added dns_message_reply().
1999-07-24 01:09:04 +00:00
Michael Graff
5039f2cad3 don't modify the buffer passed in for peekheader() 1999-07-12 23:46:37 +00:00
Bob Halley
1db717f2f3 preliminary question rdataset support (rendering only); DNS/ISC_R_SUCCESS fix 1999-07-03 20:57:06 +00:00
Michael Graff
4c208bd46f add dns_message_peekheader() 1999-06-25 01:05:27 +00:00
Bob Halley
42a5f9c8f5 lint from alpha build 1999-06-24 17:55:41 +00:00
Andreas Gustafsson
3b40e78974 handle dynamic update meta-classes and empty rdatas 1999-06-20 08:05:56 +00:00