Commit Graph

1761 Commits

Author SHA1 Message Date
Bob Halley
364a82f7c2 include isc/util.h 2000-04-28 01:12:23 +00:00
Mark Andrews
6c7e680943 115. [cleanup] libdns.a changes:
dns_zone_clearnotify() and dns_zone_addnotify()
                        are replaced by dns_zone_setnotifyalso().
                        dns_zone_clearmasters() and dns_zone_addmaster()
                        are replaced by dns_zone_setmasters().
2000-04-28 00:58:42 +00:00
Michael Sawyer
1d2f2d7c9a Improved formatting of #ifdef DEBUG messages (left out \n's when puts calls
were changed to fputs to stderr).
Fix memory leak when doing axfr's.
Improvements to host program; most options and types fully supported.
Add (currently non-functional) -C option to host to check all SOA's
on authorative servers.  (Will require some notable changes to dighost.c
to make this a functional option.)

Issues stil needing resolution:
	IPv6 queries are not currently sent.
	Memory leak on ^C while waiting for UDP recv or TCP connect.
	A few more dig options need supporting.
	Support IXFR under dig (and maybe host).
	Support signatures (TSIG) under dig (and maybe host).
2000-04-27 23:20:29 +00:00
David Lawrence
bd9d42a1a9 style lint 2000-04-27 22:31:20 +00:00
David Lawrence
8a0ba20b16 109. [bug] "make depend" did nothing for
bin/tests/{db,mem,sockaddr,tasks,timers}/.
2000-04-27 22:28:04 +00:00
Andreas Gustafsson
96eb58dd46 conform to buffer API changes 2000-04-27 22:09:59 +00:00
Bob Halley
dcb719f17d conform to buffer api changes 2000-04-27 20:29:26 +00:00
Brian Wellington
03f0e349d8 Added keysigner and keysettool 2000-04-27 19:15:16 +00:00
Brian Wellington
22e8a31981 Added verbose flag. Currently doesn't do anything, but it's consistent with
the other dnssec tools.
2000-04-27 18:24:26 +00:00
Brian Wellington
a15583c681 Conform to the dns_dnssec_verify api change 2000-04-27 18:17:27 +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
David Lawrence
14dd2c028a dig/host do not need omapi 2000-04-26 22:56:18 +00:00
Michael Sawyer
9814f5f963 Add host 2000-04-26 22:55:53 +00:00
David Lawrence
08b89fee02 dighost.c, not digmain.c 2000-04-26 22:54:13 +00:00
Michael Sawyer
3fbc17b5e3 Mostly functional version of host. Some limitations and formatting errors
still exist.
2000-04-26 22:53:56 +00:00
Michael Sawyer
d43730bbf2 Stylistic changes and inclusion of isc/print.h 2000-04-26 19:36:40 +00:00
Michael Sawyer
30eee5633c Change debugging messages in dig.c and dighost.c to use stderr.
Improve message if resolver host not found.
2000-04-26 18:58:31 +00:00
Michael Sawyer
ebbfa36a62 Rearrange source files. dig.c/dighost.c builds dig binary, host.c/dighost.c
builds host binary.  Host does not presently work.
Add some additional command line options on dig.
2000-04-26 18:34:17 +00:00
Andreas Gustafsson
1fd7c7ecb0 made rate limiter test conform to the new API 2000-04-26 17:11:56 +00:00
Andreas Gustafsson
900b9aa25e tostruct_key() no longer requires a non-NULL mctx 2000-04-26 01:44:07 +00:00
David Lawrence
642c20f6a1 style lint 2000-04-25 23:44:37 +00:00
Andreas Gustafsson
f6d6835ed5 removed unneeded ISC_LANG_BEGINDECLS/ISC_LANG_ENDDECLS
from <named/listenlist.h>
2000-04-25 23:21:32 +00:00
Bob Halley
924e26ea2f Look for KEY RRs in both the delegator and delegatee if we're
authoritative for both, the delegatee is nonsecure, and the query
name is at the top of the delegatee zone.

