Commit Graph

3969 Commits

Author SHA1 Message Date
Bob Halley
89d8adb666 for good style, call dns_rdataset_first() first when dealing with questions 1999-08-03 20:54:56 +00:00
Brian Wellington
ebe3937fc0 dns_key_free seg fault 1999-08-03 19:48:10 +00:00
Andreas Gustafsson
1afdc8c2e7 dns_rdataset_towire() returned DNS_R_NOMORE after successfully rendering an empty section; should return DNS_R_SUCCESS 1999-08-03 13:30:54 +00:00
Bob Halley
f1b0e9107d additional data support 1999-08-03 01:21:23 +00:00
Bob Halley
0e919917cc class to rdclass 1999-08-02 22:19:30 +00:00
Bob Halley
d981ca6455 class to rdclass; additional data support 1999-08-02 22:18:31 +00:00
Bob Halley
396e149f32 additional data support 1999-08-02 22:17:36 +00:00
Bob Halley
a01f52a731 callback structure changes 1999-07-30 23:33:15 +00:00
Bob Halley
7d44d8aacd add beginload and endload support 1999-07-30 23:32:19 +00:00
Bob Halley
4478cd2fa8 rename commit to add; use dns_addrdatasetfunc_t 1999-07-30 23:31:48 +00:00
Bob Halley
abf512ef63 add dns_addrdatasetfunc_t and dns_dbload_t 1999-07-30 23:31:27 +00:00
Andreas Gustafsson
2b9515f497 needs <isc/socket.h> 1999-07-30 13:34:19 +00:00
Andreas Gustafsson
5195f93199 event->sender was bogus pointer 1999-07-30 13:33:47 +00:00
Andreas Gustafsson
57cf89b149 set msg->rdclass even if question section is empty 1999-07-30 13:33:14 +00:00
Brian Wellington
7fba8470c7 minor code cleanup, HMAC-MD5 bugfix 1999-07-29 17:21:23 +00:00
Bob Halley
a6ebd71eed tweaks to dns_message_reply() 1999-07-29 01:26:53 +00:00
Michael Graff
11e2a221f1 hack on socket code more, trying to track down a bug 1999-07-28 23:04:33 +00:00
Michael Graff
d524cd03ec make the isc_socket_recv() partial flag be a byte count instead, which allows
us to say "read at least 2 bytes" for things like a DNS packet over TCP.
1999-07-28 21:30:37 +00:00
Andreas Gustafsson
8c55a67a6d null pointer dereference 1999-07-28 05:23:16 +00:00
Bob Halley
5fc1b54cc6 allow undedication of the dedicated buffer 1999-07-28 02:20:22 +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
711b0bed7b rcode was initialized incorrectly in dns_result_torcode() 1999-07-24 01:28:52 +00:00
Bob Halley
aa23c665d8 resolver checkpoint 1999-07-24 01:26:18 +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
Bob Halley
4034b7d6ed Declare types in <dns/types.h>.
Put MAGIC macros into the DNS_ namespace.
Added header_ok and question_ok to the message structure.
Specify the intent before the returned message pointer in
dns_message_create().
Allow an intent to be specified when calling dns_message_reset().
Add dns_message_reply().
1999-07-24 01:05:22 +00:00
Bob Halley
2fc77eff62 move types to <dns/types.h> 1999-07-24 01:02:30 +00:00
Bob Halley
937f9db1ed add opcode, message, dispatch, and view types; list TSIG errors 1999-07-24 01:02:07 +00:00
Bob Halley
613991eef6 TSIG errors are not rcodes; add BADVERS rcode 1999-07-24 01:01:08 +00:00
Bob Halley
2e715dbdc2 fix spelling error 1999-07-24 00:59:55 +00:00
Bob Halley
25e43e68b7 rcode result type support; cleanups 1999-07-24 00:59:26 +00:00
Andreas Gustafsson
18cd3d3db4 typo 1999-07-23 12:05:50 +00:00
Andreas Gustafsson
96594ea32e define dns_rdataclass_none as 254, not 0 (RFC2136); remove dns_rdatatype_none for consistency 1999-07-23 09:15:10 +00:00
Andreas Gustafsson
da378e384b define dns_rdataclass_none as 254, not 0 (RFC2136); remove dns_rdatatype_none for consistency; add some meta-types 1999-07-23 09:14:36 +00:00
Michael Graff
6f1422b81e fix many bugs. 1999-07-22 01:34:31 +00:00
James Brister
265cfd9711 Config file yacc parser. 1999-07-20 20:19:24 +00:00
James Brister
0eb5c95878 Config library implementation files. 1999-07-19 13:25:18 +00:00
James Brister
bbe0dc743b New config file library headers. 1999-07-19 13:14:12 +00:00
Bob Halley
8360c3dc0f eliminate inet.h; do not use UNIX-specific .h files 1999-07-16 00:24:33 +00:00
Bob Halley
acdd6cd35f search for includes in build dirs isc/unix/include and dns/include 1999-07-15 20:08:03 +00:00
Bob Halley
50826c269d search for includes in build dir isc/unix/include 1999-07-15 20:07:39 +00:00
Bob Halley
1471a520e5 use single-colon rule for sec and depend; gen structure .h in build dir 1999-07-15 20:06:34 +00:00
Michael Graff
3446e5e932 Don't allow responses/requests to be attached to dispatchers which are
shutting down
1999-07-14 22:16:19 +00:00
Bob Halley
694c897b20 mkdep support 1999-07-13 20:12:47 +00:00
Bob Halley
332d9b3837 use isc_uint16_t, not u_int16_t 1999-07-13 19:42:25 +00:00
Bob Halley
8324aeb090 lint 1999-07-13 19:42:01 +00:00
Bob Halley
5a788b17a4 include <string.h> to get prototype for memcpy(). 1999-07-13 17:26:07 +00:00
Bob Halley
b6412b0788 add 1999-07-13 01:53:40 +00:00
Bob Halley
1c724c986d add rdataset cloning 1999-07-13 01:50:22 +00:00
Bob Halley
ef4b66d355 update isc_sockettype_t enum names 1999-07-13 01:49:33 +00:00