Commit Graph
4729 Commits
Author SHA1 Message Date
Andreas Gustafsson 6983bb151a #else -> #else NOMINUM_PUBLIC 2001-02-01 21:27:10 +00:00
Andreas Gustafsson fc16063c23 removed dns_qid_t::mctx since it was never used 2001-01-31 22:16:37 +00:00
Brian Wellington d378ec4758 The return value of lwres_net_pton was checked for != 0 in a few places,
not == 1.
2001-01-31 22:06:33 +00:00
Andreas Gustafsson 2571d4a73d make sanitation work when building into a separate build directory
directly from a CVS tree [RT #765]; also removed code for removing "#line" directives and the
comment saying that the code for removing #line directives should be removed. :-)
2001-01-31 21:34:38 +00:00
Andreas Gustafsson c17c59662f 720. [bug] Server could enter infinite loop in
dispatch.c:do_cancel(). [RT #743]
2001-01-31 17:21:11 +00:00
Mark Andrews ec4f7c6d0f 719. [bug] Rapid reloads could trigger an assertion failure.
[RT #743]
2001-01-31 05:22:55 +00:00
Andreas Gustafsson 8d5ec7195a new dns_master_load() option DNS_MASTER_NOINCLUDE 2001-01-30 23:12:27 +00:00
Andreas Gustafsson 651421a5db removed the "additional-data" option, since it was never
fully implemented and because it causes "internal" to be a reserved word in
named.conf, causing problems for those using "internal" as an ACL name.
Since additional-data was never documented, the user-visible aspect of the
change is:

 718.   [cleanup]       "internal" is no longer a reserved word in named.conf.
                        [RT #753, #731]
2001-01-30 22:02:31 +00:00
Bob Halley 7427490a67 Certain TKEY processing failure modes could
reference an uninitialized variable, causing the
server to crash. [RT #750]
2001-01-30 19:18:19 +00:00
Mark Andrews aac319b506 716. [bug] The first line of a $INCLUDE master file was lost if
a origin was specified. [RT #744]
 Adjust comment.
2001-01-30 13:23:32 +00:00
Andreas Gustafsson dfa0badebe 715. [bug] Resolving some A6 chains could cause an assertion
failure in adb.c. [RT #738]
2001-01-30 05:56:58 +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 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
Bob Halley 40fdf87153 Deal with TTL 0 ANY and SIG queries. 2001-01-24 02:40:19 +00:00
Brian Wellington 46c3b3f6e1 isc_uint16_t -> dns_keytag_t in many places; dns_keytable_findkeynode
was casting incorrectly. [RT #664]
2001-01-24 02:23:02 +00:00
Brian Wellington 0f537d1c63 + 708. [bug] When building with --with-openssl, the openssl headers
+                       included should not be used. [RT #702]
+
2001-01-24 01:34:14 +00:00
Andreas Gustafsson c271488682 706. [bug] Zones with an explicit "allow-update { none; };"
were considered dynamic and therefore not reloaded
                        on SIGNUP or "rndc reload".
2001-01-24 00:00:21 +00:00
Brian Wellington 1e3bc7eaeb only use data from accept() if accept succeeds. 2001-01-23 21:07:12 +00:00
Andreas Gustafsson b346ae570d style 2001-01-23 20:45:31 +00:00
Brian Wellington e90441d922 INSIST that accept() returns a socket of the correct protocol family. Also
assign the "pf" field in the new socket.
2001-01-23 20:42:46 +00:00
Brian Wellington dac1e1dd18 remove more duplicated code 2001-01-23 19:50:10 +00:00
James Brister 6ca537b8a3 New include statement for ndc.conf
include "/tmp/foo";

only allowed at file level (not at any random whitespace location).
2001-01-23 13:15:12 +00:00
Mark Andrews 9a6632fb42 removed unnecessary assignment 2001-01-23 07:45:39 +00:00
Mark Andrews 7c2dce3c4d common code elimination 2001-01-23 07:36:06 +00:00