Commit Graph

9460 Commits

Author SHA1 Message Date
Brian Wellington
d0b6ece407 ISC_LANG_BEGINDECLS -> ISC_LANG_ENDDECLS 2001-06-01 01:11:28 +00:00
Brian Wellington
59d5cc31e5 #include <dns/types.h> 2001-06-01 01:09:10 +00:00
Brian Wellington
53aba5065d man pages were not properly installed in separate-object-dir builds 2001-06-01 00:45:04 +00:00
Brian Wellington
43b1bd8f86 remove nonexistent files 2001-05-31 22:52:06 +00:00
Brian Wellington
410821f324 copyright 2001-05-31 22:51:43 +00:00
Brian Wellington
03dad90858 add lib/bind/.cvsignore 2001-05-31 22:45:12 +00:00
Brian Wellington
116dd27475 regenerated 2001-05-31 22:43:04 +00:00
Brian Wellington
26242b780b typos 2001-05-31 22:39:52 +00:00
David Lawrence
7fe56f41ec slight optimization for dns_rbt_findnode() when bitstrings are involved:
skip the hashing attempts entirely when not at the root of a level
2001-05-31 22:32:46 +00:00
David Lawrence
68f4a1696f In dns_rbt_findnode() when using hashing, check for a bitstring after
each failure to find the hash_name, not just when the name has multiple labels.
2001-05-31 21:52:22 +00:00
David Lawrence
1f7342e098 In ns_controls_configure(), moved the ns_controls_shutdown() call that
removes no longer configured listeners into the block that actually
updates/add listeners, because when ns_controls_configure() recursively
calls itself to configure a 127.1 channel if there is no controls() statement,
the top level ns_controls_configure() was shutting down the channel that
the enclosing ns_controls_configure() just created.
2001-05-31 21:49:11 +00:00
David Lawrence
adcd8c9319 The CHANGES entries from my recent commits:
850.	[bug]		dns_rbt_findnode() would not find nodes that were
			split on a bitstring label somewhere other than in
			the last label of the node. [RT #1351]

 849.	[func]		<isc/net.h> will ensure INADDR_LOOPBACK is defined.

 848.	[func]		A minimum max-cache-size of two megabytes is enforced
			by the cache cleaner.

 847.	[func]		Added isc_file_test(), which currently only has
			some very basic functionality to test for the
			existence of a file, whether a pathname is absolute,
			or whether a pathname is the fundamental representation
			of the current directory.  It is intended that this
			function can be expanded to test other things a
			programmer might want to know about a file.

 846.	[func]		A non-zero 'param' do dst_key_generate() when making an
			hmac-md5 key means that good entropy is not required.

 845.	[bug]		The access rights on the public file of a symmetric
			key are now restricted as soon as the file is opened,
			rather than after it has been written and closed.

 844.	[func]		<isc/net.h> will ensure INADDR_LOOPBACK is defined,
 			just as <lwres/net.h> does.

 843.	[func]		If no controls statement is present in named.conf,
			or if any inet phrase of a controls statement is
			lacking a keys clause, then a key will be automatically
			generated by named and an rndc.conf-style file
			named named.key will be written that uses it.  rndc
			will use this file only if its normal configuration
			file, or one provided on the command line, does not
			exist.
2001-05-31 18:44:02 +00:00
David Lawrence
11c4f6b687 Reversed the sense of my earlier change to hmacmd5 key generation that
required good entropy only when 'param' (to dst_key_generate) was non-zero.
Since the default was always to require good entropy, that default behavior
has been restored and now a non-zero param means that pseudorandom is ok.
2001-05-31 18:34:51 +00:00
David Lawrence
b79e66b06d While searching in dns_rbt_findnode(), cope with the possibility that
a bitstring label might be founding things from any label of a
multilabel search_name.
2001-05-31 11:03:33 +00:00
David Lawrence
ea70ca20b2 describe how command channel autoconfiguration works 2001-05-31 11:01:29 +00:00
David Lawrence
d716e83021 initialize "type" to quiet compiler warning 2001-05-31 11:00:40 +00:00
David Lawrence
64c7a503c2 ensure that INADDR_LOOPBACK is defined 2001-05-31 10:54:51 +00:00
David Lawrence
ed8daea264 enforce a minimum cache size of 2mb 2001-05-31 10:53:42 +00:00
David Lawrence
50b7860fff new function isc_file_test() as framework for determining various attributes
of a pathname
2001-05-31 10:53:14 +00:00
David Lawrence
719f0c0028 A trivial change (added a blank line) so I could add the comment I
*wanted* to add on the last check-in.

The second argument to hmacmd5_generate is no longer unused, it is a flag
to say whether good entropy is needed or not.  This change was approved
by Brian.  The control channel key generator needed it to be able to do
its job all on-the-fly.
2001-05-31 10:49:28 +00:00
David Lawrence
d744418e64 hmac_link.c 2001-05-31 10:47:17 +00:00
David Lawrence
25efbc557e set the permissions on a symmetric keyfile before anything is written to it,
rather than after it is closed
2001-05-31 10:45:32 +00:00
David Lawrence
fe2d25382f don't define INADDR_LOOPBACK; isc/net.h should be ensuring it exists 2001-05-31 10:43:37 +00:00
David Lawrence
73a691c373 Look for and use named.key if the main configuration file is not found.
Converted numerous fprintf()/exit() combinations to fatal()s.
Use isc_file_progname().
2001-05-31 10:42:49 +00:00
David Lawrence
1c225de4ce pass -DNS_LOCALSTATEDIR=\"${localstatedir}\" to locate named.key 2001-05-31 10:40:32 +00:00
David Lawrence
6cad3f112f define ns_g_autorndckeyfile 2001-05-31 10:38:56 +00:00
David Lawrence
4f36774273 include <dns/soa.h> for dns_soa_serial() prototype 2001-05-31 10:38:01 +00:00
David Lawrence
a0a8ffd8c3 Remove the named.key file on server shutdown. 2001-05-31 10:37:08 +00:00
David Lawrence
7332e47e11 Automatically generate a key for command channel use whenever either
no controls statement is present or when an inet statement is missing
a keys clause.

Dump an rndc.conf-style configuration into a file
(NS_LOCALSTATEDIR "named.key") with the key and suitable default-* values.
2001-05-31 10:36:05 +00:00
Mark Andrews
9dbbd48523 new 2001-05-31 06:13:27 +00:00
Mark Andrews
0a31570968 oops 2001-05-31 05:54:45 +00:00
Mark Andrews
45d75e9b26 copyrights 2001-05-31 05:54:07 +00:00
Mark Andrews
94da7d97ae add lib/bind 2001-05-31 02:35:21 +00:00
Brian Wellington
5455f30a75 842. [func] 'rndc flush' now takes an optional view. 2001-05-31 01:21:12 +00:00
Brian Wellington
b804d77ad9 #include <dns/soa.h> 2001-05-31 00:59:46 +00:00
Brian Wellington
6d28d54e6f be more tolerant of blank lines 2001-05-31 00:38:07 +00:00
Brian Wellington
b3651a8e87 spelling 2001-05-30 23:05:12 +00:00
Brian Wellington
705cc52bbf 9.2 updates 2001-05-30 23:02:03 +00:00
Brian Wellington
81fb2f5544 updates 2001-05-30 22:21:09 +00:00
Brian Wellington
adf16bbdb6 update to newer version 2001-05-30 22:02:09 +00:00
Brian Wellington
ace6fff229 lib/bind should be in the alpha release 2001-05-30 21:18:07 +00:00
Brian Wellington
1969ab5360 copyright updates 2001-05-30 20:31:08 +00:00
Brian Wellington
7a6ad11e01 merge_copyrights 2001-05-30 20:24:17 +00:00
Brian Wellington
a78196366c move variable initialization 2001-05-29 23:07:28 +00:00
Brian Wellington
cbb781f277 uninitialized variable 2001-05-29 22:54:07 +00:00
Brian Wellington
8358be5851 uninitialized variable 2001-05-29 22:44:12 +00:00
Brian Wellington
dd0fdd4426 the array of error messages was incomplete. 2001-05-29 22:40:10 +00:00
Brian Wellington
9547c4a3f8 potential null pointer dereference 2001-05-29 22:35:54 +00:00
Brian Wellington
e2fd12f3a0 841. [bug] When sdb modules were not declared threadsafe, their
create and destroy functions were not serialized.
2001-05-29 18:34:24 +00:00
Mark Andrews
b96a1d9fa3 sync multiple changes from BIND 8. 2001-05-28 08:38:32 +00:00