Commit graph

2936 commits

Author SHA1 Message Date
Brian Wellington
5a027af2a9 update 2001-02-16 01:08:53 +00:00
Brian Wellington
a1c4585f1c Remove ndcconf_test, since the old ndc parser is gone. Remove
dispatch_tcp_test, since the only parts of the dispatcher api it used
no longer exist.
2001-02-16 01:07:37 +00:00
Brian Wellington
c44ecc9bb8 #include <dns/acl.h> 2001-02-16 01:00:42 +00:00
Brian Wellington
8f66dad939 Make rndc use the new config parser. If anyone has any rndc.conf files
sitting around, testing them would be nice.
2001-02-16 00:41:43 +00:00
Brian Wellington
ede71ac5d2 fix suspicious (yet correct) use of strncat() in get_address() [RT #863] 2001-02-16 00:04:18 +00:00
Brian Wellington
f22ef00109 fix the potential buffer overflow in printgreeting() [RT #863] 2001-02-15 23:57:22 +00:00
Ben Cottrell
d8dde7c9fb Style fixes per Andreas, functionality fixes per Michael Sawyer.
The printgreeting() stuff is fixed once and for all by the change
to clone_lookup... I think this is the "right" way of doing it.
2001-02-15 23:44:08 +00:00
Andreas Gustafsson
7aff04f5d0 removed unused struct field client::disconnect 2001-02-15 23:42:54 +00:00
Brian Wellington
c3de05e48a send usage to stderr, not stdout. 2001-02-15 23:26:29 +00:00
Brian Wellington
e51477c9c4 Don't need to initialize dst anymore. 2001-02-15 19:45:27 +00:00
Andreas Gustafsson
08b48bdf45 missing space between words in error message 2001-02-15 19:38:09 +00:00
Andreas Gustafsson
eae31304be 80 columns 2001-02-15 19:02:18 +00:00
Andreas Gustafsson
1348364377 added more sample code for extracting key secrets from rndc.conf 2001-02-15 18:55:03 +00:00
Andreas Gustafsson
b6c943d1c9 added sample code for extracting key secrets from rndc.conf 2001-02-15 18:53:28 +00:00
Andreas Gustafsson
5d9cd26d79 added test program for new configuration parser 2001-02-15 05:15:27 +00:00
Andreas Gustafsson
3ad7f12f74 exit if restarting server fails; increase sleep after SIGKILLing server
to give sockets time to be freed
2001-02-15 01:04:06 +00:00
Matt Nelson
214eae639d Made obsolete by .pl version. 2001-02-15 00:10:33 +00:00
Matt Nelson
2d556761c2 Use stop.pl to stop servers, not stop.sh. 2001-02-15 00:07:03 +00:00
Andreas Gustafsson
3e42d5b2bb start and stop the servers in alphabetical order 2001-02-14 23:57:33 +00:00
Andreas Gustafsson
f915bbfc2d rdatas constructured by query_addcnamelike() always had
type CNAME, even when part of a non-CNAME rdataset
2001-02-14 19:32:30 +00:00
Andreas Gustafsson
65a66336a6 redid configuration locking using isc_task_beginexclusive()
and isc_task_endexclusive() instead of a multitude of separate
configuration rwlocks
2001-02-14 03:54:53 +00:00
Brian Wellington
dc5415c9fd comment update 2001-02-14 03:01:12 +00:00
Andreas Gustafsson
1dd8ee4fd5 fctx_addopt() would leak an rdataset if dns_message_setopt() ever failed;
fixed it by making dns_message_setopt() guarantee to either adopt
or free the rdataset
2001-02-14 02:51:12 +00:00
Andreas Gustafsson
927fe08882 leave more evidence when failing 2001-02-14 02:42:10 +00:00
Andreas Gustafsson
1b003261c2 stop.pl should replace only kill -TERM, not kill -KILL; the test is
specifically trying to test how the server behaves when shut down uncleanly
2001-02-14 02:11:17 +00:00
Andreas Gustafsson
edd03c5600 add -- before non-option argument starting with a dash so as not to
confuse the Perl Getopt module
2001-02-14 02:03:45 +00:00
Brian Wellington
bf5c44f380 ISC_R_INPROGRESS should not be propagated out of client_sendpkg. 2001-02-14 01:46:59 +00:00
Ben Cottrell
2caff6b7df Something that I thought was a win turned out to be a lose. I now no longer
even try to restore previous state when someone issues two conflicting
type options.
2001-02-14 01:46:03 +00:00
Andreas Gustafsson
ff6e7b684a commented 2001-02-14 01:34:26 +00:00
Matt Nelson
614610ba0b Use start.pl and stop.pl to start and stop servers during test. 2001-02-14 00:16:38 +00:00
Matt Nelson
a60a0fd346 Use start.pl and stop.pl instead of start.sh and stop.sh. 2001-02-14 00:14:24 +00:00
Brian Wellington
5226a9f307 argument handling was broken 2001-02-14 00:13:33 +00:00
Matt Nelson
557e104278 Added ability to test port on a single ip address. 2001-02-14 00:09:44 +00:00
Matt Nelson
cf1dd93491 Rewrite of stop.sh in perl. Added ability to stop single server. 2001-02-13 23:41:00 +00:00
Matt Nelson
7b8ebf78a8 Rewrite of start.sh in perl. Added ability to start single specified server
and to skip cleanup of server files.
2001-02-13 23:39:50 +00:00
Ben Cottrell
354f4f1ab2 Fixed RT #727 and #780. 2001-02-13 23:12:17 +00:00
Andreas Gustafsson
b27b26d710 added isc_task_beginexclusive() test 2001-02-13 18:55:19 +00:00
Mark Andrews
e1066e3f98 add named.8 2001-02-13 06:27:26 +00:00
Brian Wellington
8b473437f1 Support Solaris x86, improve Solaris support, support Linux on non x86. 2001-02-12 23:06:44 +00:00
Brian Wellington
2d1db4e2c0 Allocate events in the client structure, and use isc_socket_sendto2()
and isc_socket_recv2() for sending and receiving packets.  In the send
case, pass the IMMEDIATE flag to avoid receiving an event on send completion
if possible.
2001-02-12 21:45:37 +00:00
Brian Wellington
2ba06bbf5a cut-and-paste-o 2001-02-12 20:26:11 +00:00
Mark Andrews
0aba05dc81 named.8 -> named.8.in 2001-02-12 04:53:20 +00:00
Mark Andrews
070fc7e7e1 named.8 is now processed by configure. 2001-02-12 04:50:47 +00:00
Brian Wellington
319d2971f1 When the client informs the dispatcher of a received response, have the
dispatcher copy the event instead of reusing the original one.
2001-02-10 02:00:11 +00:00
Andreas Gustafsson
a771e5c797 removed outdated comment 2001-02-09 21:25:55 +00:00
Andreas Gustafsson
cf887bbf78 the 'additional-data' option was never implemented 2001-02-09 00:08:23 +00:00
Bob Halley
4ff3597979 In ns_server_setdebuglevel():
Fixed "comparison of unsigned expression < 0 is always false".
	Marked server parameter as UNUSED.
2001-02-08 18:01:33 +00:00
Brian Wellington
4cc2a6e261 Mention that the key must be defined in the server configuration file with the
same name and secret.
2001-02-07 20:27:40 +00:00
Mark Andrews
90f92d9f81 RDNC -> RNDC [RT# 816] 2001-02-07 13:31:27 +00:00
Brian Wellington
dfceef7e68 rndc trace now takes an optional level parameter. 2001-02-07 00:50:44 +00:00