Commit Graph

3145 Commits

Author SHA1 Message Date
Andreas Gustafsson
73a0d5c6ec do not assume . is in $PATH 2001-05-09 21:55:44 +00:00
Brian Wellington
66262ee904 rndc status now counts zones (in all views except _bind) 2001-05-09 21:35:28 +00:00
Brian Wellington
08116c0bbd -t now works 2001-05-09 18:59:55 +00:00
Brian Wellington
fdd2f4e5d0 Add an option to ignore the first 2 bytes (for TCP messages) 2001-05-09 18:56:29 +00:00
Brian Wellington
110c0fae7f add some commandline flags. 2001-05-09 18:51:44 +00:00
Brian Wellington
08a0525d92 Use a 64K buffer, not a 4K buffer. 2001-05-09 18:47:49 +00:00
Brian Wellington
1448a52296 the output buffer should be 64K, not 4000 bytes. 2001-05-09 00:16:48 +00:00
Andreas Gustafsson
c3ebcedbe5 Add isc_file_progname(), with trivial POSIX implementation, and
call it from main().  A separate WIN32 implementation will be needed.
2001-05-08 19:47:55 +00:00
Andreas Gustafsson
8fbd23c0aa 823. [func] The output of "dig -h" now goes to stdout so that it
can easily be piped through "more". [RT #1254]
2001-05-08 15:56:01 +00:00
Brian Wellington
7fea1b3b43 If 'rndc trace' is sent to a server already debugging at level 99, ignore it. 2001-05-08 04:30:32 +00:00
Brian Wellington
e4cd5a1e5d Partial support for "rndc status". Not all of the fields are filled in yet. 2001-05-08 04:09:41 +00:00
Andreas Gustafsson
532989b206 initate command channel shutdown from the server task, not the
main task, to avoid race conditions; eliminate global variables in
controlconf.c
2001-05-08 03:42:34 +00:00
Brian Wellington
bdfb3735ac check for DNS_R_SEENINCLUDE 2001-05-08 03:20:42 +00:00
Andreas Gustafsson
8b3fb4bded added reconfig command to usage message 2001-05-08 01:19:01 +00:00
Andreas Gustafsson
4257a38160 handle tabs in rndc commands; remove redundant strcmp() calls;
remove obsolete commentary
2001-05-08 00:28:28 +00:00
Andreas Gustafsson
2071b2be37 unused variable 2001-05-08 00:26:24 +00:00
Andreas Gustafsson
9dafd058e3 implemented 'rndc reconfig' 2001-05-07 23:34:24 +00:00
Andreas Gustafsson
6e0e723b25 quote key name in warning message; typos; plural 2001-05-07 21:57:25 +00:00
Andreas Gustafsson
02d8e643ea cut-and-paste-o caused memory leak 2001-05-07 21:01:45 +00:00
Danny Mayer
a14762f207 dst_key_fromfile needs cast of length 2001-05-06 02:20:29 +00:00
Danny Mayer
94b88b9500 named_order needed const in declaration 2001-05-06 02:17:48 +00:00
Brian Wellington
5f539d5fc6 822. [bug] Sending nxrrset prerequisites would crash nsupdate.
[RT #1248]
2001-05-05 01:19:45 +00:00
Andreas Gustafsson
b98aa30aa2 regenerated 2001-05-04 00:55:52 +00:00
Andreas Gustafsson
2eaad63a37 regenerated with docbook2man-spec.pl bug fixes 2001-05-04 00:51:29 +00:00
Brian Wellington
76477bd0e0 821. [bug] The program name used when logging to syslog should
be stripped of leading path components.
			[RT #1178, #1232]
2001-05-03 19:06:25 +00:00
Andreas Gustafsson
c62314bc9c removed sample configuration access code, now that we have
real configuration access code in bin/named/server.c and bin/named/*conf.c
2001-05-02 17:43:42 +00:00
Andreas Gustafsson
e23d2b98b7 don't include the now nonexistent <dns/namedconf.h> 2001-05-02 17:41:24 +00:00
Andreas Gustafsson
38db299051 make rwlock_test compile without threads 2001-05-02 17:35:52 +00:00
Andreas Gustafsson
3242899a56 818. [bug] Certain pathological responses to ANY queries could
cause an assertion failure. [RT #1218]
2001-04-28 00:21:30 +00:00
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