Commit Graph
4785 Commits
Author SHA1 Message Date
Andreas Gustafsson a3d0d44b14 install refcount.h 2001-02-12 23:11:27 +00:00
Andreas Gustafsson 158eb6d7ab bump major library version number since change 733. changed
the size of the public structure dns_acl_t
2001-02-12 17:44:16 +00:00
Brian Wellington 8ea2c27256 pullup:
733.   [bug]           Reference counts of dns_acl_t objects need to be
                        locked but were not. [RT #801]
2001-02-09 01:01:55 +00:00
Andreas Gustafsson 2d4608f817 pullup: added missing copyright message; ISC_REFERENCE_H -> ISC_REFCOUNT_H 2001-02-09 00:27:50 +00:00
Andreas Gustafsson 45b14c489d pullup:
#include <isc/mutex.h>
2001-02-09 00:22:37 +00:00
Andreas Gustafsson 5930d8ab30 pullup:
708.  [bug]           When building with --with-openssl, the openssl headers
                      included should not be used. [RT #702]
2001-02-08 17:18:45 +00:00
Andreas Gustafsson 31b349d025 pullup:
729.  [port]          pthread_setconcurrency() needs to be called on Solaris.
2001-02-07 22:36:20 +00:00
Brian Wellington 470a973e50 pullup:
727.	[port]		Work around OS bug where accept() succeeds but
			fails to fill in the peer address of the accepted
			connection, by treating it as an error rather than
			an assertion failure. [RT #809]
2001-02-07 20:21:46 +00:00
Andreas Gustafsson 9002d70655 pullup:
do_next_response() was unlinking an event from the wrong list
(apparently this code was never actually executed)
2001-02-07 18:50:37 +00:00
Andreas Gustafsson 1a3518cca3 pullup:
Only check to make sure that the full number of bytes were sent if the
send operation succeeded.  I'm still not convinced that send_done() works
correctly, but making other changes that look correct causes assertion failures.
2001-02-07 02:41:47 +00:00
Andreas Gustafsson 3e4ebe51ad pullup:
The ISC__BUFFER_INIT macro had a typo.
2001-02-07 02:32:16 +00:00
Andreas Gustafsson 3fec0be47f pullup:
INSIST that accept() returns a socket of the correct protocol family.  Also
assign the "pf" field in the new socket.
2001-02-06 18:10:28 +00:00
Andreas Gustafsson b86ea45de3 When memsetting the entropy pool to 0, the count should be the size in bytes,
not words.
2001-02-05 23:31:05 +00:00
Andreas Gustafsson b590f9eff8 pullup:
The flags field of the request structures were not initialized (thanks, purify)
2001-02-05 21:19:35 +00:00
Andreas Gustafsson 23a78da970 pullup:
723.   [bug]           Referrals whose NS RRs had a 0 TTL caused the resolver
                        to return DNS_R_SERVFAIL. [RT #783]
2001-02-02 01:32:25 +00:00
Mark Andrews 3e91b30dea pullup:
720.   [bug]           Server could enter infinite loop in
                        dispatch.c:do_cancel(). [RT #743]
2001-02-01 00:43:49 +00:00
Andreas Gustafsson e7ad36a62d pullup:
716.  [bug]           The first line of a $INCLUDE master file was lost if
                       a origin was specified. [RT #744]
 Adjust comment.
2001-01-31 18:06:29 +00:00
Andreas Gustafsson 74c207a5ab pullup:
719.   [bug]           Rapid reloads could trigger an assertion failure.
                        [RT #743]
2001-01-31 18:04:45 +00:00
Andreas Gustafsson cc1bf03eb5 pullup:
715.   [bug]           Resolving some A6 chains could cause an assertion
                        failure in adb.c. [RT #738]
2001-01-30 22:26:09 +00:00
Andreas Gustafsson 11320638f6 pullup:
Certain TKEY processing failure modes could
reference an uninitialized variable, causing the
server to crash. [RT #750]
2001-01-30 22:12:22 +00:00
cvs2git 44e2022878 This commit was manufactured by cvs2git to create branch 'v9_1'. 2001-01-30 02:50:53 +00:00
Brian Wellington 63ca494e7e Added the isc_refcount_t type, which is a generic locked reference counter,
and make the rbtdb, zone, and view objects use it.
This should reduce contention on other locks, since (in the normal)
implementation, the reference count has its own lock.  In the future, it
should also be possible to implement an isc_refcount_t with atomic operations
instead of mutexes, which should also help performance.
2001-01-30 02:50:51 +00:00
Mark Andrews fd50497bbe isc_dir_chroot() 2001-01-29 03:17:45 +00:00
Brian Wellington 6f9786fdcf Consolidate duplicated code in isc_socket_sendto[v] and isc_socket_recv[v]. 2001-01-27 06:41:36 +00:00
Brian Wellington b3936096b8 fix get_key_struct() definition 2001-01-27 04:33:18 +00:00
Andreas Gustafsson 9e992ecf37 further cleanup of ADB dumps 2001-01-27 02:44:35 +00:00
Brian Wellington 3a66efb0cb remove the completely unused timer->mctx field. 2001-01-27 02:44:07 +00:00
Brian Wellington 94baac869a 712. [bug] Sending a large signed update message caused an
assertion failure. [RT #718]

- Resetting a message should clear the TSIG/SIG(0) sections
- Rerendering a message if the first try returned USETCP should not call
  dns_message_settsigkey() again.
2001-01-27 02:28:33 +00:00
Andreas Gustafsson fd73b3a68d fixed incorrect error message 2001-01-27 02:12:13 +00:00
Andreas Gustafsson a618f8d5b7 suppress compiler warnings 2001-01-27 02:11:35 +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
Brian Wellington 562f162981 remove unused labels 2001-01-27 01:16:09 +00:00
Brian Wellington dd66e6306b Remove isc_socket/[send|recv]mark, which were never used. 2001-01-26 23:17:26 +00:00
Brian Wellington 7b5172166d Waking up once a second to clean one bucket is excessive. Change the
default values (and dependencies) so that the clenup routine is called once
ever 30 seconds and cleans 8-9 buckets.
2001-01-26 03:20:58 +00:00
Damien Neil dfb0717d75 - Receive and send operations on UDP sockets no longer need to acquire
the socket lock.  (Assuming the operation succeeds immediately, and doesn't
need to be queued.)

- Communications with the watcher thread tweaked to reduce the need for
locking.
2001-01-25 22:25:10 +00:00
Brian Wellington 9f7b524522 The forwarders statements in zones & views didn't work. 2001-01-25 21:10:18 +00:00
Brian Wellington 330705066b Wrap inet_ntop() and use that in the _totext() functions. The wrapper calls
inet_ntop() and copies the output (but not the trailing null) into the buffer.
2001-01-25 20:14:42 +00:00
Andreas Gustafsson f4ad59d79c pullup:
711.   [bug]           The libisc and liblwres implementations of
                        inet_ntop contained an off by one error.
2001-01-25 20:13:38 +00:00
Andreas Gustafsson b586eb4408 revert half of 711. - there was no off by one error in the v6 case,
only in the v4 case
2001-01-25 20:10:02 +00:00
Brian Wellington 1ac2c28488 711. [bug] The libisc and liblwres implementations of
inet_ntop contained an off by one error.
2001-01-25 19:39:48 +00:00
Andreas Gustafsson bc85580ff8 mask message id to 16 bits explicitly 2001-01-25 13:52:32 +00:00
Andreas Gustafsson 3530e10080 commented and removed dead code 2001-01-25 13:47:59 +00:00
Brian Wellington a12d9cfa59 710. [func] The forwarders statement now takes an optional port.
Also some assorted cleanup, which resulted in a lot of duplicated code removal.
2001-01-25 02:33:53 +00:00
Mark Andrews 1a2b3fbeb1 don't attempt to refresh while loading. 2001-01-25 02:30:21 +00:00
Damien Neil 3c31899857 Fix warning in the overrun detection code. 2001-01-25 01:38:01 +00:00
Damien Neil 823eed5ea9 Made the internal malloc() optional, selected by the
ISC_MEM_USE_INTERNAL_MALLOC preprocessor constant.
2001-01-25 01:18:00 +00:00
Brian Wellington c6c1846361 oops, missed a function declaration 2001-01-25 00:44:29 +00:00
Brian Wellington 038a3e6bfe use dns_messageid_t instead of isc_uint32_t in a few places. [RT #703] 2001-01-25 00:42:31 +00:00
Brian Wellington f6478f5e44 formatting & macro updates 2001-01-24 21:12:48 +00:00
Mark Andrews 3bed75bb2d silence compiler 2001-01-24 07:12:56 +00:00