Commit Graph
1301 Commits
Author SHA1 Message Date
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
Andreas Gustafsson a8277d18aa install logging configuration after relinquishing root privileges
to ensure that log files specified in named.conf are created as
the unprivileged user
2000-04-18 22:17:27 +00:00
Mark Andrews 9e53cbca72 Add UDP refresh queries.
Generate NOTIFY messages.
2000-04-18 11:43:46 +00:00
Michael Graff e44487bfc2 convert sender, arg, action, etc. to ev_sender, ev_arg, ev_action, etc. 2000-04-17 19:22:44 +00:00
Michael Graff be91d96193 spelling check [bug #95] 2000-04-13 22:41:23 +00:00
Bob Halley 15a0ed3060 fix [RT 94] (name buffer already in use assertion) 2000-04-13 19:34:02 +00:00
Mark Andrews 4716e94840 rndc: taskmgr and socketmgr were not initalised to NULL. 2000-04-13 06:37:12 +00:00
David Lawrence fbfc25874f fixed typo in comment 2000-04-12 21:33:01 +00:00
Bob Halley 07e6bea35e add ndcconf_test 2000-04-12 18:55:33 +00:00
Bob Halley e198cb953c apply logging API changes 2000-04-12 18:37:18 +00:00
Bob Halley 96d3f5b8ca remove res_test; add byaddr/byname_test 2000-04-12 18:33:47 +00:00