2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-28 21:17:54 +00:00

216 Commits

Author SHA1 Message Date
Andreas Gustafsson
3eef7eaba0 renamed dns_acl_checkrequest() to ns_client_checkacl()
and moved it to bin/named/client.c to reflect the fact that it
implemented BIND ACL policy more than general-purpose library
functionality; resolve ACL defaults at configuration time
rather than when the ACL is evaluated
2000-02-22 21:24:24 +00:00
Andreas Gustafsson
377333ac58 include peer address when logging TCP connections and
client requests
2000-02-17 18:18:24 +00:00
Andreas Gustafsson
d18d98734f implemented client timeouts; made outgoing zone transfers
use the client timers instead of creating their own
2000-02-14 23:56:47 +00:00
Andreas Gustafsson
ae0bc2f30e Make client reference counts work the same way as all
other reference counts: replace ns_client_wait() and
ns_client_unwait() by ns_client_attach() and ns_client_detach(),
respectively
2000-02-11 20:56:19 +00:00
Andreas Gustafsson
e5f8f2659b yet another major reorganization of client shutdown
procedures, in preparation for client timeouts
2000-02-10 22:16:56 +00:00
Andreas Gustafsson
66142ee20a client leaked socket if shutdown was in progress when
accept completed
2000-02-10 00:28:36 +00:00
Andreas Gustafsson
a174757026 implemented the 'localhost' and 'localnets' ACLs 2000-02-09 22:59:40 +00:00
Andreas Gustafsson
106003e7b4 added missing break statement after iquery case 2000-02-04 00:46:58 +00:00
Bob Halley
7d98a1783f update copyrights 2000-02-03 22:29:57 +00:00
Andreas Gustafsson
bd1dfb7939 removed overzealous INSIST() 2000-01-31 19:53:44 +00:00
Andreas Gustafsson
9c7ea152ca When a client object has served its purpose and is not
needed to listen for new requests, do not shut it down.  Instead,
wait for pending sends to finish and then store it on a linked
list of inactive client objects for later reuse.
2000-01-28 23:35:53 +00:00
Andreas Gustafsson
143c2d39fa configuration locking checkpoint 2000-01-27 01:00:16 +00:00
Andreas Gustafsson
d0449759c6 typo 2000-01-26 00:41:40 +00:00
Andreas Gustafsson
1242c7b4aa missing exit check in client_senddone() 2000-01-25 19:36:13 +00:00
Bob Halley
e485d16462 name tasks 2000-01-25 19:31:23 +00:00
Brian Wellington
651a38a706 If a query is for type ANY, match the first view that otherwise matches. 2000-01-24 21:29:12 +00:00
Brian Wellington
bf08eb90e4 use the new TSIG/TKEY code 2000-01-21 20:24:49 +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
Bob Halley
6cff00c8e1 cancel the correct socket. 2000-01-19 00:50:42 +00:00
Bob Halley
13886f5d45 eliminate compiler warning 2000-01-18 18:16:34 +00:00
Andreas Gustafsson
d468db05b3 client manager cleanup could access freed memory 2000-01-18 18:07:07 +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
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
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
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
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
Andreas Gustafsson
efc3180a0e INSIST that there are no outstanding reads when
destroying tcpmsg; update comments accordingly
2000-01-06 18:25:08 +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
582732ce15 war on global variables continues: ns_g_viewlist and
ns_g_viewlock are now gone
1999-12-22 18:45:56 +00:00
Andreas Gustafsson
143592a649 new client shutdown cleanup strategy 1999-12-22 16:59:05 +00:00
Michael Graff
733b16eb0b priority rendering 1999-12-22 03:22:59 +00:00
Andreas Gustafsson
12cc22fc73 When waiting for a TCP request, receiving a response
instead caused an assertion failure
1999-12-20 23:06:17 +00:00
Michael Graff
58aaab3687 isc_stdtime_get() now returns void, not isc_result_t. 1999-12-16 23:29:07 +00:00
Andreas Gustafsson
6017f424ee introducing dns_acl_t; other restructuring of server
configuration process aiming to reduce the degree of mutual dependency
between lib/dns/config and the rest of libdns
1999-12-16 23:11:07 +00:00
Michael Graff
440be4c866 move util.h to <isc/util.h> 1999-12-16 22:24:22 +00:00
Mark Andrews
f6a9dd2c61 complete slave side of notify 1999-12-16 01:23:17 +00:00
Andreas Gustafsson
c295547c73 use the "recursion" and "allow-recursion" config options;
set RA correctly in responses
1999-12-10 23:58:04 +00:00
Andreas Gustafsson
5cee8302fc dns_aml_checkrequest() now takes signer name, not message 1999-12-10 18:14:49 +00:00
Michael Graff
6149906644 ipv6 changes 1999-12-04 01:27:44 +00:00
Andreas Gustafsson
50f9363435 return NOTIMP, not REFUSED, for IQUERY to more accurately reflect that
we have refused to implement it :-)
1999-11-30 22:35:43 +00:00
Andreas Gustafsson
d4539375e2 added ns_client_getsockaddr() 1999-11-30 02:49:38 +00:00
Bob Halley
53ad327ef5 avoid possible memory leak 1999-11-24 21:05:45 +00:00
Bob Halley
3f0751e5af move debugging output to level 3 1999-11-23 20:55:02 +00:00
Bob Halley
7622df5154 add client->now 1999-10-29 16:16:54 +00:00
Mark Andrews
12df8cb49a Fix #include <dns/xfrin.h> 1999-10-29 05:08:55 +00:00
Bob Halley
a4b6a1622b really basic logging instead of printf 1999-10-22 19:35:19 +00:00
Bob Halley
ae51af4776 fix memory leak in client_addopt() 1999-10-20 23:20:30 +00:00
Bob Halley
0fef48d0e6 ends fixes; clear AA and AD on error 1999-10-07 19:43:18 +00:00
Andreas Gustafsson
22a33c32fc xfrin_test() is going away 1999-09-23 06:47:28 +00:00