1025 Commits
Author SHA1 Message Date
Brian Wellington f682d506e4 pullup:
661. fix failed to destroy transfer object after sending response
2001-01-08 19:30:37 +00:00
Brian Wellington f6938dad17 pullup:
661.   [bug]           UDP IXFR requests with EDNS options caused
                        an assertion failure (mpctx->allocated == 0).
                        [RT #623]
2001-01-06 03:09:54 +00:00
Andreas Gustafsson 55115bffc3 pullup:
651.   [func]          The AD bit in responses now has the meaning
                        specified in <draft-ietf-dnsext-ad-is-secure>.
2001-01-05 23:50:16 +00:00
cvs2git 65bfedf5a0 This commit was manufactured by cvs2git to create branch 'v9_1'. 2000-12-28 01:42:01 +00:00
Mark Andrews de154f65f6 Ensure that ns_client_*() are only called from the client's task. 2000-12-28 01:29:09 +00:00
Mark Andrews af5dc286ff 640. [bug] Memory leak in error path could cause
"mpctx->allocated == 0" failure. [RT #584]
2000-12-27 23:01:25 +00:00
David Lawrence 054e999be3 #include <config.h> 2000-12-23 22:02:49 +00:00
Andreas Gustafsson 16093c228e added UNUSED() macro 2000-12-22 21:17:59 +00:00
Andreas Gustafsson d1efbb15f9 previous change removed too much code 2000-12-22 18:32:06 +00:00
Andreas Gustafsson f0f61db621 629. [bug] 9.1.0b1 derferenced a null pointer and crashed
when responding to a UDP IXFR response.
2000-12-22 01:38:16 +00:00
Brian Wellington 736aab3076 626. [bug] The lightweight resolver daemon no longer crashes
when asked for a SIG rrset. [RT #558]
2000-12-20 03:40:20 +00:00
Andreas Gustafsson 9de6daa628 use ISC_SOCKADDR_FORMATSIZE 2000-12-19 19:21:39 +00:00
Brian Wellington c8fc692fa1 618. [bug] Queries to a signed zone could sometimes cause
an assertion failure.
2000-12-16 02:30:58 +00:00
Andreas Gustafsson f19771c55d 617. [bug] When using dynamic update to add a new RR to an
existing RRset with a different TTL, the journal
                        entries generated from the update did not include
                        explicit deletions and re-additions of the existing
                        RRs to update their TTL to the new value.
2000-12-16 00:58:03 +00:00
Andreas Gustafsson 113b8ef973 renamed dns_view_dumpcachetostream() to dns_view_dumpdbtostream()
and changed header comments to make it clear that it is for debugging/analysis purposes and may
dump other stuff in addition to the cache in the future.  Also changed the dump style to the
'explict TTL' one, which makes more sense than usin  when dumping cache files since the TTLs
tend to be different in each rrset, and added a comment banner at the top of each cache dump
containing the view name.
2000-12-15 21:11:38 +00:00
Andreas Gustafsson e194e0e04b #include <masterdump.h> not needed; loop style 2000-12-15 19:38:07 +00:00
Andreas Gustafsson 416b0c2f10 don't include function names in non-debug log messages 2000-12-15 19:32:55 +00:00
Andreas Gustafsson 3253eb8c09 brace style 2000-12-15 19:29:57 +00:00
Andreas Gustafsson 8c18a5cfc2 oops, previous change did not compile 2000-12-15 01:07:52 +00:00
Andreas Gustafsson eacc01e117 not being able to open a socket on port 53 is not
an 'unexpected error'
2000-12-15 00:31:27 +00:00
Andreas Gustafsson f77a1793d0 commented 2000-12-15 00:29:59 +00:00
Mark Andrews 8fd925169f keep CAP_SYS_RESOURCE 2000-12-14 18:29:57 +00:00
David Lawrence 3d509f54ac 613. [bug] "rndc reload zone" now reloads primary zones.
It previously only updated slave and stub zones,
			if an SOA query indicated an out of date serial.
2000-12-13 07:18:44 +00:00
David Lawrence 10e6498d6d * Removed max-names (as well as DNS_R_ZONETOOLARGE, which was
never returned by any function and was presumably cruft
        related to max-names).
  * Made allow-notify part of the public source and documented it.
  * Made master server TSIG keys part of the public source and documented it.
  * Removed a define of DNS_OPT_NEWCODES supposedly used by GNS, with
        the approval of Mike.
  * Made DNS_ZONE_FORCELOAD flag, used by rndc reload, work in the
        public source.  After the NOMINUM_PUBLIC cleanup, I'll
        fix the rndc reload issues we've been discussing here at IETF.

I left in NOMIMUM_PUBLIC around the forward-notify stuff, with the
expectation that Michael will give the go-ahead next week to remove it.
2000-12-13 00:15:39 +00:00
Brian Wellington 58082ab8a8 The "cachefile" option now loads the file on startup. The "temporary" -x
option to named is no more.
2000-12-12 23:05:59 +00:00
Brian Wellington 8b6293c6ca oops, forgot to add "dumpdb" 2000-12-12 23:03:16 +00:00
Brian Wellington eb8713ed94 Add support for the 'rndc dumpdb' command. Also add the 'cachefile'
option to the config file, which will be used for persistent cache
storage.
2000-12-12 21:33:21 +00:00
Brian Wellington bf00f50cf4 609. [bug] getrrsetbyname() would crash lwresd if the server
found more SIGs than answers. [RT #554]
2000-12-12 07:25:04 +00:00
Mark Andrews 88a6fef494 init dns_rdata_t's 2000-12-11 23:09:47 +00:00
Brian Wellington 78838d3e0c 8 space -> tab conversion 2000-12-11 19:24:30 +00:00
Brian Wellington 911ed0d3be Split journal.[ch] into journal.[ch] and diff.[ch] 2000-12-09 02:17:12 +00:00
Mark Andrews 6fda157766 ISC_LINK_*UNSAFE -> ISC_LINK_INITAND* 2000-12-07 20:15:58 +00:00
Andreas Gustafsson 856fa6405e James says this file is not actually used for anything 2000-12-06 20:09:37 +00:00
David Lawrence 8d5cba6826 In ns_server_togglequerylog(), assign server->log_queries the proper enumerated
type (not an integer)
2000-12-06 01:21:04 +00:00
Brian Wellington 5686f209b7 the example #include for sdb drivers should be "xxdb.h", not <xxdb.h> 2000-12-06 01:04:45 +00:00
Brian Wellington 76905f7fee remove extraneous spaces 2000-12-06 01:04:09 +00:00
Andreas Gustafsson 3c7ce471aa 593. [bug] If a secure zone was missing all its NXTs and
a dynamic update was attempted, the server entered
                        an infinite loop.
2000-12-05 22:48:56 +00:00
Andreas Gustafsson 985013e619 don't increment the referral counter when using the root hints (RT #527) 2000-12-05 19:17:32 +00:00
Andreas Gustafsson c87a3af2d6 another missing NULL initialization 2000-12-05 17:23:45 +00:00
Andreas Gustafsson 20606121ea missing NULL initialization 2000-12-05 01:41:29 +00:00
Andreas Gustafsson 4d5c668a91 589. [bug] The server could deadlock if a zone was updated
while being transferred out.
2000-12-04 06:31:41 +00:00
Andreas Gustafsson 4104b26dd7 more DNS_OPT_NEWCODES sanitation 2000-12-02 05:57:16 +00:00
Andreas Gustafsson 90ad126bb3 more DNS_OPT_NEWCODES sanitation 2000-12-02 04:44:51 +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
Andreas Gustafsson ce1f5b8d0a rewrote much of the statistics counter code 2000-12-01 23:49:59 +00:00
Andreas Gustafsson a3e41e3c03 obey the allow-update forwarding option for both signed and unsigned updates;
fold the upforwd system test README file and nsupdate input files into the tests.sh script;
other minor cleanup of the upforwd test
2000-12-01 21:37:17 +00:00
Andreas Gustafsson f41a25ce77 document the fact that ns_client_sendraw() signals
the end of request processing
2000-12-01 21:30:20 +00:00
Andreas Gustafsson 9c566a852f 587. [func] A warning is now printed if the "allow-update"
option allows updates based on the source IP
                        address, to alert users to the fact that this
                        is insecure and becoming increasingly so as
                        servers capable of update forwarding are being
                        deployed.
2000-12-01 18:22:17 +00:00
Mark Andrews a9dcc1d0cb typo 2000-12-01 08:58:10 +00:00