Apply allow-query ACL checks to all response data.
2000-04-25 21:58:17 +00:00
David Lawrence
b3eeac48ea include isc/time.h; minor style lint 2000-04-25 19:34:52 +00:00
David Lawrence
54d47fb18b lwres_conftest renamed to lwresconf_test for consistency.
ignore lwresconf_test binary.
2000-04-25 19:27:27 +00:00
David Lawrence
e302d60c54 declaration ansified: free_lists() -> free_lists(void) 2000-04-25 19:14:14 +00:00
Brian Wellington
32eeec8559 Rewrite of keygen. 2000-04-25 17:57:10 +00:00
David Lawrence
3db78e0855 use authentication to talk to server 2000-04-24 22:55:29 +00:00
David Lawrence
026edfb64c test/sample configuration 2000-04-24 22:52:36 +00:00
David Lawrence
18b3d5d742 style lint 2000-04-24 22:47:14 +00:00
David Lawrence
ddb7c2061e ignore Makefile and dig 2000-04-24 20:42:32 +00:00
Mark Andrews
4035d33250 apply #69 to just committed also-notify 2000-04-21 02:17:55 +00:00
Mark Andrews
3e8a8028a4 dialup and notify apply to slave zones as well. 2000-04-21 02:14:33 +00:00
Andreas Gustafsson
b78f21115c apply view and global defaults for 'max-transfer-idle-out' option
in the correct order
2000-04-21 00:20:22 +00:00
Andreas Gustafsson
ade06bd257 support view and global defaults for 'notify' option 2000-04-21 00:18:23 +00:00
Andreas Gustafsson
2a3beab190 fixed uninitialized variable; use the UNUSED() macro 2000-04-20 21:42:12 +00:00
Andreas Gustafsson
e4e183af57 the zone object's master and also-notify lists grew longer with each reload 2000-04-20 20:58:50 +00:00
Michael Sawyer
ae72c54ef1 Fixed bug introduced when TCP mode added.
Now supports AXFR.
2000-04-20 20:55:45 +00:00
Michael Sawyer
cc5ea458fe Fixed accidental commit of Makefile instead of Makefile.in.
Added TCP mode to dig.  AXFR code partially written.
Merged into configure.in, bin/Makefile.in.
2000-04-20 19:09:11 +00:00
Michael Graff
0942b8e0d6 spit out informational messages more often 2000-04-20 18:41:47 +00:00
Michael Graff
08a768e82a Infrastructure to allow use of alternate openssl libraries. Default is still to use our internal, now renamed, version. 2000-04-20 18:27:43 +00:00
Andreas Gustafsson
de7787e364 added zone2_test to XTARGETS 2000-04-20 17:41:40 +00:00
Andreas Gustafsson
d1bdeae7bb moved typedef of dns_zone_callbackarg_t from <dns/types.h> to
bin/tests/zone2_test.c; it's obsolete and zone2_test.c is the only
place using it
2000-04-20 17:39:02 +00:00
Andreas Gustafsson
8378b720cd issue 'closetcp' trace message only if a TCP connection
was actually open
2000-04-20 17:07:46 +00:00
Mark Andrews
f006f4a85f make compiler friendly. 2000-04-20 06:58:24 +00:00
Michael Sawyer
07fffbc8c9 Initial entry for new dig code. Works with UDP mode only in this version. 2000-04-19 23:23:31 +00:00
Andreas Gustafsson
dddc91ab6a removed obsolete test program 2000-04-19 21:10:09 +00:00
Bob Halley
398b196682 db, dbtable api changes; find zonecut; noexact 2000-04-19 18:48:46 +00:00
Bob Halley
e2fe0815b3 conform to zt API change 2000-04-19 18:27:42 +00:00
Bob Halley
41c82f9355 conform to RBT API change 2000-04-19 18:27:24 +00:00