2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 14:07:59 +00:00
Commit Graph

277 Commits

Author SHA1 Message Date
Michael Graff
7e2c8092db Include <isc/print.h> to get proper definition of vsnprintf() on machines which don't have it. 2000-04-07 19:17:33 +00:00
Andreas Gustafsson
a672bfbee4 wired up view options: allow-query, allow-recursion, allow-transfer 2000-04-06 23:59:19 +00:00
Michael Graff
4195904998 s/DNS_R_/ISC_R_/ change for some codes. 2000-04-06 22:03:35 +00:00
Andreas Gustafsson
a895e8e779 wired up view options: recursion, auth-nxdomain, transfer-format;
fixed failure to obey the 'recursion' option
2000-04-06 20:26:39 +00:00
Andreas Gustafsson
4caf4e9b8b added view matching 2000-04-06 17:29:47 +00:00
Andreas Gustafsson
8f804834e2 moved logging typedefs from <isc/log.h> to <isc/types.h> 2000-04-04 20:09:05 +00:00
Andreas Gustafsson
60c83e9d7c added ns_client_log(); use it when logging client
messages
2000-04-04 18:28:51 +00:00
Bob Halley
60771bb1b4 When making an OPT RR, initialize rdata's type and rdclass fields to avoid
triggering an assertion.
Add definitions for CTRACE and MTRACE of NS_CLIENT_TRACE is not defined.
2000-03-29 18:57:36 +00:00
Michael Graff
0a48eff8c7 remove debugging printf that stuck in 2000-03-28 00:09:28 +00:00
Michael Graff
ae8d0aedd6 implement pktinfo through dispatcher -> named client 2000-03-14 03:30:52 +00:00
Andreas Gustafsson
443b9e6e51 TCP client objects in excess of quota were recycled
too early, at the end of the request, instead of being kept around to serve
subsequent requests on the same TCP connection and recycled only when the
connection is closed (RT #66)
2000-03-06 17:35:13 +00:00
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