Commit Graph

1761 Commits

Author SHA1 Message Date
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
Andreas Gustafsson
559b10cc8f client quotas; added reference counting to ns_interface_t
and ns_interfacemgr_t so that they can safely hold quota information
2000-01-11 21:18:22 +00:00
David Lawrence
360ac43cac expanded test to update object on server 2000-01-11 01:50:05 +00:00
Andreas Gustafsson
08d93839d7 support multiple simultaneous clients by creating new
client objects in place of busy ones, in preparation for client quotas
2000-01-07 19:20:25 +00:00
Bob Halley
45068fd4dc fix problem with SRV recursive additional data 2000-01-07 02:42:45 +00:00
Michael Graff
0941f35ad9 Start moving the dispatcher code to allow it to be used for wire format as well as for lightweight resolver daemon stuff. 2000-01-07 01:17:47 +00:00
David Lawrence
904f1ab394 checkpoint 2000-01-06 23:56:51 +00:00
Andreas Gustafsson
efc3180a0e INSIST that there are no outstanding reads when
destroying tcpmsg; update comments accordingly
2000-01-06 18:25:08 +00:00
David Lawrence
0bd4e3591a reversing bogus checkin 2000-01-06 15:02:16 +00:00
David Lawrence
cc1b6f86f2 added ISC_RESULTCLASS_OMAPI 2000-01-06 14:47:39 +00:00
David Lawrence
e2125b01c2 wrong argv index was being atoi()d after conversion to isc/commandline.h 2000-01-06 14:47:36 +00:00
Andreas Gustafsson
2cb0da946e the client and query data structures were not cleaned up
correctly if the server got a SIGINT with a recursive query in progress
2000-01-06 01:09:27 +00:00
Andreas Gustafsson
f9e00d0112 shutdown cancelled accept on wrong socket 2000-01-04 22:05:31 +00:00
Andreas Gustafsson
721e468db0 eliminated global variable ns_g_interfacemgr;
rescan interface list on reconfiguration
2000-01-04 22:02:26 +00:00
Andreas Gustafsson
e8e73ca025 eliminated global variable ns_g_interfacemgr 2000-01-04 22:01:54 +00:00
David Lawrence
5fbb225ee1 ignore omapi_test 2000-01-04 20:37:55 +00:00