Commit Graph

1328 Commits

Author SHA1 Message Date
Michael Sawyer
387a58e8c4 Cleanup of debugging messages. Cleanup of failure shutdown memory leaks.
Fix multiple sends when not needed.  Fix buffer length check failure
code.  Increase recv buffer size.
2000-04-29 00:12:56 +00:00
David Lawrence
b77f76be2d Where the methods field of an rdataset was compared to NULL, now use
dns_rdataset_isassociated() instead.
2000-04-28 23:46:43 +00:00
Michael Sawyer
52f5715dcc Make compiler warnings go away. 2000-04-28 21:53:50 +00:00
Michael Sawyer
df5503799f Add -C (Check all SOA records on authorative servers) and -T (tcp) options
to host program.  Clean up some memory issues in dighost.c and dig.c.

Still need to track down memory issues on ^C cleanup.
2000-04-28 21:41:19 +00:00
David Lawrence
c403d3f7d6 130. [cleanup] <isc/condition.h> does not need <pthread.h> or
<isc/boolean.h>, and now includes <isc/types.h>
                        instead of <isc/time.h>.
(does not need pthread.h because it *does* need isc/mutex.h, which
will be guaranteed to provide pthread.h)
2000-04-28 18:58:40 +00:00
Andreas Gustafsson
a0f6cda5fd the 'default_debug' log channel was not set up when
'category default' was present in the config file
2000-04-28 18:53:45 +00:00
Mark Andrews
37cf280f49 port is no longer used 2000-04-28 17:50:56 +00:00
Mark Andrews
598b67856b dns_zone_{set,get}masterport() is gone. 2000-04-28 17:18:23 +00:00
Bob Halley
4cd67304c5 dns_name_fullcompare/compare contract change 2000-04-28 16:30:55 +00:00
Brian Wellington
abce4875c3 Import the parent zone key signature, create null keys for unsigned children
or set the zone status bit for signed children.
2000-04-28 15:47:36 +00:00
David Lawrence
32eddfc189 120. [cleanup] <isc/socket.h> does not need <isc/boolean.h>,
<isc/bufferlist.h>, <isc/task.h>, <isc/mem.h> or
                        <isc/net.h>.
2000-04-28 03:53:48 +00:00
Brian Wellington
5e61e7ca28 Added keysettool and keysigner 2000-04-28 02:47:26 +00:00
Brian Wellington
38c60b442e dns_rdata_generic_sig_t -> dns_rdata_sig_t 2000-04-28 02:29:57 +00:00
Brian Wellington
7df0472d8a Added isc/util.h 2000-04-28 02:12:16 +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
David Lawrence
6b7257f756 include config.h 2000-04-28 02:08:20 +00:00
Andreas Gustafsson
82ca33427b declare arguments as UNUSED() when used in assertions only 2000-04-28 01:24:18 +00:00
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