Commit Graph

1462 Commits

Author SHA1 Message Date
David Lawrence
ffead635aa removed unused stack variable "set_ra" from ns_query_start.
wrapped long lines.
fixed comment to ISC style.
2000-05-24 03:23:42 +00:00
David Lawrence
f9aa0a668c removed unused stack variable "zoneclass" from ns_notify_state 2000-05-24 03:19:21 +00:00
David Lawrence
ddd5fe8756 cast void * pointer to dns_byaddr_t * when comparing, to shut up irix compiler 2000-05-24 03:17:51 +00:00
David Lawrence
d6a2af163f added missing prototype for usage().
wrapped long lines.
removed unused stack variable "byte" from set_bit in dnssec-signzone.
UNUSED(verbose) for yet-to-be-used variable in dnssec-keygen.
argument to return should be in parentheses.
2000-05-24 03:16:19 +00:00
David Lawrence
d0ad6ddcdd added missing prototype for show_usage().
added UNUSED(first) for when USEINITALWS is not defined.
added missing spaces around assignment operators per ISC style.
use ISC_TF() when assigning a boolean value.
removed unused stack variables "have_host", "xfr_mode" and "nsfind"
	from parse_args().
2000-05-24 03:12:36 +00:00
David Lawrence
1b80d19ba7 removed unused stack variable "args" from dummy debug().
use ISC_TF when assigning a boolean value.
mask random() to sixteen bits and cast to unsigned short for assignment to
     lookup->sendmsg->id
minor ISC style issues.
2000-05-24 03:10:24 +00:00
David Lawrence
b0ab096ce6 added missing prototype to show_usage().
added UNUSED(first) for when USEINITALWS is not defined.
use ISC_TF() when assigning a boolean value.
added missing spaces around assignment operators per ISC style.
2000-05-24 03:05:58 +00:00
Andreas Gustafsson
9d7c5c2c31 reduced number of test zones to 100 2000-05-23 04:48:04 +00:00
Andreas Gustafsson
875ad7d99d when reloading the server, zone objects reused with a new
view object still referenced their old view
2000-05-23 04:38:22 +00:00
Michael Sawyer
df22852dcd Fix problem in notify test 2000-05-23 02:13:39 +00:00
Brian Wellington
ef9f3246f4 _version zone wasn't set to dns_rdataclass_ch 2000-05-23 01:21:32 +00:00
Brian Wellington
9c2a9c5306 the server could crash if the version string was unassigned. 2000-05-23 00:40:59 +00:00
Michael Sawyer
d81a745bbb Longer sleep needed for reliable fix to SIGHUP problem 2000-05-23 00:02:45 +00:00
Michael Sawyer
0334d82cad Workaround for SIGHUP-without-delay bug 2000-05-22 23:56:49 +00:00
Michael Sawyer
1da88f8208 Forcably prevent callbacks from trying to do something once the lists
start to get freed up.
2000-05-22 22:56:31 +00:00
Michael Sawyer
02bc88821c tests.sh 2000-05-22 22:19:07 +00:00
Andreas Gustafsson
a185ac41ac updated 2000-05-22 21:29:21 +00:00
Michael Graff
5d1bfe4ce1 make these compile. dispatch_test works; dispatch_tcp_test does not. Use dns_message_totext() rather than printmessage(). 2000-05-22 19:36:34 +00:00
Andreas Gustafsson
a228ba1fa4 conform to recent ratelimiter API changes 2000-05-22 18:32:51 +00:00
Andreas Gustafsson
87796a03ed added shell variable DIG containing the pathname of dig 2000-05-22 17:31:45 +00:00
Andreas Gustafsson
cb726f24e7 renamed variable tzone to dupzone for clarity and simplified
code to clean it up after use - no functional change
2000-05-22 17:07:43 +00:00
Andreas Gustafsson
c512030111 style; improved error handling; set SOA timers to
lower values so that retries and refreshes can be observed
2000-05-22 16:35:36 +00:00
Andreas Gustafsson
9b50fc6648 style nits 2000-05-22 16:34:32 +00:00
Andreas Gustafsson
7fa1c9722b set a query source so that notify packets get sent with
the correct source address and are accepted by the slave as coming
from a master
2000-05-22 16:34:06 +00:00
Andreas Gustafsson
5b83a15556 new test data was written to the wrong file (a.example.db
instead of example.db); removed spurious semicolon from 'status=0' assignment
2000-05-22 16:32:20 +00:00
Andreas Gustafsson
1c628a47a5 failure in sending response to client was not logged 2000-05-22 16:03:31 +00:00
Andreas Gustafsson
224553741e send notifies after dynamic update 2000-05-22 16:01:58 +00:00
Mark Andrews
9f20f5913b add dns_rdata_fromstuct() 2000-05-22 12:31:39 +00:00
Michael Sawyer
3d02ab0d2d osf doesn't get path right. 2000-05-20 01:01:28 +00:00
Michael Sawyer
208c4f45c8 clean up test output 2000-05-19 23:55:37 +00:00
Michael Sawyer
d349843282 Add copyright entries 2000-05-19 22:45:47 +00:00
Michael Sawyer
344556c188 Add makefile.in in test suits 2000-05-19 21:55:31 +00:00
Michael Graff
46993e1d9d Merge the mlg-20000518 branch onto the mainline. Change summary:
dns_dispatch_create() no longer exists.  dns_dispatch_createtcp()
	and dns_dispatch_getudp() are the replacements.  _createtcp() takes
	a bound, connected TCP socket, while _getudp() will search for
	a sharable UDP socket, and if found, attach to it and return a
	pointer to it.  If one is not found, it will create a udp socket,
	bind it to a supplied local address, and create a new dispatcher
	around it.

	dns_dispatch_remove{request,response}() no longer take the dispatch
	as an argument.

	query-source can now be set per view.

	The dispatch manager holds onto three memory pools, one for
	allocating dispatchers from, one for events, and one for
	requests/replies.  The free list on these pools is hard-coded,
	but set to 1024.  This keeps us from having to dig into the
	isc_mem_t the pools draw from as often.

	dns_resolver_create() and dns_view_createresolver() require that
	valid dispatchers be passed in; dispatchers are no longer created
	for the caller.
