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
Andreas Gustafsson
75ec9bc9c7
DNS_MESSAGE_OPCODE_MASK was incorrect
1999-06-09 12:06:21 +00:00
Michael Graff
08d94b539a
allow finding types and names but not returning them. This is basically an
...
existance check
1999-06-03 19:03:48 +00:00
Andreas Gustafsson
454bea884d
dns_message_create did not initialize m->rdatasets
1999-05-25 16:55:57 +00:00
Michael Graff
4db368e084
ooops, fix a memory leak
1999-05-21 08:05:49 +00:00
Michael Graff
d49555e76c
use the new rendered bit
1999-05-21 00:48:59 +00:00
Michael Graff
bd3ccd1c38
use dns_name_equal
1999-05-19 00:14:26 +00:00
Michael Graff
70fd62761d
use linked lists for items returned from loanout
1999-05-14 23:19:12 +00:00
Michael Graff
438d7099d1
Implement name, rdata, rdatalist, rdataset loanout from message resources
1999-05-14 22:22:49 +00:00
Michael Graff
97e7d389d5
Clean up after code review
1999-05-14 17:52:11 +00:00
Michael Graff
8f3ba5e9b2
init a var
1999-05-13 00:15:42 +00:00
Michael Graff
2726950412
parse dynamic updates, and tsig's right
1999-05-12 19:32:13 +00:00
Michael Graff
b02262cbcd
Fix up the condition where buffers are expended
1999-05-01 17:18:47 +00:00
Michael Graff
41cc03374d
remove debugging crud
1999-04-30 23:37:23 +00:00
Michael Graff
bfbf3f2d77
don't use a temp buffer, it broke compression
1999-04-30 23:04:29 +00:00
Michael Graff
823e45c127
checkpoint
1999-04-30 22:35:49 +00:00
Michael Graff
ddd035637d
snapshot
1999-04-30 21:52:40 +00:00
Michael Graff
8d6024e7cf
Move the flags on dns_rdataset_totext() to be together, and make a
...
matching change to dns_rdataset_towire()
1999-04-30 21:15:02 +00:00
Michael Graff
5330fc09ac
tpyo
1999-04-30 21:10:07 +00:00
Michael Graff
d070219e01
clean up and start testing rendering
1999-04-30 21:09:19 +00:00