2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 05:57:52 +00:00

237 Commits

Author SHA1 Message Date
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
Andreas Gustafsson
a32738e3e4 352. [bug] Race condition in dns_client_t startup could cause
an assertion failure.
2000-07-26 17:39:12 +00:00
Andreas Gustafsson
3668b37b8b cleaner, but more invasive, fix to 335. 2000-07-17 23:19:14 +00:00
Brian Wellington
178f73169a 335. [bug] named would occasionally attempt recursion when
it was disallowed or undesired.
2000-07-17 18:43:32 +00:00
Mark Andrews
8d51d9e67e 331. [bug] Only log "recursion denied" if RD is set. (RT #178) 2000-07-14 02:26:22 +00:00
Brian Wellington
720319de67 Call isc_log_wouldlog in ns_client_log 2000-07-13 00:21:27 +00:00
Mark Andrews
51eb7d0c5c uninitaliased variable 2000-06-22 23:48:07 +00:00
David Lawrence
18f2f93039 style lint 2000-06-22 23:04:27 +00:00
David Lawrence
9c3531d72a add RCS id string 2000-06-22 22:00:42 +00:00
Mark Andrews
06430b1f6c isc_mem_put(client->tcpbuf) not isc_mem_put(client->sendbuf); 2000-06-22 02:21:06 +00:00
Andreas Gustafsson
b3157263ee 272. [bug] The sending of large TCP responses was canceled
in mid-transmission due to a race condition
                        caused by the failure to set the client object's
                        newstate variable correctly when transitioning
                        to the working state.
2000-06-22 01:14:38 +00:00
Mark Andrews
b35a009df8 270. [func] Allow maximum sized TCP answers. 2000-06-22 00:05:11 +00:00
Michael Graff
ca53839147 temp. change -- don't filter mcast yet 2000-06-16 18:10:44 +00:00
Michael Graff
c01c401217 reject multicast packets 2000-06-15 18:26:28 +00:00
Mark Andrews
0bfcec250f 254. [bug] suppress "query denied" messages on additional data
lookups.
 ISC-Bugs #139
2000-06-15 04:42:01 +00:00
Andreas Gustafsson
76a191c420 failures at certain points in request processing could cause
the assertion INSIST(client->lockview == NULL) to be triggered
2000-05-26 22:43:36 +00:00
Andreas Gustafsson
1c628a47a5 failure in sending response to client was not logged 2000-05-22 16:03:31 +00:00