Commit Graph
2363 Commits
Author SHA1 Message Date
David Lawrence ff30a206ec added isc_log_categorybyname and isc_log_modulebyname 2000-03-04 00:43:40 +00:00
Brian Wellington 37d86b4a61 The resolver can now sign outgoing messages based on peer keys (from
the server keys statement).
2000-03-03 19:48:14 +00:00
Brian Wellington 2871292a56 Require that a message hasn't already been signed before signing it.
Hopefully this will never be triggered.
2000-03-03 19:46:15 +00:00
James Brister 9ecccc109a Code removal. 2000-03-02 20:43:16 +00:00
James Brister e0c4b53b70 Add dns_ssutable_t to zone. 2000-03-02 20:42:56 +00:00
James Brister 10529b4cd4 Add peer and peerlist printing prototypes. 2000-03-02 20:42:32 +00:00
James Brister 017e3665ee Handle new ssutable data in a zone structure. 2000-03-02 20:42:00 +00:00
James Brister 85558cee10 Handle new grant/deny clause inside zone statement. 2000-03-02 20:41:21 +00:00
James Brister 181316e878 Changed named of peerlist printing routine. 2000-03-02 20:40:33 +00:00
James Brister 0d7f5ca894 Handle printing dns_ssutable_t. 2000-03-02 20:40:09 +00:00
James Brister dc1961d96f Fix boolean test 2000-03-02 20:39:23 +00:00
Brian Wellington 9c8bd3184c commented the accessors/iterators 2000-03-02 16:04:41 +00:00
James Brister 20fc568036 isc_mem_allocate debug macro had too many arguments. 2000-03-02 04:00:46 +00:00
James Brister f8b167ffb9 SUe strgings instead of dns_c_category_t.
Removed dns_c_logginglist_catbytype().
2000-03-02 04:00:00 +00:00
James Brister c0d8bb424c Use strings instead of dns_c_category_t. 2000-03-02 03:59:22 +00:00
James Brister 7716a94ffb Drop prototypes of dns_c_category2string and dns_c_string2category.
Added dns_c_checkcategory prototype (checks string against predefined
category names).
2000-03-02 03:58:50 +00:00
James Brister c47b53250b Use strings instead of dns_c_category_t.
Added token_to_keyword().
2000-03-02 03:57:32 +00:00
James Brister 79a857a5df Use strings instead of dns_c_category_t.
Fixed error in one case in logginglist_empty().
2000-03-02 03:56:36 +00:00
James Brister 43f6bac400 Use strings instead of dns_c_category_t. 2000-03-02 03:54:09 +00:00
James Brister 1a14c6952a Removed dns_c_category_t and use simple strings.
Stash table of predefined category names for parser to check against.
2000-03-02 03:53:29 +00:00
Brian Wellington 2fabf91e5b Added a rule iterator and rule accessor functions 2000-03-01 23:28:31 +00:00
Brian Wellington 408ebaeec9 Added dns_ssurule_t 2000-03-01 23:27:15 +00:00
Andreas Gustafsson a6535a2681 consistently use single quotes around quoted text in log messages 2000-03-01 22:41:59 +00:00
Brian Wellington aa6003d0eb Modify label counts/extractions to use dns_name_depth/dns_name_splitatdepth 2000-03-01 22:34:39 +00:00
David Lawrence a8d34ca88c remove ISC_LOG_DEBUGONLY from comment about default_debug 2000-03-01 21:30:49 +00:00
Andreas Gustafsson 6c4d03a6ab disabled redundant default logging configuration code 2000-03-01 20:41:19 +00:00
Andreas Gustafsson 1620f03517 don't set ISC_LOG_DEBUGONLY on the default_debug channel 2000-03-01 20:38:58 +00:00
David Lawrence 863ac191b4 ISC_LOG_DEBUGONLY flag added.
Documentation updates to reflect recent code changes:
   isc_logconfig_*
   ISC_LOG_DEBUGONLY