2000-05-19 21:46:46 +00:00
Michael Sawyer
5a3e08cbb2 Add views test 2000-05-19 21:23:23 +00:00
Michael Sawyer
fa0d3114ae Typo 2000-05-19 20:46:24 +00:00
Michael Sawyer
bd334e0366 Add notify test suite 2000-05-19 18:01:27 +00:00
Michael Sawyer
4e0dc7b50c Add option to bind to a specified address 2000-05-19 17:54:04 +00:00
Mark Andrews
93d2839b39 additional dns_rdata_{tostruct,freestruct}() testing. 2000-05-19 13:29:46 +00:00
Andreas Gustafsson
ea96c33a39 call dns_zone_setview() once and for all when creating a zone;
do not call it again when reconfiguring
2000-05-19 02:34:23 +00:00
Mark Andrews
5fcf1b4f16 Add dns_rdata_tostruct() to tests suite -S 2000-05-19 01:49:19 +00:00
Brian Wellington
c50936eb40 changed dst_key_free() prototype, misc. dst cleanup 2000-05-19 00:20:59 +00:00
David Lawrence
6a6b556d9d gcc (ANSI?) won't inline a variable arg function, but there wasn't much point
to inlining fatal() anyway.
2000-05-18 23:28:30 +00:00
Michael Sawyer
8d837d2669 Add host install 2000-05-18 22:53:15 +00:00
Michael Sawyer
a92428ecb8 Sweeping changes to system test suite 2000-05-18 22:49:29 +00:00
Michael Sawyer
ff301f59ea Typo 2000-05-18 22:12:04 +00:00
Brian Wellington
acd5445e00 use the new names in program output 2000-05-18 22:04:02 +00:00
Andreas Gustafsson
95be83b467 DNSSEC tools now have a new home 2000-05-18 21:45:10 +00:00
Andreas Gustafsson
5b5039637d moving DNSSEC tools from bin/tests 2000-05-18 21:15:40 +00:00
David Lawrence
47e816aef7 isc_time_add() now returns isc_result_t. 2000-05-18 17:22:40 +00:00
David Lawrence
f23a324764 isc_time_add() and isc_time_subtract() now return isc_result_t. 2000-05-18 17:22:20 +00:00