Commit Graph

4642 Commits

Author SHA1 Message Date
Brian Wellington
18d110413c Move dns_dnssec_iszonekey to dns_zonekey_iszonekey, to make the rbtdb not
require all of dst to be linked in.
2001-01-17 01:22:20 +00:00
Brian Wellington
5d0cca62ee Renamed keyid.c to key.c, and moved in a bunch of other functions that don't
depend on crypto.
2001-01-17 01:08:08 +00:00
Brian Wellington
64dcb08113 If the app is blocked and a shutdown signal arrives, just exit(). 2001-01-17 00:48:54 +00:00
Brian Wellington
d7483d67f7 Move dst_region_computeid into a new file dst/keyid.c, so that all of the
dnssec code doesn't need to be linked in by using rdata routines.
2001-01-17 00:33:37 +00:00
Andreas Gustafsson
6c90ca893c quote substituted parts of log messages with single quotes,
not double quotes
2001-01-17 00:16:20 +00:00
Brian Wellington
564c1b8f42 remove the use of abs(), which could have led to false positives because of
64 to 32 bit truncation.
2001-01-16 22:47:56 +00:00
Andreas Gustafsson
1da54a3de9 removed redundant error check [RT #669] 2001-01-16 21:18:10 +00:00
Mark Andrews
4e864e0101 84. [bug] memory leak with view forwarders. [RT #656] 2001-01-16 13:39:42 +00:00
Mark Andrews
2728a98ee4 683. [bug] file leak in isc_lex_openfile(). 2001-01-16 07:47:16 +00:00
Mark Andrews
d722697400 681. [bug] $GENERATE specifying output format was broken. [RT#653] 2001-01-16 07:04:30 +00:00
Mark Andrews
7dbb39a417 680. [bug] dns_rdata_fromstruct() mis-handles options bigger
than 255 octets.
2001-01-16 06:14:00 +00:00
Brian Wellington
6df90b6515 Typo. 2001-01-15 19:54:12 +00:00
Brian Wellington
f98d6edb19 Multiple outstanding requests don't actually help. Never have more than 1. 2001-01-13 01:33:27 +00:00
Brian Wellington
bd703253b7 oops, a mutex was locked too early. 2001-01-13 00:23:34 +00:00
Brian Wellington
f0e246e271 Fully implement the cachefile option, which allows persistent caching. This
removes some unused code in view.c and uncomments some code in cache.c.
This still isn't really usable, since the trust level of cached data is
not persistent, so all data in the persistent cache will be promoted to
"ultimate" trust on reload.
2001-01-12 22:22:17 +00:00
Andreas Gustafsson
d94b209b95 added another INSIST() to dns_dbiterator_pause() as suggested by Bob 2001-01-12 20:11:28 +00:00
Brian Wellington
2883651930 Add dns_master_style_cache 2001-01-12 19:58:51 +00:00
Andreas Gustafsson
7cdd0b6ade allow dbiterators to be paused at any time 2001-01-12 18:56:42 +00:00
Mark Andrews
a51f77a70b 679. [bug] $INCLUDE could leak memory and file descriptors on
reload. [RT #639]
2001-01-12 13:28:22 +00:00
Brian Wellington
a5ff47f55c replace a chunk of code inside an #if 0 with a comment. 2001-01-12 00:56:44 +00:00
Mark Andrews
9b2819633e Removed kludge for different error spaces in dns_dbtable_create(). [RT #642] 2001-01-12 00:31:50 +00:00
Brian Wellington
106ee474a9 A label immediately preceding a close brace is illegal. 2001-01-11 21:16:32 +00:00
Andreas Gustafsson
4755b174df simplified constant names, eliminating the dns_constname structs 2001-01-11 21:07:21 +00:00
Andreas Gustafsson
8116149a05 if the adb had ever returned addresses of a family
other than AF_INET or AF_INET6, there would have been a memory leak
2001-01-11 20:31:31 +00:00
Andreas Gustafsson
8c56932f9a yet another potential memory leak 2001-01-11 20:30:51 +00:00
Andreas Gustafsson
ff7f1dc039 676. [bug] Log messages about lame servers to category
'lame-servers' rather than 'resolver', so as not
                        to be gratuitously incompatible with BIND 8.
2001-01-11 19:38:11 +00:00
Brian Wellington
f847f8208c Fixed an uninitialized variable, removed a dead line of code, and changed
several response processing functions to not require keyrings.
2001-01-11 19:09:47 +00:00
Andreas Gustafsson
90bffb134e make_nonblock() errors were reported twice, and one of the instances
used the wrong errno value [RT #640]
2001-01-11 18:57:23 +00:00
Brian Wellington
a83405a85f zone_idetach() should be static. 2001-01-11 08:10:47 +00:00
Brian Wellington
8e0044fe57 another memory leak. 2001-01-11 07:28:30 +00:00
Brian Wellington
9b0c4bf700 675. [func] TKEY queries could cause the server to leak
memory.
2001-01-11 04:23:39 +00:00
Brian Wellington
3e89268f1f isc_buffer_region -> isc_buffer_usedregion 2001-01-11 04:00:17 +00:00
Brian Wellington
e5fb13fb23 The asserts in fromstruct were too strong - it's possible to have a non-NULL
key and keylen == 0 if the pointer is to a 0 byte allocation.
2001-01-11 03:11:30 +00:00
Brian Wellington
4ceb8b24b6 confparser.c should be removed by "make clean", not "make distclean" 2001-01-09 23:55:17 +00:00
Brian Wellington
7bd76551d4 oops, one too many fixes. 2001-01-09 23:42:51 +00:00
Mark Andrews
19c7cce855 674. [func] Allow messages to be TSIG signed / verified using
a offset from the current time.
2001-01-09 23:35:33 +00:00
Brian Wellington
499b34cea0 copyright update 2001-01-09 22:01:04 +00:00
Andreas Gustafsson
576f85e5fd 673. [func] The server can now convert RFC1886-style recursive
lookup requests into RFC2874-style lookups, when
                        enabled using the new option "allow-v6-synthesis".
2001-01-09 18:26:01 +00:00
Mark Andrews
0c70ab3065 672. [bug] The wrong time was in the "time signed" field when
replying with BADTIME error.
2001-01-09 14:32:44 +00:00
Brian Wellington
32e64787d9 671. [bug] The message code was failing to parse a message with
no question section and a TSIG record. [RT #628]
2001-01-09 02:55:42 +00:00
Brian Wellington
fa5a42fbad 670. [bug] The lwres replacements for getaddrinfo and
getipnodebyname didn't properly check for the
                        existence of the sockaddr sa_len field.
2001-01-09 01:26:43 +00:00
Brian Wellington
523dd6a979 669. [func] dnssec-keygen now makes the public key file
non-world-readable for symmetric keys. [RT #403]
2001-01-09 00:53:06 +00:00
Michael Sawyer
bff300be6b Check that zone->zmgr is non-null before dereferencing 2001-01-09 00:51:53 +00:00
Mark Andrews
5bb4ceb2a6 668. [func] named-checkzone now reports multiple errors in master
files.
2001-01-09 00:43:24 +00:00
Mark Andrews
6976801867 Replace memset() w/ null assignment to last element of array.
the strncpy() fills in the other bytes.
2001-01-09 00:39:46 +00:00
Mark Andrews
c39200d949 Reverse functional change from 1.91 as dns_rdata_fromtext() has now been
fixed.
2001-01-08 23:52:52 +00:00
Brian Wellington
fff07c1022 665. [bug] Signed responses were not sent when the size of the
TSIG + question exceeded the maximum message size.
                        [RT #628]
2001-01-08 20:36:14 +00:00
Andreas Gustafsson
1514371d94 added UNUSED() macro 2001-01-08 19:58:10 +00:00
Andreas Gustafsson
d1dc805692 include NetBSD mutex debugging kludge only if explicitly requested
with -DISC_MUTEX_DEBUG and only if PTHREAD_MUTEX_ERRORCHECK is defined by the pthreads library
2001-01-08 19:47:30 +00:00
Andreas Gustafsson
4817a06287 663. [func] Accept a size_spec, not just an integer, in the
(unimplemented and ignored) max-ixfr-log-size option
                        for compatibility with recent versions of BIND 8.
                        [RT #613]
2001-01-08 19:27:19 +00:00