2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 14:35:26 +00:00
Commit Graph

194 Commits

Author SHA1 Message Date
Andreas Gustafsson
fbdbb3e8fa spacing 2001-11-14 19:11:06 +00:00
Andreas Gustafsson
10a6442013 typo 2001-11-14 02:03:43 +00:00
Andreas Gustafsson
f33fe250cf running out of memory during ns_client_t construction could crash server [RT #409] 2001-10-30 00:48:25 +00:00
Mark Andrews
a7cb695600 1070. [bug] Copy DNSSEC OK (DO) to response as specified by
draft-ietf-dnsext-dnssec-okbit-03.txt.
2001-10-24 21:47:12 +00:00
Mark Andrews
b19619260f 1069. [func] Kill oldest recursive query when recursive query
quota is exhausted.
2001-10-24 03:10:18 +00:00
Andreas Gustafsson
79432444e8 RFC1123 says ignore the RD bit in multicast requests, not
FORMERR multicast requests with RD set
2001-10-13 01:10:26 +00:00
Andreas Gustafsson
afe5729a33 in revision 1.182, presumably a & was intended where a |= was written 2001-10-13 00:44:24 +00:00
Andreas Gustafsson
fc9acafe15 spacing 2001-10-12 23:54:03 +00:00
Mark Andrews
ff52c72095 restore comment 2001-10-12 04:01:40 +00:00
Mark Andrews
417872b98a re-do #1047
1047.  [bug]           named was incorrectly refusing all requests signed
                       with a TSIG key derived from an unsigned TKEY
                       negotiation with a NOERROR response.  [RT #1886]
2001-10-12 03:58:04 +00:00
Andreas Gustafsson
a77ad145d0 1047. [bug] When a request was refused due to being signed with
a TSIG key derived from an unsigned TKEY negotiation,
                        the response could have an rcode of SUCCESS rather
                        than REFUSED. [RT #1886]
2001-10-11 22:45:20 +00:00
Mark Andrews
0aba41458d 1036. [func] Temporally drop requests received via multicast. 2001-10-09 04:29:19 +00:00
Mark Andrews
5f7516bee5 1035. [bug] Respond to multicast queries from a unicast address,
RFC 1123. [RT #137]
2001-10-09 02:39:03 +00:00
Mark Andrews
2e24e82fc3 1034. [bug] Multicast queries must not have RD set, RFC 1123.
FORMERR those that do.  [RT #137]
2001-10-09 02:30:20 +00:00
Mark Andrews
d5169236b7 1033. [bug] Don't imply that we support a opcode that we don't
when we don't have a matching view or cannot
                        determine the class.
2001-10-09 02:05:55 +00:00
Andreas Gustafsson
9066d09c3e Removed all code within #ifdef DNS_OPT_NEWCODES*.
It was the last thing being sanitized out of releases; removing
it makes it possible to eliminate the sanitation process.
2001-10-01 18:54:05 +00:00
Andreas Gustafsson
2f734e0a7e sizeof style 2001-09-19 23:08:24 +00:00
Andreas Gustafsson
28cf7340b9 1005. [bug] Don't copy nonzero RCODEs from request to response.
[RT #1765]
2001-09-19 00:02:26 +00:00
Andreas Gustafsson
76c8294c81 format string bugs and improved format string checking [RT #1578] 2001-08-08 22:54:55 +00:00
Brian Wellington
ee3ab6063d 945. [func] Add the new view-specific options
"match-destinations" and "match-recursive-only".
2001-07-26 20:42:46 +00:00
Mark Andrews
b52c49c6e1 lower unknown class/view to DEBUG(1) 2001-06-28 02:39:46 +00:00
Andreas Gustafsson
5465e5f7dd query_getzonedb() formatted the domain name and class being queried
for at least once for every query to authoritative data, whether or not a log
message was actually printed, which adversely affected query performance
2001-06-15 23:28:29 +00:00
Andreas Gustafsson
27ee1d06e9 typo 2001-06-15 22:35:42 +00:00
Mark Andrews
03f91269f5 856. [func] Allow partial rdatasets to be returned in answer and
authority sections to help non-TCP capable clients
                        recover from truncation.  [RT #1301]
2001-06-05 09:02:16 +00:00
David Lawrence
92ef1a9b9d use ISC_MAGIC for all magic numbers, for our friends in EBCDIC land 2001-06-04 19:33:39 +00:00
Mark Andrews
89d03d4715 Redo:
839.   [func]          Dump packets for which there was no view or that the
                        class could not be determined to category "unmatched".
2001-05-28 05:17:05 +00:00
Mark Andrews
2ae4dd0dbd 839. [func] Dump packets for which there was no view or that the
class could not be determined to file, (-e filename).
2001-05-25 07:39:48 +00:00
Andreas Gustafsson
82df406152 don't log ISC_R_CANCEL as a 'fatal error' 2001-05-14 21:33:45 +00:00
Andreas Gustafsson
70fcb78509 client->peeraddr_valid could be set even if the peer
address was not valid; socket errors were logged as requests; when a client shut down
due to a fatal I/O error, it failed to log a message to that effect
2001-05-14 21:12:32 +00:00
Andreas Gustafsson
8ea814ce5f If a response was received on port 53 and failed to parse, the server
would respond to the response, potentially causing packet storms.
This bug was introduced on the mainline by the dispatch-bypass changes and
does not affect any released version.
2001-05-09 23:13:03 +00:00
Brian Wellington
92da55299b If a client requests a UDP buffer of less than 512, ignore it. [RT #1197] 2001-04-19 18:29:53 +00:00
Andreas Gustafsson
10a06917a5 not all blackholed UDP datagrams are queries 2001-04-16 22:10:44 +00:00
Brian Wellington
d8ffaef5c2 The blackhole ACL was not properly applied to UDP queries. Also,
blackholing of TCP connections was done later than it should have been.
2001-04-16 21:18:10 +00:00
Brian Wellington
6eccf5bd07 788. [feature] Add the "match-mapped-addresses" options, which
causes IPv6 v4mapped addresses to be treated as
			IPv4 addresses for the purpose of acl matching.
2001-03-26 21:33:07 +00:00
Andreas Gustafsson
4c03e69ab8 781. [func] Avoid error packet loops by dropping duplicate FORMERR
responses. [RT #1006]
2001-03-19 20:52:21 +00:00
Brian Wellington
461260ac15 add casts [RT #1017] 2001-03-12 22:27:15 +00:00
Mark Andrews
55b6243923 776. [func] Improved error reporting in denied messages. [RT #252] 2001-03-11 06:19:39 +00:00
Mark Andrews
0c13f7af64 Document under what conditions client_allocsendbuf() is allowed to return
ISC_R_NOSPACE.  Add an INSIST to catch changes to callers.
2001-03-06 04:18:42 +00:00
Brian Wellington
952a55000a Remove the 4k UDP send buffer from the client object; use an array on the
stack instead.
2001-03-06 01:24:40 +00:00
Brian Wellington
e43b9a2005 move compression context create/delete into the caller of the message
rendering functions.  This reduces the size of the message object.
2001-03-05 21:15:47 +00:00
Brian Wellington
c6f7fb355d update a comment 2001-02-23 22:38:28 +00:00
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