Commit Graph

876 Commits

Author SHA1 Message Date
Andreas Gustafsson
41ac1e406f needs #include <dns/log.h> 2000-01-20 00:38:49 +00:00
Michael Graff
6448ffb2b9 use unsigned char, not void * in our buffers 2000-01-20 00:11:52 +00:00
Michael Graff
f497ab709d checkpoint 2000-01-20 00:07:51 +00:00
Michael Graff
dd5f72cc1c checkpoint 2000-01-20 00:05:11 +00:00
Andreas Gustafsson
fe609a031b ignore non-IP4 interfaces in do_ip4() now that the interface
iterator can return such things
2000-01-20 00:00:00 +00:00
Andreas Gustafsson
4702aa0b47 detach from view early in client destruction so that the resolver
can start shutting down immediately instead of only after recursions in
progress have finished
2000-01-19 22:03:58 +00:00
Andreas Gustafsson
99abbe0bc4 make sure zone manager is not destroyed until tasks have finished 2000-01-19 22:02:18 +00:00
Andreas Gustafsson
8ac1e9e3da eliminate compiler warning on Alpha 2000-01-19 21:25:24 +00:00
Michael Graff
03eb24f79a checkpoint new lwresd code 2000-01-19 01:27:30 +00:00
Bob Halley
6cff00c8e1 cancel the correct socket. 2000-01-19 00:50:42 +00:00
Andreas Gustafsson
206a60c0d7 eliminated global variable ns_g_rootns; simplified
server startup/cleanup procedure
2000-01-18 23:38:42 +00:00
Andreas Gustafsson
d3f21080e6 report socket errors using isc_log_write, not UNEXPTECTED_ERROR 2000-01-18 22:57:24 +00:00
Andreas Gustafsson
b23d5b6191 eliminated compiler warning and extra
newline in error message
2000-01-18 22:49:55 +00:00
Andreas Gustafsson
b3d8a5883a access server config data only during initial setup,
to simplify locking
2000-01-18 22:21:57 +00:00
Bob Halley
f53f2fbfe4 add inter_test 2000-01-18 21:10:21 +00:00
Bob Halley
37392bc121 now works more like host 2000-01-18 19:07:04 +00:00
Bob Halley
2d80f690e0 add byaddr_test 2000-01-18 19:06:38 +00:00
Bob Halley
13886f5d45 eliminate compiler warning 2000-01-18 18:16:34 +00:00
Andreas Gustafsson
b03758b04e eliminated global variables ns_g_zonemgr and ns_g_clientmgr 2000-01-18 18:09:47 +00:00
Andreas Gustafsson
d468db05b3 client manager cleanup could access freed memory 2000-01-18 18:07:07 +00:00
Mark Andrews
a71f9502bf add interface iterator test 2000-01-18 05:43:21 +00:00
Mark Andrews
0857dced07 test code for interface iterator. 2000-01-18 05:41:06 +00:00
Bob Halley
d42634d8a3 add byaddr_test 2000-01-18 02:47:53 +00:00
Michael Graff
7dbf5a0b64 implement actual network I/O for lw resolver. All I/O is run through the
context, where the sockets are cached.  This means one context per thread.
2000-01-18 01:43:12 +00:00
Andreas Gustafsson
e57d7e30f1 merged the two functions ns_clientmgr_addtodispatch() and
ns_clientmgr_accepttcp() into a new single function,
ns_clientmgr_createclients()
2000-01-17 23:48:15 +00:00
Michael Graff
c05e003dce checkpoint 2000-01-17 21:38:54 +00:00
Andreas Gustafsson
1d5114b9a4 wired up the new 'tcp-clients' and 'recursive-clients' options 2000-01-17 20:07:31 +00:00
David Lawrence
4c9113533d checkpoint 2000-01-17 20:06:37 +00:00
James Brister
9ff3698b6d Change destination of generated config file. 2000-01-17 15:12:14 +00:00
James Brister
3bc687cb56 Add new options for testing. 2000-01-17 14:50:09 +00:00
Bob Halley
b765773e0b use dns_view_simplefind 2000-01-15 00:43:18 +00:00
Andreas Gustafsson
0f03a5d6a7 wired up the 'transfers-out' config option 2000-01-15 00:37:31 +00:00
Andreas Gustafsson
01b16bff8b client can now reserve multiple types of quota simultaneously 2000-01-15 00:37:00 +00:00
Andreas Gustafsson
09df1930e9 client can now reserve multiple types of quota simultaneously;
client quota bug fixes
2000-01-15 00:36:47 +00:00
Andreas Gustafsson
ff03559f14 client can now reserve multiple types of quota simultaneously;
removed unused clienttype argument; client quota bug fixes
2000-01-15 00:36:26 +00:00
Andreas Gustafsson
cec6fc9dc5 client can now reserve multiple types of quota simultaneously;
added module info comment; removed unused ns_clienttype_t and ns_client_destroy
declarations
2000-01-15 00:35:41 +00:00
David Lawrence
45d019f745 checkpoint 2000-01-14 23:10:04 +00:00
Michael Graff
e4f074a2c2 checkpoint 2000-01-14 21:55:44 +00:00
Michael Graff
8f510c28b8 ignore lwres_test 2000-01-14 20:24:24 +00:00
Michael Graff
a3ab70dae2 start on lwres test code 2000-01-14 20:22:28 +00:00
Andreas Gustafsson
7693d4de8f added dns_acl_any(), dns_acl_none() 2000-01-13 23:38:55 +00:00
Andreas Gustafsson
a55d0a9080 obey the 'listen-on' configuration option 2000-01-13 23:32:41 +00:00
Andreas Gustafsson
ad61cbe04f previously static server_task is now ns_g_server->task 2000-01-13 22:07:24 +00:00
Andreas Gustafsson
0084a7ed9c reasonable default values for client quotas 2000-01-13 21:17:08 +00:00
David Lawrence
f208c035a6 omapi_wait_for_completion renamed to omapi_connection_wait 2000-01-13 06:13:39 +00:00
Andreas Gustafsson
eb37a8ce9e headers should not include themselves 2000-01-12 22:22:50 +00:00
Andreas Gustafsson
bbc11ade9b no need to #include <zone.h> 2000-01-12 22:21:20 +00:00
Andreas Gustafsson
0c32f6b044 added shutdown callback to client object;
used it to abort outgoing zone transfers on client shutdown
2000-01-12 18:01:12 +00:00
Andreas Gustafsson
6b99e640f3 80 columns 2000-01-12 01:19:47 +00:00
Andreas Gustafsson
b778773c61 made server cleanup be more like a mirror image of
the server setup, to ensure that the server object is not destroyed
while still being used
2000-01-12 01:17:34 +00:00