Commit Graph

3116 Commits

Author SHA1 Message Date
Andreas Gustafsson
33d4937a6e actually initialize the uninitialized variable instead of
initializing another variable twice
2001-04-26 17:20:07 +00:00
Brian Wellington
31628370cc uninitialized variables [RT #1188] 2001-04-26 05:27:18 +00:00
David Lawrence
5bc6f56bc1 Test that log files can be opened when they are configured, since
isc_log_open() can't effectively report failures when called in
isc_log_doit().
2001-04-26 02:38:08 +00:00
Andreas Gustafsson
54b4a8d345 reduced busy loop iteration count to avoid the test timing out on hp1020a 2001-04-25 01:23:13 +00:00
Andreas Gustafsson
4c110ccec1 t12() requires threads 2001-04-24 22:57:36 +00:00
Andreas Gustafsson
3ee7b0d2cd set the SO_REUSEADDR socket option, like named itself does 2001-04-24 01:52:16 +00:00
Andreas Gustafsson
7f4bf5aaac 8-columns indentation and consistent spacing 2001-04-24 01:23:28 +00:00
Brian Wellington
f5c1382fdf Don't leak memory when failing to parse an rdata in the prereq section. 2001-04-20 21:10:36 +00:00
Brian Wellington
4f35dccfc2 If lwresd was started with no -c or -C option, it would fail to read
/etc/resolv.conf if /etc/lwresd.conf was not found.
2001-04-19 23:38:32 +00:00
Brian Wellington
92da55299b If a client requests a UDP buffer of less than 512, ignore it. [RT #1197] 2001-04-19 18:29:53 +00:00
Brian Wellington
e19501436a seed random(), so that the message serial number is not always the same. 2001-04-16 23:07:34 +00:00
Andreas Gustafsson
10a06917a5 not all blackholed UDP datagrams are queries 2001-04-16 22:10:44 +00:00
Brian Wellington
71ca6e64b4 allow ^C to kill rndc while waiting for a response. 2001-04-16 22:00:21 +00:00
Brian Wellington
d8ffaef5c2 The blackhole ACL was not properly applied to UDP queries. Also,
blackholing of TCP connections was done later than it should have been.
2001-04-16 21:18:10 +00:00
Andreas Gustafsson
fa1a39a514 avoid unnecessary auto array initialization 2001-04-16 17:23:34 +00:00
Andreas Gustafsson
07c9d1dee5 'failed to' -> 'could not' 2001-04-16 17:09:00 +00:00
David Lawrence
95799c090c a cleaner approach to the whole issue of shutting up warnings for threaded
vs non-threaded builds.  both compile without any warnings now.
2001-04-13 02:19:37 +00:00
Brian Wellington
6d88b27c89 yet another shutdown race condition 2001-04-13 01:32:14 +00:00
Brian Wellington
32147eb26f refer to RFC 3007, not RFC 2137. 2001-04-13 00:48:57 +00:00
Brian Wellington
5d40dcc081 improved error message 2001-04-13 00:45:19 +00:00
David Lawrence
afe871339a move stack variable declaration within the ISC_PLATFORM_USETHREADS conditional
blocks.
2001-04-12 22:56:02 +00:00
David Lawrence
4f30524203 clean up numerous "statement not reached" errors on a few platforms 2001-04-12 21:31:38 +00:00
David Lawrence
8dd4cf7fc6 dns_dialuptype_t dialup = dns_notifytype_no changed to = dns_dialuptype_no 2001-04-12 21:09:35 +00:00
David Lawrence
8ed664e5a6 zonetype "ztype" was set but not used in configure_zone; removed 2001-04-12 21:07:39 +00:00
David Lawrence
6f053cd485 use ISC_TF() to set an isc_boolean_t 2001-04-12 21:04:14 +00:00
David Lawrence
8b0c51974b cleaned up IRIX warnings:
assigned the result of a comparison directly to an isc_boolean_t.
ipv4 was set but not used if USE_GETADDRINFO was not set.
2001-04-12 21:01:46 +00:00
David Lawrence
947295d886 warning cleanup for HPUX-10.20: trivial unsigned vs sign char pointer issues. 2001-04-12 20:39:04 +00:00
Brian Wellington
c20ffa38de 808. [func] Add 'rndc flush' to flush the server's cache. 2001-04-11 20:37:50 +00:00
Brian Wellington
7e6aeec8f9 The cvs id lines were duplicated 2001-04-11 19:11:07 +00:00
Brian Wellington
35112a392f Call isccc_ccmsg_setmaxsize() on the ccmsg. This causes rndc to sometimes
output the slightly cryptic "out of range" message when connecting to a random
port instead of the just plain wrong "out of memory".
2001-04-10 22:00:41 +00:00
Brian Wellington
d4ef65050f copyright updates
(note - this doesn't touch lib/bind at all.  Mark, whenever you're done with
lib/bind, make sure to do the copyright magic)
2001-04-10 21:52:17 +00:00
Brian Wellington
0e528248ab missed removing this file in the key id fix. 2001-04-10 21:35:35 +00:00
Brian Wellington
eb9c4c217f When creating the dispatch manager, pass in the entropy manager. Otherwise
query ids are completely predictable.
2001-04-10 18:45:05 +00:00
Andreas Gustafsson
aed6a8ed2e 805. [bug] When using "forward only", missing root hints should
not cause queries to fail. [RT #1143]
2001-04-09 21:16:47 +00:00
Brian Wellington
c9e698df1b When attempting to open a non-regular file as a pid file, assign errno rather
than printing an uninitialized value.
2001-04-04 21:45:29 +00:00
Brian Wellington
55ddb88e53 803. [bug] Treat all SIG queries as if they have the CD bit set,
otherwise no data will be returned [RT #749]
2001-04-04 18:47:06 +00:00
Brian Wellington
daad43e5a4 802. [bug] DNSSEC key tags were computed incorrectly in almost
all cases. [RT #1146]
2001-04-04 02:02:58 +00:00
Brian Wellington
599bf3aca7 The code to convert a resolv.conf sortlist into a named.conf sortlist was
broken in many ways.
2001-04-02 22:52:07 +00:00
Brian Wellington
b435b1ded3 correctly document the -V (verbose) argument. 2001-03-31 18:19:07 +00:00
Brian Wellington
edac761923 updates 2001-03-31 02:39:52 +00:00
Andreas Gustafsson
9c49c394b4 manpage docbook conversion 2001-03-31 02:31:16 +00:00
Brian Wellington
8ffa8320ab minor changes 2001-03-31 02:25:31 +00:00
Andreas Gustafsson
803b50652f manpage docbook conversion 2001-03-31 02:23:18 +00:00
Brian Wellington
c9c630ee84 If signing a zone fails, remove the partial file. [RT #1131] 2001-03-31 02:12:26 +00:00
Brian Wellington
bb74e8ce7b output the signed data into a temp file, then rename at the end. 2001-03-31 01:46:13 +00:00
Brian Wellington
091329e690 allow multiple messages on the command channel socket 2001-03-31 01:24:25 +00:00
Brian Wellington
eeb77542a8 improve logging [RT #1132] 2001-03-31 01:03:26 +00:00
Brian Wellington
0b062f4990 converted man pages to docbook and cleaned them up. 2001-03-30 22:50:27 +00:00
Brian Wellington
3efd690413 801. [bug] nsupdate should treat lines beginning with ';' as
comments. [RT #1139]
2001-03-30 22:48:35 +00:00
Brian Wellington
5c3efef926 fix port handling 2001-03-30 21:00:08 +00:00