Andreas Gustafsson
28059de4ef
when a master file ends in a place where a newline is expected,
...
make the warning message say 'file does not end with newline' instead of
'unexpected end of file' to lead the user on the right tracks to fixing
the most likely cause. Also, don't include the function name in the message.
2000-07-10 19:07:19 +00:00
Andreas Gustafsson
04d58db327
321. [bug] When synthesizing a CNAME RR for a DNAME
...
response, query_addcname() failed to intitialize
the type and class of the CNAME dns_rdata_t,
causing random failures.
2000-07-10 18:33:25 +00:00
Brian Wellington
3ce3305278
Remove a race condition where the final event could be posted before
...
isc_app_run started.
2000-07-10 18:02:31 +00:00
Michael Sawyer
2386f92414
Change the default timeouts to 30 seconds.
...
Change the semantics of timeout under TCP mode.
(touch the interval every rcv'd packet, plus increase the timeout greatly
once in the XFR)
2000-07-10 17:25:59 +00:00
Andreas Gustafsson
0282c5fd48
export RNDC
2000-07-10 17:01:15 +00:00
Andreas Gustafsson
880b031d5b
use typedef to avoid multiple identical but incompatible
...
struct definitions for ISC_LIST(ns_omapilistener_t), so that
ISC_LIST_APPENDLIST can be used
2000-07-10 16:47:48 +00:00
Andreas Gustafsson
f7aa8ce0b3
documented procedure used for 9.0.0b5 release
2000-07-10 16:16:25 +00:00
Andreas Gustafsson
0fb14ebc61
added notes about release branch usage
2000-07-10 16:16:06 +00:00
Andreas Gustafsson
38eb03bc5a
typo
2000-07-10 16:15:45 +00:00
David Lawrence
27c1fa93a0
use rndc instead of kill to reload the servers ... with the added benefit
...
that now the body of this test should pass on BSD/OS
2000-07-10 11:39:51 +00:00
David Lawrence
2c6d0da369
set $RNDC
2000-07-10 11:38:48 +00:00
David Lawrence
5096958739
320. [func] Multiple rndc changes: parses an rndc.conf file,
...
uses authentication to talk to named, command
line syntax changed. This will all be described
in the ARM.
[RT #145 ]
2000-07-10 11:38:37 +00:00
David Lawrence
84f4e4a656
319. [func] The named.conf "controls" statement is now used
...
to configure the OMAPI command channel.
[RT #145 ]
2000-07-10 11:35:02 +00:00
David Lawrence
d4868faf3f
removed the port member from dns_c_ctrl_t; the port is put in the sockaddr.
2000-07-10 11:28:31 +00:00
David Lawrence
838281ed55
318. [func] dns_c_ndcctx_destroy() could never return anything
...
except ISC_R_SUCCESS; made it have void return instead.
2000-07-10 11:27:12 +00:00
David Lawrence
89e57b472d
317. [func] Use callbacks from libomapi to determine if a
...
new connection is valid, and if a key requested
to be used with that connection is valid.
2000-07-10 11:23:00 +00:00
Mark Andrews
2809428432
316. [bug] Generate a warning if we detect an unexpected <eof>
...
but treat as <eol><eof>.
2000-07-10 05:18:38 +00:00
Mark Andrews
fd4810861c
Warn on unexpected <eof> if input source is a file, treat as <eol><eof>
...
regardless of input source.
2000-07-10 05:15:04 +00:00
Mark Andrews
b47f3dc885
Add isc_lex_isfile().
2000-07-10 05:11:18 +00:00
David Lawrence
74c2797077
added I: lines to describe the test's progress
2000-07-09 16:33:09 +00:00
David Lawrence
fdebae8397
nsupdate now finishes by sending a final newline, so don't echo another one
2000-07-09 16:27:30 +00:00
David Lawrence
e60f5a146d
remove the correct dig.out and stub zone files generated by the test
2000-07-09 16:18:39 +00:00
David Lawrence
d9d2eb181b
send final newline to stdout, not stderr.
...
minor style changes (lines > 79 columns, a few cases where the function
name was separated from the opening parenthesis by a space).
2000-07-09 16:17:13 +00:00
David Lawrence
904579f844
ignore named.run
2000-07-09 16:11:12 +00:00
David Lawrence
2925f690b3
if a server has to be kill -KILLed, remove its pidfile after the signal is sent
2000-07-09 15:55:01 +00:00
David Lawrence
37d5999904
"make test" depends on subdirs getting all compiled
2000-07-09 15:54:21 +00:00
Mark Andrews
0f6ef702b3
missed the RT #
2000-07-09 12:53:54 +00:00
Mark Andrews
d1e971ba02
316. [bug] EOF mid line should be a error.
...
315. [bug] Handle non-empty blanks lines.
2000-07-09 12:52:34 +00:00
Mark Andrews
ddc12c6129
Add non-empty blank line test.
2000-07-09 12:48:43 +00:00
Brian Wellington
ba6ea42c36
Send all errors to stderr and the prompt to stdout
2000-07-09 06:25:49 +00:00
Andreas Gustafsson
f405ffddc8
added missing requirements
2000-07-08 17:27:28 +00:00
David Lawrence
5709b77c8c
return non-zero if the rcodes differ
2000-07-08 16:37:43 +00:00
David Lawrence
c634c94d67
added "I:" info lines for each stage of the test
2000-07-08 16:37:18 +00:00
David Lawrence
45f0cd2b4b
use full dig output; let digcomp sort it all out. in particular, digcomp
...
really wants to get the server status.
also added "I:" info lines for each stage of the test
2000-07-08 16:36:29 +00:00
David Lawrence
2dc34dc3de
removed a.root-servers.nil A record as out of zone for .mil
2000-07-08 16:29:47 +00:00
David Lawrence
b575462ccb
test that out-of-zone glue records are not returned
2000-07-08 16:29:05 +00:00
David Lawrence
d319a11e58
use full dig output so digcomp can get the server status response
2000-07-08 16:27:24 +00:00
Brian Wellington
66b84e8952
- test insecurity proofs
...
- use digcomp.pl's ability to check rcode
- generate less unneeded output
- use separate output files for each test, so that output isn't deleted
2000-07-08 00:39:17 +00:00
Brian Wellington
71954c9571
I lied. This should be the last change to the setuid() code. Call
...
initgroups() from ns_os_inituserinfo, and make sure that Linux initially has
the CAP_SETGID capability set so that it doesn't fail.
2000-07-08 00:12:21 +00:00
Brian Wellington
c336121fb5
Hopefully the last change to the setuid code. Only call initgroups()
...
if getuid() == 0. Don't call ns_os_changeuser() more than once (it
could happen on Linux).
The code in its current form doesn't check for root before calling
setgid() or setuid(), since they'll fail and print reasonable error
messages (unless -u is supplied with the non-root user that ran named,
in which case it would succeed). The call to initgroups() would fail for
non root, so it shouldn't be tried.
The previous (as of a few days ago) code just ignored the -u parameter
when named was run as non-root. This was not good.
2000-07-07 23:53:35 +00:00
Andreas Gustafsson
5178281071
added draft-ietf-dnsext-message-size-00.txt;
...
updated draft-ietf-dnsext-iana-dns* from -00 to -01
2000-07-07 23:24:06 +00:00
Andreas Gustafsson
722cac3cdc
worked around NetBSD /bin/sh bug, making the
...
script shorter in the process
2000-07-07 23:18:51 +00:00
James Brister
475c936d4c
314. [func] Inet controls named.conf statement can now have
...
any non-negative number of keys specified.
2000-07-07 23:11:48 +00:00
James Brister
b4124351ad
typo in printing additional-data definition..
2000-07-07 22:57:53 +00:00
Andreas Gustafsson
8d19e0443d
worked around NetBSD /bin/sh bug, making the
...
script shorter in the process
2000-07-07 22:45:22 +00:00
Andreas Gustafsson
ed0a75d4a4
indentation and other style fixes;
...
reindented (emacs users please (setq perl-indent 8))
2000-07-07 22:43:45 +00:00
Andreas Gustafsson
eebcaeb6a0
added CNAME RR for RT #153 regression test
2000-07-07 22:33:20 +00:00
Brian Wellington
6ad837a1ad
The rcode comparison check didn't work. It does now.
2000-07-07 22:13:21 +00:00
Brian Wellington
4e5388b459
Clean up the uid switching code again so that setgid() is called in
...
ns_os_changeuser().
2000-07-07 22:10:54 +00:00
Michael Sawyer
0f2fff1389
Print stat lines when needed.
...
(This should be able to be safely pulled up.)
2000-07-07 21:53:47 +00:00