2000-03-01 17:33:04 +00:00
David Lawrence a40cc3249f isc_logchannel, isc_logchannellist, and isc_logmessage now use the isc list
macros.

ISC_LOG_DEBUGONLY flag for a channel added, to mark a channel that should
only be used if the debugging level is non-zero.

Use ISC_LOG_DEBUGONLY for default_debug.

REQUIRE the context is valid for isc_logconfig_get, and ENSURE that
the configuration returned is non-NULL.

Other miscellaneous cleanups.
2000-03-01 17:31:56 +00:00
David Lawrence 5f89718b7d Debugging versions of isc_mem_allocate, isc_mem_free and isc_mem_strdup.
This allows memory allocation/freeing to be tracked with ISC_MEM_DEBUG
as with isc_mem_get/isc_mem_put.   (To get the debugging information
before, mem.c itself needed to be recompiled with ISC_MEM_DEBUG on.)
2000-02-26 19:59:30 +00:00
David Lawrence edcd1247ad isc_log_create now has three parameters, the additional one used to
return an isc_logconfig_t.  isc_log_cretechannel and isc_log_usechannel
now take an isc_logconfig_t instead of an isc_log_t; this is to address
reconfiguration in a multithreaded environment.

isc_logconfig_create, isc_logconfig_get, isc_logconfig_use and
isc_logconfig_destroy were added to work with the new isc_logconfig_t type.

isc_logregister_categories and dns_log_init are now both void rather than
returning isc_result_t.
2000-02-26 19:57:02 +00:00
Bob Halley 3dbea10f98 fix loop termination bug 2000-02-26 00:28:46 +00:00
Andreas Gustafsson cfab2f4e03 implemented the 'transfers-in' option 2000-02-25 17:34:05 +00:00
Andreas Gustafsson e0768b64e8 %type declaration for master_in_addr_list was repeated three times 2000-02-25 16:35:08 +00:00
Bob Halley a09568236c add warning comment 2000-02-25 01:07:17 +00:00
Bob Halley 453603c018 add dns_name_depth() and dns_name_splitatdepth() 2000-02-25 01:06:54 +00:00
Andreas Gustafsson e01ecff4b1 Implemented the 'transfers' clause of the 'server' statement
> and the 'transfers-per-ns' option.
2000-02-25 00:52:11 +00:00
Bob Halley e419f613d8 checkpoint 2000-02-24 22:40:55 +00:00
Andreas Gustafsson c011a69280 implemented the 'support-ixfr' clause of the 'server' statement 2000-02-24 21:47:46 +00:00
Andreas Gustafsson 6e70b15670 zones now know which view they are in 2000-02-24 21:40:54 +00:00
Andreas Gustafsson 03ccfda9ec the view now has a peer list 2000-02-24 21:12:16 +00:00
Bob Halley c3b708aaf1 Implement rrset ordering. Default is cyclic.
If the rdataset iterator failed unexpectedly while rendering, we failed to
rollback.
2000-02-24 21:08:34 +00:00
Bob Halley b91bbbcdb4 add ordering attributes 2000-02-24 21:07:28 +00:00
Bob Halley 9695ae1c24 add missing #include 2000-02-24 21:05:28 +00:00
Bob Halley 435abcf2e2 add dns_message_renderreset() 2000-02-24 19:37:28 +00:00
Andreas Gustafsson 4777bac498 moved dns_peer_t and dns_peerlist_t typedefs to <dns/types.h> 2000-02-24 18:45:02 +00:00
Andreas Gustafsson e7e3b748f8 missing NULL initialization before attach 2000-02-24 18:44:16 +00:00
James Brister e323a667e0 Replace use of private config type user for server statement with new
dns_peer_t.
Support two forms of server key statement:

	keys "blah";
	keys { "foo" ; };

Non longer build confserv.c
2000-02-24 14:48:30 +00:00
James Brister 2cde028c51 New dns_peer_t type and its methods. 2000-02-24 14:39:27 +00:00
Mark Andrews b54630c451 checkpoint 2000-02-24 14:31:43 +00:00