Andreas Gustafsson
dc9870de55
missed one instance of bug fixed in previous change
2001-02-22 23:39:11 +00:00
Andreas Gustafsson
e672999714
client_create() could return ISC_R_SUCCESS when it failed
2001-02-22 23:16:59 +00:00
Andreas Gustafsson
65a66336a6
redid configuration locking using isc_task_beginexclusive()
...
and isc_task_endexclusive() instead of a multitude of separate
configuration rwlocks
2001-02-14 03:54:53 +00:00
Andreas Gustafsson
1dd8ee4fd5
fctx_addopt() would leak an rdataset if dns_message_setopt() ever failed;
...
fixed it by making dns_message_setopt() guarantee to either adopt
or free the rdataset
2001-02-14 02:51:12 +00:00
Brian Wellington
bf5c44f380
ISC_R_INPROGRESS should not be propagated out of client_sendpkg.
2001-02-14 01:46:59 +00:00
Brian Wellington
2d1db4e2c0
Allocate events in the client structure, and use isc_socket_sendto2()
...
and isc_socket_recv2() for sending and receiving packets. In the send
case, pass the IMMEDIATE flag to avoid receiving an event on send completion
if possible.
2001-02-12 21:45:37 +00:00
Brian Wellington
2ba06bbf5a
cut-and-paste-o
2001-02-12 20:26:11 +00:00
Brian Wellington
319d2971f1
When the client informs the dispatcher of a received response, have the
...
dispatcher copy the event instead of reusing the original one.
2001-02-10 02:00:11 +00:00
Andreas Gustafsson
a771e5c797
removed outdated comment
2001-02-09 21:25:55 +00:00
Brian Wellington
4239aef2fb
client_request was not freeing its event.
2001-02-06 02:43:42 +00:00
Brian Wellington
3d76b54512
Don't create a timer for every incoming query - only create it for updates,
...
notifies, and recursive queries.
2001-01-29 19:49:52 +00:00
Brian Wellington
35f06ab0e6
Clients now listen on sockets instead of accepting queries from dispatchers.
...
When a socket is shared by clients and query-source, the client hands off
responses to the dispatcher.
2001-01-27 02:08:07 +00:00
Andreas Gustafsson
40562d7208
comment style
2001-01-23 18:47:33 +00:00
Andreas Gustafsson
96b8d611a7
alphabetized includes
2001-01-22 18:58:36 +00:00
Andreas Gustafsson
bda8d67fd4
race condition [RT #670 ]
2001-01-16 23:02:58 +00:00
Brian Wellington
499b34cea0
copyright update
2001-01-09 22:01:04 +00:00
Brian Wellington
fff07c1022
665. [bug] Signed responses were not sent when the size of the
...
TSIG + question exceeded the maximum message size.
[RT #628 ]
2001-01-08 20:36:14 +00:00
Andreas Gustafsson
9de6daa628
use ISC_SOCKADDR_FORMATSIZE
2000-12-19 19:21:39 +00:00
Andreas Gustafsson
4104b26dd7
more DNS_OPT_NEWCODES sanitation
2000-12-02 05:57:16 +00:00
Andreas Gustafsson
294ae26fb3
more DNS_OPT_NEWCODES sanitation
2000-12-02 04:30:08 +00:00
Andreas Gustafsson
5e9ed27c32
added /* DNS_OPT_NEWCODES */ after #endif to support sanitization
2000-12-02 02:07:37 +00:00
Mark Andrews
644ef1972a
Add INSIST(client->recursionquota == NULL) in various places to ensure that
...
we are not leaking.
2000-11-27 23:54:12 +00:00
Andreas Gustafsson
15e74726b3
increased the UDP receive buffer size (and the initial send
...
buffer size) from 2048 to 4096 bytes
2000-11-16 00:18:13 +00:00
David Lawrence
f769deac29
removed token after an #endif
2000-11-15 23:09:09 +00:00
Andreas Gustafsson
8f086b9df8
when logging incoming messages that fail to match a view,
...
include the class name in the log message
2000-11-15 19:15:25 +00:00
Brian Wellington
942d1a339b
Decompression contexts now take a type instead of the "strict" boolean
...
value - the type can be "any", "strict", or "none". This fixes potential
problems with compression in unknown rr types.
2000-11-14 23:29:55 +00:00
Brian Wellington
78d78f05d9
556. [func] The DNSSEC OK bit in the EDNS extended flags
...
is now implemented. Responses to queries without
this bit set will not contain any DNSSEC records.
2000-11-13 21:34:03 +00:00
Andreas Gustafsson
98f43e2d60
commented the special case TSIG code for update forwarding
2000-11-03 17:39:37 +00:00
Brian Wellington
b209e8ecad
The check to see if tsig checking failing with badkey is ok because
...
the message is an update to be forwarded was wrong.
2000-11-03 04:45:03 +00:00
Brian Wellington
e21d199dca
539. [func] Support the blackhole option.
2000-11-03 02:45:55 +00:00
Mark Andrews
c03bb27f06
532. [func] Implement DNS UPDATE pseudo records using
...
DNS_RDATA_UPDATE flag.
531. [func] Rdata really should be initalized before being
assigned to (dns_rdata_fromwire(), dns_rdata_fromtext(),
dns_rdata_clone(), dns_rdata_fromregion()),
check that it is.
2000-10-25 04:26:57 +00:00
Andreas Gustafsson
a6216d8691
yes, we do need #include <dns/opt.h> - I was misled by an
...
incorrect commit message
2000-10-18 22:10:20 +00:00
Andreas Gustafsson
a1d332a959
we don't really need to #include <dns/opt.h>, do we?
2000-10-18 20:56:33 +00:00
Brian Wellington
1417088e3c
Updated a comment
2000-10-13 23:38:45 +00:00
Michael Sawyer
94b50bce2b
Add zone-specific reload and refresh capability to server and rndc
2000-10-12 21:52:00 +00:00
Michael Sawyer
dc570b92f6
Add support for proposed ZONE and VIEW opt attributes. These are currently
...
hidden behind #ifdef's, since no OPT code number has yet to be assigned
by the IANA. They are also not quite complete in all regards; VIEW
options are understood and ignored. ZONE options are understood and
acted upon, though some of the error cases aren't quite right.
Remove doubled isc_mem_stats in dighost.c
Update todo list.
Change literal 255's to DNS_NAME_MAXWIRE in name.c
2000-10-11 17:44:18 +00:00
Brian Wellington
6850cdd449
508. [func] dns_message_parse() can now do a best-effort
...
attempt, which should allow dig to print more invalid
messages.
2000-10-06 18:58:30 +00:00
Brian Wellington
3a62e221b4
locks weren't being destroyed
2000-09-26 22:09:20 +00:00
Andreas Gustafsson
d15f51c600
484. [bug] When the server was reloaded after removing addresses
...
from the named.conf "listen-on" statement, sockets
were still listening on the removed addresses due
to reference count loops. [RT #325 ]
Now there is one client manager object per interface instead of a single
global one; when an interface goes away, it simply destroys the associated
client manager, which will cause all its clients to be shut down in an
orderly fashion.
2000-09-22 00:13:08 +00:00
Andreas Gustafsson
cd47ac233a
comment the changes of revision 1.110
2000-09-18 22:54:08 +00:00
Mark Andrews
918148ce9b
Remove common code in ns_client_send()/ns_client_sendraw().
2000-09-13 03:15:01 +00:00
Mark Andrews
459e901f90
451 [func] Update forwarding implememted.
...
450. [func] New function ns_client_sendraw().
2000-09-13 01:30:34 +00:00
Michael Graff
42e31e6ef7
pass in the log level desired; make 'client denied recursion' log at debug level 1 always.
2000-09-12 18:50:36 +00:00
Brian Wellington
0586029c81
Properly add a TSIG to a response not matching any view. The TSIG will
...
always have error==BADKEY. This is a bit of a hack, but without a view
to match, I can't think of a better way.
2000-09-12 07:48:28 +00:00
Brian Wellington
504b5167f3
#include <isc/mutex.h>
2000-08-25 01:08:07 +00:00
Brian Wellington
83180b8337
If the message class is unset (for example, if the query has no question
...
section), return FORMERR, not REFUSED.
2000-08-21 23:45:05 +00:00
Andreas Gustafsson
b232fc9f06
style
2000-08-08 23:56:10 +00:00
David Lawrence
40f53fa8d9
Trailing whitespace trimmed. Perhaps running "perl util/spacewhack.pl in your
...
own CVS tree will help minimize CVS conflicts. Maybe not.
Blame Graff for getting me to trim all trailing whitespace.
2000-08-01 01:33:37 +00:00
David Lawrence
15a4474541
word wrap copyright notice at column 70
2000-07-27 09:55:03 +00:00
Andreas Gustafsson
4d9b99ccb2
the client control event should be a server event,
...
not a DNS library event
2000-07-26 23:45:55 +00:00