Commit graph

10345 commits

Author SHA1 Message Date
Mark Andrews
cc83084441 s/dns_key_free/dst_key_free/ 2010-12-03 12:03:22 +00:00
Mark Andrews
c0a76b3c0b 2978. [port] hpux: look for <devpoll.h> [RT #21919] 2010-12-03 00:57:57 +00:00
Automatic Updater
326a702a35 update copyright notice 2010-12-02 23:46:56 +00:00
Mark Andrews
c87f15dac8 2976. [bug] named die on exit after negotiating a GSS-TSIG key. [RT #3415] 2010-12-02 23:22:42 +00:00
Mark Andrews
97664670d0 2975. [bug] rbtdb.c:cleanup_dead_nodes_callback() aquired the
wrong lock which could lead to server deadlock.
                        [RT #22614]
2010-12-02 04:58:13 +00:00
Automatic Updater
e085624e0f update copyright notice 2010-11-30 23:46:55 +00:00
Evan Hunt
b5b934a0bb 2974. [bug] Some vaild UPDATE requests could fail due to a
consistency check examining the existing version
			of the zone rather than the new version resulting
			from the UPDATE. [RT #22413]
2010-11-30 02:27:08 +00:00
Automatic Updater
bc7051ee3f update copyright notice 2010-11-18 00:59:43 +00:00
Mark Andrews
5a636f9951 2972. [bug] win32: address windows socket errors. [RT #21906] 2010-11-18 00:24:00 +00:00
Automatic Updater
33cc94f04c update copyright notice 2010-11-17 23:47:09 +00:00
Evan Hunt
8eb30f8dd3 2971. [bug] Fixed a bug that caused journal files not to be
compacted on Windows systems as a result of
			non-POSIX-compliant rename() semantics. [RT #22434]
2010-11-17 00:27:54 +00:00
Mark Andrews
d48730a446 2970. [security] Adding a NO DATA negative cache entry failed to clear
any matching RRSIG records.  A subsequent lookup of
                        of NO DATA cache entry could trigger a INSIST when the
                        unexpected RRSIG was also returned with the NO DATA
                        cache entry.  [RT #22288]
2010-11-16 06:46:44 +00:00
Mark Andrews
cd9d825a71 remove accidental commit 2010-11-16 05:38:31 +00:00
Mark Andrews
a27b3757fd 2968. [security] Named could fail to prove a data set was insecure
before marking it as insecure.  One set of conditions
                        that can trigger this occurs naturally when rolling
                        DNSKEY algorithms.  [RT #22309]
2010-11-16 01:14:51 +00:00
Mark Andrews
7965c00ca8 check for size equal zero in _format(), replace snprintf of a fixed string with strlcpy 2010-11-16 00:53:36 +00:00
Mark Andrews
432e1ce402 check that grow_headerspace added enough space or re-call it 2010-11-16 00:51:41 +00:00
Mark Andrews
c5a3400f23 REQUIRE that rataset/rdatalist be non NULL 2010-11-16 00:50:28 +00:00
Mark Andrews
a158495f84 INSIST that bucket in no longer ISC_ADB_INVALIDBUCKET after find_*_and_lock calls 2010-11-16 00:49:18 +00:00
Mark Andrews
c2f5ddeeec isc_netaddr_format() check for sies equal 0 2010-11-16 00:43:02 +00:00
Mark Andrews
baab444222 isc_sockaddr_format() check for sies equal 0 2010-11-16 00:42:35 +00:00
Mark Andrews
d775887f01 cfg_obj_asnetprefix() check that the destinations are non NULL before writing to them 2010-11-16 00:41:32 +00:00
Automatic Updater
b3ff8e5ae7 update copyright notice 2010-10-18 23:47:08 +00:00
Mark Andrews
7bce336186 2966. [bug] isc_print_vsnprintf() failed to check if there was
space available in the buffer when adding a left
                        justified character with a non zero width,
                        (e.g. "%-1c"). [RT #22270]
2010-10-18 03:59:05 +00:00
Mark Andrews
ed83fa75f5 2963. [security] The allow-query acl was being applied instead of the
allow-query-cache acl to cache lookups. [RT #22114]
2010-09-24 05:09:03 +00:00
Automatic Updater
3255640981 update copyright notice 2010-09-15 12:38:36 +00:00
Mark Andrews
506a2177bf 2961. [bug] Be still more selective about the non-authoritative
answers we apply change 2748 to. [RT #22074]
2010-09-15 12:21:27 +00:00
Mark Andrews
70ba55161b 2957. [bug] entropy_get() and entropy_getpseudo() failed to match
the API for RAND_bytes() and RAND_pseudo_bytes()
                        respectively. [RT #21962]
2010-09-15 03:06:15 +00:00
Mark Andrews
240a7dc59d 2951. [bug] named failed to generate a correct signed response
in a optout, delegation only zone with no secure
                        delegations. [RT #22007]
2010-09-07 00:58:36 +00:00
Mark Andrews
e588bfe689 2950. [bug] named failed to perform a SOA up to date check when
falling back to TCP on UDP timeouts when
                        ixfr-from-differences was set. [RT #21595]
2010-09-06 04:41:13 +00:00
Mark Andrews
02a211f4c4 2949. [bug] dns_view_setnewzones() contained a memory leak if
it was called multiple times. [RT #21942]
2010-09-06 04:31:11 +00:00
Francis Dupont
ec288f1a26 reindent 2010-09-05 12:14:26 +00:00
Automatic Updater
f428e385a4 update copyright notice 2010-08-16 23:46:52 +00:00
Mark Andrews
10f9e687f5 silence redefinition warnings MacOS 2010-08-16 22:41:16 +00:00
Mark Andrews
c6f4972c74 2943. [func] Add support to load new keys into managed zones
without signing immediately with "rndc loadkeys".
                        Add support to link keys with "dnssec-keygen -S"
                        and "dnssec-settime -S".  [RT #21351]
2010-08-16 22:21:07 +00:00
Mark Andrews
8bc194b266 2941. [bug] sdb and sdlz (dlz's zone database) failed to support
DNAME at the zone apex.  [RT #21610]
2010-08-16 04:49:14 +00:00
Automatic Updater
2b43d1d8c5 update copyright notice 2010-08-13 23:47:04 +00:00
Francis Dupont
7641867b4c fix win32 build 2010-08-13 14:33:31 +00:00
Francis Dupont
bcb444aed0 remove connection aborted error message 2010-08-13 10:45:32 +00:00
Mark Andrews
c73d8c1b72 2938. [bug] When skipping NSEC3 records that don't match the
current NSEC3PARAM record in use for zone named
                        could dereference a uninitialised pointer attempting
                        to obtain a lock. [RT# 21868]
2010-08-13 06:46:25 +00:00
Tatuya JINMEI 神明達哉
d0b75b9ff6 define the wrapper function for mem_isovermem().
(a regression in rt21818)
2010-08-12 21:30:26 +00:00
Evan Hunt
9b7efe7aca Removed a leftover UNUSED statement referencing a parameter that doesn't
exist anymore.
2010-08-12 04:04:14 +00:00
Automatic Updater
cc4dd0d08d update copyright notice 2010-08-11 23:46:42 +00:00
Tatuya JINMEI 神明達哉
253ae50e09 required ctx is valid in mem_isovermem(). 2010-08-11 23:11:45 +00:00
Tatuya JINMEI 神明達哉
27fe1966c9 2937. [bug] Worked around an apparent race condition in over
memory conditions.  Without this fix a DNS cache DB or
			ADB could incorrectly stay in an over memory state,
			effectively refusing further caching, which
			subsequently made a BIND 9 caching server unworkable.
			This fix prevents this problem from happening by
			polling the state of the memory context, rather than
			making a copy of the state, which appeared to cause
			a race.  This is a "workaround" in that it doesn't
			solve the possible race per se, but several experiments
			proved this change solves the symptom.  Also, the
			polling overhead hasn't been reported to be an issue.
			This bug should only affect a caching server that
			specifies a finite max-cache-size.  It's also quite
			likely that the bug happens only when enabling threads,
			but it's not confirmed yet. [RT #21818]
2010-08-11 22:54:58 +00:00
Evan Hunt
cfd262045c 2936. [func] Improved configuration syntax and multiple-view
support for addzone/delzone feature (see change
			#2930).  Removed "new-zone-file" option, replaced
			with "allow-new-zones (yes|no)".  The new-zone-file
			for each view is now created automatically, with
			a filename generated from a hash of the view name.
			It is no longer necessary to "include" the
			new-zone-file in named.conf; this happens
			automatically.  Zones that were not added via
			"rndc addzone" can no longer be removed with
			"rndc delzone". [RT #19447]
2010-08-11 18:14:20 +00:00
Automatic Updater
548317f929 update copyright notice 2010-08-10 23:48:19 +00:00
Mark Andrews
712b976a06 2934. [bug] Use ANSI C compliant shift range in lib/isc/entropy.c. [RT #21871] 2010-08-10 09:32:06 +00:00
Automatic Updater
a90aca78aa update copyright notice 2010-07-11 23:46:54 +00:00
Evan Hunt
a207cfc5d1 Removed a duplicate entry in namedconf.c. 2010-07-11 05:44:15 +00:00
Evan Hunt
86dcc40058 2930. [experimental] New "rndc addzone" and "rndc delzone" commads
allow dynamic addition and deletion of zones.
			To enable this feature, specify a "new-zone-file"
			option at the view or options level in named.conf.
			Zone configuration information for the new zones
			will be written into that file.  To make the new
			zones persist after a restart, "include" the file
			into named.conf in the appropriate view.  (Note:
			This feature is not yet documented, and its syntax
			is expected to change.) [RT #19447]
2010-07-11 00:12:57 +00:00
Automatic Updater
1b892cf691 update copyright notice 2010-07-09 23:46:51 +00:00
Evan Hunt
bf9b852c3e 2929. [bug] Improved handling of GSS security contexts:
- added LRU expiration for generated TSIGs
			 - added the ability to use a non-default realm
                         - added new "realm" keyword in nsupdate
			 - limited lifetime of generated keys to 1 hour
			   or the lifetime of the context (whichever is
			   smaller)
			[RT #19737]
2010-07-09 05:13:15 +00:00
Mark Andrews
ff5864ef42 2928. [bug] Be more selective about the non-authoritative
answer we apply change 2748 to. [RT #21594]
2010-07-04 00:48:57 +00:00
Mark Andrews
2cf74a72fd isc_boolean_t -> dns_v4_aaaa_t 2010-06-26 05:30:30 +00:00
Mark Andrews
810656a187 2925. [bug] Named failed to accept uncachable negative responses
from insecure zones. [RT# 21555]
2010-06-25 23:50:13 +00:00
Automatic Updater
cf309ffeee update copyright notice 2010-06-25 23:46:51 +00:00
Mark Andrews
bf13e709db 2924. [func] 'rndc secroots' dump a combined summary of the
current managed keys combined with trusted keys.
                        [RT #20904]
2010-06-25 03:24:05 +00:00
Automatic Updater
b8d4e96e95 update copyright notice 2010-06-23 23:46:58 +00:00
Mark Andrews
4a8dc5f8ef 2921. [bug] The resolver could attempt to destroy a fetch context
to soon.  [RT #19878]
2010-06-23 01:31:43 +00:00
Automatic Updater
b61690dbad update copyright notice 2010-06-22 23:46:52 +00:00
Mark Andrews
48dfee7150 2920. [func] Allow 'filter-aaaa-on-v4' to be applied selectively
to IPv4 clients.  New acl 'filter-aaaa' (default any).
2010-06-22 04:03:38 +00:00
Mark Andrews
ae538374fe AAAA not A 2010-06-18 05:36:24 +00:00
Mark Andrews
081b36ff95 2918. [maint] Add AAAA address for I.ROOT-SERVERS.NET. 2010-06-18 02:11:44 +00:00
Automatic Updater
e40d5d6b71 update copyright notice 2010-06-09 23:50:58 +00:00
Automatic Updater
36961e2937 missing @ 2010-06-09 13:23:47 +00:00
Mark Andrews
cf56ac2b41 missing @ 2010-06-09 09:04:39 +00:00
Mark Andrews
76117ff568 CHANGES 2010-06-09 01:43:09 +00:00
Automatic Updater
ad0471f93b update copyright notice 2010-06-08 23:50:24 +00:00
Mark Andrews
63af1a646a 2913. [func] Add pkcs#11 system tests. [RT #20784] 2010-06-07 03:42:37 +00:00
Automatic Updater
3f2280d2fc update copyright notice 2010-06-04 23:51:14 +00:00
Mark Andrews
ec58c4ca54 remove trailing comma 2010-06-04 00:12:54 +00:00
Automatic Updater
6e13ffa218 update copyright notice 2010-06-03 23:51:05 +00:00
Mark Andrews
b7bc86a4d3 2912. [func] Windows clients don't like UPDATE responses that clear
the zone section. [RT #20986]
2010-06-03 05:23:27 +00:00
Mark Andrews
a20996ab6f 2910. [func] Sanity check Kerberos credentials. [RT #20986] 2010-06-03 02:29:58 +00:00
Mark Andrews
29f0da7fb8 2908. [bug] It was possible for re-signing to stop after removing
a DNSKEY. [RT #21384]
2010-06-02 00:58:54 +00:00
Mark Andrews
b00de53de2 2907. [bug] The export version of libdns had undefined references.
[RT #21444]
2010-06-02 00:38:29 +00:00
Mark Andrews
57b47bca26 checkpoint 2010-05-29 10:36:22 +00:00
Mark Andrews
ead77b9ad4 2906. [bug] Add RFC 5011 implementation issues. [RT #20903] 2010-05-28 03:15:48 +00:00
Mark Andrews
e27d55e3ee 2904. [bug] When using DLV, sub-zones of the zones in the DLV,
could be incorrectly marked as insecure instead of
                        secure leading to negative proofs failing.  This was
                        a unintended outcome from change 2890. [RT# 21392]
2010-05-26 06:28:00 +00:00
Mark Andrews
7d9be933d7 2903. [bug] managed-keys-directory missing from namedconf.c.
[RT #21370]
2010-05-21 14:10:32 +00:00
Mark Andrews
abb239e7fc silence compiler, explict coversion 2010-05-19 09:52:42 +00:00
Mark Andrews
5b02fc32d6 2901. [port] Use AC_C_FLEXIBLE_ARRAY_MEMBER. [RT #21316] 2010-05-19 07:13:15 +00:00
Mark Andrews
b667946fa5 2900. [bug] The placeholder negative caching element was not
properly constructed triggering a INSIST in
                        dns_ncache_towire(). [RT #21346]
2010-05-19 06:39:50 +00:00
Mark Andrews
32f985bcf4 silence compile warnings, explict conversio 2010-05-18 06:28:29 +00:00
Mark Andrews
ed30e0358b 9.7.1b1 2010-05-18 06:14:32 +00:00
Automatic Updater
4dd3ec797d update copyright notice 2010-05-18 02:38:10 +00:00
Mark Andrews
8d31dd9ab6 2897. [bug] NSEC3 chains could be left behind when transitioning
to insecure. [RT #21040]
2010-05-18 01:39:41 +00:00
Mark Andrews
6d58400178 2896. [bug] "rndc sign" failed to properly update the zone
when adding a DNSKEY for publication only. [RT #21045]
2010-05-18 01:03:26 +00:00
Automatic Updater
515c7f3c43 update copyright notice 2010-05-14 23:50:40 +00:00
Mark Andrews
778a01b1aa 2893. [bug] Improve managed keys support. New named.conf option
managed-keys-directory. [RT #20924]
2010-05-14 04:48:28 +00:00
Mark Andrews
44f175a90a 2892. [bug] Handle REVOKED keys better. [RT #20961] 2010-05-14 04:38:52 +00:00
Mark Andrews
b335299322 2890. [bug] Handle the introduction of new trusted-keys and
DS, DLV RRsets better. [RT #21097]
2010-05-14 00:13:43 +00:00
Automatic Updater
b7bcdb3eaa update copyright notice 2010-05-13 23:50:27 +00:00
Mark Andrews
e12030c433 2889. [bug] Element of the grammar where not properly reported.
[RT #21046]
2010-05-13 03:16:55 +00:00
Mark Andrews
49560ac770 typo in threaded build, silence compiler warning 2010-05-13 03:08:30 +00:00
Mark Andrews
e18c62b1da 2888. [bug] Only the first EDNS option was displayed. [RT #21273] 2010-05-13 00:40:46 +00:00
Automatic Updater
21d9ee0d73 update copyright notice 2010-05-12 23:51:13 +00:00
Mark Andrews
5c40acf215 2887. [bug] Report the keytag times in UTC in the .key file,
local time is presented as a comment within the
                        comment.  [RT #21223]

2886.   [bug]           ctime() is not thread safe. [RT #21223]
2010-05-12 23:49:40 +00:00
Mark Andrews
f083a44415 2884. [bug] Insufficient valadation in dns_name_getlabelsequence().
[RT #21283]
2010-05-12 05:40:32 +00:00
Mark Andrews
2fca4a3321 2882. [bug] Remove memory context from list of active contexts
before clearing 'magic'. [RT #21274]
2010-05-12 00:46:55 +00:00
Automatic Updater
a955420bed update copyright notice 2010-05-10 23:50:55 +00:00
Mark Andrews
121f783b66 2881. [bug] Reduce the amount of time the rbtdb write lock
is held when closing a version. [RT #21198]
2010-05-10 01:39:03 +00:00
Automatic Updater
b98844704e update copyright notice 2010-04-28 23:50:51 +00:00
Mark Andrews
6ab18ae52c 2878. [func] Incrementally write the master file after performing
a AXFR.  [RT #21010]
(part 2)
2010-04-28 11:03:07 +00:00
Mark Andrews
1df2b7edfe 2878. [func] Incrementally write the master file after performing
a AXFR.  [RT #21010]
2010-04-27 03:24:52 +00:00
Automatic Updater
ed2fa6ce1b update copyright notice 2010-04-21 23:51:22 +00:00
Mark Andrews
fd95cc0da9 2877. [bug] The validator failed to skip obviously mismatching
RRSIGs. [RT #21138]
2010-04-21 05:45:47 +00:00
Mark Andrews
bb6d33103e 2876. [bug] Named could return SERVFAIL for negative responses
from unsigned zones. [RT #21131]
2010-04-21 04:16:49 +00:00
Mark Andrews
cc6d67469c 2875. [bug] dns_time64_fromtext() could accept non digits.
[RT #21033]
2010-04-21 02:21:31 +00:00
Automatic Updater
0a199807e7 update copyright notice 2010-04-20 23:51:12 +00:00
Mark Andrews
1e9848fb2b 2874. [bug] Cache lack of EDNS support only after the server
successfully responds to the query using plain DNS.
                        [RT #20930]
2010-04-20 07:28:52 +00:00
Tatuya JINMEI 神明達哉
c45d848e2a 2873. [bug] Canceling a dynamic update via the dns/client module
could trigger an assertion failure. [RT #21133]
2010-04-14 22:08:47 +00:00
Automatic Updater
0abd3cca60 update copyright notice 2010-04-13 23:50:58 +00:00
Shawn Routhier
7dc38ccd52 Modify dns/client.c:dns_client_createx() to only require one of IPv6 or
IPv6 rather than both.  [RT #21122]
2010-04-13 19:06:48 +00:00
Automatic Updater
127e1bde3a update copyright notice 2010-04-09 23:51:01 +00:00
Tatuya JINMEI 神明達哉
ce164dbd9c 2871. [bug] Type mismatch in mem_api.c between the definition and
the header file, causing build failure with
			--enable-exportlib. [RT #21138]

9.8.0 and 9.7.1.
2010-04-09 06:09:35 +00:00
Automatic Updater
f15cde2b63 update copyright notice 2010-04-07 23:51:06 +00:00
Mark Andrews
86077a2e87 2870. [maint] Add AAAA addresses for L.ROOT-SERVERS.NET. 2010-04-07 07:05:38 +00:00
Mark Andrews
b8d036c434 2869. [bug] Fix arguments to dns_keytable_findnextkeynode() call.
[RT #20877]
2010-03-26 17:12:48 +00:00
Automatic Updater
230987e819 update copyright notice 2010-03-12 23:51:11 +00:00
Mark Andrews
a80d26914a 2867. [bug] Don't set GSS_C_SEQUENCE_FLAG as Windows DNS servers
don't like it.  [RT #20986]
2010-03-12 03:47:08 +00:00
Mark Andrews
c19f322914 2866. [bug] Windows does not like the TSIG name being compressed.
[RT #20986]
2010-03-12 03:34:56 +00:00
Mark Andrews
ff9301990d 2865. [bug] memset to zero event.data. [RT #20986] 2010-03-12 03:22:57 +00:00
Mark Andrews
08fb52ec8c 2863. [port] linux: disable IPv6 PMTUD and use network minimum MTU.
[RT #21056]
2010-03-11 04:43:57 +00:00
Automatic Updater
4d42b714be update copyright notice 2010-03-04 23:50:34 +00:00
Mark Andrews
22c4126ba5 2958. [bug] When canceling validation it was possible to leak
memory. [RT #20800]
2010-03-04 22:25:31 +00:00
Mark Andrews
b1003ace6f 2957. [bug] RTT estimates were not being adjusted on ICMP errors.
[RT #20772]
2010-03-04 06:43:21 +00:00
Mark Andrews
92348098eb 2956. [bug] named-checkconf did not fail on a bad trusted key.
[RT #20705]
2010-03-04 06:17:01 +00:00
Mark Andrews
5388178e8a 2955. [bug] The size of a memory allocation was not always properly
recorded. [RT #20927]
2010-03-04 05:45:51 +00:00
Mark Andrews
d1a5fdc34a 2955. [bug] The size of a memory allocation was not always properly
recorded. [RT #20927]
2010-03-04 05:29:15 +00:00
Mark Andrews
2e20dea9fc 2854. [func] nsupdate will now preserve the entered case of domain
names in update requests it sends. [RT #20928]
2010-03-04 05:24:56 +00:00
Mark Andrews
13396661f4 2854. [func] dig: allow the final soa record in a axfr response to
be suppressed, dig +onesoa. [RT #20929]
2010-03-04 05:18:04 +00:00
Mark Andrews
6f8edd57ae dns_resolver_*badcache 2010-03-03 05:13:53 +00:00
Mark Andrews
c76ae1723f dns_rdataset_expire/dns_rdataset_settrust 2010-03-03 05:11:45 +00:00
Mark Andrews
64f8608ed6 2853. [bug] add_sigs() could run out of scratch space. [RT #21015] 2010-02-26 01:39:49 +00:00
Mark Andrews
8b026a66fd grab a write lock before updating header->trust 2010-02-26 00:18:06 +00:00
Automatic Updater
bd2b08d5a3 update copyright notice 2010-02-25 05:08:01 +00:00
Mark Andrews
0cae66577c 2852. [bug] Handle broken DNSSEC trust chains better. [RT #15619] 2010-02-25 04:39:13 +00:00
Automatic Updater
8077efca7d update copyright notice 2010-02-22 23:49:11 +00:00
Mark Andrews
f56be26f60 .NOTPARALLEL/.NO_PARALLEL 2010-02-22 02:00:07 +00:00
Automatic Updater
6f1b350c3a update copyright notice 2010-02-04 23:49:13 +00:00
Tatuya JINMEI 神明達哉
139cedabf9 2850. [bug] If isc_heap_insert() failed due to memory shortage
the heap would have corrupted entries.

9.8.0, 9.7.1(?), 9.6.2, 9.5.3
(what about 9.4-ESV?)
2010-02-04 23:22:05 +00:00
Mark Andrews
8ac908b38a 2849. [bug] Don't treat errors from the xml2 library as fatal.
[RT #20945]
2010-02-04 00:57:25 +00:00
Automatic Updater
aad3d15976 update copyright notice 2010-01-31 23:49:09 +00:00
Mark Andrews
ebaf977ecf 2846. [bug] EOF on unix domain sockets was not being handled
correctly. [RT #20731]
2010-01-31 23:18:03 +00:00
Francis Dupont
19a62c240d RFC 5011 client can crash. [RT #20903] 2010-01-26 23:33:10 +00:00
Evan Hunt
c46b6864af fix typo 2010-01-22 01:46:20 +00:00
Evan Hunt
da4a8c89a8 remove reference to isc_time member "seconds", which doesn't exist in win32 2010-01-22 01:34:47 +00:00
Evan Hunt
b47d410f84 2840. [bug] Change 2836 was not complete. [RT #20883] 2010-01-14 23:27:38 +00:00
Automatic Updater
5bdf8cd3c2 update copyright notice 2010-01-13 23:48:59 +00:00
Francis Dupont
f77148e029 a KSK revoked by named could not be deleted. [RT #20881] 2010-01-13 08:35:24 +00:00
Francis Dupont
51512910da comment trivial update 2010-01-12 23:56:12 +00:00
Automatic Updater
8576a40424 update copyright notice 2010-01-12 23:48:57 +00:00
Francis Dupont
d481cfdab5 fix spelling in comment 2010-01-12 23:23:21 +00:00
Automatic Updater
65d1486535 update copyright notice 2010-01-11 23:48:37 +00:00
Francis Dupont
a91029a00e Prevent Linux spurious warnings about fwrite(). [RT #20812] 2010-01-11 10:49:14 +00:00
Francis Dupont
125da90ced trivial spelling error in comment 2010-01-11 01:14:08 +00:00
Automatic Updater
b871a3e0cd update copyright notice 2010-01-09 23:48:45 +00:00
Evan Hunt
05b1ab91a6 2836. [bug] Keys that were scheduled to become active could
be delayed. [RT #20874]
2010-01-09 17:09:00 +00:00
Francis Dupont
a26d73a734 fix trivial typo in comment 2010-01-09 15:21:10 +00:00
Automatic Updater
49644c0c8f update copyright notice 2010-01-08 23:51:44 +00:00
Evan Hunt
03e5afa4c0 2835. [bug] Key inactivity dates were inadvertently stored in
the private key file with the outdated tag
			"Unpublish" rather than "Inactive".  This has been
			fixed; however, any existing keys that had Inactive
			dates set will now need to have them reset, using
			'dnssec-settime -I'. [RT #20868]
2010-01-08 17:15:36 +00:00
Automatic Updater
a30c7003af update copyright notice 2010-01-07 23:48:54 +00:00
Evan Hunt
0f66aced26 2834. [bug] HMAC-SHA* keys that were longer than the algorithm
digest length were used incorrectly, leading to
			interoperability problems with other DNS
			implementations.  This has been corrected.
			(Note: If an oversize key is in use, and
			compatibility is needed with an older release of
			BIND, the new tool "isc-hmac-fixup" can convert
			the key secret to a form that will work with all
			versions.) [RT #20751]
2010-01-07 21:52:12 +00:00
Shawn Routhier
7c25b5f311 Modify "struct stat" in lib/export/samples/nsprobe.c to avoid redefinition in
some OSes - rt20831
2010-01-07 18:31:34 +00:00
Evan Hunt
597642c0ba 2831. [security] Do not attempt to validate or cache
out-of-bailiwick data returned with a secure
			answer; it must be re-fetched from its original
			source and validated in that context. [RT #20819]
2010-01-07 16:48:23 +00:00
Automatic Updater
842920c7db update copyright notice 2010-01-04 23:48:51 +00:00
Evan Hunt
d3a6cd7c7e 2830. [bug] Changing the OPTOUT setting could take multiple
passes. [RT #20813]
2010-01-04 22:47:58 +00:00
Evan Hunt
845bb3195a 2829. [bug] Fixed potential node inconsistency in rbtdb.c.
[RT #20808]
2010-01-04 22:30:14 +00:00
Automatic Updater
400615c294 update copyright notice 2009-12-30 23:49:14 +00:00
Tatuya JINMEI 神明達哉
d8680445d6 2828. [security] Cached CNAME or DNAME RR could be returned to clients
without DNSSEC validation. [RT #20737]

9.4-ESV, 9.5.3, 9.6.2, 9.7.0, 9.8.0(?)
2009-12-30 08:02:23 +00:00
Evan Hunt
9ead684875 2827. [security] Bogus NXDOMAIN could be cached as if valid. [RT #20712] 2009-12-30 06:46:58 +00:00
Evan Hunt
687b6322fb 2826. [bug] NSEC3->NSEC transitions could fail due to a lock not
being released.  [RT #20740]
2009-12-30 03:38:57 +00:00
Mark Andrews
7ddd859470 more for:
2824.   [bug]           "rndc sign" was not being run by the correct task.
                        [RT #20759]
2009-12-30 02:32:13 +00:00
Mark Andrews
502dc92f58 more for:
2824.   [bug]           "rndc sign" was not being run by the correct task.
                        [RT #20759]
2009-12-30 02:26:30 +00:00
Mark Andrews
5b77627c09 2824. [bug] "rndc sign" was not being run by the correct task.
[RT #20759]
2009-12-29 22:20:33 +00:00
Mark Andrews
288486df9d 2823. [bug] rbtdb.c:getsigningtime() was missing locks. [RT #20781] 2009-12-29 22:04:16 +00:00
Mark Andrews
5773d3c007 2822. [bug] rbtdb.c:loadnode() could return the wrong result.
[RT #20802]
2009-12-29 08:53:33 +00:00
Evan Hunt
bd31f734ee 2819. [cleanup] Removed unnecessary DNS_POINTER_MAXHOPS define
[RT #20771]
2009-12-24 00:35:46 +00:00
Evan Hunt
b09559fd36 2816. [bug] previous_closest_nsec() could fail to return
data for NSEC3 nodes [RT #29730]
2009-12-23 23:43:01 +00:00
Mark Andrews
c9630524c7 2814. [func] Provide a definitive error message when a master
zone is not loaded. [RT #20757]
2009-12-21 04:29:10 +00:00
Automatic Updater
928e12ccdc update copyright notice 2009-12-18 23:49:03 +00:00
Evan Hunt
4e55893d30 2813. [bug] Better handling of unreadable DNSSEC key files.
[RT #20710]

2812.	[bug]		Make sure updates can't result in a zone with
			NSEC-only keys and NSEC3 records. [RT 20748]
2009-12-18 22:16:49 +00:00
Mark Andrews
28f4cd0a45 2808. [bug] Remove the attempt to install atomic.h from lib/isc.
atomic.h is correctly intalled by the architecture
                        specific subdirectories.  [RT #20722]
2009-12-18 04:07:08 +00:00
Mark Andrews
485a435efe 2808. [bug] atomic.h was not being properly installed under all
circumstances. [RT #20722]
2009-12-18 03:05:37 +00:00
Evan Hunt
bc04d6ec15 2807. [bug] Fixed a possible ASSERT when reconfiguring zone
keys. [RT #20720]
2009-12-11 01:06:03 +00:00
Evan Hunt
b8b602f89b 2806. [bug] "rdnc sign" could delay re-signing the DNSKEY
when it had changed. [RT #20703]
2009-12-07 20:51:12 +00:00
Evan Hunt
daa4933c4d prep for 9.7.0rc1 2009-12-06 02:54:26 +00:00
Evan Hunt
c7611c7dd2 prep for 9.7.0rc1 release 2009-12-06 02:31:42 +00:00
Evan Hunt
12178c8652 2805. [bug] Fixed namespace problems encountered when building
external programs using non-exported BIND9 libraries
			(i.e., built without --enable-exportlib). [RT #20679]
2009-12-05 23:31:41 +00:00
Evan Hunt
d4d836350f add .cvsignore files 2009-12-05 05:36:03 +00:00
Evan Hunt
c2f095969c oops: missed a declaration, and forgot to lock the zone before clearing
the flag.  (and accidentally ran make tests in the wrong tree, misleading
myself into thinking it was fine.)
2009-12-05 01:25:43 +00:00
Evan Hunt
d601ef9e89 2804. [bug] Send notifies when a zone is signed with "rndc sign"
or as a result of a scheduled key change. [RT #20700]
2009-12-04 22:45:11 +00:00
Automatic Updater
4b6dc226f7 update copyright notice 2009-12-04 22:06:37 +00:00
Mark Andrews
3d17a3ba61 2801. [func] Detect and report records that are different according
to DNSSEC but are sematically equal according to plain
                        DNS.  Apply plain DNS comparisons rather than DNSSEC
                        comparisons when processing UPDATE requests.
                        dnssec-signzone now removes such semantically duplicate
                        records prior to signing the RRset.

                        named-checkzone -r {ignore|warn|fail} (default warn)
                        named-compilezone -r {ignore|warn|fail} (default warn)

                        named.conf: check-dup-records {ignore|warn|fail};
2009-12-04 21:09:34 +00:00
Mark Andrews
5d850024cb 2800. [func] Reject zones which have NS records which refer to
CNAMEs, DNAMEs or don't have address record (class IN
                        only).  Reject UPDATEs which would cause the zone
                        to fail the above checks if committed. [RT #20678]
2009-12-04 03:33:15 +00:00
Evan Hunt
8e4f3f1cbc 2799. [cleanup] Changed the "secure-to-insecure" option to
"dnssec-secure-to-insecure", and "dnskey-ksk-only"
			to "dnssec-dnskey-kskonly", for clarity. [RT #20586]
2009-12-03 23:18:17 +00:00
Evan Hunt
22304041d1 typo caused a missing semicolon 2009-12-03 16:49:09 +00:00
Evan Hunt
e6dda86e8b 2798. [bug] Addressed bugs in managed-keys initialization
and rollover. [RT #20683]
2009-12-03 15:40:03 +00:00
Mark Andrews
2a0d4c4d6b 2797. [bug] Don't decrement the dispatch manager's maxbuffers.
[RT #20613]
2009-12-02 23:15:14 +00:00
Mark Andrews
d524a81532 2796. [bug] Missing dns_rdataset_disassociate() call in
dns_nsec3_delnsec3sx(). [RT #20681]
2009-12-01 05:28:40 +00:00
Evan Hunt
feeca57f18 2795. [cleanup] Add text to differentiate "update with no effect"
log messages. [RT #18889]
2009-12-01 00:47:09 +00:00
Mark Andrews
8b37c0dd6e 2794. [bug] Install <isc/namespace.h>. [RT #20677] 2009-11-30 21:34:57 +00:00
Vernon Schryver
5d9922e86f Allow the optional filter-aaaa-on-v4 option in view statements to close #20635 2009-11-28 15:57:37 +00:00
Automatic Updater
3e920dd0c6 update copyright notice 2009-11-26 23:48:14 +00:00
Mark Andrews
66ecb6789b 2790. [bug] Handle DS queries to stub zones. 2009-11-26 03:28:19 +00:00
Automatic Updater
2b2fc9b4df update copyright notice 2009-11-25 23:49:22 +00:00
Mark Andrews
536e36ac8d declarations before statements 2009-11-25 13:17:59 +00:00
Evan Hunt
cfc22e53a8 2789. [bug] Fixed an INSIST in dispatch.c [RT #20576] 2009-11-25 05:55:32 +00:00
Evan Hunt
fc1fb1a469 2786. [bug] Spurious log message when zone keys were
dynamically reconfigured. [RT #20659]
2009-11-25 02:30:54 +00:00
Mark Andrews
d0ca4e90e2 2786. [bug] Additional could be promoted to answer. [RT #20663] 2009-11-25 02:22:05 +00:00
Automatic Updater
b314ea10b4 update copyright notice 2009-11-24 23:48:12 +00:00
Evan Hunt
d312bc5d81 2785. [bug] Revoked keys could fail to self-sign [RT #20652] 2009-11-24 03:42:32 +00:00
Mark Andrews
9dd2ee95f1 2784. [bug] TC was not always being set when required glue was
dropped. [RT #234186]
2009-11-24 03:20:02 +00:00
Automatic Updater
94e3a63110 update copyright notice 2009-11-23 23:48:16 +00:00
Evan Hunt
5985af3f5c 2781. [bug] Inactive keys could be used for signing. [RT #20649] 2009-11-23 15:18:07 +00:00
Evan Hunt
cef109efa7 2780. [bug] dnssec-keygen -A none didn't properly unset the
activation date in all cases. [RT #20648]

2779.	[bug]		Dynamic key revokation could fail. [RT #20644]

2778.	[bug]		dnssec-signzone could fail when a key was revoked
			without deleting the unrevoked version. [RT #20638]
2009-11-23 02:55:41 +00:00
Mark Andrews
c16d37d06e 2776. [bug] Change #2762 was not correct. [RT #20647] 2009-11-23 02:10:16 +00:00
Automatic Updater
fe2b9bf570 update copyright notice 2009-11-18 23:48:07 +00:00
Evan Hunt
b08325a7f3 2773. [bug] In autosigned zones, the SOA could be signed
with the KSK. [RT #20628]
2009-11-18 21:22:31 +00:00
Evan Hunt
2ad776a5c4 changed age to 0 2009-11-18 16:46:10 +00:00
Evan Hunt
af52d6ddd7 prep for release of 9.7.0b3 2009-11-18 00:30:37 +00:00
Mark Andrews
a39a5f4d81 2772. [security] When validating, track whether pending data was from
the additional section or not and only return it if
                        validates as secure. [RT #20438]
2009-11-17 23:55:18 +00:00
Automatic Updater
e34e9a8d68 update copyright notice 2009-11-17 23:48:13 +00:00
Evan Hunt
7ee4b13ded 2771. [bug] dnssec-signzone: DNSKEY records could be
corrupted when importing from key files [RT #20624]
2009-11-17 05:46:53 +00:00
Evan Hunt
44a3999cf4 2770. [cleanup] Add log messages to resolver.c to indicate events
causing FORMERR responses. [RT #20526]
2009-11-17 02:23:15 +00:00
Evan Hunt
7048af0a55 2769. [cleanup] Change #2742 was incomplete. [RT #19589] 2009-11-16 07:56:06 +00:00
Evan Hunt
e856482b1f 2767. [bug] named could crash on startup if a zone was
configured with auto-dnssec and there was no
			key-directory. [RT #20615]
2009-11-16 01:44:33 +00:00
Evan Hunt
37a34ab54f 2766. [bug] isc_socket_fdwatchpoke() should only update the
socketmgr state if the socket is not pending on a
			read or write.  [RT #20603]
2009-11-13 00:41:58 +00:00
Automatic Updater
53d502202a update copyright notice 2009-11-12 23:47:59 +00:00
Evan Hunt
86132f0ef5 eliminate warning when building without -DBIND9 2009-11-12 23:43:02 +00:00
Mark Andrews
1d0ebb4cf2 2765. [bug] Skip masters for which the TSIG key cannot be found.
[RT #20595]
2009-11-12 23:30:36 +00:00
Evan Hunt
e9dff04d3b 2763. [bug] "rndc sign" didn't create an NSEC chain. [RT #20591] 2009-11-12 03:03:36 +00:00
Evan Hunt
0c3948e606 2761. [bug] DLV validation failed with a local slave DLV zone.
[RT #20577]
2009-11-12 02:59:20 +00:00
Evan Hunt
5857247dbb 2758. [bug] win32: Added a workaround for a windows 2008 bug
that could cause the UDP client handler to shut
			down. [RT #19176]
2009-11-10 18:31:47 +00:00
Evan Hunt
5c6c5669ec #include <time.h> for the ctime() prototype. 2009-11-07 03:36:58 +00:00
Mark Andrews
df1599d0e1 address initialization type mismatch warning 2009-11-06 04:19:28 +00:00
Mark Andrews
7963a67df0 address statement not reached warning 2009-11-06 04:12:15 +00:00
Evan Hunt
c1bfa5b0ad 2753. [bug] Removed an unnecessary warning that could appear when
building an NSEC chain. [RT #20588]
2009-11-06 03:26:59 +00:00
Evan Hunt
aa2f010f13 Switch from OpenSSL 0.9.8k to 0.9.8l 2009-11-06 03:14:10 +00:00
Mark Andrews
302ed789bd 2752. [bug] Locking violation. [RT #20587] 2009-11-06 01:30:06 +00:00
Evan Hunt
ca97301c37 remove extra \n from a log message 2009-11-05 21:45:05 +00:00
Automatic Updater
2d84cba8f4 update copyright notice 2009-11-04 23:48:18 +00:00
Mark Andrews
7efc6d9cb8 cleanup [RT #20509] 2009-11-04 05:58:46 +00:00
Mark Andrews
2484c7db7a spelling 2009-11-04 04:22:16 +00:00
Mark Andrews
e94fe42a20 2749. [bug] ixfr-from-differences generated a non-minimal ixfr
for NSEC3 signed zones. [RT #20452]
2009-11-04 03:46:44 +00:00
Mark Andrews
0a30185f80 2748. [func] Identify bad answers from GTLD servers and treat them
as referrals. [RT #18884]
2009-11-04 02:15:30 +00:00
Mark Andrews
0181a0a92f 2747. [bug] Journal roll forwards failed to set the re-signing
time of RRSIGs correctly. [RT #20541]
2009-11-04 01:25:55 +00:00
Mark Andrews
a3285e811d 2746. [port] hpux: address signed/unsigned expansion mismatch of
dns_rbtnode_t.nsec. [RT #20542]
2009-11-04 01:18:19 +00:00
Automatic Updater
126dce8ebf update copyright notice 2009-11-03 23:48:23 +00:00
Mark Andrews
5ccd971c72 UNUSED(engine) if !defined(OPENSSL) 2009-11-03 19:43:54 +00:00
Mark Andrews
554d22d2de 2743. [bug] RRSIG could be incorrectly sent in the NSEC3 record
for a insecure delegation.
2009-11-03 01:07:48 +00:00
Mark Andrews
8a0943e125 silence compiler warnings. [RT #20472] 2009-10-30 05:08:23 +00:00
Mark Andrews
4c53f98dbd RFC5702 2009-10-28 21:08:18 +00:00
Evan Hunt
3684692720 update def file 2009-10-28 18:39:47 +00:00
Evan Hunt
5b72cda36b update API and def files for 9.7.0b2 release 2009-10-28 18:13:24 +00:00
Evan Hunt
5cb44a38d9 back out change 2740 2009-10-28 18:04:29 +00:00
Evan Hunt
be69d48443 2742. [cleanup] Clarify some DNSSEC-related log messages in
validator.c. [RT #19589]
2009-10-28 05:34:21 +00:00
Automatic Updater
990dca4605 update copyright notice 2009-10-27 23:47:45 +00:00
Mark Andrews
e9d45c0a04 2740. [func] Identify bad answers from GTLD servers and treat them
as referrals. [RT #18884]
2009-10-27 23:05:53 +00:00
Evan Hunt
95f2377b4f 2739. [cleanup] Clean up API for initializing and clearing trust
anchors for a view. [RT #20211]
2009-10-27 22:46:13 +00:00
Mark Andrews
e09cdbac08 2738. [func] Add RSASHA256 and RSASHA512 tests to the dnssec system
test. [RT #20453]
2009-10-27 22:25:37 +00:00
Mark Andrews
63d5a6f680 2736. [func] Improve the performance of NSEC signed zones with
more than a normal amount of glue below a delegation.
                        [RT #20191]
2009-10-27 04:46:58 +00:00
Evan Hunt
e8831e51c1 2735. [bug] dnssec-signzone could fail to read keys
that were specified on the command line with
			full paths, but weren't in the current
			directory. [RT #20421]
2009-10-27 03:59:45 +00:00
Automatic Updater
5f744ebbdc update copyright notice 2009-10-26 23:47:35 +00:00
Evan Hunt
c8aa7ce70d 2732. [func] Add optional filter-aaaa-on-v4 option, available
if built with './configure --enable-filter-aaaa'.
			Filters out AAAA answers to clients connecting
			via IPv4.  (This is NOT recommended for general
			use.) [RT #20339]
2009-10-26 23:14:54 +00:00
Evan Hunt
c021499604 2731. [func] Additional work on change 2709. The key parser
will now ignore unrecognized fields when the
			minor version number of the private key format
			has been increased.  It will reject any key with
			the major version number increased. [RT #20310]
2009-10-26 21:18:24 +00:00
Automatic Updater
0da9fafc18 update copyright notice 2009-10-24 23:47:36 +00:00
Francis Dupont
775a8d86d9 keygen progress indication [RT #20284] 2009-10-24 09:46:19 +00:00
Automatic Updater
510032fdf4 update copyright notice 2009-10-22 23:48:07 +00:00
Evan Hunt
cc6cddfd94 2726. [func] Added support for SHA-2 DNSSEC algorithms,
RSASHA256 and RSASHA512. [RT #20023]
2009-10-22 02:21:31 +00:00
Automatic Updater
3cae549ddb update copyright notice 2009-10-21 23:48:05 +00:00
Evan Hunt
8ec993c774 2723. [bug] isc_base32_totext(), isc_base32hex_totext(), and
isc_base64_totext(), didn't always mark regions of
			memory as fully consumed after conversion.  [RT #20445]
2009-10-21 01:22:29 +00:00
Automatic Updater
b15df8f9bc update copyright notice 2009-10-20 23:47:32 +00:00
Mark Andrews
7704a47aec 2722. [bug] Ensure that the memory associated with the name of
a node in a rbt tree is not altered during the life
                        of the node. [RT #20431]
2009-10-20 04:57:57 +00:00
Mark Andrews
a01095a487 2721. [port] Have dst__entropy_status() prime the random number
generator. [RT #20369]
2009-10-20 04:39:48 +00:00
Evan Hunt
bfbd69c43f 2720. [bug] RFC 5011 trust anchor updates could trigger an
assert if the DNSKEY record was unsigned. [RT #20406]
2009-10-20 04:13:38 +00:00
Mark Andrews
3c5e54941f 2718. [bug] The space calculations in opensslrsa_todns() were
incorrect. [RT #20394]
2009-10-20 02:59:19 +00:00
Mark Andrews
29dd4bdd14 2717. [bug] named failed to update the NSEC/NSEC3 record when
the last private type record was removed as a result
                        of completing the signing the zone with a key.
                        [RT #20399]
2009-10-20 02:45:06 +00:00
Mark Andrews
9ac35b4e4d grammar, line length 2009-10-19 02:37:08 +00:00
Automatic Updater
8ab6a775bb update copyright notice 2009-10-16 23:47:54 +00:00
Evan Hunt
8f7de3db7e Respinning to fix memory leak in dnssec-signzone. (Also adopting doc changes.) 2009-10-16 02:59:41 +00:00
Automatic Updater
f6cd5ef97a update copyright notice 2009-10-14 23:47:51 +00:00
Mark Andrews
cbee6197d1 2713. [bug] powerpc: atomic operations missing asm("ics") /
__isync() calls.
2009-10-14 03:54:23 +00:00
Evan Hunt
19ac4707ee changes needed for win32 build 2009-10-13 00:55:51 +00:00
Automatic Updater
97639003b0 update copyright notice 2009-10-12 23:48:02 +00:00
Evan Hunt
77b8f88f14 2712. [func] New 'auto-dnssec' zone option allows zone signing
to be fully automated in zones configured for
			dynamic DNS.  'auto-dnssec allow;' permits a zone
			to be signed by creating keys for it in the
			key-directory and using 'rndc sign <zone>'.
			'auto-dnssec maintain;' allows that too, plus it
			also keeps the zone's DNSSEC keys up to date
			according to their timing metadata. [RT #19943]
2009-10-12 20:48:12 +00:00
Mark Andrews
30bb4870da remove, not zero, extended flags 2009-10-12 09:03:06 +00:00
Mark Andrews
11804ca08f zero extended flags 2009-10-12 08:57:38 +00:00
Mark Andrews
515053881b remove extended flags before comparing if set 2009-10-12 06:05:29 +00:00
Mark Andrews
af20baa960 silence compiler warning/enforce const [RT #20390] 2009-10-12 05:50:52 +00:00
Automatic Updater
8667770ad2 update copyright notice 2009-10-10 23:47:58 +00:00
Evan Hunt
3727725bb7 2710. [func] New 'dnssec-signzone -x' flag and 'dnskey-ksk-only'
zone option cause a zone to be signed with only KSKs
			signing the DNSKEY RRset, not ZSKs.  This reduces
			the size of a DNSKEY answer.  [RT #20340]
2009-10-10 01:48:00 +00:00
Mark Andrews
0d9fb986c5 silence comiler warning 2009-10-10 01:13:39 +00:00
Automatic Updater
8a07de2f03 update copyright notice 2009-10-09 23:48:09 +00:00
Evan Hunt
315a1514a5 2709. [func] Added some data fields, currently unused, to the
private key file format, to allow implementation
			of explicit key rollover in a future release
			without impairing backward or forward compatibility.
			[RT #20310]
2009-10-09 06:09:21 +00:00
Mark Andrews
d1bcaec0d6 2708. [func] Insecure to secure and NSEC3 parameter changes via
update are now fully supported and no longer require
                        defines to enable.  We now no longer overload the
                        NSEC3PARAM flag field, nor the NSEC OPT bit at the
                        apex.  Secure to insecure changes are controlled by
                        by the named.conf option 'secure-to-insecure'.

                        Warning: If you had previously enabled support by
                        adding defines at compile time to BIND 9.6 you should
                        ensure that all changes that are in progress have
                        completed prior to upgrading to BIND 9.7.  BIND 9.7
                        is not backwards compatible.
2009-10-09 00:33:39 +00:00
Mark Andrews
bb4e0bd8e8 silence ininitialised 2009-10-08 23:58:14 +00:00
Mark Andrews
0838b3c02f Recompute check_ksk as it may have changed 2009-10-08 23:55:57 +00:00
Automatic Updater
15bbb8a129 update copyright notice 2009-10-08 23:48:10 +00:00
Mark Andrews
2847930722 2708. [func] Insecure to secure and NSEC3 parameter changes via
update are now fully supported and no longer require
                        defines to enable.  We now no longer overload the
                        NSEC3PARAM flag field, nor the NSEC OPT bit at the
                        apex.  Secure to insecure changes are controlled by
                        by the named.conf option 'secure-to-insecure'.

                        Warning: If you had previously enabled support by
                        adding defines at compile time to BIND 9.6 you should
                        ensure that all changes that are in progress have
                        completed prior to upgrading to BIND 9.7.  BIND 9.7
                        is not backwards compatible.
2009-10-08 23:13:07 +00:00
Evan Hunt
246c504f90 2706. [bug] Loading a zone with a very large NSEC3 salt could
trigger an assert. [RT #20368]
2009-10-06 21:20:45 +00:00
Automatic Updater
e74245134d update copyright notice 2009-10-06 04:40:14 +00:00
Automatic Updater
464f9144fe update copyright notice 2009-10-05 23:48:27 +00:00
Evan Hunt
ea845a6b72 Rebase all of the API files to interface=60, as this is the first
beta of a new major release.
2009-10-05 22:01:26 +00:00
Evan Hunt
3ff75c89eb 2704. [bug] Serial of dynamic and stub zones could be inconsistent
with their SOA serial.  [RT #19387]
2009-10-05 19:39:20 +00:00
Francis Dupont
3c52c4e44c 20230 update 2009-10-05 17:39:36 +00:00
Francis Dupont
8b78c993cb explicit engine rt20230a 2009-10-05 17:30:49 +00:00
Automatic Updater
4fa2649d57 update copyright notice 2009-10-03 23:48:10 +00:00
Evan Hunt
c36ba263d6 2699. [bug] Missing lock in rbtdb.c. [RT #20037] 2009-10-03 22:39:27 +00:00
Evan Hunt
1210799345 Add /* NOTREACHED */ comments 2009-10-03 18:03:54 +00:00
Automatic Updater
edb08fdf7b update copyright notice 2009-10-01 23:48:08 +00:00
Mark Andrews
cf7432f747 2697. [port] win32: ensure that S_IFMT, S_IFDIR, S_IFCHR and
S_IFREG are defined after including <isc/stat.h>.
                        [RT #20309]
2009-10-01 04:43:30 +00:00
Mark Andrews
eb95d2e917 2696. [bug] named failed to successfully process some valid
acl constructs. [RT #20308]
2009-10-01 04:06:37 +00:00
Shawn Routhier
bafa76b324 Updates to fdwatch code to support DHCP/DDNS code, ticket rt20253. 2009-10-01 01:30:01 +00:00
Automatic Updater
61dd99bfae update copyright notice 2009-09-29 23:48:04 +00:00
Francis Dupont
debd489a44 noreturn RT #20257 2009-09-29 15:06:07 +00:00
Mark Andrews
1e733ffc11 2792. [port] win32: 32/64 bit cleanups. [RT #128244] 2009-09-29 04:38:23 +00:00
Automatic Updater
627f3e0805 update copyright notice 2009-09-25 23:48:13 +00:00
Mark Andrews
ff850b81c8 2690. [bug] win32: fix isc_thread_key_getspecific() prototype.
[RT #20315]
2009-09-25 05:48:17 +00:00
Mark Andrews
ef830a7750 use (char *) for {get,set}sockopt argument 2009-09-25 02:44:06 +00:00
Mark Andrews
11144f86dc silence signed/unsigned comparision warning 2009-09-25 01:42:09 +00:00
Automatic Updater
b4336342d1 update copyright notice 2009-09-24 23:48:13 +00:00
Mark Andrews
0f869e8d52 2689. [bug] Correctly handle snprintf result. [RT #20306] 2009-09-24 22:19:08 +00:00
Francis Dupont
c59a7b0629 missing updates in recent changes 2009-09-24 14:39:17 +00:00
Mark Andrews
69338455d9 2688. [bug] Use INTERFACE_F_POINTTOPOINT, not IFF_POINTOPOINT,
to decide to fetch the destination address. [RT #20305]
2009-09-24 06:37:50 +00:00
Evan Hunt
53c22b8e0d 2685. [bug] Fixed dnssec-signzone -S handling of revoked keys.
Also, added warnings when revoking a ZSK, as this is
			not defined by protocol (but is legal).  [RT #19943]
2009-09-23 16:01:57 +00:00
Francis Dupont
6839f8b6df cleanup USE_EVP_RSA (RT #20044) 2009-09-23 11:16:50 +00:00
Francis Dupont
adb6972f01 minor fix, cf 20295 2009-09-22 08:38:14 +00:00
Tatuya JINMEI 神明達哉
790e471f6e 2681. [bug] IPSECKEY RR of gateway type 3 was not correctly
decoded [RT #20269].

BIND 9.7.0, 9.6.2, 9.5.2, 9.4.4
2009-09-18 21:55:21 +00:00
Tatuya JINMEI 神明達哉
148e9f3feb removed a non-existent .h. gmake (which is assumed to be used to build
the exportlib) ignores it so it doesn't cause a trouble in practice, but
should still better be fixed.

(found by Shawn, I confirmed it.)
2009-09-18 07:18:04 +00:00
Evan Hunt
b843f577bb 2677. [func] Changes to key metadata behavior:
- Keys without "publish" or "active" dates set will
			  no longer be used for smart signing.  However,
			  those dates will be set to "now" by default when
			  a key is created; to generate a key but not use
			  it yet, use dnssec-keygen -G.
			- New "inactive" date (dnssec-keygen/settime -I)
			  sets the time when a key is no longer used for
			  signing but is still published.
			- The "unpublished" date (-U) is deprecated in
			  favor of "deleted" (-D).
			[rt20247]
2009-09-14 18:45:45 +00:00
Automatic Updater
6d7e30b030 update copyright notice 2009-09-10 23:48:00 +00:00
Evan Hunt
f267b27f0e 2675. [bug] dnssec-signzone could crash if the key directory
did not exist. [RT #20232]
2009-09-10 05:09:31 +00:00
Evan Hunt
0e7cb68ea0 fix implicit memset() declaration 2009-09-10 02:18:40 +00:00
Evan Hunt
dbabab1f37 rt20045:
- sync_keyzone() could leak ISC_R_NOMORE, causing zone_postload() to think
  it had failed
- journal roll-forward on key zones complained about having the wrong
  number of SOA records
- dns_soa_buildrdata() could return a pointer to memory allocated on the
  stack
2009-09-10 01:47:09 +00:00
Automatic Updater
d8b801bd19 update copyright notice 2009-09-08 23:41:50 +00:00
Francis Dupont
e7de5dcef6 typo, cf RT20219 2009-09-08 13:04:29 +00:00
Francis Dupont
1f821c1058 merge rt19294 2009-09-07 12:58:33 +00:00
Mark Andrews
0b8385f5c5 2670. [bug] Unexpected connect failures failed to log enough
information to be useful. [RT #20205]
2009-09-07 02:08:51 +00:00
Tatuya JINMEI 神明達哉
457144a0c6 explained the portability workaround macro for isc__ vs isc___ 2009-09-04 18:51:37 +00:00
Tatuya JINMEI 神明達哉
2eb6a502bc added a missing .c file to SRC 2009-09-04 18:13:44 +00:00
Evan Hunt
82629edf81 jinmei's updated mem.h, which uses macros to generate function prototypes.
this change was needed to support the bind9 build and export library build
on both *nix and win32.  cleanup from change 2660/rt19369.
2009-09-04 17:47:26 +00:00
Automatic Updater
7b1894bec1 update copyright notice 2009-09-03 23:48:13 +00:00
Tatuya JINMEI 神明達哉
af55bddf26 cleanup: fixed incorrect ifdef [RT #20210] 2009-09-03 21:55:13 +00:00
Tatuya JINMEI 神明達哉
0984eeca5b added workaround for a recent change thatview->secroots is not created
with view. [RT #20209]
2009-09-03 21:45:46 +00:00
Evan Hunt
2e46523695 update cvsignore files 2009-09-03 20:28:46 +00:00
Mark Andrews
bbc204a237 2669. [func] Update PKCS#11 support to support Keyper HSM.
Update PKCS#11 patch to be against openssl-0.9.8i.
2009-09-03 04:09:58 +00:00
Evan Hunt
9f8d002a66 silence win32 compiler warnings 2009-09-03 00:12:23 +00:00
Evan Hunt
c164f233b4 s/isc__mem_reallocate/isc___mem_reallocate/ 2009-09-02 23:51:55 +00:00
Automatic Updater
d7201de09b update copyright notice 2009-09-02 23:48:03 +00:00
Evan Hunt
e7c38ca963 - define isc_mem_reallocate() in the abstract API for export lib [rt20208]
- define BIND9 in config.h.win32
- fix problems in mem.h caused by the win32 preprocessor failing to
  expand macros used within macros
- silence a win32 compiler warning in hip_55.c
2009-09-02 23:43:54 +00:00
Evan Hunt
fff4ec3629 add /D BIND9 for win32 build 2009-09-02 19:36:36 +00:00
Evan Hunt
41e251fad0 add backtrace.c, backtrace.h, backtrace-emptytbl.c, backtrace-emptytbl.h
to win32 build
2009-09-02 19:01:49 +00:00
Tatuya JINMEI 神明達哉
9dbca282e4 corrected trivial comment errors (reviewed by Evan in jabber) 2009-09-02 18:38:40 +00:00
Evan Hunt
f0eecd4d62 changes needed for win32 build 2009-09-02 18:32:25 +00:00
Evan Hunt
0c1326fa62 add /D "BIND9" for win32 builds
(we'll probably need a different project file for creating an exportable DLL)
2009-09-02 18:00:51 +00:00
Evan Hunt
e30d8c5a47 missing include needed for win32 build 2009-09-02 17:58:06 +00:00
Evan Hunt
a21cde0291 update win32 libisc.def 2009-09-02 17:23:45 +00:00
Evan Hunt
3a6b6f5b11 remove references to the "ddns-autoconf" option, which no longer exists 2009-09-02 16:10:03 +00:00
Evan Hunt
eab9975bcf 2668. [func] Several improvements to dnssec-* tools, including:
- dnssec-keygen and dnssec-settime can now set key
			  metadata fields 0 (to unset a value, use "none")
			- dnssec-revoke sets the revocation date in
			  addition to the revoke bit
			- dnssec-settime can now print individual metadata
			  fields instead of always printing all of them,
			  and can print them in unix epoch time format for
			  use by scripts
			[RT #19942]
2009-09-02 06:29:01 +00:00
Tatuya JINMEI 神明達哉
8fec8134ea suppress compiler warnings [RT #20203] 2009-09-02 04:25:19 +00:00
Automatic Updater
823ca3c14f update copyright notice 2009-09-01 23:47:45 +00:00
Tatuya JINMEI 神明達哉
ae16941d9f cleanup: removed a redundant semi-colon 2009-09-01 23:05:33 +00:00
Tatuya JINMEI 神明達哉
d364948549 treat FD_SIZE as int (which can be defined as unsigned on some platforms)
to silence compiler
2009-09-01 22:52:27 +00:00
Evan Hunt
93ebf0fc08 - add .cvsignore files
- silence tinderbox warnings about missing config.h in a few files.
2009-09-01 20:13:44 +00:00
Tatuya JINMEI 神明達哉
a27fe4c990 2667. [func] Add support for logging stack backtrace on assertion
failure (not available for all platforms). [RT #19780]
9.7.0
2009-09-01 18:40:25 +00:00
Tatuya JINMEI 神明達哉
588f79e557 fixed build error on hpux due to gai_strerror() prototype mismatch
[RT #20194]
2009-09-01 17:54:16 +00:00
Tatuya JINMEI 神明達哉
44de0b1f7d 2666. [func] Added an 'options' argument to dns_name_fromstring()
(API change from 9.7.0a2). [RT #20196]
2009-09-01 17:36:51 +00:00
Tatuya JINMEI 神明達哉
965b6e2a1b fixed trivial errors about the type of function return values 2009-09-01 08:12:33 +00:00
Evan Hunt
85be60e3c8 2665. [func] Clarify syntax for managed-keys {} statement, add
ARM documentation about RFC 5011 support. [RT #19874]
2009-09-01 07:14:26 +00:00
Evan Hunt
b1f3364f52 2664. [bug] create_keydata() and minimal_update() in zone.c
didn't properly check return values for some
			functions.  [RT #19956]
2009-09-01 07:04:12 +00:00
Evan Hunt
ef22fffeeb 2662. [bug] lwres_getipnodebyname() and lwres_getipnodebyaddr()
returned a misleading error code when lwresd was
			down. [RT #20028]

2661.	[bug]		Check whether socket fd exceeds FD_SETSIZE when
			creating lwres context. [RT #20029]
2009-09-01 05:50:18 +00:00
Tatuya JINMEI 神明達哉
9eae5f2a7a added include <config.h> 2009-09-01 03:43:27 +00:00
Mark Andrews
e2a61b7bb2 add #include <isc/print.h> 2009-09-01 02:54:26 +00:00
Tatuya JINMEI 神明達哉
307d208450 2660. [func] Add a new set of DNS libraries for non-BIND9
applications.  See README.libdns. [RT #19369]
2009-09-01 00:22:28 +00:00
Evan Hunt
747abb4993 2658. [bug] dnssec-settime and dnssec-revoke didn't process
key file paths correctly. [RT #20078]
2009-08-28 03:13:08 +00:00
Mark Andrews
11b4f17027 2657. [cleanup] Lower "journal file <path> does not exist, creating it"
log level to debug 1. [RT #20058]
2009-08-25 07:41:28 +00:00
Francis Dupont
995f3bc4c4 indent 2009-08-23 11:44:44 +00:00
Mark Andrews
97a2451eea 2653. [bug] Treat ENGINE_load_private_key() failures as key
not found rather than out of memory.  [RT #18033]
2009-08-18 07:45:14 +00:00
Automatic Updater
800fb35bf0 update copyright notice 2009-08-15 23:48:06 +00:00
Evan Hunt
181b990c21 Back out change #2652 2009-08-15 05:03:14 +00:00
Evan Hunt
38cd84d1b3 2652. [bug] lwres_getipnodebyname() and lwres_getipnodebyaddr()
returned a misleading error code when lwresd was
			down. [RT #20028]
2009-08-15 03:11:57 +00:00
Mark Andrews
ece6c39dd8 missing semicolon 2009-08-14 07:51:08 +00:00
Evan Hunt
ddc225b15d 2651. [bug] Dates could print incorrectly in K*.key files on
64-bit systems. [RT #20076]
2009-08-14 06:28:40 +00:00
Automatic Updater
1f5dc0fc22 update copyright notice 2009-08-13 07:14:05 +00:00
Mark Andrews
bcd0cbfdae 2649. [bug] Set the domain for forward only zones. [RT #19944] 2009-08-13 04:33:51 +00:00
Mark Andrews
1d9958c6cc 2648. [port] win32: isc_time_seconds() was broken. [RT #19900] 2009-08-13 03:34:10 +00:00
Mark Andrews
8cff1a894f 2647. [bug] Remove unnecessary SOA updates when a new KSK is
added. [RT #19913]
2009-08-13 02:53:01 +00:00
Mark Andrews
048690a34d 2646. [bug] Incorrect cleanup on error in socket.c. [RT #19987] 2009-08-13 02:11:20 +00:00
Evan Hunt
33a31c5cab fix a comment ("ddns.key" should have been changed to "session.key"). 2009-07-31 23:43:23 +00:00
Evan Hunt
a3288b425a 2642. [bug] nsupdate could dump core on solaris when reading
improperly formatted key files.  [RT #20015]
2009-07-29 23:45:24 +00:00
Evan Hunt
9069215eac 2641. [bug] Fixed an error in parsing update-policy syntax,
added a regression test to check it. [RT #20007]
2009-07-29 17:52:00 +00:00
Mark Andrews
6a1a8186af 2638. [bug] Silence compiler warnings in gssapi code. [RT #19954] 2009-07-21 06:53:09 +00:00
Mark Andrews
f1de96a386 char mechbuf[17] -> unsigned char mechbuf[17] 2009-07-20 01:55:37 +00:00
Automatic Updater
26d8ffe715 update copyright notice 2009-07-19 23:47:55 +00:00
Evan Hunt
9edd523c22 more win32 build fixes 2009-07-19 05:06:48 +00:00
Evan Hunt
b1fa84a099 win32 build fixes 2009-07-19 04:50:15 +00:00
Evan Hunt
553ead32ff 2636. [func] Simplify zone signing and key maintenance with the
dnssec-* tools.  Major changes:
			- all dnssec-* tools now take a -K option to
			  specify a directory in which key files will be
			  stored
			- DNSSEC can now store metadata indicating when
			  they are scheduled to be published, acttivated,
			  revoked or removed; these values can be set by
			  dnssec-keygen or overwritten by the new
			  dnssec-settime command
			- dnssec-signzone -S (for "smart") option reads key
			  metadata and uses it to determine automatically
			  which keys to publish to the zone, use for
			  signing, revoke, or remove from the zone
			[RT #19816]
2009-07-19 04:18:05 +00:00
Automatic Updater
4a979d3577 update copyright notice 2009-07-17 23:47:41 +00:00
Evan Hunt
3967528c77 2635. [bug] isc_inet_ntop() incorrectly handled 0.0/16 addresses.
[RT #19716]
2009-07-17 22:01:44 +00:00
Evan Hunt
aeff7de836 2634. [port] win32: Add support for libxml2, enable
statschannel. [RT #19773]
2009-07-17 06:25:45 +00:00
Mark Andrews
2792e226c7 2633. [bug] Handle 15 bit rand() functions. [RT #19783] 2009-07-16 05:52:46 +00:00
Automatic Updater
3e12c54de2 update copyright notice 2009-07-14 23:47:54 +00:00
Evan Hunt
08f860f800 2630. [func] Improved syntax for DDNS autoconfiguration: use
"update-policy local;" to switch on local DDNS in a
			zone.  [RT #19875]
2009-07-14 22:54:57 +00:00
Automatic Updater
fd4dcaddae update copyright notice 2009-07-13 23:47:42 +00:00
Evan Hunt
943cbe8ae5 2627. [bug] Named aborted if the same key was included in
trusted-keys more than once. [RT #19918]
2009-07-13 21:53:03 +00:00
Evan Hunt
ef370118d5 2626. [bug] Multiple trusted-keys could trigger an assertion
failure. [RT #19914]
2009-07-13 21:49:57 +00:00
Mark Andrews
5b7525f51f 2625. [bug] Missing UNLOCK in rbtdb.c. [RT #19865] 2009-07-13 07:03:47 +00:00
Mark Andrews
6d5852f318 2623. [bug] Named started seaches for DS non-optimally. [RT #19915] 2009-07-13 06:24:27 +00:00
Automatic Updater
4a14ce5ba0 regen 2009-07-11 01:12:47 +00:00
Automatic Updater
b655c721b6 update copyright notice 2009-07-10 23:47:58 +00:00
Mark Andrews
98e8948bd7 2622. [bug] Printing of named.conf grammar was broken. [RT #19919] 2009-07-10 07:33:21 +00:00
Automatic Updater
c8da39c6c7 update copyright notice 2009-07-02 23:47:26 +00:00
Mark Andrews
109580e7e5 2920. [bug] Delay thawing the zone until the reload of it has
completed successfully.  [RT #19750]
2009-07-02 07:39:03 +00:00
Automatic Updater
c6fb85f950 update copyright notice 2009-07-01 23:47:36 +00:00
Automatic Updater
f66c8eed51 update copyright notice 2009-06-30 23:48:01 +00:00
Evan Hunt
cfb1587eb9 2619. [func] Add support for RFC 5011, automatic trust anchor
maintenance.  The new "managed-keys" statement can
			be used in place of "trusted-keys" for zones which
			support this protocol.  (Note: this syntax is
			expected to change prior to 9.7.0 final.) [RT #19248]
2009-06-30 02:53:46 +00:00
Mark Andrews
01dbc4fc00 2618. [bug] The sdb and sdlz db_interator_seek() methods could
loop infinitely. [RT #19847]
2009-06-26 06:21:03 +00:00
Automatic Updater
eddfb6120c update copyright notice 2009-06-25 23:48:02 +00:00
Mark Andrews
86739ab72c Editorial nits. [RT #19815] 2009-06-25 05:28:34 +00:00
Mark Andrews
76110b31fe 2615. [bug] "__attribute__((unused))" was in the wrong place
for ia64 gcc builds. [RT #19854]
2009-06-24 02:22:50 +00:00
Evan Hunt
b272d38cc5 2612. [func] Add default values for the arguments to
dnssec-keygen.  Without arguments, it will now
			generate a 1024-bit RSASHA1 zone-signing key,
			or with the -f KSK option, a 2048-bit RSASHA1
			key-signing key. [RT #19300]

2611.	[func]		Add -l option to dnssec-dsfromkey to generate
			DLV records instead of DS records. [RT #19300]
2009-06-17 06:51:44 +00:00
Mark Andrews
b577875266 missing line breaks 2009-06-17 04:29:43 +00:00
Evan Hunt
76786c2904 - assorted changes needed for windows build
- began versioning for 9.7.0a1
2009-06-12 02:33:21 +00:00
Automatic Updater
754cb8a2b3 update copyright notice 2009-06-11 23:47:56 +00:00
Automatic Updater
b6306ef56e update copyright notice 2009-06-10 23:47:47 +00:00
Evan Hunt
18ad4708eb commit windows build changes needed for DDNS patch 2009-06-10 23:36:57 +00:00
Evan Hunt
351b62535d 2609. [func] Simplify the configuration of dynamic zones:
- add ddns-confgen command to generate
			  configuration text for named.conf
			- add zone option "ddns-autoconf yes;", which
			  causes named to generate a TSIG session key
			  and allow updates to the zone using that key
			- add '-l' (localhost) option to nsupdate, which
			  causes nsupdate to connect to a locally-running
			  named process using the session key generated
			  by named
			[RT #19284]
2009-06-10 00:27:22 +00:00
Mark Andrews
afbe695de3 "got insecure response; parent indicates it should be secure" wrongly emitted [RT #19800] 2009-06-09 22:57:09 +00:00
Mark Andrews
3d785d7666 dns_dnssec_selfsigns 2009-06-04 04:58:10 +00:00
Automatic Updater
39844d4710 update copyright notice 2009-06-04 02:56:47 +00:00
Mark Andrews
2534a73a59 2608. [func] Perform post signing verification checks in
dnssec-signzone.  These can be disabled with -P.

                        The post sign verification test ensures that for each
                        algorithm in use there is at least one non revoked
                        self signed KSK key.  That all revoked KSK keys are
                        self signed.  That all records in the zone are signed
                        by the algorithm.  [RT #19653]
2009-06-04 02:13:37 +00:00
Mark Andrews
f05a6b110f 2607. [bug] named could incorrectly delete NSEC3 records for
empty nodes when processing a update request.
                        [RT #19749]
2009-06-04 01:43:41 +00:00
Mark Andrews
0bc3af9834 2606. [bug] "delegation-only" was not being accepted in
delegation-only type zones. [RT #19717]
2009-06-03 00:04:38 +00:00
Automatic Updater
dc0c165ce3 update copyright notice 2009-06-02 23:47:50 +00:00
Mark Andrews
5422cf284f 2605. [bug] Accept DS responses from delegation only zones.
[RT # 19296]
2009-06-02 05:51:44 +00:00
Automatic Updater
e6ada020f5 update copyright notice 2009-05-29 23:47:49 +00:00
Tatuya JINMEI 神明達哉
40d0f115a6 2604. [func] Add support for DNS rebinding attack prevention through
new options, deny-answer-addresses and
			deny-answer-aliases.  Based on contributed code from
			JD Nurmi, Google. [RT #18192]
2009-05-29 22:22:37 +00:00
Mark Andrews
7be6336565 2602. [port] win32: fix debugging command line build of libisccfg.
[RT #19767]
2009-05-29 01:16:31 +00:00
Automatic Updater
cc5f9fe224 update copyright notice 2009-05-11 02:38:35 +00:00
Mark Andrews
8a805c9f41 spelling 2009-05-11 02:30:07 +00:00
Mark Andrews
4c2ed3d141 2599. [bug] Address rapid memory growth when validation fails.
[RT #19654]
2009-05-11 02:22:03 +00:00
Automatic Updater
54cdd2b307 update copyright notice 2009-05-07 23:47:44 +00:00
Francis Dupont
ff380b05fe comment fixes (rt19624) 2009-05-07 09:41:23 +00:00
Mark Andrews
e7eede965d 2597. [bug] Handle a validation failure with a insecure delegation
from a NSEC3 signed master/slave zone.  [RT #19464]
2009-05-07 02:34:19 +00:00
Automatic Updater
7a272c6b0d update copyright notice 2009-05-06 23:47:50 +00:00
Tatuya JINMEI 神明達哉
5d7849ad7f 2596. [bug] Stale tree nodes of cache/dynamic rbtdb could stay
long, leading to inefficient memory usage or rejecting
			newer cache entries in the worst case. [RT #19563]
2009-05-06 22:53:54 +00:00
Mark Andrews
d2c115f913 2590. [func] Report zone/class of "diff with no effect". [RT #19542] 2009-04-30 06:53:10 +00:00
Automatic Updater
542b74bec7 update copyright notice 2009-04-29 23:48:02 +00:00
Mark Andrews
f030c71500 2589. [bug] dns_db_unregister() failed to clear '*dbimp'.
[RT #19626]
2009-04-29 22:11:34 +00:00
Automatic Updater
d76bbb6c40 update copyright notice 2009-04-28 23:48:01 +00:00
Tatuya JINMEI 神明達哉
089f456eb3 2588. [bug] SO_REUSEADDR could be set unconditionally after failure
of bind(2) call.  This should be rare and mostly
			harmless, but may cause interference with other
			processes that happen to use the same port. [RT #19642]
2009-04-28 21:39:00 +00:00
Jeremy Reed
f20f19de19 2587. [func] Improve logging by reporting serial numbers for
when zone serial has gone backwards or unchanged.
			[RT #19506]
2009-04-28 12:48:35 +00:00
Automatic Updater
ab381c1e22 update copyright notice 2009-04-21 23:48:04 +00:00
Tatuya JINMEI 神明達哉
b1b0dca146 2586. [bug] Missing cleanup of SIG rdataset in searching a DLZ DB
or SDB. [RT #19577]
2009-04-21 00:41:02 +00:00
Tatuya JINMEI 神明達哉
cda7c783c3 2585. [bug] Uninitialized socket name could be referenced via a
statistics channel, triggering an assertion failure in
			XML rendering. [RT #19427]
2009-04-18 01:28:17 +00:00
Automatic Updater
cc0f37ba17 update copyright notice 2009-04-08 06:48:23 +00:00
Tatuya JINMEI 神明達哉
af2e2f5ed7 2584. [bug] alpha: gcc optimization could break atomic operations.
[RT #19227]
2009-04-08 05:46:22 +00:00
Tatuya JINMEI 神明達哉
3dc1cb7e96 wording fix for cpp error message (rt #19569) 2009-04-07 02:49:37 +00:00
Mark Andrews
64e161a7f7 2582. [bug] Don't emit warning log message when we attempt to
remove non-existant journal. [RT #19516]
2009-03-26 22:51:54 +00:00
Evan Hunt
6b9728dde7 ARM and log message changes to clarify "insecure response". [rt19400] 2009-03-23 22:30:57 +00:00
Automatic Updater
8e3d340655 update copyright notice 2009-03-17 23:48:02 +00:00
Mark Andrews
72dbc7216a 2579. [bug] DNSSEC lookaside validation failed to handle unknown
algorithms. [RT #19479]
2009-03-17 01:34:28 +00:00
Mark Andrews
56708c6fb4 2576. [bug] NSEC record were not being correctly signed when
a zone transitions from insecure to secure.
                        Handle such incorrectly signed zones. [RET #19114]
2009-03-13 01:35:18 +00:00
Automatic Updater
74f4bfde4a update copyright notice 2009-03-11 23:47:35 +00:00
Evan Hunt
3f8be559f0 2575. [func] New functions dns_name_fromstring() and
dns_name_tostring(), to simplify conversion
			of a string to a dns_name structure and vice
			versa. [RT #19451]
2009-03-11 07:02:34 +00:00
Automatic Updater
2464bd58eb update copyright notice 2009-03-05 23:47:36 +00:00
Mark Andrews
e422b84c73 2573. [bug] Replacing a non-CNAME record with a CNAME record in a
single transaction in a signed zone failed. [RT #19397]
2009-03-05 04:54:33 +00:00
Mark Andrews
f605647060 Undocumented firewall test hook. [RT #19398] 2009-03-05 03:13:55 +00:00
Automatic Updater
e61db954bf update copyright notice 2009-03-04 23:48:02 +00:00
Evan Hunt
3a30493983 2572. [func] Simplify DLV configuration, with a new option
"dnssec-lookaside auto;"  This is the equivalent
			of "dnssec-lookaside . trust-anchor dlv.isc.org;"
			plus setting a trusted-key for dlv.isc.org.

			Note: The trusted key is hard-coded into named,
			but is also stored in (and can be overridden
			by) $sysconfdir/bind.keys.  As the ISC DLV key
			rolls over it can be kept up to date by replacing
			the bind.keys file with a key downloaded from
			https://www.isc.org/solutions/dlv. [RT #18685]
2009-03-04 02:42:31 +00:00
Automatic Updater
4f91bcae43 update copyright notice 2009-03-02 23:47:43 +00:00
Mark Andrews
98b2be76fc 2567. [bug] dst__privstruct_writefile() could miss write errors.
write_public_key() could miss write errors.
                        dnssec-dsfromkey could miss write errors.
                        [RT #19360]
2009-03-02 03:01:04 +00:00
Mark Andrews
05c162292f 2567. [bug] dst__privstruct_writefile() could miss write errors.
[RT #19360]
2009-03-02 02:03:59 +00:00
Mark Andrews
d55bdffe2f report when chdir fails. [RT #19360] 2009-03-02 01:57:10 +00:00
Automatic Updater
3e63c43386 update copyright notice 2009-03-01 23:47:25 +00:00
Evan Hunt
bfe0517fdc Clarify logged message when an insecure DNSSEC response arrives from a zone
thought to be secure: "insecurity proof failed" instead of "not insecure".
[RT #19400]
2009-03-01 02:45:38 +00:00
Mark Andrews
549e34bbf4 2564. [bug] Only take EDNS fallback steps when processing timeouts.
[RT #19405]
2009-02-27 23:01:48 +00:00
Automatic Updater
92e4603c55 update copyright notice 2009-02-26 11:18:56 +00:00
Mark Andrews
e4c6491bbf 2565. [func] Add support for HIP record. Includes new functions
dns_rdata_hip_first(), dns_rdata_hip_next()
                        and dns_rdata_hip_current().  [RT #19384]
2009-02-26 06:09:19 +00:00
Mark Andrews
499fa72075 2564. [bug] 'named' was treating a TCP retry as a timeout when
deciding whether to perform a EDNS fallback step.
                        [RT #19393]
2009-02-25 22:46:05 +00:00
Automatic Updater
87a58323be update copyright notice 2009-02-18 23:47:48 +00:00
Mark Andrews
d53cade6ae add #include "config.h" 2009-02-18 06:44:58 +00:00
Mark Andrews
0f39e477c5 2660. [bug] Add #include <config.h> to iptable.c. [RET #18258] 2009-02-18 05:31:17 +00:00
Mark Andrews
803bf59371 silence 'Different types treated as unsigned for <=.' warning 2009-02-17 05:53:13 +00:00
Mark Andrews
eab2fb739e silence compiler warnings [RT #17079] 2009-02-17 03:40:28 +00:00
Automatic Updater
bf33eb0b52 update copyright notice 2009-02-16 23:48:04 +00:00
Mark Andrews
fd8c0286c1 silence 'Different types treated as unsigned for >.' warning 2009-02-16 03:19:40 +00:00
Mark Andrews
6fbeed7f8f silence 'Different types treated as unsigned for >=.' warning 2009-02-16 03:16:10 +00:00
Mark Andrews
e502b133d6 2556. [cleanup] PCI compliance:
* new libisc log module file
                        * isc_dir_chroot() now also changes the working
                          directory to "/".
                        * additional INSISTs
                        * additional logging when files can't be removed.
2009-02-16 02:01:16 +00:00
Mark Andrews
7d211b458f 2554. [bug] Validation of uppercase queries from NSEC3 zones could
fail. [RT #19297]
2009-02-15 23:46:23 +00:00
Mark Andrews
d2ef5b3c5c 2553. [bug] Reference leak on DNSSEC validation errors. [RT #19291] 2009-02-15 23:37:29 +00:00
Mark Andrews
45c3c12ed3 2552. [bug] zero-no-soa-ttl-cache was not being honoured.
[RT #19340]
2009-02-15 23:13:32 +00:00
Automatic Updater
bbdbde5fa0 update copyright notice 2009-02-13 23:48:14 +00:00
Mark Andrews
6cf047f100 2549. [port] linux: define NR_OPEN if not currently defined.
[RT #19344]
2009-02-13 09:15:18 +00:00
Automatic Updater
dd0adce112 update copyright notice 2009-02-12 23:47:56 +00:00
Mark Andrews
b663e99af6 2548. [bug] Install iterated_hash.h. [RT #19335] 2009-02-12 22:17:15 +00:00
Francis Dupont
b5297573c9 add 8 missing exports 2009-02-12 13:46:41 +00:00
Francis Dupont
d7d2a7fbad add isc__mem_reallocate() 2009-02-12 12:45:04 +00:00
Francis Dupont
ee620d5bd0 add stats 2009-02-12 11:32:57 +00:00
Tatuya JINMEI 神明達哉
77d90dc2b5 2547. [bug] openssl_link.c:mem_realloc() could reference an
out-of-range area of the source buffer.  New public
			function isc_mem_reallocate() was introduced to address
			this bug. [RT #19313]
2009-02-11 03:04:18 +00:00
Automatic Updater
53f0234c3e update copyright notice 2009-02-06 23:47:42 +00:00
Francis Dupont
c1d7e0562f OpenSSL hashes 2009-02-06 12:26:23 +00:00
Automatic Updater
c520b0f616 update copyright notice 2009-02-04 23:48:09 +00:00
Mark Andrews
ba576cf8e7 silence comiler warning. [RT #18630] 2009-02-04 04:43:42 +00:00
Tatuya JINMEI 神明達哉
5d0984f4fd 2544. [cleanup] Removed unused structure members in adb.c. [RT #19225] 2009-02-03 22:33:13 +00:00
Mark Andrews
870a748bae isc_statscounter_t 2009-01-31 00:37:04 +00:00
Mark Andrews
f19e6ef1eb 2541. [bug] Conditionally update dispatch manager statistics.
[RT #19247]
2009-01-31 00:10:24 +00:00
Mark Andrews
53cd44e716 2540. [func] Add a nibble mode to $GENERATE. [RT #1887] 2009-01-30 04:35:44 +00:00
Tatuya JINMEI 神明達哉
03ff5c04b8 missing 'ISC_LANG_BEGINDECLS' 2009-01-29 01:03:56 +00:00
Tatuya JINMEI 神明達哉
c82bb6a709 2538. [bug] cache/ADB memory could grow over max-cache-size,
especially with threads and smaller max-cache-size
			values. [RT #19240]
2009-01-28 23:20:23 +00:00
Automatic Updater
39a8abdb83 update copyright notice 2009-01-27 23:47:54 +00:00
Tatuya JINMEI 神明達哉
d9059b0c38 2537. [func] Added more statistics counters including those on socket
I/O events and query RTT histograms.  [RT #18802]
2009-01-27 22:30:00 +00:00
Automatic Updater
3bed8e9913 update copyright notice 2009-01-23 23:47:54 +00:00
Mark Andrews
0cee7fdce3 move formating out of msgcat 2009-01-23 01:27:12 +00:00
Mark Andrews
6bcb646fd1 undo one change from #2536 2009-01-23 01:15:41 +00:00
Automatic Updater
3319413a67 update copyright notice 2009-01-22 23:47:54 +00:00
Mark Andrews
f148f53794 2536. [cleanup] Silence some warnings when -Werror=format-security is
specified. [RT #19083]
2009-01-22 05:39:29 +00:00
Automatic Updater
83b86f3936 update copyright notice 2009-01-21 23:47:27 +00:00
Mark Andrews
31b7a2fed6 2534. [func] Check NAPTR records regular expressions and
replacement strings to ensure they are syntaxically
                        valid and consistant. [RT #18168]
2009-01-21 05:37:55 +00:00
Automatic Updater
9a14f870dd update copyright notice 2009-01-18 23:48:14 +00:00
Francis Dupont
98cc7e7c59 spelling 2009-01-18 18:08:22 +00:00
Francis Dupont
9b899a5758 spelling 2009-01-18 18:02:14 +00:00
Francis Dupont
a05abc1767 spelling 2009-01-18 00:50:21 +00:00
Francis Dupont
1016f2638f spelling 2009-01-18 00:34:19 +00:00
Francis Dupont
3b8b44559a spelling 2009-01-18 00:11:07 +00:00
Francis Dupont
23af793acb spelling 2009-01-18 00:06:06 +00:00
Automatic Updater
d362465c77 update copyright notice 2009-01-17 23:47:43 +00:00
Francis Dupont
0ef59d2288 spelling 2009-01-17 23:42:01 +00:00
Francis Dupont
b65746833b spelling 2009-01-17 23:13:19 +00:00
Francis Dupont
09eaa8e309 spelling 2009-01-17 15:18:15 +00:00
Francis Dupont
708383382f spelling 2009-01-17 15:12:26 +00:00
Francis Dupont
a344069fe8 spelling 2009-01-17 15:06:49 +00:00
Francis Dupont
bdfaef63f5 spelling 2009-01-17 14:59:03 +00:00
Francis Dupont
47b7dfffe5 spelling 2009-01-17 14:45:17 +00:00
Francis Dupont
584848087f spelling 2009-01-17 14:18:27 +00:00
Francis Dupont
340804cbdb spelling 2009-01-17 13:52:02 +00:00
Francis Dupont
a7e3a86619 spelling 2009-01-17 13:45:25 +00:00
Francis Dupont
08d44d4510 spelling 2009-01-17 13:33:29 +00:00
Francis Dupont
7d6d9c2240 spelling 2009-01-17 13:25:11 +00:00
Francis Dupont
45b4efd07f spelling 2009-01-17 12:56:23 +00:00
Francis Dupont
3678015d3f spelling 2009-01-17 11:57:25 +00:00
Automatic Updater
03faa7804e update copyright notice 2009-01-14 23:48:00 +00:00
Francis Dupont
fa7ef31685 integrate -P1 patch 2009-01-14 17:28:47 +00:00
Automatic Updater
9e0d0a279b update copyright notice 2009-01-09 23:47:46 +00:00
Tatuya JINMEI 神明達哉
7781f25078 2526. [func] New named option "attach-cache" that allows multiple
views to share a single cache to save memory and
			improve lookup efficiency. [RT 18905]
2009-01-09 22:24:37 +00:00
Automatic Updater
d7845fc5ba update copyright notice 2009-01-07 23:47:47 +00:00
Tatuya JINMEI 神明達哉
609f86163a 2525. [func] New logging category "query-errors" to provide detailed
internal information about query failures, especially
			about server failures. [RT #19027]
2009-01-07 01:46:40 +00:00
Automatic Updater
0cfbb9285a update copyright notice 2009-01-06 23:47:57 +00:00
Francis Dupont
b393e55a76 bug in dns_nsec_typepresent() - 19112 2009-01-06 09:06:02 +00:00
Automatic Updater
5569e7de51 update copyright notice 2009-01-05 23:47:54 +00:00
Tatuya JINMEI 神明達哉
3fb1637c92 trivial comment cleanups (RT#19118) 2009-01-05 23:20:22 +00:00
Automatic Updater
c6b65dff51 update copyright notice 2008-12-17 23:47:58 +00:00
Tatuya JINMEI 神明達哉
10a6f640ed 2519. [bug] dig/host with -4 or -6 didn't work if more than two
nameserver addresses of the excluded address family
			preceded in resolv.conf. [RT #19081]
2008-12-17 19:19:29 +00:00
Mark Andrews
1ee054ca44 2518. [func] Add support for the new CERT types from RFC 4398.
[RT #19077]
2008-12-16 05:04:47 +00:00
Mark Andrews
8bf0c05627 2515. [port] win32: build dnssec-dsfromkey and dnssec-keyfromlabel.
[RT #19063]
2008-12-14 21:14:54 +00:00
Mark Andrews
24450ad58d 2513 [bug] Fix windows cli build. [RT #19062] 2008-12-13 00:23:54 +00:00
Mark Andrews
47d89fcd4f 2512. [func] Print a summary of the cached records which make up
the negative response.  [RT #18885]
2008-12-12 04:41:25 +00:00
Mark Andrews
a5746c4ec1 2511. [cleanup] dns_rdata_tofmttext() add const to linebreak.
[RT #18885]
2008-12-12 04:37:24 +00:00
Automatic Updater
a8a8e73121 update copyright notice 2008-12-10 23:48:43 +00:00
Mark Andrews
92241b04f1 2509. [bug] Specifying a fixed query source port was broken.
[RT #19051]
2008-12-10 07:03:50 +00:00
Mark Andrews
3d4e5a200f remove XXXMPA 2008-12-03 02:11:32 +00:00
Mark Andrews
d8fc8514b1 2504. [bug] Address race condition in the socket code. [RT #18899] 2008-12-03 02:03:47 +00:00
Automatic Updater
f8f8a5b3a3 update copyright notice 2008-12-01 23:47:45 +00:00
Mark Andrews
04ec5b376d unsigned contants 2008-12-01 13:26:51 +00:00
Mark Andrews
36c12f1bb4 #undef inet_aton 2008-12-01 04:14:54 +00:00
Mark Andrews
9935447b51 2503. [port] linux: improve compatibility with Linux Standard
Base. [RT #18793]
2008-12-01 03:53:32 +00:00
Mark Andrews
ce1d07a80f out of memory condition could be missed. [RT #18970] 2008-12-01 00:15:37 +00:00
Mark Andrews
175a8bd2b7 2502. [cleanup] isc_radix: Improve compliance with coding style,
document function in <isc/radix.h>. [RT #18534]
2008-12-01 00:04:21 +00:00
Mark Andrews
46018d5d23 2501. [func] $GENERATE now supports all rdata types. Multi-field
rdata types need to be quoted.  See the ARM for
                        details. [RT #18368]
2008-11-30 23:49:21 +00:00
Automatic Updater
1f426f426e update copyright notice 2008-11-25 23:47:23 +00:00
Mark Andrews
9019569316 2499. [port] solaris: lib/lwres/getaddrinfo.c namespace clash.
[RT #18837]
2008-11-25 05:39:10 +00:00
Tatuya JINMEI 神明達哉
eb8265942b 2498. [bug] Removed a bogus function argument used with
ISC_SOCKET_USE_POLLWATCH: it could cause compiler
			warning or crash named with the debug 1 level
			of logging. [RT #18917]

(Note that this entry is placed below the 9.6.0rc1 mark)
2008-11-20 00:04:17 +00:00
Mark Andrews
9f41ec8010 1204 -> 1024U 2008-11-19 05:38:49 +00:00
Mark Andrews
e7ba4d8dc4 2497. [bug] Don't add RRSIG bit to NSEC3 bit map for insecure
delegation.
2008-11-17 23:46:42 +00:00
Mark Andrews
ac4b736ab2 9.6.0rc1 2008-11-16 21:21:42 +00:00
Mark Andrews
81e5de1741 2496. [bug] Add sanity length checks to NSID option. [RT #18813] 2008-11-16 20:57:55 +00:00
Automatic Updater
49960a74b5 update copyright notice 2008-11-14 23:47:33 +00:00
Mark Andrews
50df1ec60a 2495. [bug] Tighten RRSIG checks. [RT #18795] 2008-11-14 22:53:46 +00:00
Mark Andrews
2628c71479 silence compiler warning. [RT #18990] 2008-11-14 14:07:48 +00:00
Mark Andrews
da2d57c8cf 2493. [bug] The linux capabilites code was not correctly cleaning
up after itself. [RT #18767]
2008-11-14 05:24:11 +00:00
Automatic Updater
cfeaf83e2b update copyright notice 2008-11-12 23:47:17 +00:00
Mark Andrews
96b3cb85d3 2491. [func] Attempt to re-use a local port if we are already using
the port. [RT #18548]
2008-11-12 23:10:57 +00:00
Mark Andrews
dc143a8f5c 2490. [port] aix: work around a kernel bug where IPV6_RECVPKTINFO
is cleared when IPV6_V6ONLY is set. [RT #18785]
2008-11-12 03:52:32 +00:00
Mark Andrews
ac62b63619 add NULL gssapi fromlabel method. [RT #18877] 2008-11-11 03:55:01 +00:00
Tatuya JINMEI 神明達哉
f99fd90097 2489. [port] solaris: Workaround Solaris's kernel bug about
/dev/poll:
			http://bugs.opensolaris.org/view_bug.do?bug_id=6724237
			Define ISC_SOCKET_USE_POLLWATCH at build time to enable
			this workaround. [RT #18870]
2008-11-08 22:35:12 +00:00
Mark Andrews
09b45f7b58 2487. [bug] Give TCP connections longer to complete. [RT #18675] 2008-11-07 00:52:34 +00:00
Mark Andrews
2cada19312 align comment w/ code [RT #18833] 2008-11-06 02:20:14 +00:00
Mark Andrews
09416abf2d remove debugging log that was accidently left in 2008-11-04 21:23:14 +00:00
Automatic Updater
d9edfd5642 update copyright notice 2008-11-02 23:47:01 +00:00
Francis Dupont
7b1a7a098b no chroot() in Win32 API 2008-11-02 12:48:39 +00:00
Mark Andrews
76bd01263f remove debugging printf 2008-10-29 05:53:12 +00:00
Mark Andrews
736e6a6709 2481. [bug] rbtdb.c:matchparams() failed to handle NSEC3 chain
collisions.  [RT #18812]

2480.   [bug]           named could fail to emit all the required NSEC3
                        records.  [RT #18812]
2008-10-29 04:54:00 +00:00
Tatuya JINMEI 神明達哉
ff2c81060f added pre-initialization check on cachedb->node_lock_count. 2008-10-27 22:43:34 +00:00
Mark Andrews
86ee7433b3 2475. [bug] LRU cache cleanup under overmem condition could purge
particular entries more aggresively. [RT #17628]
2008-10-27 03:52:43 +00:00
Evan Hunt
06a230fe9f 2474. [bug] ACL structures could be allocated with insufficient
space, causing an array overrun. [RT #18765]
2008-10-24 02:28:55 +00:00
Mark Andrews
455ada05af 2471. [bug] named-checkzone was not reporting missing manditory
glue when sibling checks were disabled. [RT #18768]
2008-10-24 00:28:00 +00:00
Mark Andrews
4ac81dfb30 silence compiler warning. [RT #18766] 2008-10-24 00:11:17 +00:00
Mark Andrews
0d444dc136 2470. [bug] Elements of the isc_radix_node_t could be incorrectly
overwritten.  [RE# 18719]
2008-10-23 00:00:58 +00:00
Tatuya JINMEI 神明達哉
35378bcc6a 2468. [bug] Resolver could try unreachable servers multiple times.
[RT #18739]
2008-10-17 21:58:09 +00:00
Tatuya JINMEI 神明達哉
b05585dcfe 2467. [bug] Failure of fcntl(F_DUPFD) wasn't logged. [RT #18740] 2008-10-17 21:49:23 +00:00
Mark Andrews
698a4dcc8a 2465. [bug] Adb's handling of lame addresses was different
for IPv4 and IPv6. [RT #18738]
2008-10-17 03:23:13 +00:00
Automatic Updater
87ecfd734c update copyright notice 2008-10-15 23:47:31 +00:00
Mark Andrews
f2d09cd90d silence coverity false positive 2008-10-15 04:22:30 +00:00
Mark Andrews
394c1ac533 evloop prototype. [RT #18196] 2008-10-15 03:41:17 +00:00
Mark Andrews
4aee922977 coverity analysis support. [RT #18196] 2008-10-15 03:29:13 +00:00
Mark Andrews
b018450b0e sig is only used if threads are in use. [RT #18196] 2008-10-15 03:21:22 +00:00
Tatuya JINMEI 神明達哉
2be6798f93 2457. [tuning] max-cache-size is reverted to 0, the previous
default.  It should be safe because expired cache
			entries are also purged.
2008-09-27 23:35:31 +00:00
Automatic Updater
cdbb3d2774 update copyright notice 2008-09-26 23:47:06 +00:00
Evan Hunt
b0bf1ad5b0 2456. [bug] In ACLs, ::/0 and 0.0.0.0/0 would both match any
address, regardless of family.  They now correctly
			distinguish IPv4 from IPv6.  [RT #18559]
2008-09-26 21:12:02 +00:00
Evan Hunt
106360491a address review comment 2008-09-26 16:44:49 +00:00
Mark Andrews
dd14c953a8 unsigned constants 2008-09-26 01:27:08 +00:00
Mark Andrews
86e0a671ed 9.6.0a1 2008-09-25 04:39:58 +00:00
Mark Andrews
75a4ad0829 0 -> dns_rdatatype_none 2008-09-25 04:12:39 +00:00
Automatic Updater
3398334b3a update copyright notice 2008-09-25 04:02:39 +00:00
Mark Andrews
eab4a5c29d 2455. [bug] Stop metadata being transfered via axfr/ixfr.
[RT #18639]
2008-09-25 03:49:55 +00:00
Mark Andrews
5737b74d34 2453. [bug] Remove NULL pointer dereference in dns_journal_print().
[RT #18316]

2452.   [func]          Improve bin/test/journalprint. [RT #18316]
2008-09-25 02:01:45 +00:00
Evan Hunt
f66ac0c858 silence compiler warnings 2008-09-24 16:33:27 +00:00
Automatic Updater
6e2871232f update copyright notice 2008-09-24 03:16:58 +00:00
Mark Andrews
6098d364b6 2448. [func] Add NSEC3 support. [RT #15452] 2008-09-24 02:46:23 +00:00
Mark Andrews
11dbf2fc38 2447. [cleanup] libbind has been split out as a seperate produce. 2008-09-24 02:13:12 +00:00
Mark Andrews
c6c09f77f8 2444. [port] Linux, FreeBSD, AIX: Turn of path mtu discovery
(clear DF) for UDP responses and requests.
2008-09-23 02:20:21 +00:00
Michael Graff
467e6fd167 make the same change to win32/socket.c here as was made on v9_5 to fix connected UDP sockets 2008-09-16 17:19:01 +00:00
Mark Andrews
896f88361e 2442. [bug] A lock could be destroyed twice. [RT# 18626] 2008-09-14 04:54:49 +00:00
Automatic Updater
6011ef0f4d update copyright notice 2008-09-12 23:47:25 +00:00
Evan Hunt
5ce9206eb9 2441. [bug] isc_radix_insert() could copy radix tree nodes
incompletely. [RT #18573]

2440.   [bug]		named-checkconf used an incorrect test to determine
			if an ACL was set to none.
2008-09-12 06:02:31 +00:00
Evan Hunt
e80f661db8 possible null dereference in dns_acl_isanyornone() [rt18559] 2008-09-12 04:54:39 +00:00
Mark Andrews
691f1f7731 2438. [bug] Timeouts could be logged incorrectly under win32.
2436.   [security]      win32: UDP client handler can be shutdown. [RT #18576]

2434.   [bug]           Fixed a minor error-reporting bug in
                        lib/isc/win32/socket.c.

2432.   [bug]           More Windows socket handling improvements.  Stop
                        using I/O events and use IO Completion Ports
                        throughout.  Rewrite the receive path logic to make
                        it easier to support multiple simultaneous
                        requestrs in the future.  Add stricter consistency
                        checking as a compile-time option (define
                        ISC_SOCKET_CONSISTENCY_CHECKS; defaults to off).

2420.   [bug]           Windows socket handling cleanup.  Let the io
                        completion event send out cancelled read/write
                        done events, which keeps us from writing to memeory
                        we no longer have ownership of.  Add debugging
                        socket_log() function.  Rework TCP socket handling
                        to not leak sockets.
2008-09-12 04:46:25 +00:00
Evan Hunt
aeadcd6319 pull up windows acl leak fix from 9.5.0-P2-W1 2008-09-10 21:52:49 +00:00
Automatic Updater
e2c97aef51 update copyright notice 2008-09-08 23:47:10 +00:00
Mark Andrews
ac3d398b56 update 2008-09-08 08:55:05 +00:00
Mark Andrews
24119ac6bd update 2008-09-08 08:52:18 +00:00
Mark Andrews
612045f8e1 update 2008-09-08 08:49:24 +00:00
Mark Andrews
62e67fd6c0 update 2008-09-08 08:42:07 +00:00
Mark Andrews
922cb29cfe isc_portset_isset 2008-09-08 08:33:41 +00:00
Mark Andrews
327070c7e5 stats 2008-09-08 08:30:04 +00:00
Mark Andrews
ed9ca23065 syntax error 2008-09-08 08:28:08 +00:00
Mark Andrews
12eb8057cb portset 2008-09-08 08:26:28 +00:00
Mark Andrews
ab834d21f1 exports 2008-09-08 08:23:58 +00:00
Mark Andrews
2f88444e9a add portset 2008-09-08 07:06:15 +00:00
Mark Andrews
8343d55b3d windows implementation of isc_time_set 2008-09-08 06:53:10 +00:00
Mark Andrews
66d720025d update isc_time_set's description 2008-09-08 06:51:10 +00:00
Mark Andrews
739240a9d1 remove dns_stats_copy dns_stats_create dns_stats_destroy dns_stats_incrementcounter dns_zone_getstats 2008-09-08 05:59:11 +00:00
Mark Andrews
7e52028a83 remove dns_resolver_createdispatchpool 2008-09-08 05:41:22 +00:00
Mark Andrews
efc8a6ba16 remove dns_dispatch_hash 2008-09-08 05:35:06 +00:00
Mark Andrews
1d77be00c4 default maxsockets to 0 2008-09-08 05:30:35 +00:00
Mark Andrews
d8aa1541f0 move prototype out of #ifdef/#endif 2008-09-04 07:46:02 +00:00
Mark Andrews
0eeaaaf0ae 2398. [bug] Improve file descriptor management. New,
temporary, named.conf option reserved-sockets,
                        default 512. [RT #18344]
2008-09-04 05:56:43 +00:00
Mark Andrews
f5662f41e7 2433. [tuning] Set initial timeout to 800ms. 2008-09-04 04:23:43 +00:00
Tatuya JINMEI 神明達哉
a4037b279b cleanup: unused function parameter [RT #18572] 2008-09-04 00:23:14 +00:00
Mark Andrews
470212919f 2431. [bug] Acl processing could leak memory. [RT #18323] 2008-09-01 05:36:00 +00:00
Automatic Updater
6ebd91a0c7 update copyright notice 2008-08-29 23:47:22 +00:00
Mark Andrews
e72c1e7e46 2430. [bug] win32: isc_interval_set() could round down to
zero if the input was less than NS_INTERVAL
                        nanoseconds.  Round up instead. [RT #18549]
2008-08-29 03:57:38 +00:00
Mark Andrews
c6a1797aff 2428. [bug] dns_iptable_merge() mishandled merges of negative
tables. [RT #18409]
2008-08-27 04:44:18 +00:00
Mark Andrews
abfc643b40 missing pair of '[]'. [RT#18422] 2008-08-26 14:55:37 +00:00
Mark Andrews
5e3f390f05 2426. [bug] libbind: inet_net_pton() can sometimes return the
wrong value if excessively large netmasks are
                        supplied. [RT #18512]
2008-08-26 03:53:04 +00:00
Tatuya JINMEI 神明達哉
ebacb7908a 2425. [bug] named didn't detect unavailable query source addresses
at load time. [RT #18536]
2008-08-26 02:04:20 +00:00
Automatic Updater
e6a6d0778c update copyright notice 2008-08-22 23:47:17 +00:00
Mark Andrews
a7485cd61d silence compiler warning 2008-08-22 05:57:53 +00:00
Mark Andrews
a0fb749d0b adjust log message added by change 2409. [RT #18497] 2008-08-22 05:00:29 +00:00
Evan Hunt
a45f57a2d5 RTT banding. [rt18441] 2008-08-22 04:16:17 +00:00
Mark Andrews
1bfe8851c0 2421. [bug] Handle the special return value of a empty node as
if it was a NXRRSET in the validator. [RT #18447]
2008-08-21 04:43:49 +00:00
Tatuya JINMEI 神明達哉
13d9b8ce94 2420. [func] Add new command line option '-S' for named to specify
the max number of sockets. [RT #18493]
			Use caution: this option may not work for some
			operating systems without rebuilding named.
2008-08-20 23:57:59 +00:00
Mark Andrews
2f420f33bb 2419. [cleanup] Document that isc_socket_create() and isc_socket_open()
should not be used for isc_sockettype_fdwatch sockets.
                        [RT #18521]
2008-08-20 06:16:07 +00:00
Tatuya JINMEI 神明達哉
57f8a60b21 canceled the privious commit (which was made by accident) 2008-08-15 17:52:53 +00:00
Tatuya JINMEI 神明達哉
b55dc7da2e typo: s/dns_displist_t/dispsocketlist_t/ 2008-08-15 17:47:18 +00:00
Tatuya JINMEI 神明達哉
e2fe1fda75 2417. [bug] Connecting UDP sockets for outgoing queries could
unexpectedly fail with an 'address already in use'
			error. [RT #18411]
2008-08-15 17:29:52 +00:00
Tatuya JINMEI 神明達哉
cf225ed6cd 2416. [func] Log file descriptors that cause exceeding the
internal maximum. [RT #18460]
2008-08-13 23:44:18 +00:00
Tatuya JINMEI 神明達哉
52d5489b95 2415. [bug] 'rndc dumpdb' could trigger various assertion failures
in rbtdb.c. [RT #18455]
2008-08-13 02:28:45 +00:00
Tatuya JINMEI 神明達哉
515ada69db 2414. [bug] A masterdump context held the database lock too long,
causing various troubles such as dead lock and
			recursive lock acquisition. [RT #18311, #18456]
2008-08-13 02:20:09 +00:00
Tatuya JINMEI 神明達哉
387bca7a55 2413. [bug] Fixed an unreachable code path in socket.c. [RT #18442] 2008-08-09 19:02:10 +00:00
Automatic Updater
cf5d7a5094 update copyright notice 2008-08-08 06:28:59 +00:00
Mark Andrews
dc842cdcb9 2412. [bug] win32: address a resourse leak. [RT #18374] 2008-08-08 05:06:49 +00:00
Automatic Updater
13caac5ff8 update copyright notice 2008-08-07 23:47:34 +00:00
Tatuya JINMEI 神明達哉
cd9bebfc4c 2411. [bug] Allow using a larger number of sockets than FD_SETSIZE
for select().  To enable this, set ISC_SOCKET_MAXSOCKETS
			at compilation time.  [RT #18433]
2008-08-07 21:28:13 +00:00
Mark Andrews
4db36a15c5 2409. [func] Only log that we disabled EDNS processing if we were
subsequently successful.  [RT #18029]
2008-08-06 06:11:15 +00:00
Tatuya JINMEI 神明達哉
a9579d3386 2408. [bug] A duplicate TCP dispatch event could be sent, which
could then trigger an assertion failure in
			resquery_response().  [RT #18275]
2008-08-05 19:18:02 +00:00
Mark Andrews
101a7960b7 2407. [port] hpux: test for sys/dyntune.h. [RT #18421] 2008-08-05 07:05:47 +00:00
Tatuya JINMEI 神明達哉
dbe9f900ec 2406. [bug] Sockets could be closed too early, leading to
inconsistent states in the socket module. [RT #18298]
2008-08-01 19:04:02 +00:00
Automatic Updater
9d9989f4cc update copyright notice 2008-07-28 23:47:22 +00:00
Mark Andrews
7999db4215 2404. [port] hpux: files unlimited support. 2008-07-28 22:36:36 +00:00
Mark Andrews
481e9b573b 2403. [bug] TSIG context leak. [RT #18341] 2008-07-28 08:39:52 +00:00
Francis Dupont
cbb8a1b7cb Support Solaris 2.11 and over. [RT #18362] 2008-07-25 20:40:07 +00:00
Francis Dupont
bd7e02a337 Expect to get E[MN]FILE errno internal_accept() [RT #18358] 2008-07-24 09:50:21 +00:00
Tatuya JINMEI 神明達哉
0cdb53f093 2400. [bug] Log if kqueue()/epoll_create()/opne(devpoll) fails.
[RT #18297]
2008-07-24 05:19:15 +00:00
Tatuya JINMEI 神明達哉
72e52e1a03 comment wording 2008-07-24 04:54:44 +00:00
Automatic Updater
7415772270 update copyright notice 2008-07-23 23:47:07 +00:00
Mark Andrews
240e53b132 2396. [bug] Don't set SO_REUSEADDR for randomized ports.
[RT #18336]
part 2
2008-07-23 23:27:54 +00:00
Mark Andrews
e8ebdf044d 2397. [bug] gssapi_functions had too many elements. [RT #18355] 2008-07-23 10:26:54 +00:00
Automatic Updater
1d16cf8bb8 update copyright notice 2008-07-22 23:47:04 +00:00
Mark Andrews
9de0f9b0ae 2396. [bug] Don't set SO_REUSEADDR for randomized ports.
[RT #18336]
2008-07-22 03:43:04 +00:00
Mark Andrews
ee6c0ce79e 2395. [port] Avoid warning and no effect from "files unlimited"
on Linux when running as root. [RT #18335]
2008-07-21 03:37:17 +00:00
Evan Hunt
2ca30c1774 Nested acls containing keys could trigger an assertion in acl.c. [rt18166] 2008-07-19 00:09:44 +00:00
Automatic Updater
321b1c0501 update copyright notice 2008-07-18 23:47:01 +00:00
Mark Andrews
61facaae4e change 2390 leaked memory 2008-07-18 06:09:39 +00:00
Mark Andrews
8afedf9ec0 #ifdef EPROTO/#endif 2008-07-18 03:45:55 +00:00
Tatuya JINMEI 神明達哉
3d8b9b9956 2400 [port] hpux: cover additional recvmsg() error codes.
[RT #18301]
2008-07-18 02:43:31 +00:00
Tatuya JINMEI 神明達哉
2f76108082 2390 [bug] dispatch.c could make a false warning on 'odd socket'.
[RT #18301].
2008-07-18 02:35:42 +00:00
Automatic Updater
b6ba2af51b update copyright notice 2008-07-15 23:47:21 +00:00
Mark Andrews
718106da14 update reference 2008-07-15 05:45:34 +00:00
Mark Andrews
d923262186 2387. [bug] Silence compiler warnings in lib/isc/radix.c.
[RT #18147] [RT #18258]
2008-07-15 00:21:16 +00:00
Automatic Updater
b0364f1f3c update copyright notice 2008-07-11 23:47:09 +00:00
Tatuya JINMEI 神明達哉
eeb3e1e133 added some missing definitions 2008-07-11 23:10:09 +00:00
Tatuya JINMEI 神明達哉
158f256a14 2386. [bug] Add warning about too small 'open files' limit
[RT #18269].
2008-07-11 23:05:46 +00:00
Evan Hunt
64ecc88345 Several BSD-related fixes for port range:
- add param.h for NetBSD [rt18228]
 - use correct sysctl strings on NetBSD [rt18230]
 - use net.inet.ip.portrange.hiport/hilast instead of
   first/last on FreeBSD [rt18234]
 - define sysctl strings for DragonFly [rt18235]
 - use sysctl() on OpenBSD because it doesn't support
   sysctlbyname() [rt18231]
2008-07-04 05:52:31 +00:00
Evan Hunt
34350037a8 re-merged rt18194 after fixing problems 2008-07-03 00:13:25 +00:00
Automatic Updater
935c5b4fa2 update copyright notice 2008-07-01 23:47:17 +00:00
Evan Hunt
f41bd47802 merge rt18194 to enable windows build 2008-07-01 03:55:10 +00:00
Tatuya JINMEI 神明達哉
2a03c0af76 prevent null socket dereference in IPv6 interface address adjustment
[RT #18203]
2008-06-26 22:15:40 +00:00
Tatuya JINMEI 神明達哉
4462803b0d minor resource leak in error handling of socket.c [RT #17968] 2008-06-25 23:13:51 +00:00
Tatuya JINMEI 神明達哉
7b0bb3bdc9 work around HP-UX UDP connect behavior [RT #18202] 2008-06-25 22:56:33 +00:00
Tatuya JINMEI 神明達哉
cc758fbc8f typo 2008-06-25 00:09:50 +00:00
Mark Andrews
0d5cc4c53a #include <config.h>, restore 'static inline' 2008-06-24 23:24:35 +00:00
Mark Andrews
391ac1cbfd static inline -> inline 2008-06-24 21:44:11 +00:00
Tatuya JINMEI 神明達哉
1ef53a4a91 newline 2008-06-24 01:58:16 +00:00
Tatuya JINMEI 神明達哉
78576fe0db include sys/sysctl.h only if HAVE_SYS_SYSCTL_H is defined 2008-06-24 01:40:25 +00:00
Automatic Updater
2cf81a3d8a update copyright notice 2008-06-23 23:47:11 +00:00
Tatuya JINMEI 神明達哉
386d3a99c1 2375. [security] Fully randomize UDP query ports to improve
forgery resilience. [RT #17949, #18098]
2008-06-23 19:41:20 +00:00
Tatuya JINMEI 神明達哉
0f39ff74a8 2383. [bug] named could double queries when they resulted in
SERVFAIL due to overkilling EDNS0 failure detection.
2008-06-17 22:35:08 +00:00
Mark Andrews
538a0a40a2 2380. [bug] dns_view_find() was not returning NXDOMAIN/NXRRSET
proofs which, in turn, caused validation failures
                        for insecure zones immediately below a secure zone
                        the server was authoritative for. [RT #18112]
2008-06-17 03:14:20 +00:00
Automatic Updater
97c432334e update copyright notice 2008-06-04 23:47:11 +00:00
Jeremy Reed
b09318463a Remove trailing (extra) comma in enum.
Fixes "Unexpected" error with AIX cc (and probably other old compilers).
As reported on bind-users and confirmed by original poster.
This is for bugs ticket #18151.
2008-06-04 22:32:53 +00:00
Tatuya JINMEI 神明達哉
99a87dacc3 cleanup (removed meaningless condition) [RT #18144] 2008-06-04 01:11:05 +00:00
Automatic Updater
022b5c5a36 update copyright notice 2008-05-30 23:47:01 +00:00
Tatuya JINMEI 神明達哉
5cb56973ea fixed a typo in comment [RT #18130] 2008-05-30 18:27:27 +00:00
Mark Andrews
58253bddc4 2375. [bug] Change #2144 was not complete. 2008-05-29 04:46:32 +00:00
Automatic Updater
11156f82ba update copyright notice 2008-05-21 23:47:01 +00:00
Evan Hunt
080a964a3f "blackhole" ACLs could cause named to segfault due to some
uninitialized memory. [rt18095]
2008-05-21 23:21:33 +00:00
Evan Hunt
5a17fe2916 Default values of zone ACLs were re-parsed each time a new zone was
configured, causing an overconsumption of memory. [rt18092]
2008-05-21 23:17:21 +00:00
Evan Hunt
d230b29aba fixed incorrect TAG_HMACSHA256_BITS value [rt18047] 2008-05-15 00:50:26 +00:00
Automatic Updater
59b6d8259a update copyright notice 2008-05-13 23:47:01 +00:00
Evan Hunt
c72279e756 "rndc freeze" could trigger an assertion in named when called on a
nonexistent zone. [rt18050]
2008-05-13 01:20:24 +00:00
Mark Andrews
e1aeb1569a 2369. [bug] libbind: Array bounds overrun on read in bitncmp().
[RT #18054]
2008-05-12 00:17:27 +00:00
Evan Hunt
69ec1b7eb3 Improve counting of dns_resstatscounter_retry [rt18030] 2008-05-06 01:12:55 +00:00
Mark Andrews
0dba2713de add lock comment 2008-05-03 05:07:13 +00:00
Mark Andrews
816496b221 2366. [bug] Adb shutdown race. [RT #18021] 2008-05-02 04:40:12 +00:00
Tatuya JINMEI 神明達哉
5c024f7877 cleanups for LRU-caching code [RT #18018] 2008-05-01 18:23:07 +00:00
Evan Hunt
28ad0be64e Fix a bug causing dns_acl_isany() to return spurious results [rt18000] 2008-04-29 01:01:42 +00:00
Mark Andrews
8b56b8956f 2363. [port] sunos: pre-set "lt_cv_sys_max_cmd_len=4096;".
[RT #17513]
2008-04-28 23:43:24 +00:00
Evan Hunt
2284b84d74 Make "rrset-order fixed" a compile-time option. settable by
"./configure --enable-fixed-rrset". Disabled by default. [rt17977]
2008-04-23 21:32:57 +00:00
Evan Hunt
4fcd03af9f Missing type in internal_next6() function declaration 2008-04-18 19:47:48 +00:00
Mark Andrews
ba5af4569a fix bad NSID/EDNS interaction [RT #17952] 2008-04-10 07:20:11 +00:00
Michael Graff
d99f88add1 mirror change made on my zonemaint branch; detach iterator then close version 2008-04-09 21:39:46 +00:00
Mark Andrews
537266cadc comment out '#define inline' 2008-04-09 04:31:11 +00:00
Mark Andrews
fbfed7400f "while (1) {} -> do {} while (1);" to suppress a warning 2008-04-09 04:29:16 +00:00
Mark Andrews
375e2c913a 2359. [bug] Fix NSID bug. [RT #17942] 2008-04-07 05:32:52 +00:00
Automatic Updater
705671ffd3 update copyright notice 2008-04-05 23:47:11 +00:00
Mark Andrews
a77b091952 2357. [port] Don't use OpenSSL's engine support in versions before
OpenSSL 0.9.7f. [RT #17922]
2008-04-05 02:35:24 +00:00
Automatic Updater
f052a01ff2 update copyright notice 2008-04-04 23:47:01 +00:00
Mark Andrews
0f4a4d46ab 2357. [port] Don't use OpenSSL's engine support in versions before
OpenSSL 0.9.7f. [RT #17922]
2008-04-04 22:10:49 +00:00
Mark Andrews
9c89fcb69c remove: not yet 2008-04-04 10:02:21 +00:00
Mark Andrews
77abeb5330 rebase NSEC3 code 2008-04-04 05:34:07 +00:00
Tatuya JINMEI 神明達哉
c4fadc8861 2356. [bug] Builtin mutex profiler was not scalable enough.
[RT #17436]

(I plan to merge this to 9.[345])
2008-04-04 01:49:09 +00:00
Tatuya JINMEI 神明達哉
eeb8892daa Global memory context had the wrong name (RT #17932) 2008-04-03 23:14:52 +00:00
Mark Andrews
8f4e45ad7e isc_buffer_putmem->isc_buffer_putstr 2008-04-03 10:45:35 +00:00
Mark Andrews
5eb0f23677 silence signed/unsigned warning 2008-04-03 10:39:13 +00:00
Automatic Updater
ddad355529 update copyright notice 2008-04-03 06:09:05 +00:00
Mark Andrews
8907d8fa04 2355. [func] Extend the number statistics counters available.
[RT #17590]
2008-04-03 05:55:52 +00:00
Mark Andrews
d904beeb3b 2354. [bug] Failed to initialise sone rdatasetheader_t elements.
[RT #17927]
2008-04-03 04:00:38 +00:00
Mark Andrews
9a13b1536d bad pointer 2008-04-03 02:09:18 +00:00
Mark Andrews
db30f4bdcb 2353. [func] Add support for Name Server ID (RFC 5001).
'dig +nsid' requests NSID from server.
                        'request-nsid yes;' causes recursive server to send
                        NSID requests to upstream servers.  Server responds
                        to NSID requests with the string configured by
                        'server-id' option.  [RT #17091]
2008-04-03 02:01:08 +00:00
Mark Andrews
887ef2682c 2352. [bug] Various GSS_API fixups. [RT #17729] 2008-04-03 00:45:23 +00:00
Automatic Updater
a687db7ce8 update copyright notice 2008-04-02 23:46:58 +00:00
Mark Andrews
07555e64d9 2350. [port] win32: IPv6 support. [RT #17797] 2008-04-02 02:56:23 +00:00
Mark Andrews
3f42cf2f3e 2349. [func] Provide incremental re-signing support for secure
dynamic zones. [RT #1091]

back out incorrect branch rt1091 and apply correct branch rt1091a.
2008-04-02 02:37:42 +00:00
Mark Andrews
a0735eeac5 unit16_t -> isc_uint16_t 2008-04-02 01:48:32 +00:00
Automatic Updater
e672951ed2 update copyright notice 2008-04-01 23:47:10 +00:00
Mark Andrews
c6b3c1984c s/USE_ISC_SPNEG/USE_ISC_SPNEGO/ 2008-04-01 05:19:00 +00:00
Mark Andrews
2391def779 remove return 2008-04-01 03:02:20 +00:00
Mark Andrews
a76b380643 2349. [func] Provide incremental re-signing support for secure
dynamic zones. [RT #1091]
2008-04-01 01:37:25 +00:00
Mark Andrews
dec509888a don't use C99 declarations 2008-04-01 00:03:31 +00:00
Automatic Updater
db0008c448 update copyright notice 2008-03-31 23:47:11 +00:00
Mark Andrews
155a0ce6e3 rework USE_ISC_SPNEG so it works with all versions of make 2008-03-31 21:28:16 +00:00
Francis Dupont
2a31bd5310 add EVP and PKCS11 2008-03-31 14:42:51 +00:00
Francis Dupont
4a253e12fc commit rt17451 2008-03-31 13:11:32 +00:00
Mark Andrews
cffe96e267 2346. [func] Memory statistics now cover all active memory contexts
in increased detail. [RT #17580]
2008-03-31 05:00:30 +00:00
Automatic Updater
7405bdffd4 update copyright notice 2008-03-29 23:47:08 +00:00
Automatic Updater
ec6e40f040 update copyright notice 2008-03-28 23:47:02 +00:00
Tatuya JINMEI 神明達哉
e0258ba438 don't use separate memory contexts for res buckets without threads
Download because it doesn't have any benefit and requires more memory.
(RT #17898)
2008-03-28 17:19:11 +00:00
Mark Andrews
f703353673 2345. [bug] named-checkconf failed to detect when forwarders
were set at both the options/view level and in
                        a root zone. [RT #17671]
2008-03-28 03:26:39 +00:00
Automatic Updater
2b91038561 update copyright notice 2008-03-27 23:46:57 +00:00
Tatuya JINMEI 神明達哉
d8eb00152d always enable ISC_xxx_NAMES 2008-03-27 21:08:52 +00:00
Mark Andrews
7e26a2a646 2344. [bug] Improve "logging{ file ...; };" documentation.
[RT #17888]
2008-03-27 03:30:53 +00:00
Automatic Updater
0a7e6db2db update copyright notice 2008-03-20 23:47:00 +00:00
Tatuya JINMEI 神明達哉
a95a9de45c 2343. [bug] (Seemingly) duplicate IPv6 entries could be
created in ADB. [RT #17837]

(plan to merge to 9.[345])
2008-03-20 19:23:42 +00:00
Mark Andrews
ea8564f68a 2342. [func] Use getifaddrs() if available under Linux. [RT #17224] 2008-03-20 04:51:00 +00:00
Mark Andrews
55f580c7fc 2341. [bug] libbind: add missing -I../include for off source
tree builds. [RT #17606]
2008-03-20 04:02:14 +00:00
Mark Andrews
659e104902 platform.h 2008-03-07 01:43:42 +00:00
Mark Andrews
aa02826aac 2339. [port] tru64: support for libbind. [RT #17589] 2008-03-02 22:25:58 +00:00
Mark Andrews
cf50039c14 2339. [port] tru64: support for libbind. [RT #17589] 2008-02-28 05:36:11 +00:00
Mark Andrews
fff7eac50a 2339. [port] tru64: support for libbind. [RT #17589] 2008-02-28 05:36:10 +00:00
Automatic Updater
8665a8cb0f update copyright notice 2008-02-27 23:47:06 +00:00
Mark Andrews
4074b8e734 2339. [port] tru64: support for libbind. [RT #17589] 2008-02-26 23:58:51 +00:00
Evan Hunt
e4d304b70b Fix build error: parameter type was changed in the prototype but not in
the function header.
2008-02-19 17:07:55 +00:00
Automatic Updater
eb0e8ace24 update copyright notice 2008-02-18 23:46:59 +00:00
Mark Andrews
664e11f0b1 2238. [bug] check_ds() could be called with a non DS rdataset.
[RT #17598]
2008-02-18 23:06:54 +00:00
Mark Andrews
23d4dc13e1 2335. [port] sunos: libbind and *printf() support for long long.
[RT #17513]
2008-02-18 04:06:40 +00:00
Mark Andrews
0f3264c8d1 2335. [port] sunos: libbind and *printf() support for long long.
[RT #17513]
2008-02-18 03:50:46 +00:00
Automatic Updater
6475e22cc9 update copyright notice 2008-02-15 23:46:51 +00:00
Mark Andrews
0e30609d7b 2334. [bug] Bad REQUIRES in fromstruct_in_naptr(), off by one
bug in fromstruct_txt(). [RT #17609]
2008-02-15 03:28:49 +00:00
Mark Andrews
9e8947d9e6 2333. [bug] Fix off by one error in isc_time_nowplusinterval().
[RT #17608]
2008-02-15 02:24:04 +00:00
Automatic Updater
f172f06ff2 update copyright notice 2008-02-07 23:46:54 +00:00
Mark Andrews
43581a71ab clean up example code 2008-02-07 02:45:49 +00:00
Mark Andrews
9a7d202077 2330. [bug] Remove potential race condition when handling
over memory events. [RT #17572]

                        WARNING: API CHANGE: over memory callback
                        function now needs to call isc_mem_waterack().
                        See <isc/mem.h> for details.
2008-02-07 02:41:26 +00:00
Automatic Updater
6b3c17b9b0 update copyright notice 2008-02-05 23:47:08 +00:00
Mark Andrews
f1d6c77ecc 2328. [bug] Add AAAA addresses for A.ROOT-SERVERS.NET,
F.ROOT-SERVERS.NET, H.ROOT-SERVERS.NET,
                        J.ROOT-SERVERS.NET, K.ROOT-SERVERS.NET and
                        M.ROOT-SERVERS.NET.
2008-02-05 03:21:20 +00:00
Automatic Updater
8b90c4fdad update copyright notice 2008-02-01 23:46:58 +00:00
Mark Andrews
9dcc44d7b3 2327. [bug] It was possible to dereference a NULL in rbtdb.c.
Implement deadnode processing in zones as we do for
                        caches. [RT #17312]
2008-02-01 04:31:04 +00:00
Automatic Updater
da1e0ac742 update copyright notice 2008-01-31 23:47:06 +00:00
Mark Andrews
5badfc7e00 2326. [bug] It was possible to trigger a INSIST in the acache
processing.
2008-01-31 05:28:46 +00:00
Evan Hunt
458298c4e5 Added unresolved externals for windows build 2008-01-29 00:07:24 +00:00
Automatic Updater
60d19b2f15 update copyright notice 2008-01-27 23:47:20 +00:00
Mark Andrews
1fa2ce7eae 2324. [bug] Fix IPv6 matching against "any;" [RT #17533] 2008-01-27 02:13:34 +00:00
Mark Andrews
7539c231d4 2323. [port] tru64: namespace clash. [RT #17547] 2008-01-27 01:58:19 +00:00
Tatuya JINMEI 神明達哉
29d019169b corrected type 2008-01-25 23:50:38 +00:00
Automatic Updater
4f640b0d8f update copyright notice 2008-01-25 23:46:48 +00:00
Tatuya JINMEI 神明達哉
7ae2fa27e9 2322. [port] MacOS: work around the limitation of setrlimit()
for RLIMIT_NOFILE. [RT #17526]
2008-01-25 19:31:29 +00:00
Automatic Updater
cbf0854acc update copyright notice 2008-01-24 23:47:00 +00:00
Tatuya JINMEI 神明達哉
1c3ed2a83d 2320. [func] Make statistics couters thread-safe for platforms
that support certain atomic operations. [RT #17466]
2008-01-24 02:00:44 +00:00
Automatic Updater
f148623ce2 update copyright notice 2008-01-23 03:22:43 +00:00
Mark Andrews
b356686ecb Fixes needed to compile on windows 2008-01-23 03:10:48 +00:00
Mark Andrews
57708b0d58 regen 2008-01-23 02:25:58 +00:00
Automatic Updater
af3250a9f8 update copyright notice 2008-01-23 02:15:56 +00:00
Mark Andrews
9a727082a0 2318. [port] sunos fixes for libbind. [RT #17514] 2008-01-23 02:06:41 +00:00
Automatic Updater
f731b5d665 update copyright notice 2008-01-22 23:28:04 +00:00
Mark Andrews
e951a79d90 2319. [bug] Silence Coverity warnings in
lib/dns/rdata/in_1/apl_42.c. [RT #174]
2008-01-22 23:17:31 +00:00
Mark Andrews
a59640bf27 2318. [port] ISC_PLATFORM_NEEDTIMESPEC missing from
lib/bind/config.h.in. [RT #17514]
2008-01-22 22:56:43 +00:00
Mark Andrews
9925249931 2316. [port] Missing #include <isc/print.h> in lib/dns/gssapictx.c.
[RT #17513]
2008-01-22 11:47:54 +00:00
Evan Hunt
fc7043d7d1 Used incorrect address family for mapped IPv4 addresses in acl.c. [RT #17519] 2008-01-22 05:37:49 +00:00
Mark Andrews
5497de6931 2313. [cleanup] Silence Coverity warnings. Handle private stacks.
[RT #17447] [RT #17478]
2008-01-22 01:34:15 +00:00
Mark Andrews
f86c5d30de 2312. [cleanup] Silence Coverity warning in lib/isc/unix/socket.c.
[RT #17458]
2008-01-22 01:06:33 +00:00
Tatuya JINMEI 神明達哉
95c5f1d17b noticed the default max-cache-size [RT #17515] 2008-01-22 00:29:03 +00:00
Automatic Updater
140a27777d update copyright notice 2008-01-21 23:46:56 +00:00
Evan Hunt
262c39b236 IPv6 addresses could match IPv4 ACL entries and vice versa. [RT #17462] 2008-01-21 20:38:54 +00:00
Automatic Updater
2f012d936b update copyright notice 2008-01-18 23:46:58 +00:00
Automatic Updater
2f99b54e8e update copyright notice 2008-01-17 23:47:00 +00:00
Mark Andrews
b0b4ba7533 Fix documentation for:
2294.   [func]          Allow the experimental statistics channels to have
                        multiple connections and ACL.
2008-01-17 21:38:24 +00:00
Evan Hunt
1aba9fe678 Fix coverity warnings in acl.c and iptable.c [rt17455] 2008-01-17 08:08:08 +00:00
Tatuya JINMEI 神明達哉
bfcc5ae79a 2294. [func] Allow the experimental statistics channels to have
multiple connections and ACL.
			Note: the stats-server and stats-server-v6 options
			available in the previous beta releases are replaced
			with the generic statistics-channels statment.
2008-01-17 00:15:14 +00:00
Automatic Updater
61a8e638bc update copyright notice 2008-01-16 23:46:50 +00:00
Mark Andrews
6c7f722d31 2307. [bug] Remove infinite loop from lib/dns/sdb.c. [RT #17496] 2008-01-16 21:44:41 +00:00
Automatic Updater
2b0addd3ca update copyright notice 2008-01-15 23:46:59 +00:00
Mark Andrews
fcc2a57e13 2306. [bug] Remove potential race from lib/dns/resolver.c.
[RT #17470]
2008-01-15 12:12:19 +00:00
Mark Andrews
fcdafc1e30 2305. [security] inet_network() buffer overflow. CVE-2008-0122. 2008-01-15 04:02:01 +00:00
Mark Andrews
938b1008d9 remove test "#define inline" 2008-01-15 01:47:17 +00:00
Automatic Updater
9d5ed744c4 update copyright notice 2008-01-14 23:46:56 +00:00
Mark Andrews
f1263d2aa4 2304. [bug] Check returns from all dns_rdata_tostruct() calls.
[RT #17460]
2008-01-14 23:24:24 +00:00
Mark Andrews
efb3fa669f 2302. [bug] Fix memset() calls in lib/tests/t_api.c. [RT #17472] 2008-01-14 12:43:35 +00:00
Automatic Updater
6f2e211d39 update copyright notice 2008-01-10 23:47:01 +00:00
Mark Andrews
2dc8bf19c8 isc_mem_references 2008-01-08 03:37:47 +00:00
Automatic Updater
660a209ee4 update copyright notice 2008-01-04 23:46:55 +00:00
Mark Andrews
8486ce1efa 2287. [bug] Use 'volatile' if the compiler supports it. [RT #17413] 2008-01-04 03:28:39 +00:00
Automatic Updater
1da14e066c update copyright notice 2008-01-02 23:47:02 +00:00
Mark Andrews
92f60809e8 2286. [func] Allow a TCP connection to be used as a weak
authentication method for reverse zones.
                        New update-policy methods tcp-self and 6to4-self.
                        [RT #17378]
2008-01-02 05:13:42 +00:00
Mark Andrews
f5d0f49584 2285. [func] Test framework for client memory context management.
[RT #17377]
2008-01-02 05:03:07 +00:00
Mark Andrews
dc19dcbc23 2283. [bug] TSIG keys were not attaching to the memory
context.  TSIG keys should use the rings
                        memory context rather than the clients memory
                        context. [RT #17377]
2008-01-02 04:24:59 +00:00
Mark Andrews
114c14f8ad 2282. [bug] Acl code fixups. [RT #17346] [RT #17374] 2007-12-21 06:46:47 +00:00
Mark Andrews
604419a812 2282. [bug] Acl code fixups. [RT #17346] 2007-12-20 01:48:29 +00:00
Mark Andrews
3d78993c6d 2281. [bug] Attempts to use undefined acls were not being logged.
[RT #17307]
2007-12-18 01:53:26 +00:00
Mark Andrews
da31aff2f2 2279. [bug] Use setsockopt(SO_NOSIGPIPE), when available,
to protect applications from receiving spurious
                        SIGPIPE signals when using the resolver.
2007-12-14 03:52:40 +00:00
Mark Andrews
e8ca2abed7 2278. [bug] win32: handle the case where Windows returns no
searchlist or DNS suffix. [RT #17354]
2007-12-14 01:40:42 +00:00
Mark Andrews
81d9d7a10e 2277. [bug] Empty zone names were not correctly being caught at
in the post parse checks. [RT #17357]
2007-12-14 01:27:12 +00:00
Mark Andrews
301f6ffbbe 2276. [bug] Install <dst/gssapi.h>. [RT# 17359] 2007-12-11 20:28:55 +00:00
Mark Andrews
0376a287fb adjust bytes/sec calculation to not loose precision 2007-12-02 23:55:01 +00:00
Mark Andrews
ea364efbb0 adjust xfr stats message 2007-12-02 23:47:01 +00:00
Mark Andrews
7314547af7 2274. [func] Log zone transfer statistics. [RT #17161] 2007-12-02 23:21:19 +00:00
Mark Andrews
541b9722d8 2273. [bug] Adjust log level to WARNING when saving inconsistant
stub/slave master and journal files. [RT# 17279]
2007-12-02 22:27:54 +00:00
Mark Andrews
ddaeaddf2b 2272. [bug] Handle illegal dnssec-lookaside trust-anchor names.
[RT #17262]
2007-12-02 21:58:23 +00:00
Michael Graff
f1e733e612 fix rt17100: don't set free callback to NULL here. This was likely early debugging code, and was an error since it is set at the beginning of each request, and should not be modified during the request. 2007-12-02 21:34:20 +00:00
Mark Andrews
23de6c3ccd whitespace 2007-12-02 21:17:03 +00:00
Mark Andrews
d7e8610d31 2270. [bug] dns_db_closeversion() version->writer could be reset
before it is tested. [RT #17290]
2007-12-02 20:27:35 +00:00
Evan Hunt
6f10e05eb0 Add dns_peer_newprifix to libdns.def 2007-11-27 20:44:31 +00:00
Evan Hunt
0899d16ebd Radix tree node_num value could be set incorrectly, causing positive ACL
matches to look like negative ones.  [rt17311]
2007-11-27 19:14:45 +00:00
Mark Andrews
404df30f4f 2265. [bug] Test that the memory context's basic_table is non NULL
before freeing.  [RT #17265]
2007-11-26 04:27:19 +00:00
Mark Andrews
b3128b8b85 2262. [bug] Error status from all but the last view could be
lost. [RT #17292]
2007-11-26 01:51:32 +00:00
Evan Hunt
b6d496d538 Fix memory leak with "any" and "none" ACLs [RT #17272] 2007-11-19 23:13:28 +00:00
Shane Kerr
d55494b8e9 Fix logging when increasing client-per-query.
See RT ticket #17236 for more.
2007-11-01 13:00:17 +00:00
Mark Andrews
33170a4b2b 2258. [bug] Fallback from IXFR/TSIG to SOA/AXFR/TSIG broken.
[RT #17241]
2007-10-31 01:56:47 +00:00
Mark Andrews
2cc262c093 2257. [bug] win32: Use the full path to vcredist_x86.exe when
calling it. [RT #17222]
2007-10-31 01:34:19 +00:00
Mark Andrews
0374545137 2255. [bug] L.ROOT-SERVERS.NET is now 199.7.83.42. 2007-10-30 23:44:01 +00:00
Mark Andrews
c810393bd8 whitespace 2007-10-30 23:30:09 +00:00
Mark Andrews
f183f4c0cd 2254. [bug] timer.c:dispatch() failed to lock timer->lock
when reading timer->idle allowing it to see
                        intermediate values as timer->idle was reset by
                        isc_timer_touch(). [RT #17243]
2007-10-24 00:57:23 +00:00
Michael Graff
b239c8294a commit lruttl to the mainline. A tag was set called skan_lruttl-mainline-base, and I will tag this as skan_lruttl-mainline-merge after this commit 2007-10-19 17:15:53 +00:00
Evan Hunt
9578f883b7 Additional fix for
2252.   [bug]           Fixed errors in sortlist code [RT #17216]

... making sure negation is passed down correctly from a parent ACL
into a nested ACL.
2007-10-19 00:28:20 +00:00
Mark Andrews
a6237c895b Additional changes for:
2252.   [bug]           Fixed errors in sortlist code [RT #17216]
2007-10-18 05:42:03 +00:00
Evan Hunt
dabe7f50bb Fixed some memory management problems in sortlist code [rt17216] 2007-10-12 04:17:18 +00:00
Evan Hunt
adcd4ef11a Clean up build errors on Windows for 9.5.0a7.
Also, changed isc_destroy_radix() to isc_radix_destroy() to match
the naming convention for other radix routines.
2007-09-28 00:11:32 +00:00
Mark Andrews
a1e2170ad5 2250. [func] New flag 'memstatistics' to state whether the
memory statistics file should be written or not.
                        Additionally named's -m option will cause the
                        statistics file to be written. [RT #17113]
2007-09-26 03:22:45 +00:00
Evan Hunt
8327cdb88f Fixes for several errors found by Coverity. [rt17160] 2007-09-24 17:18:25 +00:00
Mark Andrews
8bedd9647f 2245. [bug] Validating lack of DS records at trust anchors wasn't
working. [RT #17151]
2007-09-19 03:38:56 +00:00
Mark Andrews
69f3cb5abc Part 3 of:
2233.   [func]          Add support for O(1) ACL processing, based on
                        radix tree code originally written by kevin
                        brintnall. [RT #16288]
2007-09-19 03:03:29 +00:00
Mark Andrews
ca84283333 2244. [func] Allow the check of nameserver names against the
SOA MNAME field to be disabled by specifying
                        'notify-to-soa yes;'.  [RT #17073]
2007-09-18 00:22:31 +00:00
Shane Kerr
e6555b0467 Allow configuration files without a newline at the end now parse
without error. Should allow Windows users to edit their configuration
files with NOTEPAD.EXE, or other text editors that don't believe in a
final newline.

See RT ticket #17120 for more.
2007-09-17 09:56:29 +00:00
Mark Andrews
e2c3f8059e 2238. [bug] It was possible to trigger a REQUIRE when a
validation was cancelled. [RT #17106]
2007-09-14 05:43:05 +00:00
Mark Andrews
a7b7a4ebc3 2237. [bug] libbind: res_init() was not thread aware. [RT #17123] 2007-09-14 05:32:25 +00:00
Mark Andrews
23450c23fd 2235. [bug] dnssec-signzone failed to preserve the case of
of wildcard owner named. [RT #17085]
2007-09-14 04:32:50 +00:00
Mark Andrews
b6384e6f77 2235. [bug] <isc/atomic.h> was not being installed. [RT #17135] 2007-09-14 04:10:00 +00:00
Mark Andrews
de05f7d061 2235. [bug] <isc/atomic.h> was not being installed. [RT #17135] 2007-09-14 03:40:36 +00:00
Mark Andrews
12e0477d4e Part 2 of:
2233.   [func]          Add support for O(1) ACL processing, based on
                        radix tree code originally written by kevin
                        brintnall. [RT #16288]
2007-09-14 01:46:06 +00:00
Evan Hunt
7de2c6e6d5 Fix compiler warnings on SCO OSr5 2007-09-13 04:48:16 +00:00
Evan Hunt
d468b1b7b2 Fix compiler warnings on SCO OSr5 2007-09-13 04:45:18 +00:00
Automatic Updater
2c94a0e56d update copyright notice 2007-09-12 23:46:47 +00:00
Evan Hunt
3181d0e359 Add support for O(1) ACL processing, based on radix tree code originally
written by kevin brintnall. [RT #16288]
2007-09-12 01:46:28 +00:00
Evan Hunt
c7e266b7e5 Add support for O(1) ACL processing, based on radix tree code originally
written by kevin brintnall. [RT #16288]
2007-09-12 01:09:08 +00:00
Mark Andrews
85db2b5fb3 2232. [bug] dns_adb_findaddrinfo() could fail and return
ISC_R_SUCCESS. [RT #17137]
2007-09-11 02:18:38 +00:00
Mark Andrews
709220567f 2230. [bug] We could INSIST reading a corrupted journal.
[RT #17132]
2007-09-07 05:14:33 +00:00
Mark Andrews
adc3f2c0fd 2229. [bug] Null pointer dereference on dispatch pool creation
failure. [RT #17133]
2007-09-06 10:00:19 +00:00
Mark Andrews
6f4375f230 missing ISC_FORMAT_PRINTF 2007-09-02 23:06:59 +00:00
Mark Andrews
3325fd0475 silence warning message 2007-09-02 23:02:53 +00:00
Mark Andrews
8a45eeebb8 2225. [bug] More support for systems with no IPv4 addresses.
[RT #17111]
2007-08-30 06:02:28 +00:00
Mark Andrews
d4034b48fd 2224. [bug] Defer journal compaction if a xfrin is in progress.
[RT #17119]

2223.   [bug]           Make a new journal when compacting. [RT #17119]
2007-08-30 05:08:42 +00:00
Mark Andrews
ee4bbc8454 2222. [func] named-checkconf now checks server key references.
[RT #17097]
2007-08-29 03:23:46 +00:00
Automatic Updater
271c4c7ffa update copyright notice 2007-08-28 07:20:43 +00:00
Mark Andrews
f568dad6c7 2221. [bug] Set the event result code to reflect the actual
record content when a cache update is rejected
                        due to a more credible answer existing. [RT #17017]
2007-08-28 01:37:18 +00:00
Mark Andrews
8e74bfb604 2220. [bug] win32: Address a race condition in final shutdown of
the Windows socket code. [RT #17028]
2007-08-28 00:39:15 +00:00
Mark Andrews
3eab85ca54 2218. [bug] Remove unnecessary REQUIRE from dns_validator_create().
[RT #16976]
2007-08-27 04:36:54 +00:00
Mark Andrews
557bcc2092 2216. [cleanup] Fix a number of errors reported by Coverity.
[RT #17094]
2007-08-27 03:32:27 +00:00
Mark Andrews
c60eaaf9b3 2215. [bug] Bad REQUIRE check isc_hmacsha1_verify(). [RT #17094] 2007-08-27 03:27:53 +00:00
Mark Andrews
634a4da584 2214. [bug] Deregister OpenSSL lock callback when cleaning
up.  Reorder OpenSSL cleanup so that RAND_cleanup()
                        is called before the locks are destroyed. [RT #17098]
2007-08-27 03:04:17 +00:00
Mark Andrews
5059b393e8 2210. [bug] Deleting class specific records via UPDATE could
fail.  [RT #17074]
2007-08-14 00:25:08 +00:00
Michael Graff
d8acf6268a Use enum values (isc_sockettype_tcp) rather than integers (2) 2007-07-27 14:28:04 +00:00
Michael Graff
a84724de8d Remove the attribute(__always_inline__) tag, as it generates warnings
on non-BSD OSs.  It was really optional anyway, but seemed like a good
idea.
2007-07-27 14:22:53 +00:00
Michael Graff
aa43623600 fix atomic.h warnings; reviewed by Mark 2007-07-23 16:10:15 +00:00
Mark Andrews
0bec7785b0 9.5.0a6 2007-07-09 02:39:38 +00:00
Mark Andrews
5888f62c20 2205. [bug] libbind: change #2119 broke thread support. [RT #16982] 2007-07-09 01:43:23 +00:00
Mark Andrews
8edb532ca2 silence "Different types treated as unsigned for >." warning 2007-06-27 04:10:44 +00:00
Mark Andrews
a095cd0ef5 replace gettimeofday with isc_time_now 2007-06-26 06:02:37 +00:00
Mark Andrews
60df7a9c76 s/u_int16_t/isc_uint16_t/ 2007-06-26 05:00:53 +00:00
Mark Andrews
eceb191186 2203. [security] Query id generation was cryptographically weak.
[RT # 16915]
2007-06-26 04:11:52 +00:00
Mark Andrews
07072c9456 2203. [security] Query id generation was cryptographically weak.
[RT # 16915]
2007-06-26 02:52:15 +00:00
Automatic Updater
70e5a7403f update copyright notice 2007-06-19 23:47:24 +00:00
Mark Andrews
6133734cec 2200. [bug] The search for cached NSEC records was stopping to
early leading to excessive DLV queries. [RT #16930]
2007-06-19 06:19:29 +00:00
Automatic Updater
ec5347e2c7 update copyright notice 2007-06-18 23:47:57 +00:00
Mark Andrews
2f8d63983c regen 2007-06-18 23:37:20 +00:00
Mark Andrews
47ee25b1f5 2199. [bug] win32: don't call WSAStartup() while loading dlls.
[RT #16911]
2007-06-18 03:36:51 +00:00
Mark Andrews
32391301db 2198. [bug] win32: RegCloseKey() could be called when
RegOpenKeyEx() failed. [RT #16911]
2007-06-18 03:05:46 +00:00
Mark Andrews
0cedbe4ab5 2197. [bug] Add INSIST to catch negative responses which are
not setting the event result code appropriately.
                        [RT #16909]
2007-06-18 02:34:21 +00:00
Mark Andrews
f05a4bf2bf 2196. [port] win32: yield processor while waiting for once to
to complete. [RT# 16958]
2007-06-18 01:16:46 +00:00
Mark Andrews
83ef207a84 2194. [bug] Close journal before calling 'done' in xfrin.c. 2007-05-24 02:55:05 +00:00
Mark Andrews
e078f002c0 2194. [bug] Close journal before calling 'done' in xfrin.c. 2007-05-24 01:35:22 +00:00
Mark Andrews
de8e5f2c8d dns_viewlist_findzone 2007-05-21 04:47:12 +00:00
Automatic Updater
feac7b8b38 update copyright notice 2007-05-21 03:46:42 +00:00
Mark Andrews
bc6af069c8 2190. [func] Make fallback to plain DNS from EDNS due to timeouts
more visible.  New logging category "edns-disabled".
                        [RT #16871]
2007-05-21 02:03:22 +00:00
Mark Andrews
4bb0f1046f 2189. [bug] Handle socket() returning EINTR. [RT #15949] 2007-05-21 01:55:10 +00:00
Automatic Updater
1415fce15f update copyright notice 2007-05-18 23:46:58 +00:00
Mark Andrews
30753c7590 regen 2007-05-18 06:33:28 +00:00
Mark Andrews
79e3817e2c 2186. [port] cygwin: libbind: check for struct sockaddr_storage
independently of IPv6. [RT #16482]
2007-05-18 06:29:37 +00:00
Mark Andrews
2d78cc9624 2185. [port] sunos: libbind: check for ssize_t, memmove() and
memchr(). [RT #16463]
2007-05-18 06:22:03 +00:00
Mark Andrews
9860862ced 2183. [bug] dnssec-signzone didn't handle offline private keys
well.  [RT #16832]
2007-05-18 05:50:35 +00:00
Mark Andrews
25e2824175 2182. [bug] dns_dispatch_createtcp() and dispatch_createudp()
could return ISC_R_SUCCESS when they ran out of
                        memory. [RT #16365]
2007-05-18 05:30:23 +00:00
Automatic Updater
34e9f5c3b6 update copyright notice 2007-05-16 23:46:54 +00:00
Mark Andrews
b4bfa6a806 unexpeced/unexpected 2007-05-16 06:58:33 +00:00
Mark Andrews
63aaac8137 2181. [port] sunos: libbind: add paths.h from BIND 8. [RT #16462] 2007-05-16 06:29:34 +00:00
Automatic Updater
db529702d0 update copyright notice 2007-05-15 23:46:57 +00:00
Mark Andrews
40aadb6a14 2179. [func] 'rndc command zone' will now find 'zone' if it is
unique to all the views. [RT #16821]
2007-05-15 02:38:34 +00:00
Mark Andrews
77397daf05 2177. [bug] Array bounds overrun on read (rcodetext). [RT #16798] 2007-05-15 01:54:49 +00:00
Automatic Updater
af1e34f918 update copyright notice 2007-05-10 23:46:54 +00:00
Mark Andrews
a5d7c242b5 2175. [bug] win32: window broadcast condition variable support
was broken. [RT #16592]
2007-05-09 23:49:37 +00:00
Automatic Updater
bb4e20398f update copyright notice 2007-05-02 23:46:54 +00:00
Mark Andrews
1de5f8f809 2174. [bug] I/O errors should always be fatal when reading
master files. [RT #16825]
2007-05-02 04:06:24 +00:00
Mark Andrews
a05f23d07e 2171. [bug] Handle breaks in DNSSEC trust chains where the parent
servers are not DS aware (DS queries to the parent
                        return a referral to the child).
2007-04-27 06:13:29 +00:00
Mark Andrews
9c33579709 dns_zone_setqueryonacl 2007-04-04 02:47:55 +00:00
Mark Andrews
278a75dbfe 2292bis -> RFC 3542 2007-04-02 02:03:55 +00:00
Automatic Updater
858ad8db23 update copyright notice 2007-03-29 23:47:04 +00:00
Mark Andrews
819b98479e 2165. [func] Allow the destination address of a query to determine
if we will answer the query or recurse.
                        allow-query-on, allow-recursion-on and
                        allow-query-cache-on. [RT #16291]
2007-03-29 06:36:31 +00:00
Mark Andrews
6dfc78fab6 2163. [bug] If only one of query-source and query-source-v6
specified a port the query pools code broke (change
                        2129).  [RT #16768]
2007-03-29 04:13:22 +00:00
Automatic Updater
87bff9accd update copyright notice 2007-03-14 23:46:54 +00:00
Mark Andrews
65085946d4 2162. [func] Allow "rrset-order fixed" to be disabled at compile
time. [RT #16665]
: ----------------------------------------------------------------------
2007-03-14 05:57:10 +00:00
Automatic Updater
67a00bc40b update copyright notice 2007-03-12 23:46:48 +00:00
Mark Andrews
37d373d886 2160. [bug] libisc wasn't handling NULL ifa_addr pointers returned
from getifaddrs(). [RT #16708]
2007-03-12 05:59:08 +00:00
Mark Andrews
62ea33ba1a 2159. [bug] Array bounds overrun in acache processing. [RT #16710] 2007-03-12 03:37:21 +00:00
Mark Andrews
73c1cc15cc 9.5.0a2 2007-03-06 02:32:46 +00:00
Automatic Updater
1b5a345334 update copyright notice 2007-03-06 02:12:39 +00:00
Mark Andrews
2d4cb13dfb add functions 2007-03-06 01:56:23 +00:00
Mark Andrews
bdf9b9caac add name and tag to socket structure 2007-03-06 01:50:48 +00:00
Mark Andrews
a56f5ada43 2157. [func] dns_db_transfernode() created. [RT #16685]
2156.   [bug]           Fix node reference leaks in lookup.c:lookup_find(),
                        resolver.c:validated() and resolver.c:cache_name().
                        Fix a memory leak in rbtdb.c:free_noqname().
                        Make lookup.c:lookup_find() robust against
                        event leaks. [RT #16685]
2007-03-06 00:38:58 +00:00
Automatic Updater
adea559405 update copyright notice 2007-03-05 23:46:52 +00:00
Mark Andrews
c53a5699c8 2154. [func] Scoped (e.g. IPv6 link-local) addresses may now be
matched in acls by omitting the scope. [RT #16599]
2007-03-05 04:57:57 +00:00
Mark Andrews
acb6a99ccb temorarially comment out INSIST 2007-02-27 03:31:04 +00:00
Automatic Updater
77ab862dca update copyright notice 2007-02-26 23:46:54 +00:00
Mark Andrews
9dabd0455c 2150. [bug] 'rrset-order cyclic' uniformly distribute the
starting point for the first response for a given
                        RRset. [RT #16655]
2007-02-26 23:15:17 +00:00
Mark Andrews
58f32ac26e 2149. [bug] isc_mem_checkdestroyed() failed to abort on
if there were still active memory contexts.
                        [RT #16672]
2007-02-26 22:57:03 +00:00
Mark Andrews
0deee29113 2147. [bug] libbind: remove potential buffer overflow from
hmac_link.c. [RT #16437]
2007-02-26 01:51:43 +00:00
Mark Andrews
340a05967a 2146. [cleanup] Silence Linux's spurious "obsolete setsockopt
SO_BSDCOMPAT" message. [RT #16641]
2007-02-26 01:37:37 +00:00
Mark Andrews
394f4aec21 2145. [bug] Check DS/DLV digest lengths for known digests.
[RT #16622]
2007-02-26 01:20:44 +00:00
Mark Andrews
2e676167cc 2144. [cleanup] Suppress logging of SERVFAIL from forwarders.
[RT #16619]
2007-02-26 01:07:49 +00:00
Mark Andrews
7228a4d9ca 2140. [bug] Handle master files with a modification time that
matches the epoch. [RT# 16612]
2007-02-26 00:42:21 +00:00
Mark Andrews
8363ddb32d 2140. [bug] libbind: missing unlock on pthread_key_create()
failures. [RT #16654]
2007-02-25 23:46:58 +00:00
Automatic Updater
214649f6ee update copyright notice 2007-02-25 23:46:49 +00:00
Mark Andrews
cc2720da38 2139. [bug] dns_view_find() was being called with wrong type
in adb.c. [RT #16670]
2007-02-25 23:24:36 +00:00
Mark Andrews
a9fe4f89d2 update copyright notice 2007-02-14 23:45:44 +00:00
Mark Andrews
10fc76d48a 2138. [bug] Lock order reversal in resolver.c. [RT #16653] 2007-02-14 23:40:01 +00:00
Mark Andrews
25380f483f %ld and (long) cast for size_t 2007-02-14 02:39:44 +00:00
Mark Andrews
cadb5c8591 #ifdef HAVE_LIBXML2 statenames 2007-02-14 02:32:30 +00:00
Mark Andrews
cdce8b88c6 update copyright notice 2007-02-14 00:27:27 +00:00
Mark Andrews
9baec3ca23 2135. [bug] Uninitialised rdataset in sdlz.c. [RT# 16656] 2007-02-13 23:36:06 +00:00
Mark Andrews
96ea716328 2134. [func] Additional statistics support. [RT #16666] 2007-02-13 02:49:08 +00:00
Mark Andrews
149e7eacf0 update copyright notice 2007-02-13 00:04:51 +00:00
Mark Andrews
f31446e6b5 2133. [port] powerpc: Support both IBM and MacOS Power PC
assembler syntaxes. [RT #16647]
2007-02-12 00:50:01 +00:00
Mark Andrews
b11a1ea7d1 missing unlock 2007-02-07 05:40:50 +00:00
Mark Andrews
05c97640f6 uninitalised use 2007-02-07 04:49:18 +00:00
Mark Andrews
0b174d1243 update copyright notice 2007-02-06 00:01:23 +00:00
Mark Andrews
281bab0f36 2129. [func] Provide a pool of UDP sockets for queries to be
made over. See use-queryport-pool, queryport-pool-ports
                        and queryport-pool-updateinterval.  [RT #16415]
2007-02-02 02:18:06 +00:00
Mark Andrews
1f369c2581 update copyright notice 2007-02-01 23:55:21 +00:00
Mark Andrews
fd276c2493 remove SO_BSDCOMPAT reference 2007-02-01 04:40:32 +00:00
Mark Andrews
b0e8629055 regen 2007-01-30 00:25:00 +00:00
Mark Andrews
c1a883f2e0 update copyright notice 2007-01-29 23:57:22 +00:00
Rob Austein
5cd4555ad4 2128. [doc] xsltproc --nonet, update DTD versions. [RT #16635] 2007-01-29 22:16:02 +00:00
Mark Andrews
4abdfc917e regen 2007-01-26 23:29:04 +00:00
Mark Andrews
00499ae65e update copyright notice 2007-01-12 00:14:51 +00:00
Michael Graff
de4f679a17 revert changes accidently committed to mainline 2007-01-10 18:56:20 +00:00
Mark Andrews
f8574167b2 update copyright notice 2007-01-09 23:49:38 +00:00
Mark Andrews
92f56936fb update copyright notice 2007-01-09 03:11:16 +00:00
Mark Andrews
7acb804e7f update copyright notice 2007-01-09 02:44:24 +00:00
Mark Andrews
3559c11fc8 add dns_validator_send 2007-01-09 00:04:02 +00:00
Mark Andrews
b0985f2ac5 DSA_generate_parameters_ex parameters 2007-01-08 03:02:32 +00:00
Mark Andrews
f36c85c3ce update copyright notice 2007-01-08 02:45:04 +00:00
Mark Andrews
2a5600ad8b prime_len -> key->key_size 2007-01-08 02:35:58 +00:00
Mark Andrews
8eb4eca375 2127. [port] Improved OpenSSL 0.9.8 support. [RT #16563] 2007-01-08 01:53:30 +00:00
Mark Andrews
3052274767 2126. [bug] Serialise validation of type ANY responses. [RT #16555] 2007-01-08 01:13:38 +00:00
Mark Andrews
ca48338b3d #ifdef HAVE_LIBXML2 statenames declaration 2007-01-05 07:24:51 +00:00
Mark Andrews
28b14c4e69 update copyright notice 2007-01-05 05:56:05 +00:00
Mark Andrews
e3f66e1617 2124. [bug] It was possible to dereference a freed fetch
context. [RT #16584]
2007-01-04 04:11:03 +00:00
Mark Andrews
edf8e79280 update copyright notice 2007-01-04 00:01:13 +00:00
Michael Graff
ca21196249 implement statistics for sockets. Need to port this to the win32 build too. 2007-01-03 20:57:07 +00:00
Michael Graff
69da4348da add some basic statistics to task.c 2007-01-03 20:23:46 +00:00
Mark Andrews
74d6235d13 isc_time_seconds 2006-12-22 05:26:26 +00:00
Mark Andrews
0aef230aba remove duplicate function 2006-12-22 05:18:53 +00:00
Mark Andrews
4b6f61ea34 cleanup 2006-12-22 04:20:52 +00:00
Michael Graff
b015e6b3e1 make changes on HEAD, not on a branch. 2006-12-22 03:07:57 +00:00
Mark Andrews
ed954ce73b 9.5.0a1 2006-12-22 02:32:59 +00:00
Mark Andrews
148f27aee6 update copyright notice 2006-12-22 01:59:44 +00:00
Mark Andrews
29747dfe5e 2123. [func] Use Doxygen to generate internal documention.
[RT #11398]
2006-12-22 01:46:19 +00:00
Mark Andrews
3b31d6634f don't use C90 constructs 2006-12-21 10:06:17 +00:00
Mark Andrews
186e7f37c9 2122. [func] Experimental http server and statistics support
for named via xml.
2006-12-21 06:03:37 +00:00
Mark Andrews
1372e172d0 2121. [func] Add a 10 slot dead masters cache (LRU) with a 600
second timeout. [RT #16553]
2006-12-18 23:58:14 +00:00
Mark Andrews
d4185b5b3e nuke OVERRIDE_OPENSSL_RAND 2006-12-13 23:56:24 +00:00
Mark Andrews
e21a2904f0 regen 2006-12-12 01:45:21 +00:00
Mark Andrews
23235c00ed 2119. [compat] libbind: allow res_init() to succeed enough to
return the default domain even if it was unable
                        to allocate memory.
2006-12-11 04:35:39 +00:00
Mark Andrews
f2b2de10ce 0 => 0U 2006-12-08 05:09:16 +00:00
Mark Andrews
1814d2108d update copyright notice 2006-12-07 23:57:59 +00:00
Mark Andrews
514aeac2ac 2118. [bug] Handle response with long chains of domain name
compression pointers which point to other compression
                        pointers. [RT #16427]
2006-12-07 06:57:46 +00:00
Mark Andrews
1ea2595e1b 2117. [bug] DNSSEC fixes: named could fail to cache NSEC records
which could lead to validation failures.  named didn't
                        handle negative DS responses that were in the process
                        of being validated.  Check CNAME bit before accepting
                        NODATA proof. To be able to ignore a child NSEC there
                        must be SOA (and NS) set in the bitmap. [RT #16399]
2006-12-07 06:47:36 +00:00
Mark Andrews
e60f01cdd2 2116. [bug] 'rndc reload' could cause the cache to continually
be cleaned. [RT #16401]
2006-12-07 06:27:34 +00:00
Mark Andrews
13290782cb 2115. [bug] 'rndc reconfig' could trigger a INSIST if the
number of masters for a zone was reduced. [RT #16444]
2006-12-07 06:17:06 +00:00
Mark Andrews
58ea8fb1df 2112. [security] Warn if weak RSA exponent is used. [RT #16460] 2006-12-07 05:05:10 +00:00
Mark Andrews
cfcb0881d1 2111. [bug] Fix a number of errors reported by Coverity.
[RT #16507]
2006-12-07 04:46:27 +00:00
Mark Andrews
f041bef2c6 2109. [port] libbind: silence aix 5.3 compiler warnings. [RT #16502] 2006-12-07 03:51:29 +00:00
Mark Andrews
a7dd5f21e9 2108. [func] DHCID support. [RT #16456] 2006-12-07 03:38:39 +00:00
Mark Andrews
21c7ecb9f0 better mcxt handling. remove buffer handling layer violation 2006-12-05 21:59:12 +00:00
Mark Andrews
377231eb95 update copyright notice 2006-12-05 00:13:48 +00:00
Mark Andrews
61fad00204 USE_ENGINE should be conditional on OVERRIDE_OPENSSL_RAND 2006-12-04 05:12:25 +00:00
Mark Andrews
46f681f001 2105. [func] GSS-TSIG support (RFC 3645). 2006-12-04 02:26:05 +00:00
Mark Andrews
289ae548d5 2105. [func] GSS-TSIG support (RFC 3645). 2006-12-04 01:54:53 +00:00
Mark Andrews
7c46a643cb update copyright notice 2006-11-14 01:07:29 +00:00
Michael Graff
20f1bc4434 somehow, new files got committed to mainline, and changes to my branch. Remove them from the mainline for now. 2006-11-13 20:38:06 +00:00
Michael Graff
ea964e3e20 update to mainline's bind9, and make a new branch for it. 2006-11-13 20:07:57 +00:00
Mark Andrews
09b6499ac3 2102. [port] Silence solaris 10 warnings. 2006-11-13 11:55:38 +00:00
Mark Andrews
f0da7dc4bc 2102. [port] Silence solaris 10 warnings. 2006-11-13 05:00:56 +00:00
Mark Andrews
bc192c1183 2102. [port] Silence solaris 10 warnings. 2006-11-10 18:59:39 +00:00
Mark Andrews
1672cc63c1 2102. [port] Silence solaris 10 warnings. 2006-11-09 23:57:58 +00:00
Mark Andrews
6805e4e2c4 2101. [bug] OpenSSL version checks were not quite right.
[RT #16476]
2006-11-07 21:23:06 +00:00
Mark Andrews
a1210da036 2098. [bug] Race in rbtdb.c:no_references(), which occasionally
triggered an INSIST failure about the node lock
                        reference.  [RT #16411]
2006-10-26 05:39:49 +00:00
Mark Andrews
a473029e76 2097. [bug] named could reference a destroyed memory context
after being reloaded / reconfigured. [RT #16428]
2006-10-18 04:18:54 +00:00
Mark Andrews
411118a594 2096. [bug] libbind: handle applications that fail to detect
res_init() failures better.
2006-10-16 22:54:38 +00:00
Mark Andrews
b5d4d4d77f WIN32 not WIN 2006-10-11 03:54:56 +00:00
Mark Andrews
7c0946e74b 2095. [port] libbind: alway prototype inet_cidr_ntop_ipv6() and
net_cidr_ntop_ipv6(). [RT #16388]
2006-10-11 02:18:18 +00:00
Mark Andrews
0695629678 Windows specific compile time test for:
2089.   [security]      Raise the minimum safe OpenSSL versions to
                        OpenSSL 0.9.7l and OpenSSL 0.9.8d.  Versions
                        prior to these have known security flaws which
                        are (potentially) exploitable in named. [RT #16391]
2006-10-11 02:15:59 +00:00
Mark Andrews
14a2b06605 Use F5 as large RSA exponent w/ OpenSSL 0.9.8 2006-10-10 02:30:10 +00:00
Mark Andrews
91ddbb6e4f update copyright notice 2006-10-03 23:50:52 +00:00
Mark Andrews
75720af254 win32 2006-10-02 07:21:53 +00:00
Mark Andrews
bc8711b148 win32 2006-10-02 07:03:05 +00:00
Mark Andrews
5cf0c55948 2090. [port] win32: Visual C++ 2005 command line manifest support.
[RT #16417]
2006-10-02 02:27:41 +00:00
Mark Andrews
fda0a03881 2089. [security] Raise the minimum safe OpenSSL versions to
OpenSSL 0.9.7l and OpenSSL 0.9.8d.  Versions
                        prior to these have known security flaws which
                        are (potentially) exploitable in named. [RT #16391]

2088.   [security]      Change the default RSA exponent from 3 to 65537.
                        [RT #16391]
2006-10-02 01:44:27 +00:00
Mark Andrews
53d3679913 2087. [port] libisc failed to compile on OS's w/o a vsnprintf.
[RT #16382]
2006-10-02 01:29:27 +00:00
Mark Andrews
755df9a92a 2086. [port] libbind: FreeBSD now has get*by*_r() functions.
[RT #16403]
2006-10-02 01:14:36 +00:00
Mark Andrews
f34249bb28 2066. [security] Handle SIG queries gracefully. [RT #16300] 2006-08-31 03:56:36 +00:00
Mark Andrews
1195c1452c update copyright notice 2006-08-30 23:49:58 +00:00
Mark Andrews
7092864f71 2081. [port] libbind: minor 64-bit portability fix in memcluster.c.
[RT #16360]
2006-08-30 23:34:38 +00:00
Mark Andrews
24ee607afa 2080. [port] libbind: res_init.c did not compile on older versions
of Solaris. [RT #16363]
2006-08-30 23:14:17 +00:00
Mark Andrews
2113dfd6e2 2079. [bug] The lame cache was not handling multiple types
correctly. [RT #16361]
2006-08-30 23:09:18 +00:00
Mark Andrews
896e6a0e44 update copyright notice 2006-08-25 05:25:52 +00:00
Mark Andrews
c781727055 2076. [bug] Several files were missing #include <config.h>
causing build failures on OSF. [RT #16341]
2006-08-24 00:17:54 +00:00
Mark Andrews
22e5a52c3b 2075. [bug] The spillat timer event hander could leak memory.
[RT #16357]
2006-08-22 06:11:19 +00:00
Mark Andrews
240e57ab98 2074. [bug] dns_request_create2(), dns_request_create3(),
dns_request_createraw2() and dns_request_createraw3()
                        failed to send multiple UDP requests. [RT #16349]
2006-08-21 00:35:36 +00:00
Mark Andrews
cdb674387c 2073. [bug] Incorrect semantics check for update policy "wildcard".
[RT #16353]
2006-08-21 00:11:43 +00:00
Mark Andrews
02ced31b6a 2072. [bug] We were not generating valid HMAC SHA digests.
[RT #16320]
2006-08-16 03:15:09 +00:00
Mark Andrews
9464f58356 update copyright notice 2006-08-10 23:59:30 +00:00
Mark Andrews
728156dfbd 2071. [port] Test whether gcc accepts -fno-strict-aliasing.
[RT #16324]
2006-08-10 01:57:41 +00:00
Mark Andrews
d4f5efb4d6 2070. [bug] The remote address was not always displayed when
reporting dispatch failures. [RT #16315]
2006-08-10 01:38:15 +00:00
Mark Andrews
cfaf65f53f 2068. [cleanup] Lower incremental tuning message to debug 1.
[RT #16319]
2006-08-08 06:37:12 +00:00
Mark Andrews
f07fe5a1ac 2067. [bug] 'rndc' could close the socket too early triggering
a INSIST under Windows. [RT #16317]
2006-08-04 02:55:37 +00:00
Mark Andrews
ce8cd4a3ef 2065. [bug] libbind: probe for HPUX prototypes for
endprotoent_r() and endservent_r().  [RT 16313]
2006-08-03 01:16:08 +00:00
Mark Andrews
8db2f89e23 spelling 2006-08-01 03:42:56 +00:00
Mark Andrews
8c1fa9afb5 #endif in wrong place 2006-08-01 01:44:13 +00:00
Mark Andrews
393e4679cf 2064. [bug] libbind: silence AIX compiler warnings. [RT #16218] 2006-08-01 01:15:03 +00:00
Mark Andrews
854dac0f18 2063. [bug] Change #1955 introduced a bug which caused the first
'rndc flush' call to not free memory. [RT #16244]
2006-08-01 01:03:27 +00:00
Mark Andrews
a4eea08984 update comment 2006-07-31 02:04:03 +00:00
Mark Andrews
cc7d91bd5c 2061. [bug] Accept expired wildcard message reversed. [RT #16296] 2006-07-24 22:41:59 +00:00
Mark Andrews
f22ef4dfb9 2059. [bug] Search into cache rbtdb could trigger an INSIST
failure while cleaning up a stale rdataset.
                        [RT #16292]
2006-07-24 01:12:45 +00:00
Mark Andrews
84f5576c14 2058. [bug] Adjust how we calculate rtt estimates in the presence
of authoritative servers that drop EDNS and CD
                        requests.  Also fallback to EDNS/512 and plain DNS
                        faster for zones with less than 3 servers.  [RT #16187]
2006-07-22 01:18:35 +00:00
Mark Andrews
7ad89b5ecd update copyright notice 2006-07-21 02:05:58 +00:00
Mark Andrews
be515937fe 2054. [port] freebsd: do not explicitly link against -lpthread.
[RT #16170]
2006-07-20 05:42:09 +00:00
Mark Andrews
0b5d8941bb 2053. [port] netbsd:libbind: silence compiler warnings. [RT #16220] 2006-07-20 03:55:45 +00:00
Mark Andrews
cbef026164 2050. [bug] Parsing of NSAP records was not case insensitive.
[RT #16287]
2006-07-20 03:21:10 +00:00
Mark Andrews
cd7812e4b1 update copyright notice 2006-07-20 01:10:31 +00:00
Mark Andrews
799a39bc80 of -> or 2006-07-19 01:04:08 +00:00
Mark Andrews
2db8db6399 2049. [bug] Restore SOA before AXFR when falling back from
a attempted IXFR when transfering in a zone.
                        Allow a initial SOA query before attempting
                        a AXFR to be requested. [RT #16156]
2006-07-19 00:53:42 +00:00
Mark Andrews
7076f000ea 2048. [bug] It was possible to loop forever when using
avoid-v4-udp-ports / avoid-v6-udp-ports when
                        the OS always returned the same local port.
                        [RT #16182]
2006-07-19 00:42:13 +00:00
Mark Andrews
ce9cfc26a1 log message typo and %d -> %u 2006-07-19 00:24:17 +00:00
Tatuya JINMEI 神明達哉
c6ee5082db 2046. [bug] rbtdb.c:rdataset_setadditional() could cause duplicate
cleanup.
2006-07-06 06:36:51 +00:00
Tatuya JINMEI 神明達哉
3d5430b75a warning fix in a call to isc_atomic_store() [RT#16219] 2006-07-06 06:30:00 +00:00
Mark Andrews
71c66a876e regen 2006-06-29 13:03:32 +00:00
Tatuya JINMEI 神明達哉
9a6522317c 2045. [func] use lock buckets for acache entries to limit memory
consumption. [RT #16183]
2006-06-28 08:28:49 +00:00
Mark Andrews
ef718fa0d9 update copyright notice 2006-06-24 00:25:40 +00:00
Mark Andrews
78ff0e94ea 2044. [port] add support for atomic operations for Itanium.
[RT #16179]
2006-06-21 03:40:34 +00:00
Mark Andrews
5b2c253a96 move .NOTPARALLEL:/.NO_PARALLEL: so not first target 2006-06-21 03:30:37 +00:00
Mark Andrews
ea5775a7fd silence: large integer implicitly truncated to unsigned type 2006-06-21 01:21:59 +00:00
Mark Andrews
1ad94515ee silence: aix 5.3 missing braces warnings 2006-06-20 06:56:43 +00:00
Mark Andrews
b985899251 silence: value computed is not used 2006-06-20 02:50:14 +00:00
Mark Andrews
b6f900cd8d ISC_LOG_INFO -> ISC_LOG_DEBUG(1) 2006-06-13 04:49:18 +00:00
Mark Andrews
d79296d147 2040. [bug] rbtdb no_references() could trigger an INSIST
failure with --enable-atomic.  [RT #16022]
2006-06-07 03:38:04 +00:00
Mark Andrews
03f65be27b update copyright notice 2006-06-07 00:29:46 +00:00
Mark Andrews
9a482d1fce 2039. [func] Check that all buffers passed to the socket code
have been retrieve when the socket event is freed.
                        [RT #16122]

2038.   [bug]           dig/nslookup/host was unlinking from wrong list
                        when handling errors. [RT #16122]
2006-06-06 00:53:36 +00:00
Mark Andrews
472460e05f update copyright notice 2006-06-06 00:11:42 +00:00
Mark Andrews
d48f987725 2037. [func] When unlinking the first or last element in a list
check that the list head points to the element to
                        be unlinked. [RT #15959]
2006-06-05 00:38:56 +00:00
Mark Andrews
a45a6ea2b0 2035. [func] Make falling back to TCP on UDP refresh failure
optional. Default "try-tcp-refresh yes;" for BIND 8
                        compatibility. [RT #16123]
2006-06-04 23:17:07 +00:00
Mark Andrews
15bda40901 2034. [bug] gcc: set -fno-strict-aliasing. [RT #16124] 2006-06-02 03:36:23 +00:00
Mark Andrews
cd18f34923 checkpoint 2006-05-30 04:18:36 +00:00
Mark Andrews
37e75a624c update copyright notice 2006-05-23 23:51:07 +00:00
Mark Andrews
12b1bf8b14 2030. [bug] We were being overly conservative when disabling
openssl engine support. [RT #16030]
2006-05-23 04:49:19 +00:00
Mark Andrews
529035492e 2026. [port] linux: socket.c compatability for old systems.
[RT #16015]
2006-05-19 02:47:18 +00:00
Mark Andrews
11e43ff752 2027. [port] libbind: solaris x68 suport. [RT #16020] 2006-05-19 02:33:40 +00:00
Mark Andrews
cd6d8d61b0 2025. [func] Update "zone serial unchanged" message. [RT #16026] 2006-05-18 02:35:26 +00:00
Mark Andrews
f04809663f 2024. [bug] named emited spurious "zone serial unchanged"
messages on reload. [RT #16027]
2006-05-18 02:03:37 +00:00
Mark Andrews
21b76ee598 2022. [bug] If dnssec validation is disabled only assert CD if
CD was requested. [RT #16037]

2021.   [bug]           dnssec-enable no; triggered a REQUIRE. [RT #16037]
2006-05-18 00:51:02 +00:00
Mark Andrews
5c45d30402 2020. [bug] rdataset_setadditional() could leak memory. [RT #16034] 2006-05-16 04:06:55 +00:00
Mark Andrews
9900a6d0f8 fix comment 2006-05-16 04:00:01 +00:00
Mark Andrews
b66ca17f29 2019. [tuning] Reduce the amount of work performed per quantum
when cleaning the cache. [RT #15986]
2006-05-16 03:54:35 +00:00
Mark Andrews
dc1f18f211 2018. [bug] Checking if the HMAC MD5 private file was broken.
[RT #15960]
2006-05-16 03:44:54 +00:00
Mark Andrews
481d821ad0 comment: cleanng -> cleaning 2006-05-04 02:24:06 +00:00
Mark Andrews
6412902ffc 2015. [cleanup] use-additional-cache is now acache-enable for
consistancy.  Default acache-enable off in BIND 9.4
                        as it requires memory usage to be configured.
                        It may be enabled by default in BIND 9.5 once we
                        have more experience with it.
2006-05-03 01:54:54 +00:00
Mark Andrews
5f7ca73d88 update copyright notice 2006-05-03 00:07:50 +00:00
Shane Kerr
0d8971a4b8 Stats for acache. 2006-05-02 13:04:54 +00:00
Mark Andrews
a8f950ff05 2013. [bug] Handle unexpected TSIGs on unsigned AXFR/IXFR
responses more gracefully. [RT #15941]
2006-05-02 04:07:36 +00:00
Mark Andrews
696d061d14 update copyright notice 2006-04-27 09:36:46 +00:00
Shane Kerr
1e844d04a7 Pulling rt15970 into HEAD. 2006-04-26 12:12:45 +00:00
Shane Kerr
602784c4ce Pulling rt15958 into HEAD. 2006-04-26 12:03:08 +00:00
Mark Andrews
52ece689e0 regen 2006-04-23 10:14:12 +00:00
Mark Andrews
4b3f3cc671 update copyright notice 2006-04-15 01:30:16 +00:00
Michael Graff
80a63e1574 Documentation changes; no functional changes. Some variables were renamed from 'i' to 'index' in heap.h so documentation can be nicer. 2006-04-10 16:28:04 +00:00
Mark Andrews
069a2ad007 update copyright notice 2006-04-03 00:00:42 +00:00
Michael Graff
8c9c09dacf add <string.h> since we call strlen() here 2006-03-21 15:34:02 +00:00
Mark Andrews
adc8179d40 const 2006-03-10 05:00:23 +00:00
Mark Andrews
ecffc3aae3 win32 2006-03-10 03:49:57 +00:00
Mark Andrews
84910d09ee 2009. [bug] libbind: coverity fixes. [RT #15808] 2006-03-09 23:57:56 +00:00
Mark Andrews
d2ef84e07b 2008. [func] It is now posssible to enable/disable DNSSEC
validation from rndc.  This is useful for the
                        mobile hosts where the current connection point
                        breaks DNSSEC (firewall/proxy).  [RT #15592]

                                rndc validation newstate [view]
2006-03-09 23:39:00 +00:00
Mark Andrews
cfe92110ce 2007. [func] It is now possible to explicitly enable DNSSEC
validation.  default dnssec-validation no; to
                        be changed to yes in 9.5.0.  [RT #15674]
2006-03-09 23:21:54 +00:00
Mark Andrews
5929cde251 2005. [bug] libbind: Retransmission timeouts should be
based on which attempt it is to the nameserver
                        and not the nameserver itself. [RT #13548]
2006-03-08 04:06:12 +00:00
Mark Andrews
1412643ba5 2004. [bug] dns_tsig_sign() could pass a NULL pointer to
dst_context_destroy() when cleaning up after a
                        error. [RT #15835]
2006-03-08 03:51:01 +00:00
Mark Andrews
6de9371826 2003. [bug] libbind: The DNS name/address lookup functions could
occasionally follow a random pointer due to
                        structures not being completely zeroed. [RT #15806]
2006-03-08 03:12:24 +00:00
Mark Andrews
366c60aa36 tidy up 2006-03-07 04:58:51 +00:00
Mark Andrews
e1fd585739 update copyright notice 2006-03-07 00:34:55 +00:00
Mark Andrews
daba3af103 2002 [bug] libbind: tighten the constraints on when
struct addrinfo._ai_pad exists.  [RT #15783]
2006-03-06 02:22:36 +00:00
Mark Andrews
59d84d1b07 2001. [func] Check the KSK flag when updating a secure dynamic zone.
New zone option "update-check-ksk yes;".  [RT #15817]
2006-03-06 01:27:52 +00:00
Mark Andrews
ea8874ec35 update copyright notice 2006-03-05 23:58:52 +00:00
Mark Andrews
10b03beca1 (char *) -> (unsigned char *) 2006-03-03 04:46:14 +00:00
Mark Andrews
1c25cad9bd add -Wpointer-arith to gcc 2006-03-03 03:29:40 +00:00
Mark Andrews
92eb0a6068 use (char *) for pointer arithmetic 2006-03-03 03:02:55 +00:00
Mark Andrews
d76ed813a5 1999. [func] Implement "rrset-order fixed". [RT #13662] 2006-03-03 00:43:35 +00:00
Mark Andrews
b6d199bd6a 1998. [bug] Restrict handling of fifos as sockets to just SunOS.
This allows named to connect to entropy gathering
                        daemons that use fifos instead of sockets. [RT #15840]
2006-03-02 23:25:05 +00:00
Mark Andrews
1d7b3b6dac 1997. [bug] Named was failing to replace negative cache entries
when a positive one for the type was learnt.
                        [RT #15818]
2006-03-02 23:00:32 +00:00
Mark Andrews
f27eae9cfe 1996. [bug] nsupdate: if a zone has been specified it should
appear in the output of 'show'. [RT #15797]
2006-03-02 01:57:20 +00:00
Mark Andrews
641f68d427 update copyright notice 2006-03-02 00:37:23 +00:00
Mark Andrews
25c18fded0 1994. [port] OpenSSL 0.9.8 support. [RT #15694] 2006-03-01 02:32:46 +00:00
Mark Andrews
7042126e8a 1993. [bug] Log messsage, via syslog, were missing the space
after the timestamp if "print-time yes" was specified.
                        [RT #15844]
2006-03-01 02:20:41 +00:00
Mark Andrews
2c4ae1d331 1992. [bug] Not all incoming zone tranfer messages included the
view.  [RT #15825]
2006-03-01 02:05:11 +00:00
Mark Andrews
45e1bd6358 1991. [cleanup] The configuration data, once read, should be treated
as readonly.  Expand the use of const to enforce this
                        at compile time. [RT #15813]
2006-02-28 02:39:52 +00:00
Mark Andrews
c4008fdd56 1990. [bug] libbind: isc's override of broken gettimeofday()
implementions was not always effective.
                        [RT #15709]
2006-02-27 23:55:15 +00:00
Mark Andrews
95b484c958 fix minor typos 2006-02-26 22:57:18 +00:00
Mark Andrews
69f56d4ef2 remove redundant memset 2006-02-26 22:28:22 +00:00
Mark Andrews
472ce617b7 1988. [bug] Remove a bus error from the SHA256/SHA512 support.
[RT #15878]
2006-02-24 00:03:15 +00:00
Mark Andrews
3432cd6979 update copyright notice 2006-02-22 23:50:10 +00:00
Mark Andrews
fcbc5d2353 post merge problem 2006-02-22 01:55:10 +00:00
Mark Andrews
c5387e6942 1987. [func] DS/DLV SHA256 digest algorithm support. [RT #15608] 2006-02-21 23:49:51 +00:00
Mark Andrews
d00e58d481 1986. [func] Report when a zone is removed. [RT #15849] 2006-02-21 23:12:27 +00:00
Mark Andrews
0cfc2b930c update copyright notice 2006-02-19 06:50:48 +00:00
Mark Andrews
f3a8cd3835 1985. [protocol] DLV has now been assigned a official type code of
32769. [RT #15807]
2006-02-17 01:04:14 +00:00
Mark Andrews
7d4a465de0 1597. [func] Allow notify-source and query-source to be specified
on a per server basis similar to transfer-source.
2006-02-17 00:24:21 +00:00
Mark Andrews
fd3cdd15de update copyright notice 2006-02-16 23:51:33 +00:00
Mark Andrews
6e373c5025 1983. [func] Two new update policies. "selfsub" and "selfwild".
[RT #12895]
2006-02-16 01:34:24 +00:00
Mark Andrews
3bf783a6d4 1982. [bug] DNSKEY was being accepted on the parent side of
a delegation.  KEY is still accepted there for
                        RFC 3007 validated updates. [RT #15620]
2006-02-16 00:59:38 +00:00
Mark Andrews
2043039104 update copyright notice 2006-02-13 23:50:54 +00:00
Mark Andrews
a37e44f107 1981. [bug] win32: condition.c:wait() could fail to reattain
the mutex lock.
2006-02-13 03:35:47 +00:00
Mark Andrews
e0fe05b5ae update copyright notice 2006-02-03 23:51:39 +00:00
Mark Andrews
43501e6570 1978. [port] Handle systems which have a broken recvmsg().
[RT #15742]
2006-02-02 23:07:53 +00:00
Mark Andrews
d140ae2834 1976. [bug] Handle systems with no IPv4 addresses. [RT #15695] 2006-02-02 22:32:27 +00:00
Mark Andrews
b32bf402e0 comment typo 2006-02-01 22:38:56 +00:00
Mark Andrews
e256ce5f47 update copyright notice 2006-02-01 00:10:35 +00:00
Mark Andrews
bc4f5d111a silence compiler warnings 2006-01-31 23:01:23 +00:00
Mark Andrews
aa520ab1cb silence compiler warning 2006-01-31 01:58:12 +00:00
Mark Andrews
d3bcf7adca 1975. [bug] libbind: isc_gethexstring() could misparse multi-line
hex strings with comments. [RT #15814]
2006-01-31 00:54:46 +00:00
Mark Andrews
fc7685a7f1 silence compiler warnings 2006-01-31 00:35:21 +00:00
Mark Andrews
68e0fce2df set BYTE_ORDER from WORDS_BIGENDIAN if not otherwise defined 2006-01-31 00:10:57 +00:00
Mark Andrews
605b07cadd regen 2006-01-29 22:57:16 +00:00
Mark Andrews
26e2a07a0b update copyright notice 2006-01-27 23:57:46 +00:00
Mark Andrews
c6d4f78152 1973. [func] TSIG HMACSHA1, HMACSHA224, HMACSHA256, HMACSHA384 and
HMACSHA512 support. [RT #13606]
2006-01-27 02:35:15 +00:00
Mark Andrews
d0207ee71b 1955. [bug] Pre-allocate the cache cleaning interator. [RT #14998]
Fix the CLEANER_IDLE macro to make this change complete. [RT #15815]
2006-01-26 22:56:04 +00:00
Mark Andrews
9d34316481 update copyright notice 2006-01-10 23:50:42 +00:00
Mark Andrews
3fc7753efd 1971. [port] linux: make detection of missing IF_NAMESIZE more
robust. [RT #15443]
2006-01-10 05:06:00 +00:00
Mark Andrews
4cf50d58d6 style 2006-01-10 02:59:56 +00:00
Mark Andrews
141132c272 update copyright notice 2006-01-07 00:23:35 +00:00
Mark Andrews
00b872e4f7 4255: Using DNS to Securely Publish Secure Shell (SSH) Key Fingerprints 2006-01-06 23:16:00 +00:00
Mark Andrews
e88d4e2ebd 1969. [bug] win32: the socket code was freeing the socket
structure too early. [RT #15776]
2006-01-06 01:32:08 +00:00
Mark Andrews
fde1a334ee 1968. [bug] Missing lock in resolver.c:validated(). [RT #15739] 2006-01-06 01:05:46 +00:00
Mark Andrews
14c80ce1b2 1966. [bug] Don't set CD when we have fallen back to plain DNS.
[RT #15727]
2006-01-06 00:38:21 +00:00
Mark Andrews
1b06367c34 update copyright notice 2006-01-06 00:01:44 +00:00
Mark Andrews
dc6da18ccb 1964. [func] Seperate out MX and SRV to CNAME checks. [RT #15723] 2006-01-05 23:45:34 +00:00
Mark Andrews
94b58e01ae 1963. [port] Tru64 4.0E doesn't support send() and recv().
[RT #15586]
2006-01-05 03:42:53 +00:00
Mark Andrews
a295fbb55c 1961. [bug] Check the port and address of responses forwarded
to dispatch. [RT #15474]
2006-01-05 03:26:01 +00:00
Mark Andrews
a1bc941093 1959. [func] Control the zeroing of the negative response TTL to
a soa query.  Defaults "zero-no-soa-ttl yes;" and
                        "zero-no-soa-ttl-cache no;". [RT #15460]
2006-01-05 02:19:02 +00:00
Mark Andrews
d9c4f954a1 1958. [bug] Named failed to update the zone's secure state
until the zone was reloaded. [RT #15412]
2006-01-05 01:09:14 +00:00
Mark Andrews
6657a9e2d8 1957. [bug] Dig mishandled responses to class ANY queries.
[RT #15402]
2006-01-05 00:58:22 +00:00
Mark Andrews
118394ef2e 1956. [bug] Improve cross compile support, 'gen' is now built
by native compiler.  See README for additional
                        cross compile support information. [RT #15148]
2006-01-05 00:30:34 +00:00
Mark Andrews
6178552326 1955. [bug] Pre-allocate the cache cleaning interator. [RT #14998] 2006-01-05 00:13:58 +00:00
Mark Andrews
08c9026166 1953. [func] Named now falls back to advertising EDNS with a
512 byte receive buffer if the initial EDNS queries
                        fail.  [RT #14852]

1952.   [func]          The maximum EDNS UDP response named will send can
                        now be set in named.conf (max-udp-size).  This is
                        independent of the advertised receive buffer
                        (edns-udp-size). [RT #14852]
2006-01-05 00:01:46 +00:00
Mark Andrews
acb4f52369 update copyright notice 2006-01-04 23:50:24 +00:00
Mark Andrews
2b66a51a7d 1950. [port] Solaris 2.5.1 and earlier cannot bind() then connect()
a TCP socket. This prevents the source address being
                        set for TCP connections. [RT #15628]
2006-01-04 04:15:55 +00:00
Mark Andrews
e9733bc599 1949. [func] Addition memory leakage checks. [RT #15544] 2006-01-04 03:16:47 +00:00
Mark Andrews
332ed11af0 1948. [bug] If was possible to trigger a REQUIRE failure in
xfrin.c:maybe_free() if named ran out of memory.
                        [RT #15568]
2006-01-04 03:03:11 +00:00
Mark Andrews
fabf2ee6b0 1947. [func] It is now possible to configure named to accept
expired RRSIGs.  Default "dnssec-accept-expired no;".
                        Setting "dnssec-accept-expired yes;" leaves named
                        vulnerable to replay attacks.  [RT #14685]
2006-01-04 02:35:49 +00:00
Mark Andrews
35da39a7f1 update copyright notice 2006-01-04 00:37:24 +00:00
Mark Andrews
1c91b0a651 1946. [bug] resume_dslookup() could trigger a REQUIRE failure
when using forwarders. [RT #15549]
2006-01-03 07:12:52 +00:00
Mark Andrews
be2c2c29a8 1944. [cleanup] isc_hash_create() does not need a read/write lock.
[RT #15522]
2006-01-03 05:51:15 +00:00
Mark Andrews
503ab4e136 1943. [bug] Set the loadtime after rollimg forward the journal.
[RT #15647]
2006-01-03 05:26:29 +00:00
Michael Graff
fd8302422b Fix a socket leak I created. 2005-12-07 04:21:27 +00:00
Michael Graff
03aa32f0ab Remove some code that may make tests fail, although it's unlikely... 2005-12-07 03:55:06 +00:00
Michael Graff
36ca9f636b Don't close the file descriptor for fdwatch socket shutdowns. Let the application do this, since it is passed in, and it may have other uses or shutdown to do on it first. 2005-12-06 18:11:54 +00:00
Michael Graff
e6c3041c28 add file descriptor watching functions, Unix only. 2005-12-06 16:54:49 +00:00
Mark Andrews
49521b6926 win32 2005-12-06 02:23:58 +00:00
Mark Andrews
cf224bbf7b 1942. [bug] If the name of a DNSKEY match that of one in
trusted-keys do not attempt to validate the DNSKEY
                        using the parents DS RRset. [RT #15649]
2005-12-04 23:54:01 +00:00
Mark Andrews
00afe78ab2 1941. [bug] ncache_adderesult() should set eresult even if no
rdataset is passed to it. [RT #15642]
2005-11-30 22:51:58 +00:00
Mark Andrews
470c726bc8 silence dereferencing type-punned pointer will break strict-aliasing rules warning 2005-11-30 05:01:34 +00:00
Mark Andrews
2674e1a455 1940. [bug] Fixed a number of error conditions reported by
Coverity.
2005-11-30 03:33:49 +00:00
Mark Andrews
c481327e75 silence compiler warnings [RT #15562] 2005-11-03 22:59:53 +00:00
Mark Andrews
60ab03125c 1939. [bug] The resolver could dereference a null pointer after
validation if all the queries have timed out.
                        [RT #15528]

1938.   [bug]           The validator was not correctly handling unsecure
                        negative responses at or below a SEP. [RT #15528]
2005-11-03 00:51:55 +00:00
Mark Andrews
580e9fc24a pullup bind8:
1721.   [bug]           Change #1718 was incomplete.  Missing error return
                        on out of memory.
2005-11-03 00:01:52 +00:00
Mark Andrews
405ae948cc 1937. [bug] sdlz doesn't handle RRSIG records. [RT #15564] 2005-11-02 23:22:34 +00:00
Mark Andrews
7d116211ec 1936. [bug] The validator could leak memory. [RT #5544] 2005-11-02 01:46:31 +00:00
Mark Andrews
625d1dd4f4 fix isc_timer_gettype return type 2005-10-26 06:46:36 +00:00
Mark Andrews
1425217e5c spelling arguement vs arguments 2005-10-26 04:35:56 +00:00
Mark Andrews
203629e729 1932. [bug] dump_rdataset_raw() had a incorrect INSIST. [RT #15534] 2005-10-21 03:13:59 +00:00
Mark Andrews
b3d1e3a945 silence compiler warning 2005-10-17 03:47:10 +00:00
Mark Andrews
b4a116fc55 win32 2005-10-17 01:25:05 +00:00
Mark Andrews
1d9b058a64 silence compiler 2005-10-14 05:44:26 +00:00
Mark Andrews
01cb276b7e silence compiler 2005-10-14 05:27:12 +00:00
Mark Andrews
645ef8ba31 update copyright notice 2005-10-14 02:14:29 +00:00
Mark Andrews
216030f284 1930. [port] HPUX: ia64 support. [RT #15473]
1929.   [port]          FreeBSD: extend use of PTHREAD_SCOPE_SYSTEM.
2005-10-14 01:18:47 +00:00
Mark Andrews
16ee4fe11b 1930. [port] HPUX: ia64 support. [RT #15473]
1929.   [port]          FreeBSD: extend use of PTHREAD_SCOPE_SYSTEM.
2005-10-14 01:14:08 +00:00
Mark Andrews
cedb0bd0c1 regen 2005-10-13 03:14:05 +00:00
Mark Andrews
982e072a50 1927. [bug] Access to soanode or nsnode in rbtdb violated the
lock order rule and could cause a dead lock.
                        [RT# 15518]
2005-10-13 01:58:32 +00:00
Mark Andrews
037b732f88 update
1920.   [bug]           The cache rbtdb lock array was too small to
                        have the desired performance characteristics.
                        [RT #15454]
2005-10-13 01:19:15 +00:00
Mark Andrews
a5b66bf342 1928. [bug] Race in rbtdb.c:currentversion(). [RT #15517] 2005-10-13 01:04:16 +00:00
Mark Andrews
9547d3e03b 1926. [bug] The Windows installer did not check for empty
passwords. [RT #15483]
2005-10-11 22:54:45 +00:00
Mark Andrews
135b04186d regen 2005-10-11 00:18:04 +00:00
Mark Andrews
7c61d798f5 1924. [port] libbind: hpux ia64 support. [RT #15473] 2005-10-11 00:10:16 +00:00
Mark Andrews
16e4542fd4 DEFAULT_CACHE_NODE_LOCK_COUNT=7 2005-09-28 22:55:24 +00:00
Mark Andrews
80a609bf44 1919. [bug] The cache memory context array was too small to
have the desired performance characteristics.
                        [RT #15454]

stop.pl Increase amount of time allowed for named to stop before aborting the
server.
2005-09-28 04:36:06 +00:00
Mark Andrews
3a8be17fbf win32 2005-09-20 06:16:29 +00:00
Mark Andrews
4c1817c29c damp interations adjustments [RT#15404 2005-09-20 04:22:46 +00:00
Mark Andrews
ed6ca94ad7 finetune isc_thread_key implementation [RT #15408] 2005-09-18 07:16:24 +00:00
Mark Andrews
79d2e0b253 isc_mem_put not isc_mem_putanddetach 2005-09-18 07:04:41 +00:00
Mark Andrews
5bb39eeafa regen 2005-09-15 23:02:38 +00:00
Mark Andrews
47c2e9924e win32 fixes 2005-09-12 02:16:36 +00:00
Mark Andrews
85708f9aab 1918. [bug] Memory leak when checking acls. [RT #15391] 2005-09-12 02:04:41 +00:00
Mark Andrews
f60d5d8f5d regen 2005-09-12 01:13:28 +00:00
Mark Andrews
72bdbe3c70 silence compiler warnings 2005-09-10 01:02:08 +00:00
Mark Andrews
030aafe411 make sure key is created if needed on both paths 2005-09-10 00:31:25 +00:00
Mark Andrews
8d10c10ec9 update copyright notice 2005-09-09 14:11:38 +00:00
Mark Andrews
345cd7d777 win32: minimal isc_key_*() implementation 2005-09-09 12:26:19 +00:00
Mark Andrews
6cf369f528 1916. [func] Integrate contibuted IDN code from JPNIC. [RT #15383] 2005-09-09 06:17:03 +00:00
Mark Andrews
475c811bfd pullup:
res_init()/res_ninit() could leak memory when re-called.
2005-09-09 00:33:22 +00:00
Mark Andrews
6f780e4d31 update copyright notice 2005-09-06 07:29:31 +00:00
Mark Andrews
0da29be670 1914. [protocol] DS is required to accept mnemonic algorithms
(RFC 4034).  Still emit numeric algorithms for
                        compatability with RFC 3658. [RT #15354]
2005-09-06 06:50:52 +00:00
Mark Andrews
675d696977 update copyright notice 2005-09-06 03:51:37 +00:00
Mark Andrews
676619a22f win32 fixes 2005-09-05 02:54:38 +00:00
Mark Andrews
03e200df5d 1913. [func] Integrate contibuted DLZ code into named. [RT #11382] 2005-09-05 00:12:29 +00:00
Mark Andrews
78f70e0b75 silence compiler warnings 2005-09-03 12:43:38 +00:00
Mark Andrews
da16a6b635 Pull in host order macros when _XOPEN_SOURCE_EXTENDED is defined. [RT #14966] 2005-09-02 04:01:36 +00:00
Mark Andrews
6672b3524c 1921. [port] aix: atomic locking for powerpc. [RT #15020] 2005-09-01 03:36:18 +00:00
Mark Andrews
74f261bd2b 1920. [bug] Update windows socket code. [RT #14965] 2005-09-01 02:25:06 +00:00
Mark Andrews
40f9786889 silence compiler warning 2005-08-25 04:41:46 +00:00
Mark Andrews
fd894f8cb4 silence compiler warnings 2005-08-25 03:26:54 +00:00
Mark Andrews
5be3685b0e 1919. [bug] dig's +sigchase code overhauled. [RT #14933]
1918.   [bug]           The DLV code has been re-worked to make no longer
                        query order sensitive. [RT #14933]
2005-08-25 00:56:08 +00:00
Mark Andrews
2c15fcdeac seperate out sibling glue checks 2005-08-24 23:54:04 +00:00
Mark Andrews
f255d0ebd8 silence compiler warning 2005-08-23 04:47:45 +00:00
Mark Andrews
4ba6b6a7ef silence compiler warnings 2005-08-23 04:05:50 +00:00
Mark Andrews
4e1d3e67cd 1914. [bug] Strings returned from cfg_obj_asstring() should be
treated as read-only.  The prototype for
                        cfg_obj_asstring() has been updated to reflect this.
                        [RT #15256]
2005-08-23 02:36:11 +00:00
Mark Andrews
d3195a7f45 MEMUNLOCK called too early 2005-08-22 01:33:03 +00:00
Mark Andrews
6b79e960e6 1913. [func] Automatic empty zone creation for D.F.IP6.ARPA and
friends.  Note: RFC 1918 zones are not yet covered by
                        this but are likely to be in a future release.

                        New options: empty-server, empty-contact,
                        empty-zones-enable and disable-empty-zone.
2005-08-18 00:57:31 +00:00
Mark Andrews
55e1e27601 silence compiler warning 2005-08-15 02:00:01 +00:00
Mark Andrews
261a6a1f7d 1911. [func] Attempt to make the amount of work performed in a
iteration self tuning.  The covers nodes clean from
                        the cache per iteration, nodes written to disk when
                        rewriting a master file and nodes destroyed per
                        iteration when destroying a zone or a cache.
                        [RT #14996]
2005-08-15 01:21:07 +00:00
Mark Andrews
0831e2f4bd silence compiler warning 2005-08-12 01:32:01 +00:00
Mark Andrews
c9b4dafc92 soft is an int 2005-08-11 15:03:20 +00:00
Mark Andrews
ce1a6389b7 HAVE_STROPTS_H 2005-08-11 07:58:52 +00:00
Mark Andrews
8b242867f6 HAVE_STROPTS_H 2005-08-11 07:49:27 +00:00
Mark Andrews
31eaad2ccc SOLARIS2 2005-08-11 07:37:36 +00:00
Mark Andrews
a20e888bde 1909. [bug] ixfr-from-differences failed to ensure that the
serial number increased. [RT #15036]
2005-07-29 00:32:53 +00:00
Mark Andrews
59860521fc update copyreight notice 2005-07-29 00:12:41 +00:00
Mark Andrews
41e16c59aa sync w/ bind8 2005-07-28 06:54:10 +00:00
Mark Andrews
f4f0eedb89 1908. [func] named-checkconf now validates update-policy entries.
[RT #14963]
2005-07-28 05:42:20 +00:00
Mark Andrews
611ec5dd43 1907. [bug] Extend ISC_SOCKADDR_FORMATSIZE and
ISC_NETADDR_FORMATSIZE to allow for scope details.
2005-07-28 04:54:17 +00:00
Mark Andrews
01b8bc018d 1906. [func] x86 and x86_64 now have seperate atomic locking
implementations.
2005-07-27 04:22:59 +00:00
Mark Andrews
8abe06b25d 1905. [bug] Recursive clients soft quota support wasn't working
as expected. [RT #15103]
2005-07-27 02:29:01 +00:00
Mark Andrews
9ada5ea35f ref not rep 2005-07-25 00:52:12 +00:00
Mark Andrews
c2b217ea11 failed to increment sp on last change. 2005-07-22 05:31:01 +00:00
Mark Andrews
7755f5932a 1904. [bug] A escaped character is, potentially, converted to
the output character set too early. [RT #14666]
2005-07-20 01:46:49 +00:00
Mark Andrews
5a4557e8de gregen 2005-07-19 06:12:24 +00:00
Mark Andrews
54a5ca24e1 uintptr_t is in <inttypes.h> on some platforms 2005-07-19 05:57:12 +00:00
Mark Andrews
b0ceeb82e5 update copyright notice 2005-07-18 23:59:36 +00:00
Mark Andrews
fb827ed6df 9.4/HEAD sync 2005-07-18 06:03:01 +00:00
Mark Andrews
0c93194031 1902. [port] Use uintptr_t if available. [RT #14606] 2005-07-18 05:21:35 +00:00
Mark Andrews
6e9efadbea 1902. [port] Use uintptr_t if available. [RT #14606] 2005-07-18 05:07:17 +00:00
Mark Andrews
02004b6ff1 regen 2005-07-18 02:57:54 +00:00
Mark Andrews
e39d36b115 update copyright notice 2005-07-16 00:40:43 +00:00
Mark Andrews
aa0f0779d1 1901. [func] Support for SPF rdata type. [RT #15033] 2005-07-14 06:46:44 +00:00
Mark Andrews
43e68674d4 1900. [port] freebsd: pthread_mutex_init can fail if it runs out
of memory. [RT #14995]
2005-07-12 01:14:31 +00:00
Mark Andrews
18d0b5e54b 1900. [port] freebsd: pthread_mutex_init can fail if it runs out
of memory. [RT #14995]
2005-07-12 01:00:20 +00:00
Mark Andrews
0563d476de 1899. [func] Raise the UDP recieve buffer size to 32k if it is
less than 32k. [RT #14953]
2005-07-12 00:41:55 +00:00
Mark Andrews
2e3203a08c remove extraneous * after specific solaris version in case statements 2005-07-11 03:18:34 +00:00
Tatuya JINMEI 神明達哉
d3882e1177 added atomic ops for mips
(implemented by Evan, reviewed by jinmei)
2005-07-09 07:08:30 +00:00
Tatuya JINMEI 神明達哉
7db10fef08 typo in a comment line 2005-07-09 06:43:57 +00:00
Mark Andrews
577ca14719 1898. [port] sunos: non blocking i/o support. [RT #14951] 2005-07-08 04:36:32 +00:00
Mark Andrews
b2f160f266 1898. [port] sunos: non blocking i/o support. [RT #14951] 2005-07-08 04:30:22 +00:00
Mark Andrews
0bb7c66ef8 1897. [func] Support for IPSECKEY rdata type. [RT #14967] 2005-07-07 03:12:57 +00:00
Mark Andrews
3a21093e62 we need to subtract not add RBTDB_VIRTUAL 2005-07-07 02:51:52 +00:00
Mark Andrews
2b3e34f036 1896. [bug] The cache could delete expired records too fast for
clients with a virtual time in the past. [RT #14991]
2005-07-07 00:51:05 +00:00
Tatuya JINMEI 神明達哉
2dea622a0c atomic operation support for powerpc
(implemented by Evan, reviewed and committed by jinmei)
2005-07-05 00:44:24 +00:00
Mark Andrews
7216566bd5 1895. [bug] fctx_create() could return success even though it
failed. [RT #14993]
2005-07-04 22:52:34 +00:00
Mark Andrews
0f9c3991c6 some extra locks need for change #1813 2005-07-04 03:50:32 +00:00
Mark Andrews
e174044290 1817. [func] Add support for additional zone file formats for
improving loading performance.  The masterfile-format
                        option in named.conf can be used to specify a
                        non-default format.  A separate command
                        named-compilezone was provided to generate zone files
                        in the new format.  Additionally, the -I and -O options
                        for dnssec-signzone specify the input and output
                        formats.
2005-06-28 02:55:09 +00:00
Mark Andrews
fd780f3d47 1891. [func] Limit the number of recursive clients that can be
waiting for a single query (<qname,qtype,qclass>) to
                        resolve.  New options clients-per-query and
                        max-clients-per-query.
2005-06-27 00:15:45 +00:00
Mark Andrews
8087418873 handle isc_mem_create() failure gracefully 2005-06-23 06:12:56 +00:00
Mark Andrews
bcf369e513 1889. [func] The lame cache is now done on a <qname,qclass,qtype>
basis as some servers only appear to be lame for
                        certain query types.  [RT #14916]
2005-06-23 04:22:02 +00:00
Mark Andrews
a903095bf4 1817. [func] add support for additional zone file formats for
improving loading performance.  The masterfile-format
                        option in named.conf can be used to specify a
                        non-default format.  A new separate command
                        named-compilezone was provided to generate zone files
                        in a new format.
2005-06-20 01:05:33 +00:00
Mark Andrews
49a83dbc7e enable format checking 2005-06-19 22:57:59 +00:00
Mark Andrews
396819cd65 style 2005-06-19 22:56:03 +00:00
Mark Andrews
6820d6f323 CONF_modules_unload(), ENGINE_cleanup() and CRYPTO_cleanup_all_ex_data() are
not available in 0x0090607fL
2005-06-18 00:48:53 +00:00
Mark Andrews
bafbaadc0c silence implicit function declaration warning 2005-06-17 03:55:51 +00:00
Mark Andrews
016c0a82f1 1888. [func] "USE INTERNAL MALLOC" is now runtime selectable.
[RT #14892]
2005-06-17 02:22:45 +00:00
Mark Andrews
9b80f3a7c7 1887. [func] Detect duplicates of UDP queries we are recursing on
and drop them.  New stats category "duplicates".
                        [RT #14892]
2005-06-17 01:58:23 +00:00
Mark Andrews
83a56f1e4f 1886. [bug] Fix unreasonably low quantum on call to
dns_rbt_destroy2().  Remove unnecessay unhash_node()
                        call. [RT #14919]
2005-06-17 01:00:08 +00:00
Tatuya JINMEI 神明達哉
c528bd6986 provided __asm version of assembly code for atomic atomic operations
for better compatibility.

(this is a temporary resolution so that this one won't block other tests.
we'll revisit this change when we figure out performance implication of
the __asm version.)
2005-06-16 21:58:00 +00:00
Mark Andrews
d3b3cfdf0d #1864 had a size(foo) instead of sizeof(*foo) which broke on 64 bit machines. 2005-06-10 07:51:54 +00:00
Mark Andrews
d4d68515d2 1885. [func] Additional memory debugging support to track size
and mctx arguements. [RT #14814]
2005-06-10 07:00:20 +00:00
Mark Andrews
e8e62bb782 1884. [bug] process_dhtkey() was using the wrong memory context
to free some memory. [RT #14890]
2005-06-10 06:58:27 +00:00
Mark Andrews
f7d7c7ba43 update copyright notice 2005-06-10 00:00:59 +00:00
Mark Andrews
e7fb847ed5 1883. [port] sunos: portability fixes. [RT #14814] 2005-06-08 02:09:18 +00:00
Mark Andrews
ab9871e71e 1882. [port] win32: isc__errno2result() now reports its caller.
[RT #13753]

1881.   [port]          win32: Handle ERROR_NETNAME_DELETED.  [RT #13753]
2005-06-08 01:04:30 +00:00
Mark Andrews
7d5b32acb1 1860. [port] solaris 2.8: hack_shutup_pthreadmutexinit was
incorrectly set. [RT #14775]
2005-06-08 00:50:08 +00:00
Mark Andrews
da53179d10 1855. [bug] ixfr-from-differences was failing to detect changes
of ttl due to dns_diff_subtract() was ignoring the ttl
                        of records.  [RT #14616]
2005-06-07 02:02:05 +00:00
Mark Andrews
2fa0485e9e 1861. [bug] dig could trigger a INSIST on certain malformed
responses. [RT #14801]
2005-06-07 01:42:29 +00:00
Mark Andrews
9eca2b9b95 1864. [bug] Don't try the alternative transfer source if you
got a answer / transfer with the main source
                        address. [RT #14802]
2005-06-07 01:21:32 +00:00
Mark Andrews
3d247992c4 1866. [bug] resolv.conf parse errors were being ignored by
dig/host/nslookup. [RT #14841]

1865.   [bug]           Silently ignore nameservers in /etc/resolv.conf with
                        bad addresses. [RT #14841]
2005-06-07 01:00:00 +00:00
Mark Andrews
116e6b4257 1867. [bug] It was possible to trigger a INSIST in
dlv_validatezonekey(). [RT #14846]
2005-06-07 00:39:05 +00:00
Mark Andrews
1c153afce5 1868. [func] edns-udp-size can now be overridden on a per
server basis. [RT #14851]
2005-06-07 00:27:34 +00:00
Mark Andrews
1fc4793844 1879. [func] Added framework for handling multiple EDNS versions.
1878.   [func]          dig can now specify the EDNS version when making
                        a query.
2005-06-07 00:16:01 +00:00
Mark Andrews
dc5c59bd1d update copyright 2005-06-05 00:01:55 +00:00
Tatuya JINMEI 神明達哉
5597be9bb8 1813. [func] Restructured the data locking framework using
architecture dependent atomic operations (when
			available), improving response performance on
			multi-processor machines significantly.
			x86, x86_64, alpha, and sparc64 are currently
			supported.

(RT #13505)
2005-06-04 05:32:50 +00:00
Mark Andrews
ef67e6d8fa 1859. [func] Add support for CH A record. [RT #14695] 2005-06-04 00:18:56 +00:00
Mark Andrews
05331ce161 1863. [bug] rrset-order fixed error messages not complete. 2005-05-27 00:49:19 +00:00
Mark Andrews
e123ebc1aa integrity check cleanup 2005-05-24 04:30:10 +00:00
Mark Andrews
172d748152 update copyright notice 2005-05-20 01:09:36 +00:00
Mark Andrews
c5223c9cb7 1862. [func] Add additional zone data constancy checks.
named-checkzone has extended checking of NS, MX and
                        SRV record and the hosts they reference.
                        named has extended post zone load checks.
                        New zone options: check-mx and integrity-check.
                        [RT #4940]
2005-05-19 04:59:05 +00:00
Mark Andrews
d73541ea2e 1845. [bug] Improve error reporting to distingish between
accept()/fcntl() and socket()/fcntl() errors.
                        [RT #13745]
2005-05-19 02:42:42 +00:00
Jakob Schlyter
baf62093eb extended string API from rt11733 2005-05-14 22:11:56 +00:00
Mark Andrews
75c0816e82 regen 2005-05-13 03:14:16 +00:00
Mark Andrews
f5d30e2864 update copyright notice 2005-05-13 01:35:48 +00:00
Rob Austein
83217b5fdc regen 2005-05-12 23:54:40 +00:00
Mark Andrews
e5a5c60a5e 1858. [bug] The flush-zones-on-shutdown option wasn't being
parsed. [RT #14686]
2005-05-12 04:38:23 +00:00
Rob Austein
60e5e10f8d regen 2005-05-11 06:05:43 +00:00
Rob Austein
268a447506 1856. [doc] Switch Docbook toolchain from DSSSL to XSL. 2005-05-11 05:55:41 +00:00
Mark Andrews
657b6cd6a4 update copyright notice 2005-05-09 00:41:48 +00:00
Mark Andrews
b4028939fd 1854. [bug] lwres also needs to know the print format for
(long long).  [RT #13754]
2005-05-06 02:12:48 +00:00
Mark Andrews
9840a0767d 1853. [bug] Rework how DLV interacts with proveunsecure().
[RT #13605]
2005-05-06 01:59:38 +00:00
Mark Andrews
69fe9aaafd update copyright notice 2005-04-29 00:24:12 +00:00
Rob Austein
62a6efe7c9 Fix comment-within-comment warning. 2005-04-27 18:16:45 +00:00
Rob Austein
ab023a6556 1851. [doc] Doxygen comment markup. [RT #11398] 2005-04-27 04:57:32 +00:00
Mark Andrews
1cb73c69f7 1850. [bug] Memory leak in lwres_getipnodebyaddr(). [RT #14591] 2005-04-27 00:24:02 +00:00
Mark Andrews
c651f15b30 1849. [doc] All forms of the man pages (docbook, man, html) should
have consistant copyright dates.
2005-04-07 03:50:05 +00:00
Mark Andrews
89da2a5641 regen 2005-04-03 03:31:37 +00:00
Mark Andrews
a8f1c013b0 1847. [bug] isc_ondestroy_init() is called too late in
in dns_rbtdb_create()/dns_rbtdb_create().
                        [RT #13661]
2005-04-01 07:00:34 +00:00
Mark Andrews
fcf6c62ab4 update copyright notice 2005-03-31 23:54:46 +00:00
Mark Andrews
446f4815f2 1844. [bug] inet_pton() accepted more that 4 hexadecimal digits
for each 16 bit piece of the IPv6 address.  The text
                        representation of a IPv6 address has been tighted
                        to disallow this (draft-ietf-ipv6-addr-arch-v4-02.txt).
                        [RT #5662]
2005-03-31 07:12:12 +00:00
Mark Andrews
0f222d322b 1844. [bug] inet_pton() accepted more that 4 hexadecimal digits
for each 16 bit piece of the IPv6 address.  The text
                        representation of a IPv6 address has been tighted
                        to disallow this (draft-ietf-ipv6-addr-arch-v4-02.txt).
                        [RT #5662]
2005-03-31 06:37:03 +00:00
Mark Andrews
2132a56b5c 1841. [port] cmsg_len() could produce incorrect results on
some platform. [RT #13744]
2005-03-30 05:37:08 +00:00
Mark Andrews
bd77e3252a update copyright notice 2005-03-22 02:35:14 +00:00
Mark Andrews
5cb7e15551 1839. [bug] <isc/hash.h> was not being installed. 2005-03-21 05:16:47 +00:00
Mark Andrews
8ff7c9a0bb update copyright notice 2005-03-20 22:32:57 +00:00
Mark Andrews
ffbe9bb405 silence compiler warnings. 2005-03-18 05:55:36 +00:00
Mark Andrews
2da53322f3 silence compiler warnings 2005-03-18 04:31:01 +00:00
Mark Andrews
e7c286974e regen 2005-03-18 03:22:27 +00:00
Mark Andrews
d0bd139679 Don't depend on autoconf being called w/ -I ../.. 2005-03-18 03:20:31 +00:00
Mark Andrews
9f069b2771 update copyright notice 2005-03-17 03:56:12 +00:00
Mark Andrews
15683369e0 namespace sun -> sunix 2005-03-16 23:39:06 +00:00
Mark Andrews
66a12302e1 silence ptr mismatch signed/unsigned. 2005-03-16 20:15:08 +00:00
Mark Andrews
8a713ca49d 1807. [bug] When forwarding (forward only) set the active domain
from the forward zone name. [RT #13526]
2005-03-16 03:50:47 +00:00
Mark Andrews
d5af5bb38b 1820. [bug] Gracefully handle acl loops. [RT #13659] 2005-03-16 03:34:45 +00:00
Mark Andrews
5e5b467e8c 1833. [bug] Race condition in isc_mutex_lock_profile(). [RT #13660] 2005-03-16 01:56:17 +00:00
Mark Andrews
713ad87a7f 1832. [bug] named fails to return BADKEY on unknown TSIG algorithm.
[RT #13620]
2005-03-16 01:47:16 +00:00
Mark Andrews
4f082b58b1 1816. [port] UnixWare: failed to compile lib/isc/unix/net.c.
[RT #13597]
2005-03-16 01:23:08 +00:00
Mark Andrews
b7b6b01a0d update copyright 2005-03-16 00:55:19 +00:00
Mark Andrews
4f21f7feaf 1830. [bug] adb lame cache has sence of test reversed. [RT #13600] 2005-03-15 23:38:27 +00:00
Mark Andrews
6189214bf0 1810. [bug] configure, lib/bind/configure make different default
decisions about whether to do a threaded build.
                        [RT #13212]
2005-03-15 23:06:18 +00:00
Mark Andrews
9738408dcb 1810. [bug] configure, lib/bind/configure make different default
decisions about whether to do a threaded build.
                        [RT #13212]
2005-03-15 22:58:49 +00:00
Mark Andrews
e90994e3f3 1799. [bug] 'rndc flushname' failed to flush negative cache
entries. [RT #13438]
2005-03-15 02:48:58 +00:00
Mark Andrews
e9aca33f36 1809. [bug] "make distclean" failed for libbind if the platform
is not supported.
2005-03-15 02:15:13 +00:00
Mark Andrews
7d9b632906 1828. [bug] isc_rwlock_init() failed to properly cleanup if it
encountered a error. [RT #13549]
2005-03-15 02:03:11 +00:00
Mark Andrews
8cd830d7c8 1802. [bug] Handle connection resets better. [RT #11280] 2005-03-15 01:41:28 +00:00
Mark Andrews
e50b75e36c 1804. [bug] Ensure that if we are queried for glue that it fits
in the additional section or TC is set to tell the
                        client to retry using TCP. [RT #10114]
2005-03-15 01:29:10 +00:00
Mark Andrews
5218822573 1826. [bug] Missing DESTROYLOCK() in isc_mem_createx() on out
of memory error. [RT #13537]
2005-03-15 01:11:01 +00:00
Mark Andrews
3cbc87c31f 1825. [bug] Missing unlock on out of memory error from in
rbtdb.c:subtractrdataset().  [RT #13519]
2005-03-15 00:32:42 +00:00
Mark Andrews
bc29bb9062 1824. [bug] Memory leak on dns_zone_setdbtype() failure.
[RT #13510]
2005-03-15 00:20:59 +00:00
Mark Andrews
5a4854e226 1823. [bug] Wrong macro used to check for point to point interface.
[RT#13418]
2005-03-15 00:09:07 +00:00
Mark Andrews
b101c1e998 1822. [bug] check-names test for RT was reversed. [RT #13382] 2005-03-14 23:41:29 +00:00
Mark Andrews
408767b505 update copyright notice 2005-03-06 15:30:37 +00:00
Mark Andrews
c941e32d22 1819. [bug] The validator needed to check both the algorithm and
digest types of the DS to determine if it could be
                        used to introduce a secure zone. [RT #13593]
2005-03-04 03:53:22 +00:00
Mark Andrews
39c7fc7e00 1811. [func] Preserve the case of domain names in rdata during
zone transfers. [RT #13547]
2005-03-04 02:56:21 +00:00
Mark Andrews
c2a5a4a3cf update copyright notice 2005-02-24 00:33:35 +00:00
Mark Andrews
4423c99613 1814. [func] UNIX domain controls are now supported. 2005-02-23 01:09:23 +00:00
Mark Andrews
4c0903254b typo in comment 2005-02-17 05:49:01 +00:00
Mark Andrews
08097713a4 update copyright notice 2005-02-11 00:01:58 +00:00
Mark Andrews
3aca8e5bf3 1758. [func] Don't send notify messages to self. [RT #12933] 2005-02-10 05:53:43 +00:00
Mark Andrews
7d62f929df add missing function 2005-02-09 23:20:50 +00:00
Mark Andrews
5a61d47749 add missing functions 2005-02-09 23:07:30 +00:00
Mark Andrews
6b49f69359 add new functions 2005-02-09 22:46:59 +00:00
Mark Andrews
af8db42e08 /isc/dns 2005-02-09 22:41:53 +00:00
Mark Andrews
fb343de948 missing \ 2005-02-09 22:37:41 +00:00
Mark Andrews
f012e9e68a link against libbns 2005-02-09 22:33:29 +00:00
Mark Andrews
51d912d3a5 still had some sec\dst references 2005-02-09 21:55:23 +00:00
Mark Andrews
8e9872ebbe remove extraneous .c's 2005-02-09 21:45:52 +00:00
Mark Andrews
8dff6ed8e0 add aclconf 2005-02-09 21:28:02 +00:00
Mark Andrews
4df7858200 add acache 2005-02-09 13:54:05 +00:00
Mark Andrews
2d7fc01cb3 update copyright notice 2005-02-09 05:19:30 +00:00
Mark Andrews
fde0a3f89b 1812. [port] win32: IN6_IS_ADDR_UNSPECIFIED macro is incorrect.
[RT #13453]
2005-02-09 03:38:25 +00:00
Mark Andrews
0ad024cc42 1806. [bug] The resolver returned the wrong result when a CNAME /
DNAME was encountered when fetching glue from a
                        secure namespace. [RT #13501]

1805.   [bug]           Pending status was not being cleared when DLV was
                        active. [RT #13501]
2005-02-08 23:51:32 +00:00
Mark Andrews
07b9b1c44e update copyright notice 2005-02-07 23:57:02 +00:00
Mark Andrews
4296c5480d 1801. [func] Report differences between hints and real NS rrset
and associated address records.
2005-02-07 00:53:29 +00:00
Mark Andrews
07bf7b758c update copyright notice 2005-02-07 00:04:05 +00:00
Mark Andrews
5cf146c586 1808. [bug] zone.c:notify_zone() contained a race condition,
zone->db could change underneath it.  [RT #13511]
2005-02-03 05:07:35 +00:00
Tatuya JINMEI 神明達哉
91c0a631bb forgot destroing the acache entry lock in destroy_entry(), causing memory
leak. [RT #13533]
(I won't update the CHANGES list, since it's an "internal" report, and this
code has never been available publically)
2005-02-03 02:52:53 +00:00
Mark Andrews
7fed21a109 update copyright notice 2005-01-20 00:01:46 +00:00
Mark Andrews
164e2a6f83 1800. [bug] Changes #1719 allowed a INSIST to be triggered.
[RT #13428]
2005-01-19 23:25:41 +00:00
Mark Andrews
498e628692 remove unused variable. 2005-01-19 23:22:50 +00:00
Mark Andrews
ebf264ea10 update copyright 2005-01-17 23:58:33 +00:00
Mark Andrews
e89e09eda8 update copyrights 2005-01-17 04:11:34 +00:00
Mark Andrews
4844ed026a 1798. [func] The server syntax has been extended to support a
range of servers.  [RT #11132]
2005-01-17 00:46:05 +00:00
Mark Andrews
7502c66006 1796. [func] "rndc freeze/thaw" now freezes/thaws all zones. 2005-01-14 03:28:09 +00:00
Mark Andrews
b25eafb3f4 update copyrights 2005-01-14 00:00:29 +00:00
Mark Andrews
5ec08bdbca spelling 2005-01-13 05:15:16 +00:00
Mark Andrews
abeb45c775 update copyrights 2005-01-12 01:56:12 +00:00
Mark Andrews
f450814ab8 1793. [func] Extend adjusting TTL warning messages. [RT #13378] 2005-01-11 23:56:50 +00:00
Mark Andrews
48f929d315 1792. [func] New zone option "notify-delay". Specify a minimum
delay between sets of NOTIFY messages.
2005-01-11 23:10:06 +00:00
Mark Andrews
ad5bc22a81 1797. [func] named-checkconf now check acls to verify that they
only refer to existing acls. [RT #13101]
2005-01-11 03:46:11 +00:00
Mark Andrews
2f4ffd7f55 update copyrights 2005-01-10 23:43:27 +00:00
Mark Andrews
508f61f8d6 1794. [func] Named and named-checkzone can now both check for
non-terminal wildcard records.
2005-01-09 23:40:04 +00:00
Mark Andrews
4ae404824b set the cache DB in the view's additional cache object so that
additional sections for a (DNS) cached response can also be stored
  in the additional cache. [RT #13339]
2004-12-29 23:01:13 +00:00
Mark Andrews
24875d713b cleanup 2004-12-29 22:42:57 +00:00
Mark Andrews
a1cc4108f6 avoided leakage of a cache entry by adjusting the timing of
incrementing the reference counter to the entry.  Otherwise, the
  entry could leak when dns_acache_setentry() fails.  This must be
  corrected in some way if not by this change. [RT #13339]
2004-12-29 22:30:10 +00:00
Mark Andrews
0c865fa57d update copyright notice 2004-12-23 00:13:17 +00:00
Tatuya JINMEI 神明達哉
1ba466b68e new copyright for new files 2004-12-21 10:54:12 +00:00
Tatuya JINMEI 神明達哉
d0eb2cc33c 1526. [func] Implemented "additional section caching (or acache)",
an internal cache framework for additional section
			content to improve response performance.  Several
			configuration options were provided to control the
			behavior.
2004-12-21 10:45:20 +00:00
Mark Andrews
9b4a030a30 need to link against libdns. 2004-12-10 00:12:27 +00:00
Mark Andrews
4f7eea47db 1790. [cleanup] Move lib/dns/sec/dst up into lib/dns. This should
allow parallel make to succeed.
2004-12-09 01:56:46 +00:00
Mark Andrews
494576ce20 1790. [cleanup] Move lib/dns/sec/dst up into lib/dns. This should
allow parallel make to succeed.
2004-12-09 01:41:25 +00:00
Mark Andrews
6c3098f476 missing @ 2004-12-08 13:18:52 +00:00
Mark Andrews
531f6c355b 1788. [bug] libbind9.la/libbind9.so needs to link against
libisccfg.la/libisccfg.so.
2004-12-08 03:00:28 +00:00
Mark Andrews
867b33aa58 redo
1775.   [bug]           Only compile getnetent_r.c when threaded. [RT #13205]
2004-12-07 00:36:27 +00:00
Mark Andrews
6e1141e6e8 1786. [port] AIX: libt_api needs to be taught to look for
T_testlist in the main executable (--with-libtool).
                        [RT #13239]
2004-12-06 22:50:41 +00:00
Mark Andrews
3a4b204d10 1775. [bug] Only compile getnetent_r.c when threaded. [RT #13205] 2004-12-06 22:44:42 +00:00
Mark Andrews
a10ae59637 1775. [bug] Only compile getnetent_r.c when threaded. [RT #13205] 2004-12-06 21:56:57 +00:00
Mark Andrews
e954ec198e 1785. [bug] libbind9.la/libbind9.so needs to link against
libisc.la/libisc.so.
2004-12-06 04:47:21 +00:00
Mark Andrews
8d49fe6643 Updated config.guess returns alphaev6-dec-osf5.1b not
alphaev6-dec-osf5.1.
2004-12-06 01:25:47 +00:00
Mark Andrews
aceae69c7f 1784. [cleanup] "libtool -allow-undefined" is the default.
Leave hooks in configure to allow it to be set
                        if needed in the future.
2004-12-05 23:03:22 +00:00
Mark Andrews
dba1bc96f6 1782. [port] OSX: --with-libtool + --enable-libbind broke on
__evOptMonoTime.  [RT #13219]
2004-12-05 22:41:16 +00:00
Mark Andrews
a513cacc92 regen 2004-12-04 06:57:10 +00:00
Mark Andrews
70e854766f 1781. [port] FreeBSD 5.3: set PTHREAD_SCOPE_SYSTEM. [RT #12810] 2004-12-04 06:48:43 +00:00
Mark Andrews
113598f677 1783. [cleanup] We only need one copy of libtool.m4, ltmain.sh in the
source tree.
2004-12-03 02:40:58 +00:00
Mark Andrews
c202b9f4dd 1773. [bug] Fast retry on host / net unreachable. [RT #13153] 2004-12-03 01:59:28 +00:00
Mark Andrews
7c8662961e 1780. [bug] Update libtool to 1.5.10. 2004-12-02 02:31:47 +00:00
Mark Andrews
85bba08193 1778. [port] HUX 11.11: fix broken IN6ADDR_ANY_INIT and
IN6ADDR_LOOPBACK_INIT macros.
2004-11-30 13:25:21 +00:00
Mark Andrews
5173d52b3e 1777. [port] OSF 5.1: fix broken IN6ADDR_ANY_INIT and
IN6ADDR_LOOPBACK_INIT macros.
2004-11-30 06:54:14 +00:00
Mark Andrews
4091f8dfb7 1776. [port] Solaris 2.9: fix broken PTHREAD_MUTEX_INIT macro. 2004-11-30 05:59:38 +00:00
Mark Andrews
09ba9eaceb 1774. [port] Aix: Silence compiler warnings / build failures.
[RT #13154]
2004-11-30 01:12:52 +00:00
Mark Andrews
6c52944ef2 1763. [func] Perform sanity checks on NS records which refer to
'in zone' names. [RT #13002]
2004-11-23 05:23:46 +00:00
Mark Andrews
e94754428d 1766. [bug] Update the master file timestamp on successful refresh
as well as the journal's timestamp. [RT# 13062]
2004-11-22 23:52:25 +00:00
Mark Andrews
c1807114ce 1745. [bug] Dig/host/nslookup accept replies from link locals
regardless of scope if no scope was specified when
                        query was sent. [RT #12745]
2004-11-22 23:29:10 +00:00
Mark Andrews
6f691d4893 1770. [bug] named-checkconf failed to report missing a missing
file clause for rbt{64} master/hint zones. [RT#13009]
2004-11-22 05:03:11 +00:00
Mark Andrews
fcdef14f4a 1767. [port] Builds on IPv6 platforms without IPv6 Advanced API
support for (struct in6_pktinfo) failed.  [RT #13077]
2004-11-18 21:31:47 +00:00
Mark Andrews
4e259c5a23 1768. [bug] nsecnoexistnodata() could be called with a non-NSEC
rdataset. [RT #12907]
2004-11-17 23:52:31 +00:00
Mark Andrews
73fb13fe97 1755. [func] allow-update is now settable at the options / view
level. [RT #6636]
2004-11-11 01:08:24 +00:00
Mark Andrews
dd95acdbce 1761. [bug] 'rndc dumpdb' didn't report unassociated entries.
[RT #12971]
2004-11-10 22:33:18 +00:00
Mark Andrews
77fad835c5 1762. [bug] isc_interfaceiter_create() could return ISC_R_SUCCESS
even when it failed. [RT #12995]
2004-11-10 22:22:10 +00:00
Mark Andrews
e3d982f4a8 1754. [bug] We wern't always attempting to query the parent
server for the DS records at the zone cut.
                        [RT #12774]
2004-11-10 21:57:46 +00:00
Mark Andrews
71e7ac828e 1760. [bug] Host / net unreachable was not penalising rtt
estimates. [RT #12970]
2004-11-10 21:46:48 +00:00
Mark Andrews
a8be540f55 1764. [bug] dns_zone_replacedb failed to emit a error message
if there was no SOA record in the replacment db.
                        [RT #13016]
2004-11-09 22:16:57 +00:00
Mark Andrews
84a5b69f00 1756. [func] named-checkconf now checks the logging configuration.
[RT #12352]
2004-11-09 21:24:20 +00:00
Mark Andrews
e743a2b3b7 1753. [bug] Don't serve a slave zone which has no NS records.
[RT #12894]
2004-10-26 02:01:19 +00:00
Mark Andrews
40e7c805a8 1740. [bug] Replace rbt's hash algorithm as it performed badly
with certain zones. [RT #12729]
2004-10-25 01:27:54 +00:00
Mark Andrews
21094b43a2 1749. [bug] 'check-names response ignore;' failed to ignore.
[RT #12866]
2004-10-21 01:53:44 +00:00
Mark Andrews
49210da3fb 1676. [func] New option "allow-query-cache". This lets
allow-query be used to specify the default zone
                        access level rather than having to have every
                        zone override the global value.  allow-query-cache
                        can be set at both the options and view levels.
                        If allow-query-cache is not set allow-query applies.
2004-10-21 00:58:33 +00:00
Mark Andrews
2651dcdf75 1750. [port] lib/bind/make/rules.in:subdirs was not bash friendly.
[RT #12864]
2004-10-19 23:33:48 +00:00
Mark Andrews
4181218570 1747. [bug] BIND 8 compatability: named/named-checkconf failed
to parse "host-statistics-max" in named.conf.
2004-10-17 23:11:30 +00:00
Mark Andrews
61a4d5e7d8 1742. [bug] If isc_taskmgr_create() was not able to create the
requested number of worker threads then destruction
                        of the manager would trigger an INSIST() failure.
                        [RT #12790]
2004-10-15 00:45:34 +00:00
Mark Andrews
ad98a86993 1747. [func] Make public the function to read a key file,
dst_key_read_public(). [RT #12450]
2004-10-14 05:55:52 +00:00
Mark Andrews
1672cff96d 1684. [func] ixfr-from-differences now takes master and slave in
addition to yes and no at the options and view levels.
2004-10-14 00:49:34 +00:00
Mark Andrews
276f1d9a38 1744. [bug] If tuple2msgname() failed to convert a tuple to
a name a REQUIRE could be triggered. [RT #12796]
2004-10-13 22:24:18 +00:00
Mark Andrews
073bd4c4bc 1739. [bug] dns_rbt_deletetree() could incorrectly return
ISC_R_QUOTA.  [RT #12695]

1738.   [bug]           Enable overrun checking by default. [RT #12695]
2004-10-11 05:49:29 +00:00
Mark Andrews
207f0a15bb 1705. [func] Allow the journal's name to be changed via named.conf. 2004-10-07 02:15:14 +00:00
Mark Andrews
0553f5554f 1729. [func] Improve check-names error messages.
1728.   [doc]           Update check-names documentation.

1727.   [bug]           named-checkzone: check-names support didn't match
                        documentation.
2004-10-06 05:56:29 +00:00
Mark Andrews
43fe2897fc 1731. [port] darwin: relax version test in ifconfig.sh.
[RT #12581]

1730.   [port]          Determine the length type used by the socket API.
                        [RT #12581]
2004-10-05 03:17:18 +00:00
Mark Andrews
2d2e0fff8e 1736. [bug] dst_key_fromnamedfile() could fail to read a
public key. [RT #12687]
2004-10-01 00:10:59 +00:00
Mark Andrews
a1d1525f1c regen 2004-09-27 04:26:43 +00:00
Mark Andrews
0795769851 aix5 2004-09-24 04:32:33 +00:00
Mark Andrews
f8ea158366 silence compiler 2004-09-17 13:33:58 +00:00
Mark Andrews
0d51617897 silence compiler 2004-09-17 05:59:28 +00:00
Mark Andrews
a449ffac7f silence compiler 2004-09-16 07:08:43 +00:00
Mark Andrews
3ca9bffc1d silence compiler 2004-09-16 07:02:53 +00:00
Mark Andrews
e69e397944 make -j3 support 2004-09-16 05:13:55 +00:00
Mark Andrews
12e8e73d76 1722. [bug] Don't commit the journal on malformed ixfr streams.
[RT #12519]

1721.   [bug]           Error message from the journal processing were not
                        always identifing the relevent journal. [RT #12519]
2004-09-16 04:54:03 +00:00
Mark Andrews
51f99a878d 1720. [bug] 'dig +chase' did not terminate on a RFC 2308 Type 1
negative response. [RT #12506]

1719.   [bug]           named was not correctly caching a RFC 2308 Type 1
                        negative response. [RT #12506]

1718.   [bug]           nsupdate was not handling RFC 2308 Type 3 negative
                        responses when looking for the zone / master server.
                        [RT #12506]
2004-09-16 02:10:42 +00:00
Mark Andrews
ffcbf9ea91 silence compiler warnings 2004-09-16 01:01:27 +00:00
Mark Andrews
49954c293c pullup
1684.   [port]          64 bit size_t issues / compiler warnings.
2004-09-16 00:56:12 +00:00
Mark Andrews
a9977c0fda bad descriptions s/dns_label_countlabels/dns_name_countlabels/ 2004-09-08 00:26:14 +00:00
Mark Andrews
d6fe7ba949 1708. [cleanup] Replaced dns_fullname_hash() with dns_name_fullhash()
for conformance to the name space convention.  Binary
                        backward compatibility to the old function name is
                        provided. [RT #12376]
2004-09-01 05:13:06 +00:00
Mark Andrews
3dd9bafd2e fix typo in unexecuted code 2004-09-01 04:38:43 +00:00
Mark Andrews
0150a81aad match startrecv() prototype to function. 2004-09-01 04:25:20 +00:00
Mark Andrews
119056cca4 1682. [bug] gethostby*_r() implementations that copied the return
pointer got NULL returned on success.
2004-09-01 02:04:50 +00:00
Mark Andrews
16a68807e1 1704. [port] lwres needed a snprintf() implementation for
platforms without snprintf().  Add missing
                        "#include <isc/print.h>". [RT #12321]
2004-08-28 06:20:14 +00:00
Mark Andrews
ed18f74496 1703. [bug] named would loop sending NOTIFY messages when it
failed to receive a response. [RT #12322]
2004-08-28 05:53:12 +00:00
Mark Andrews
9176737468 style 2004-08-27 12:35:03 +00:00
Mark Andrews
68ae0f83c0 1706. [bug] 'rndc stop' failed to cause zones to be flushed
sometimes. [RT #12328]
2004-08-27 12:28:10 +00:00
Mark Andrews
bcaa5957ce pullup:
1679.   [bug]           A bad length check was introduced by change #1661
                        in dns_ho.c.
2004-08-24 00:33:35 +00:00
Mark Andrews
2cd182921e regen 2004-08-23 00:05:48 +00:00
Mark Andrews
d7a8ba373d copyright 2004-08-19 04:44:08 +00:00
Mark Andrews
5f3df6134c 1677. [bug] IN6_IS_ADDR_MC_NODELOCAL() addresses can also have
symbolic scope id's.
2004-08-17 05:50:13 +00:00
Tatuya JINMEI 神明達哉
455bb19b5d 1697. [bug] xxx-source{,-v6} was not effective when it
specified one of listening addresses and a
			different port than the listening port. [RT #12257]
2004-08-15 04:37:38 +00:00
Mark Andrews
7f2a6b0ef7 1695. [bug] DS records when forwarding require special handling.
[RT #12133]
2004-08-10 00:38:56 +00:00
Mark Andrews
2597c68ffe improve dns_name_getlabelsequence() description. 2004-08-10 00:35:01 +00:00
Mark Andrews
8418c435e6 pullup from bind 8:
1674.   [bug]           getaddrinfo() failed to set sin6_scope_id correctly
                        on some platforms.
2004-08-09 07:49:21 +00:00
Mark Andrews
2538b3b9c0 pullup from bind 8
1675.   [bug]           match any returned scope when a scope is not specified
                        on non global scope address in resolv.conf.
2004-08-09 07:47:01 +00:00
Mark Andrews
4721a0c646 make use of if_nametoindex() test result. 2004-08-09 07:40:17 +00:00
Mark Andrews
d1b65f4487 redo if_nametoindex() test 2004-08-09 07:39:14 +00:00
Mark Andrews
5dbec64fde probe for if_nametoindex() 2004-08-09 07:19:08 +00:00
Mark Andrews
f697150aef 1693. [bug] max-journal-size was not effective for master zones
with ixfr-from-differences set. [RT# 12024]
2004-07-29 00:17:06 +00:00
Mark Andrews
b712879fcb 1694. [bug] Report if the builtin views of "_default" / "_bind"
are defined in named.conf. [RT #12023]
2004-07-29 00:08:10 +00:00
Mark Andrews
cf62bb6918 pullup:
1672.   [bug]           libbind: failed to print unknown types and classes
                        above 4095. didn't correctly print unknown records
                        with zero length.
2004-07-28 20:16:50 +00:00
Mark Andrews
c4f9e613e1 1680. [func] rndc: the source address can now be specified. 2004-07-23 04:15:27 +00:00
Mark Andrews
c0d2891f6e 1691. [bug] sdb's attachversion was not complete. [RT #11990] 2004-07-22 03:58:07 +00:00
Mark Andrews
1a6204b6f2 1689. [bug] DNS_NAME_TOREGION() and DNS_NAME_SPLIT() macros
contained gratuitous semicolons. [RT #11707]
2004-07-22 00:09:27 +00:00
Mark Andrews
d8c2b17871 1687. [bug] Race condition in dispatch. [RT #10272] 2004-07-21 00:48:19 +00:00
Mark Andrews
9f7d51ee32 1688. [bug] LDFLAGS was not supported. 2004-07-20 07:13:43 +00:00
Mark Andrews
98f31157df pullup:
1669.   [bug]           Only test the gcc minor version when the major version
                        is known.
2004-07-19 05:54:08 +00:00
Rob Austein
fbdadf789f 1684. [bug] Change #1679 loop tests weren't quite right. 2004-07-02 21:37:58 +00:00
Mark Andrews
ae507663cf indenting 2004-07-01 04:53:14 +00:00
Mark Andrews
0a683f0dd3 pullup:
1668.   [port]          solaris: allow applications compiling against
                        libbind to be compiled with "cc -Xc".
2004-07-01 04:41:20 +00:00
Mark Andrews
9aa7706900 1681. [bug] Only set SO_REUSEADDR when a port is specified in
isc_socket_bind(). [RT #11742]
2004-06-30 23:35:17 +00:00
Jakob Schlyter
8638eaef79 correct speling, s/intializes/initializes 2004-06-28 06:23:05 +00:00
Jakob Schlyter
e3494255c5 incorrect speling, s/intial/initial/ 2004-06-27 10:10:55 +00:00
Mark Andrews
a73a3b2a04 change #1679 still left case where address could not be tried.
fix loop termination condition to ensure that all finds are tried.
2004-06-27 01:21:41 +00:00
Mark Andrews
e30e7913c9 1679. [bug] When there was a single nameserver with multiple
addresses for a zone not all addresses were tried.
                        [RT #11706]
2004-06-25 04:39:19 +00:00
Mark Andrews
d1359824d3 pullup:
document RES_DEBUG2 to that it not assigned.
2004-06-25 00:39:54 +00:00
Mark Andrews
be89b43c7c 1665. [port] getnameinfo() was broken on machines with 8 octet
longs.
2004-06-25 00:35:36 +00:00
Mark Andrews
e8346a529a 1678. [bug] RRSIG should use TYPEXXXXX for unknown types. 2004-06-24 00:43:15 +00:00
Mark Andrews
b0196673ab 1674. [port] linux: increase buffer size used to scan
/proc/net/if_inet6.
2004-06-22 05:25:49 +00:00
Mark Andrews
4916f4c2ca add a explict dependancy for interfaceiter.@O@. 2004-06-22 02:54:55 +00:00
Mark Andrews
40fe5e7ac2 1673. [port] linux: issue a error messages if IPv6 interface
scans fails.
2004-06-22 02:25:32 +00:00
Mark Andrews
1d8abe0521 1671. [cleanup] Tests which only function in a threaded build
now return R:THREADONLY (rather than R:UNTESTED)
                        in a non-threaded build.
2004-06-21 05:36:41 +00:00
Mark Andrews
358043e40f 1667. [port] linux: not all versions have IF_NAMESIZE. 2004-06-19 00:48:15 +00:00
Mark Andrews
7389e8330d 1666. [bug] The optional port on hostnames in dual-stack-servers
was being ignored.

1665.   [func]          rndc now allows addresses to be set in the
                        server clauses.
2004-06-18 04:38:47 +00:00
Mark Andrews
e180037bc1 1661. [bug] Restore dns_name_concatenate() call in
adb.c:set_target().  [RT #11582]
2004-06-18 01:22:32 +00:00
Mark Andrews
99ba7fc5ff 1660. [bug] win32: connection_reset_fix() was being called
unconditionally.  [RT #11595]
2004-06-18 01:14:59 +00:00
Mark Andrews
5f059eef43 1662. [bug] Change #1658 failed to one use of 'type' to 'keytype'. 2004-06-16 01:41:52 +00:00
Mark Andrews
cc3aafe737 1659. [cleanup] Cleanup some messages that were referring to KEY vs
DNSKEY, NXT vs NSEC and SIG vs RRSIG.

1658.   [func]          Update dnssec-keygen to default to KEY for HMAC-MD5
                        and DH.  Tighten which options apply to KEY and
                        DNSKEY records.
2004-06-11 01:12:40 +00:00
Mark Andrews
3386e92795 1655. [bug] Logging multiple versions w/o a size was broken.
[RT #11446]
2004-06-11 00:36:30 +00:00
Mark Andrews
23fdb6a5a3 1654. [bug] isc_result_totext() contained array bounds read
error.

1653.   [func]          Add key type checking to dst_key_fromfilename(),
                        DST_TYPE_KEY should be used to read TSIG, TKEY and
                        SIG(0) keys.

1652.   [bug]           TKEY still uses KEY.
2004-06-11 00:27:06 +00:00
Mark Andrews
e5477896ce 1647. [bug] It was possible trigger a INSIST when chasing a DS
record that required walking back over a empty node.
                        [RT #11445]
2004-06-07 03:28:55 +00:00
Mark Andrews
6ecbd11029 1644. [bug] Update the journal modification time after a
sucessfull refresh query. [RT #11436]
2004-06-04 02:40:50 +00:00
Mark Andrews
c315e5cfea 1648. [func] Update dnssec-lookaside named.conf syntax to support
multiple dnssec-lookaside namespaces (not yet
                        implemented).
2004-06-04 02:31:43 +00:00
Mark Andrews
f66cd386cf 1646. [bug] win32: logging file versions didn't work with
non-UNC filenames.  [RT#11486]
2004-06-04 02:19:17 +00:00
Mark Andrews
0d5f92db3f res_servicenumber returns -1 on error. 2004-06-03 04:43:34 +00:00
Mark Andrews
00cf69e0ae don't compare unsigned w/ <= 0. 2004-06-03 04:42:38 +00:00
Mark Andrews
7e2c0c16d6 1645. [bug] named could trigger a REQUIRE failure if multiple
masters with keys are specified.
2004-05-28 23:53:46 +00:00
Mark Andrews
8d5b4ce1eb 1643. [bug] dns_db_closeversion() could leak memory / node
references. [RT #11163]
2004-05-23 06:59:20 +00:00
Mark Andrews
c0707105f6 1642. [port] Support OpenSSL implementations which don't have
DSA support. [RT #11360]
2004-05-21 08:09:27 +00:00
Mark Andrews
b407caa0b5 pullup:
1661.   [cleanup]       indiscriminate use strlcat/strlcpy make auditing
                        harder.
2004-05-17 07:52:46 +00:00
Mark Andrews
4a6f552617 1634. [bug] named didn't supply a useful error message when it
detected duplicate views.  [RT #11208]
2004-05-17 05:37:41 +00:00
Mark Andrews
be00eb0795 1640. [bug] win32: isc_socket_cancel(ISC_SOCKCANCEL_ACCEPT) was
incorrectly closing the socket.  [RT #11291]
2004-05-17 03:15:59 +00:00
Tatuya JINMEI 神明達哉
ec3f1d3517 1629. [func] dig now supports IPv6 scoped addresses with the
extended format in the local-server part. [RT #8753]
2004-05-15 03:37:34 +00:00
Mark Andrews
5ba04ba7a9 1638. [bug] "ixfr-from-differences" could generate a REQUIRE
failure if the journal open failed. [RT #11347]
2004-05-14 05:08:00 +00:00
Mark Andrews
6fac7ff1f9 1606. [bug] DVL insecurity proof was failing.
1605.   [func]          New dns_db_find() option DNS_DBFIND_COVERINGNSEC.
2004-05-14 04:45:58 +00:00
Mark Andrews
f6f0bf7d4b 1637. [bug] Node reference leak on error in addnoqname(). 2004-05-14 01:07:23 +00:00
Mark Andrews
4e681da26d 1636. [bug] The dump done callback could get ISC_R_SUCCESS even if
a error had occured.  The database version no longer
                        matched the version of the database that was dumped.
2004-05-14 00:55:57 +00:00
Michael Graff
e3421eaa6c include <sys/param.h> for NetBSD 2004-05-12 23:01:36 +00:00
Mark Andrews
78ef0ebab3 1631. [bug] dns_journal_compact() could sometimes corrupt the
journal. [RT #11124]
2004-05-11 22:20:13 +00:00
Mark Andrews
71839e2a42 1628. [bug] Typo in Compaq Trucluster support. [RT# 11264] 2004-05-06 03:16:07 +00:00
Mark Andrews
38e8022ace 1625. [bug] named failed to load/transfer RFC2535 signed zones
which contained CNAMES. [RT# 11237]
2004-05-05 01:32:58 +00:00
Mark Andrews
af6e33e7a0 silence compiler punned warning (adjust signed/unsigned chars). 2004-05-04 03:28:31 +00:00
Mark Andrews
578f588228 1627. [bug] win32: sockets were not being closed when the
last external reference was removed. [RT# 11179]
2004-05-03 23:54:38 +00:00
Mark Andrews
8407fbc61d 1624. [bug] zonemgr_putio() call should be locked. [RT# 11163] 2004-04-29 01:44:44 +00:00
Mark Andrews
cc32d38366 1622. [func] probe the system to see if IPV6_(RECV)PKTINFO is
available, and suppress wildcard binding if not.

1621.   [bug]           match-destinations did not work for IPv6 TCP queries.
                        [RT# 11156]
2004-04-29 01:37:14 +00:00
Mark Andrews
08b40678f3 1623. [bug] A serial number of zero was being displayed in the
"sending notifies" log message when also-notify was
                        used. [RT #11177]
2004-04-28 04:23:24 +00:00
Mark Andrews
3dc3d557be 1620. [func] When loading a zone report if it is signed. [RT #11149] 2004-04-28 04:07:28 +00:00
Mark Andrews
ec13cdb55e pullup:
decunix/ibm: gethostbyname_r() only supported a small number of addresses.
2004-04-22 03:32:33 +00:00
Mark Andrews
fa81ddd7b9 1613. [bug] Builds would fail on machines w/o a if_nametoindex().
Missing #ifdef ISC_PLATFORM_HAVEIFNAMETOINDEX/#endif.
                        [RT #11119]
2004-04-20 06:46:46 +00:00
Mark Andrews
2dc1141d73 silence compiler warning 2004-04-19 23:16:20 +00:00
Mark Andrews
86548554f6 1618. [bug] Fencepost errors in dns_name_ishostname() and
dns_name_ismailbox() could trigger a INSIST().
2004-04-19 21:47:43 +00:00
Mark Andrews
eec7c83e23 add missing entry points 2004-04-19 05:16:42 +00:00
Mark Andrews
5ed76fa7ea 1617. [port] win32: VC++ 6.0 support. 2004-04-19 04:16:55 +00:00
Mark Andrews
b21b49a1d4 1615. [port] Define ISC_SOCKADDR_LEN_T based on _BSD_SOCKLEN_T_ if
it is defined.
2004-04-19 02:54:15 +00:00
Mark Andrews
8d414d1559 1600. [bug] Duplicate zone pre-load checks were not case
insensitive.

1599.   [bug]           Fix memory leak on error path when checking named.conf.

1598.   [func]          Specify that certain parts of the namespace must
                        be secure (dnssec-must-be-secure).
2004-04-15 23:40:27 +00:00
Mark Andrews
b4fe7caac9 1611. [bug] solaris: IPv6 interface scanning failed to cope with
no active IPv6 interfaces.
2004-04-15 07:02:06 +00:00
Mark Andrews
42b48d11ca hide ((isc_event_t **) (void *)) cast using a macro, ISC_EVENT_PTR. 2004-04-15 01:58:25 +00:00
Mark Andrews
9a2127f833 Attempt to disable parallel processing. 2004-04-15 00:32:44 +00:00
Mark Andrews
9287a6b182 silence compiler warning 2004-04-14 05:09:43 +00:00
Mark Andrews
5567c75d30 add description for RES_NO_NIBBLE2 2004-04-13 07:19:18 +00:00
Mark Andrews
2e7f4872e3 decunix prototype mismatch
decunix silence compiler warning.
2004-04-13 04:57:08 +00:00
Mark Andrews
7b18445dd6 #ifdef EPFNOSUPPORT 2004-04-12 07:07:06 +00:00
Mark Andrews
8862388bcb 1602. [bug] Logging to a file failed unless a size was specified.
[RT# 10925]
2004-04-10 04:33:36 +00:00
Mark Andrews
e76c2e04a4 pullup from BIND 8
1657.   [bug]           gmtime_r() called incorrectly.
2004-04-10 03:47:09 +00:00
Mark Andrews
61e1dc26d6 regen 2004-04-07 00:57:04 +00:00
Mark Andrews
e3f6b4d219 regen 2004-04-06 22:04:52 +00:00
Mark Andrews
3b1fce680f 1595. [func] New notify type 'master-only'. Enable notify for
master zones only.
2004-03-30 02:13:45 +00:00
Mark Andrews
0b9af9eb37 1596. [func] Accept 'notify-source' style syntax for query-source. 2004-03-30 02:05:40 +00:00
Mark Andrews
c5cde9d5a7 1593. [bug] rndc should return "unknown command" to unknown
commands. [RT# 10642]
2004-03-22 01:46:01 +00:00
Mark Andrews
36fa8f333a Update description: ISC_R_CONTINUE -> DNS_R_CONTINUE 2004-03-19 04:50:20 +00:00
Mark Andrews
1676408640 pullup silence compiler fixes
ifconfig.sh for Solaris 9
README updates
2004-03-18 02:58:08 +00:00
Mark Andrews
28b863e609 pullup fixed from 9.3 2004-03-16 05:52:24 +00:00
Mark Andrews
1fa26403d7 copyright 2004-03-16 05:22:33 +00:00
Mark Andrews
50105afc55 1589. [func] DNSSEC lookaside validation.
enable-dnssec -> dnssec-enable
2004-03-10 02:19:58 +00:00
Mark Andrews
5a680f4170 1587. [bug] dns_message_settsigkey() failed to clear existing key.
[RT #10590]
2004-03-10 00:47:40 +00:00
Mark Andrews
a80cc8dfd9 update libbind to BIND 8.4.5 2004-03-09 06:30:18 +00:00
Mark Andrews
0707a8c04f regen 2004-03-05 12:40:39 +00:00
Mark Andrews
8a66318e41 regen / copyright update 2004-03-05 08:32:21 +00:00
Mark Andrews
af5073d032 update copyrights 2004-03-05 05:48:29 +00:00
Mark Andrews
dafcb997e3 update copyright notice 2004-03-05 05:14:21 +00:00
Mark Andrews
3c353d26cb add targets docclean manclean 2004-03-05 03:10:55 +00:00
Mark Andrews
ba3d80bcba configure.lineno 2004-03-05 00:03:05 +00:00
Mark Andrews
a03848252f 1580. [bug] Zone destuction on final detach takes a long time.
[RT #3746]

1579.   [bug]           Multiple task managers could not be created.
2004-03-04 06:56:41 +00:00
Mark Andrews
1285fa26e6 1588. [bug] win32: TCP sockets could become blocked. [RT #10115] 2004-03-04 05:54:29 +00:00
Mark Andrews
1d7cbe71b9 1583. [bug] Records add via UPDATE failed to get the correct trust
level. [RT #10452]
2004-03-04 02:46:28 +00:00
Mark Andrews
d249a25043 sig0 uses sig not rrsig 2004-03-04 02:44:54 +00:00
Mark Andrews
3f08fb69eb 1577. [bug] Use isc_uint32_t in ultrasparc optimizer bug
workaround code. [RT #10331]
2004-03-04 01:43:24 +00:00
Mark Andrews
7554feaef6 1571. [bug] rbt:hash_node() could fail leaving the hash table
in an inconsistant state.  [RT #10208]
2004-03-03 22:40:56 +00:00
Mark Andrews
7052e191ce 1544. [bug] Named would logged a single entry to a file despite it
being over the specified size limit.

1543.   [bug]           Logging using "versions unlimited" did not work.
2004-03-03 05:39:05 +00:00
Mark Andrews
d5ad558234 1540. [bug] "rndc reload <dynamiczone>" was silently accepted.
[RT #8934]
2004-03-02 02:37:11 +00:00
Mark Andrews
821644d49b 1574. [bug] Don't attempt to open the controls socket(s) when
running tests. [RT #9091]
2004-03-02 02:01:41 +00:00
Mark Andrews
d970376259 checkowner had wrong type and class 2004-03-02 01:40:44 +00:00
Mark Andrews
f0e57c23e0 1552. [bug] Accept NOTIFY requests from mapped masters if
matched-mapped is set. [RT #10049]
2004-03-02 01:19:51 +00:00
Mark Andrews
7ad4d54f29 1537. [func] New option "querylog". If set specify whether query
logging is to be enabled or disabled at startup.
2004-03-02 01:15:00 +00:00
Mark Andrews
2047977ce2 1586. [func] "check-names" is now implemented. 2004-02-27 20:41:51 +00:00
Mark Andrews
74cb99072c 1573. [port] linux: update to libtool 1.5.2 so that
"make install DESTDIR=/xx" works with
                        "configure --with-libtool".  [RT #9941]
2004-02-24 01:41:28 +00:00
Mark Andrews
22fa4e3206 1578. [bug] Don't use CLASS E IPv4 addresses when resolving.
[RT #10346]
2004-02-20 00:52:46 +00:00
Mark Andrews
c569a0e4d5 1582. [bug] rrset-order failed to work on RRsets with more
than 32 elements. [RT #10381]
2004-02-19 01:23:42 +00:00
Mark Andrews
89783da064 1581. [func] Disable DNSSEC support by default. To enable
DNSSEC specify "enable-dnssec yes;" in named.conf.
2004-02-17 03:40:23 +00:00
Mark Andrews
91c79af475 1576. [bug] Race condition in dns_dispatch_addresponse().
[RT# 10272]
2004-02-10 06:11:17 +00:00
Mark Andrews
daa73eae70 silence punned messages 2004-02-03 00:59:05 +00:00
Mark Andrews
e27d677170 #include <isc/string.h> 2004-02-02 04:37:39 +00:00
Mark Andrews
beb5c413b5 Replace sparse switch with if-else
Style
Add warning comments on known sparce switches.
2004-02-01 23:56:19 +00:00
Mark Andrews
774c3a62d9 1566. [port] Support for the cmsg framework on Solaris and HP/UX.
This also solved the problem that match-destinations
                        for IPv6 addresses did not work on these systems.
                        [RT #10221]
2004-01-29 04:39:19 +00:00
Mark Andrews
f7e94169a9 1567. [bug] B.ROOT-SERVERS.NET is now 192.228.79.201. 2004-01-29 04:34:13 +00:00
Mark Andrews
6bd3b1fdb3 1565. [bug] CD flag should be copied to outgoing queries unless the
query is under a secure entry point in which case CD should
                        be set.
2004-01-27 04:49:09 +00:00
Mark Andrews
96c973a6a9 1562. [bug] isc_socket_create() and isc_socket_accept() could
leak memory under error conditions. [RT #10230]
2004-01-26 23:33:32 +00:00
Mark Andrews
26cca757be CD is state is returned to querier. 2004-01-21 14:13:51 +00:00
Mark Andrews
7ac0df5322 explicitly set last two elements to NULL 2004-01-20 14:21:14 +00:00
Mark Andrews
519b239fc4 #include <isc/string.h> 2004-01-20 14:19:42 +00:00
Mark Andrews
78187348ca save bucketnum so that we can unlock the lock after the fctx is destroyed. 2004-01-20 12:49:45 +00:00
Mark Andrews
ad430189fb 1560. [port] FreeBSD: work around FreeBSD 5.2 mapping EAI_NODATA
and EAI_NONAME to the same value.
2004-01-14 20:23:53 +00:00
Mark Andrews
b346807a32 regen documentation 2004-01-14 02:13:45 +00:00
Mark Andrews
5c6762838c seperate out objects from lib/dns 2004-01-14 02:12:45 +00:00
Mark Andrews
35541328a8 1558. [func] New DNSSEC 'disable-algorithms'. Support entry into
child zones for which we don't have a supported
                        algorithm.  Such child zones are treated as unsigned.

1557.   [func]          Implement missing DNSSEC tests for
                        * NOQNAME proof with wildcard answers.
                        * NOWILDARD proof with NXDOMAIN.
                        Cache and return NOQNAME with wildcard answers.
2004-01-14 02:06:51 +00:00
Mark Andrews
61fb42c4ef 1555. [func] 'rrset-order cyclic' now longer has a random starting
point. [RT #7572]
2004-01-12 04:19:42 +00:00
Mark Andrews
bece90bfd7 double )) 2004-01-08 08:23:11 +00:00
Mark Andrews
c3f9bda20f 1553. [bug] The windows socket code could stop accepting
connections.
2004-01-08 05:35:53 +00:00
Mark Andrews
2cb73c34bf ireq ->ifreq 2004-01-07 21:55:47 +00:00
Mark Andrews
d0aebc5a55 1549. [func] named-checkzone can now write out the zone contents
in a easily parsable format (-D and -o).
2004-01-07 05:27:17 +00:00
Mark Andrews
5e41884b4a 1536. [bug] Windows socket code failed to log a error description
when returning ISC_R_UNEXPECTED. [RT #9998]
2004-01-05 08:14:56 +00:00
Mark Andrews
37225662b6 1534. [bug] Race condition when priming cache. [RT# 9940] 2004-01-05 07:45:34 +00:00
Mark Andrews
fd44706162 1547. [bug] Named wasted memory recording duplicate lame zone
entries. [RT #9341]
2004-01-05 06:44:30 +00:00
Mark Andrews
d6f0e45014 1535. [bug] When parsing APL records it was possible to silently
accept out of range ADDRESSFAMILY values. [RT# 9979]
2004-01-05 06:11:39 +00:00
Mark Andrews
818c37e7ba removed unvariable 2004-01-05 05:44:25 +00:00
Mark Andrews
9f1bca36e4 1546. [bug] We were rejecting valid secure CNAME to negative
answers.
reviewed: explorer
2004-01-05 05:42:16 +00:00
Mark Andrews
0e0d2891c0 1545. [bug] It was possible to leak memory if named was unable to
bind to the specified transfer source and TSIG was
                        being used. [RT #10120]
2004-01-05 04:21:30 +00:00
Mark Andrews
1e59437940 remove test for type 0 being set in from wire. 2003-12-13 04:33:53 +00:00
Mark Andrews
5697061cf7 unused variables 2003-12-13 04:31:37 +00:00
Mark Andrews
185fd22738 1541. [func] NSEC now uses new bitmap format. 2003-12-13 04:20:44 +00:00
Mark Andrews
7360d06313 {strlcpy,strlcat} -> isc_string_{strlcpy,strlcat} 2003-11-17 01:19:52 +00:00
Mark Andrews
f7145c9c9d add -allow-undefined 2003-11-04 23:31:39 +00:00
Mark Andrews
881702c9c0 1524. [port] AIX more libtool fixes. 2003-11-04 07:01:35 +00:00
Mark Andrews
6f80859318 1530. [bug] It was possible to trigger a INSIST() failure if a
slave master file was removed a just the correct
                        moment. [RT #9462]
2003-11-04 05:23:31 +00:00
Mark Andrews
2eb9c41504 1529. [bug] "notify explict;" failed to log that NOTIFY messages
were being sent for the zone. [RT# 9442]
2003-11-03 23:40:24 +00:00
Mark Andrews
0f98d5c83e repeated words 2003-11-02 22:49:10 +00:00
Mark Andrews
b7e6fb4e84 whitespace 2003-10-26 21:33:47 +00:00
Tatuya JINMEI 神明達哉
e407562a75 1528. [cleanup] Simplify some dns_name_ functions based on the
deprecation of bitstring labels.
2003-10-25 00:31:12 +00:00
Tatuya JINMEI 神明達哉
6da7c87a77 1527. [cleanup] Reduce the number of gettimeofday() calls without
losing necessary timer granularity.

(reviewed by marka and Kurt)
2003-10-25 00:09:14 +00:00
Mark Andrews
fedd92b14f want free should be initaliased to ISC_FALSE. 2003-10-17 05:31:05 +00:00
Mark Andrews
fcb54ce0a4 whitespace / layout 2003-10-17 03:46:46 +00:00
Mark Andrews
2f0bdbae4a only look for IFF_POINTOPOINT if it is defined. 2003-10-16 05:56:25 +00:00
Mark Andrews
5f1f24822f whitespace. 2003-10-16 05:46:19 +00:00
Mark Andrews
e724512f2b 1525. [bug] dns_cache_create() could dereference a NULL pointer
during error cleanup.
2003-10-15 07:01:45 +00:00
Mark Andrews
d88e1c30a4 three -> two 2003-10-13 00:40:29 +00:00
Tatuya JINMEI 神明達哉
cf756bac81 typo in a comment line. 2003-10-10 06:39:23 +00:00
Mark Andrews
402ca8ace0 INSIST -> RUNTIME_CHECK 2003-10-10 00:39:09 +00:00
Mark Andrews
71247c33a4 INSIST -> RUNTIME_CHECK 2003-10-10 00:19:01 +00:00
Mark Andrews
da318480f3 INSIST -> RUNTIME_CHECK 2003-10-10 00:13:50 +00:00
Mark Andrews
b6d52ee5be 1524. [port] AIX needs to be able to resolve all symbols when
creating shared libraries (--with-libtool).
2003-10-08 06:36:13 +00:00
Mark Andrews
b657d7db3b 1523. [bug] Fix race condition in rbtdb. [RT# 9189] 2003-10-08 00:24:28 +00:00
Mark Andrews
846f974d57 1517. [port] Support for IPv6 interface scanning on HP/UX and
TrueUNIX 5.1.
2003-10-07 03:34:30 +00:00
Mark Andrews
a2b8bb8777 remove extraneous spaces before semicolons 2003-10-03 06:12:34 +00:00
Mark Andrews
8d42bb315c 1522. [bug] dns_db_findnode() relax the requirements on 'name'.
[RT# 9286]
2003-10-03 03:12:35 +00:00
Mark Andrews
4efe32b8bb 1521. [bug] dns_view_createresolver() failed to check the
result from isc_mem_create(). [RT# 9294]
2003-10-03 02:19:31 +00:00
Mark Andrews
89639a5e13 1520. [protocol] Add SSHFP (SSH Finger Print) type.
Supplied by Jakob Schlyter jakob@rfc.se.
2003-10-01 10:05:00 +00:00
Mark Andrews
49fcdcd940 1518. [bug] dns_nsec_buildrdata(), and hence dns_nsec_build(),
contained a off-by-one error when working out the
                        number of octets in the bitmap.
2003-10-01 04:07:27 +00:00
Mark Andrews
12040a4f5c missing includes [RT#9194] 2003-10-01 00:58:07 +00:00
Mark Andrews
9e09ddba95 add sig0 comment 2003-09-30 06:18:11 +00:00
Mark Andrews
3970098dcd regen documentation 2003-09-30 06:13:33 +00:00
Mark Andrews
93d6dfaf66 1516. [func] Roll the DNSSEC types to RRSIG, NSEC and DNSKEY. 2003-09-30 06:00:40 +00:00
Tatuya JINMEI 神明達哉
600cbd1fce 1515. [func] Allow transfer source to be set in a server statement.
[RT #6496]

implemented by marka, reviewed and documented by jinmei.
Notes:
  lib/dns/zone.c had to be modified manually.
  ARM html files were not regenerated (yet).
2003-09-25 18:16:50 +00:00
Mark Andrews
fbc27dfec6 don't fallback to tcp on refused for stub zones. [rt#8945] 2003-09-24 01:03:37 +00:00
Mark Andrews
baee883e37 1511. [bug] delegation-only was generating false positives
on negative answers from subzones.
2003-09-21 13:05:16 +00:00
Mark Andrews
7999602b31 log more stuff to see if we can see why the are false positives w/ delegation
only.
2003-09-21 02:52:35 +00:00
Mark Andrews
f4fb3dc516 remove extaneous semicolon 2003-09-19 14:35:03 +00:00
Mark Andrews
62091d9b54 wrong element delonly -> rootexclude 2003-09-19 13:27:18 +00:00
Mark Andrews
68a918e038 rootexlude -> rootexclude
free and initialise rootdelonly & rootexclude
buy -> by
2003-09-19 13:17:21 +00:00
Mark Andrews
0b1da8124c 1510. [func] New view option "root-delegation-only". Apply
delegation-only check to all TLDs and root.
                        Note there are some TLDs that are NOT delegation
                        only (e.g. DE and MUSEUM) these can be excluded
                        from the checks buy using exclude.

                        root-delegation-only exclude { "DE"; "MUSEUM"; };
2003-09-19 12:39:49 +00:00
Mark Andrews
da34d92aee 1509. [bug] Hint zones should accept delegation-only. Forward
zone should not accept delegation-only.

1508.   [bug]           Don't apply delegation-only checks to answers from
                        forwarders.

1507.   [bug]           Handle BIND 8 style returns to NS queries to parents
                        when making delegation-only checks.
2003-09-19 05:53:28 +00:00
Mark Andrews
20d90a3753 1506. [bug] Wrong return type for dns_view_isdelegationonly(). 2003-09-17 15:01:26 +00:00
Mark Andrews
fefe1106d9 1505. [bug] Uninitaliased rdataset is sdb. [RT #8750] 2003-09-17 05:34:55 +00:00
Mark Andrews
4607e7a9b8 1504. [func] New zone type "delegation-only". 2003-09-17 05:24:43 +00:00
Mark Andrews
cc083bb703 sizeof style 2003-09-11 01:49:18 +00:00
Mark Andrews
1b5a728293 1499. [bug] isc_random need to be seeded better if arc4random()
is not used.
2003-08-05 00:08:30 +00:00
Mark Andrews
5e9f612524 1498. [port] bsdos: 5.x support. 2003-07-30 01:43:28 +00:00
Mark Andrews
d19fc9d988 #include <isc/string.h> [RT #8537] 2003-07-30 01:10:46 +00:00
Mark Andrews
57443f34ba remove redundant check [RT #8539] 2003-07-30 00:54:27 +00:00
Mark Andrews
a8f061d5c6 #include <config.h> 2003-07-29 04:31:23 +00:00
Mark Andrews
3f40de5598 isc_int32_t -> isc_uint32_t 2003-07-29 04:22:53 +00:00
Mark Andrews
3184ff5e45 1496. [port] test for pthread_attr_setstacksize(). 2003-07-25 05:08:51 +00:00
Mark Andrews
d5d2dca925 missing '*' 2003-07-25 05:02:54 +00:00
Mark Andrews
96391d4178 add hash.c/hash.h 2003-07-25 02:57:58 +00:00
Mark Andrews
1e107b3d7b 1495. [cleanup] Replace hash functions with universal hash. 2003-07-25 02:22:26 +00:00
Mark Andrews
4691e18ca0 deconst 2003-07-25 02:04:28 +00:00
Mark Andrews
5eb91bd90e silence compiler warnings (HPUX/11i) 2003-07-25 00:01:16 +00:00
Mark Andrews
4c54e122fe silence compiler warning (HPUX/11i) 2003-07-24 06:41:20 +00:00
Mark Andrews
cc6271e46c 1494. [security] Turn on RSA BLINDING as a precaution. 2003-07-24 06:08:20 +00:00
Mark Andrews
ce08911be8 typo 2003-07-23 03:18:56 +00:00
Mark Andrews
17a14e451d 1492. [cleanup] Preserve rwlock quota context when upgrading /
downgrading. [RT #5599]
2003-07-21 01:14:18 +00:00
Mark Andrews
afbb7b15ae Only fall back to TCP for slave zones if UDP refresh queries fail.
[RT #8253]
2003-07-21 01:11:29 +00:00
Mark Andrews
f488b1c311 1487. [compat] Treat 'allow-update' on slave zones as a warning.
[RT #3469]
2003-07-18 06:00:41 +00:00
Mark Andrews
4bb16c5856 1488. [bug] Don't override trust levels for glue addresses.
[RT #5764]
2003-07-18 04:30:01 +00:00
Mark Andrews
c676c1b497 1487. [bug] A REQUIRE() failure could be triggered if a zone was
queued for transfer and the zone was then removed.
                        [RT #6189]
2003-07-18 02:54:23 +00:00
Mark Andrews
ffdfae8e41 1486. [bug] isc_print_snprintf() '%%' consumed one too many format
characters. [RT# 8230]
2003-07-18 02:27:40 +00:00
Mark Andrews
471e0563c7 1485. [bug] gen failed to handle high type values. [RT #6225] 2003-07-17 08:05:15 +00:00
Mark Andrews
3ca4b8062f 1481. [bug] Refresh and stub queries failed to use masters keys
if specified. [RT #7391]
2003-07-17 07:05:12 +00:00
Mark Andrews
72ddc4cef9 1480. [bug] Provide replay protection for rndc commands. Full
replay protection requires both rndc and named to
                        be updated.  Partial replay protection (limited
                        exposure after restart) is provided if just named
                        is updated.
2003-07-17 06:24:44 +00:00
Mark Andrews
dbd34ac1d0 remove potential file descriptor leak 2003-07-09 03:28:44 +00:00
Mark Andrews
5798e5b3d4 update WIDE copyright notice. 2003-07-04 05:21:47 +00:00
Mark Andrews
ad4b2f37e0 1479. [bug] cfg_create_tuple() failed to handle out of
memory cleanup.  parse_list() would leak memory
                        on syntax errors.
2003-07-03 01:50:25 +00:00
Mark Andrews
3425cd6803 1473. [bug] create_map() and create_string() failed to handle out
of memory cleanup.  [RT #6813]
2003-07-03 00:43:28 +00:00
Mark Andrews
edc6991f4b 1471. [bug] libbind: updated to BIND 8.4.0. 2003-07-02 04:00:40 +00:00
Mark Andrews
9c1eb2279d 1477. [bug] memory leak using stub zones and TSIG. 2003-07-01 03:51:30 +00:00
Mark Andrews
f95231835f 1475. [port] Probe for old sprintf(). 2003-06-24 06:24:44 +00:00
Mark Andrews
090f79c6c2 1474. [port] Provide strtoul() and memmove() for platforms
without them.
2003-06-24 05:18:39 +00:00
Mark Andrews
21f1794606 1474. [port] Provide strtoul() and memmove() for platforms
without them.
2003-06-24 05:11:53 +00:00
Mark Andrews
0cb25226fb 1473. [bug] free_map() and free_string() failed to handle out
of memory cleanup.  [RT #6813]
2003-06-20 02:50:48 +00:00
Mark Andrews
692ae2fff9 don't print redundant $ORIGIN's. 2003-06-18 05:42:45 +00:00
Mark Andrews
c8af2c78dd Use LOCK_ZONE/UNLOCK_ZONE. 2003-06-06 06:09:39 +00:00
Mark Andrews
90df33887f 1471. [bug] libbind: updated to BIND 8.4.0. 2003-06-03 06:40:22 +00:00
Mark Andrews
68e6e43c2b regen:
1471.   [bug]           libbind: updated to BIND 8.4.0.
2003-06-03 04:40:51 +00:00
Mark Andrews
7a857bdb68 1471. [bug] libbind: updated to BIND 8.4.0. 2003-06-03 04:39:35 +00:00
Mark Andrews
7767c2a7aa try tcp axfr/ixfr even if refresh fails/refused. 2003-05-21 14:15:32 +00:00
Mark Andrews
ceb514ea0c zone->masterscnt was being zero'd rather than zone->curmaster = 0 2003-05-14 02:41:17 +00:00
Mark Andrews
d20c22f634 check that proc != NULL 2003-05-11 02:24:11 +00:00
Mark Andrews
fc87397df6 1470. [bug] incorrect length passed to snprintf. [RT #5966] 2003-05-08 04:03:25 +00:00
Mark Andrews
1f58c45566 memset the entire lifc structure 2003-05-01 00:35:33 +00:00
Mark Andrews
64655588e7 use-alt-transfer-source when the master refused soa queries. [RT #5528] 2003-04-22 04:03:25 +00:00
Mark Andrews
1a4d687359 1468. [func] Internal zones are nolonger for 'rndc status'.
[RT #4706]
2003-04-17 12:11:39 +00:00
Mark Andrews
397f86cf27 1467. [func] $GENERATES now supports optional class and ttl. 2003-04-17 11:31:02 +00:00
Mark Andrews
f5af519ab5 1465. [bug] isc_base64_decodestring() and isc_base64_tobuffer()
failed to check that trailing bits were zero allowing
                        some invalid base64 strings to be accepted.  [RT #5397]
2003-04-17 06:04:13 +00:00
Mark Andrews
b0c2141b23 1464. [bug] Preserve "out of zone" data for outgoing zone
transfers. [RT #5192]
2003-04-17 05:40:45 +00:00
Mark Andrews
182a34004c 1463. [bug] dns_rdata_from{wire,struct}() failed to catch bad
NXT bit maps. [RT #5577]
2003-04-17 03:43:35 +00:00
Mark Andrews
603658ea65 1462. [bug] parse_sizeval() failed to check the token type.
[RT #5586]
2003-04-17 03:26:58 +00:00
Mark Andrews
163547c0c0 1461. [bug] Remove deadlock from rbtdb code. [RT #5999] 2003-04-17 01:56:35 +00:00
Mark Andrews
8ff31bab2f 1454. [bug] inet_pton() failed to reject certian malformed
IPv6 literals.
2003-04-17 01:52:45 +00:00
Mark Andrews
c716229384 win32: define S_ISREG if it not already defined. 2003-04-12 04:57:17 +00:00
Mark Andrews
806c235ecf 1458. [cleanup] sprintf() -> snprintf(). 2003-04-11 07:25:31 +00:00
Mark Andrews
935000aa6e 1457. [port] Provide strlcat() and strlcpy() for platforms without
them.
2003-04-10 04:47:56 +00:00
Mark Andrews
2fd63cf561 1455. [bug] <netaddr> missing from server grammar in
doc/misc/options. [RT #5616]
2003-04-10 02:16:11 +00:00
Mark Andrews
817314313f missing #include's 2003-04-10 02:06:51 +00:00
Mark Andrews
8ca42f6318 1454. [port] Use getifaddrs() if available for interface scanning.
--disable-getifaddrs to override.  Glibc currently
                        has a getifaddrs() that does not support IPv6.
                        Use --enable-getifaddrs=glibc to force the use of
                        this version under linux machines.
2003-04-01 05:18:22 +00:00
Tatuya JINMEI 神明達哉
c596c075f9 rt #5222: useing a wrong return type for isc_file_exists().
developer: marka
reviewer: jinmei
2003-03-23 13:18:53 +00:00
Mark Andrews
036f643016 Non-NULL pointer passed when verifing looking for "kal". 2003-03-20 00:43:08 +00:00
Mark Andrews
c480adf955 OSF defines "try" as __builtin_try. 2003-03-20 00:19:55 +00:00
Mark Andrews
be8aff07bb spelling 2003-03-19 17:43:41 +00:00
Mark Andrews
c1561e8a36 tab -> space 2003-03-03 01:42:59 +00:00
Mark Andrews
602d2e93f7 close of wrong socket [RT #5221] 2003-03-03 01:41:27 +00:00
Mark Andrews
b500de3be9 alt-transfer-source-v4 -> alt-transfer-source 2003-02-27 05:12:47 +00:00
Mark Andrews
6bd8cee983 1450. [bug] Fetching expired glue failed under certian
circumstances.  [RT #5124]
developer: marka
reviewer: explorer
2003-02-27 02:20:15 +00:00
Mark Andrews
8b5de97014 1448. [bug] Handle empty wildcards labels.
developer: marka
reviewer: explorer
2003-02-27 00:19:04 +00:00
Mark Andrews
80b782f356 1447. [bug] We were casting (unsigned int) to and from (void *).
rdataset->private4 is now rdataset->privateuint4
                        to reflect a type change.
developer: marka
reviewer: explorer
2003-02-26 23:52:30 +00:00
Mark Andrews
476386968b 1446. [func] Implemented undocumented alternate transfer sources
from BIND 8.  See use-alt-transfer-source,
                        alt-transfer-source-v4 and alt-transfer-source-v6.

                        SECURITY: use-alt-transfer-source is ENABLED unless
                        you are using views.  This may caues a security risk
                        resulting in accidental disclosure of wrong zone
                        content if the master supplying different source
                        content based on IP address.  If you are not certian
                        ISC recommends setting use-alt-transfer-source no;
developer: marka
reviewer: explorer
2003-02-26 23:29:00 +00:00
Mark Andrews
53cf671865 1445. [bug] DNS_ADBFIND_STARTATROOT broke stub zones. This has
been replaced with DNS_ADBFIND_STARTATZONE which
                        causes the search to start using the closest zone.

1444.   [func]          dns_view_findzonecut2() allows you to specify if the
                        cache should be searched for zonecuts.
developer: marka
reviewer: explorer
2003-02-26 22:54:29 +00:00
Mark Andrews
888bb8bf68 1443. [func] Masters lists can now be specified and referenced
in zone masters clauses and other masters lists.
developer: marka
reviewer: explorer
2003-02-26 06:04:03 +00:00
Mark Andrews
b312748a11 1442. [func] New fuctions for manipulating port lists:
dns_portlist_create(), dns_portlist_add(),
                        dns_portlist_remove(), dns_portlist_match(),
                        dns_portlist_attach() and dns_portlist_detach().

1441.   [func]          It is now possible to tell dig to bind to a specific
                        source port.

1440.   [func]          It is now possible to tell named to avoid using
                        certian source ports (avoid-v4-udp-ports,
                        avoid-v6-udp-ports).
developer: marka
reviewer: explorer
2003-02-26 05:05:16 +00:00
Mark Andrews
463fc8f9d6 1437. [bug] Leave space for stdio to work in. [RT #5033]
developer: marka
reviewer: explorer
2003-02-26 04:00:20 +00:00
Mark Andrews
c3ea698877 1436. [func] dns_zonemgr_resumexfrs() can be used to restart
stalled transfers.

1435.   [bug]           zmgr_resume_xfrs() was being called read locked
                        rather than write locked.  zmgr_resume_xfrs()
                        was not being called if the zone was being
                        shutdown.

1434.   [bug]           "rndc reconfig" failed to initiate the initial
                        zone transfer of new slave zones.
developer: marka
reviewer: explorer
2003-02-26 03:45:59 +00:00
Mark Andrews
9368d7df83 1433. [bug] named could trigger a REQUIRE failure if it could
not get a file descriptor when attempting to write
                        a master file. [RT #4347]
developer: marka
reviewer: explorer
2003-02-26 03:06:46 +00:00
Mark Andrews
e2fb08b85d 1432. [func] The advertised EDNS UDP buffer size can now be set
via named.conf (edns-udp-size).
developer: marka
reviewer: explorer
2003-02-26 02:04:00 +00:00
Mark Andrews
71dfe8bb7a spelling 2003-02-26 01:21:09 +00:00
Mark Andrews
22a9cd54c0 1431. [bug] isc_print_snprintf() "%s" with precision could walk of
end of arguement. [RT #5191]
2003-02-25 21:32:07 +00:00
Mark Andrews
21ba6c18e4 1430. [port] linux: IPv6 interface scanning support.
reviewed: jinmei
developer: marka
This is a interim solution that needs to be compared to getifaddrs()
and PF_NETLINK solution spaces which Jinmei is exploring.  It's not
clear which linux kernels support which of these three interfaces.
2003-02-24 01:46:11 +00:00
Mark Andrews
a9bdaa1772 engine pointer not set to NULL on free. 2003-02-18 06:25:11 +00:00
Mark Andrews
7418c7cc78 silence compiler 2003-02-18 06:07:40 +00:00
Mark Andrews
e70b069e38 spelling 2003-02-07 01:54:56 +00:00
Mark Andrews
b587e1d83f spelling 2003-02-07 01:13:13 +00:00
Mark Andrews
a1301ef891 undo (wrong branch) 2003-02-04 06:10:09 +00:00
Mark Andrews
ab4bec8504 checkpoint 2003-02-04 05:44:32 +00:00
Mark Andrews
59f51f864c 1425. [port] linux/libbind: define __USE_MISC when testing *_r()
function prototypes in netdb.h.  [RT #4921]
2003-01-24 05:03:45 +00:00
Mark Andrews
a207a2835e 1424. [bug] EDNS version not being correctly printed. 2003-01-24 04:25:53 +00:00
Mark Andrews
d788d738e3 Differentiate between NXDOMAIN and NXRRSET 2003-01-22 06:37:04 +00:00
Mark Andrews
0f09ef5a50 1420. [port] solaris: work around gcc optimiser bug. 2003-01-21 04:32:19 +00:00
Mark Andrews
9bd478a5e6 1417. [func] ID.SERVER/CHAOS is now a built in zone.
See "server-id" for how to configure.
2003-01-20 05:46:11 +00:00
Mark Andrews
421e4cf66e 1416. [bug] Empty node should return NOERROR NODATA, not NXDOMAIN.
[RT #4715]
developer: marka
reviewer: explorer
2003-01-18 03:18:31 +00:00
Mark Andrews
b0c15bd979 1415. [func] DS TTL now derived from NS ttl. NXT TTL now derived
from SOA MINIMUM.

1414.   [func]          Support for KSK flag.
2003-01-18 02:40:59 +00:00
Mark Andrews
0ffaee887f 1412. [func] You can now specify servers to be tried if a nameserver
has IPv6 address and you only support IPv4 or the
                       reverse. See dual-stack-servers.
2003-01-16 03:59:28 +00:00
Mark Andrews
d548131d6a support for high optimisation levels 2003-01-15 05:24:29 +00:00
Mark Andrews
1d84c2b146 we may have NS information from the child zone. 2003-01-15 05:05:13 +00:00
Mark Andrews
2f4fbeb360 SOCKET vs int 2003-01-14 23:37:06 +00:00
Mark Andrews
5f89a1ee9e 1411. [bug] empty nodes should stop wildcard matches. [RT #4802]
developer: marka
reviewer: explorer
2003-01-14 00:38:07 +00:00
Mark Andrews
c86eed4bde 1410. [func] handle records that live in the parent zone, e.g. DS.
developer: marka
reviewer: explorer
2003-01-14 00:28:50 +00:00
Mark Andrews
3c2127744f update comment 2003-01-10 02:43:56 +00:00
Mark Andrews
3369e61105 remove unused code 2003-01-08 04:42:22 +00:00
Mark Andrews
3d00f74888 When processing the authority section process the NS records first. 2003-01-05 23:19:29 +00:00
Mark Andrews
6874dcf6a0 style 2002-12-31 05:40:15 +00:00
Mark Andrews
f4cbe536b1 cygwin support 2002-12-27 03:29:37 +00:00
Mark Andrews
af623d1cd2 cygwin support 2002-12-27 03:13:51 +00:00
Mark Andrews
602274b30f isc_net_probeipv6() was #ifdef'd out 2002-12-24 05:12:50 +00:00
Mark Andrews
d457997b3b AI_ADDRCONFIG is not allowed by the old getaddinfo() spec. Try with
then without AI_ADDRCONFIG if the former faile with BADFLAGS.
2002-12-20 04:10:03 +00:00
Mark Andrews
12ff7274fe 1409. [bug] DS should have attibute DNS_RDATATYPEATTR_DNSSEC. 2002-12-20 01:19:20 +00:00
Mark Andrews
876da2a83d Check that the NS/AAAA/A RRsets have not expired seeing if they don't need to
be replaced.
2002-12-16 12:47:39 +00:00
Mark Andrews
81aea2f2d3 undo wrong branch 2002-12-13 02:51:41 +00:00
Mark Andrews
0020640ff6 checkpoint 2002-12-13 02:37:35 +00:00
Mark Andrews
8b212c623d undo 2002-12-13 02:11:12 +00:00
Mark Andrews
9d3ad53203 1408. [bug] distclean was not complete. [RT #4700] 2002-12-13 02:01:52 +00:00
Mark Andrews
def8e47c68 use isc_random_get() rather than rand()/arc4random() directly.
developer: marka
reviewer: bwelling
2002-12-05 04:36:26 +00:00
Mark Andrews
767fd19da4 1407. [bug] lfsr incorrectly implements the shift register.
[RT #4617]
2002-12-05 04:01:54 +00:00
Mark Andrews
8da0b50e8a 1406. [bug] dispatch initialises one of the LSFR's with a incorrect
polynomial.  [RT #4617]
2002-12-05 03:55:09 +00:00
Mark Andrews
815a44abf5 arc4random() lower bits are truly random so there in no need to shift the
result to get truly random data.
2002-12-04 04:54:28 +00:00
Mark Andrews
5b76a09697 1405. [func] Use arc4random() if available.
from: jakob@crt.se
reviewed: marka
2002-12-04 01:19:28 +00:00
Mark Andrews
6388dcf8e6 pullup from bind8:
1404.   [bug]           libbind: ns_name_ntol() could overwite a zero length
                        buffer.
2002-12-03 05:39:10 +00:00
Mark Andrews
c5689081b7 define PATH_MAX if not defined. [RT #4602 + others] 2002-11-29 01:42:18 +00:00
Mark Andrews
49a940dc68 1402. [cleanup] A6 has been moved to experimental and is no longer
fully supported.
developer: jinmei
reviewer: marka
2002-11-27 09:52:58 +00:00
Mark Andrews
646182a67f missing include
adjust prototype for isc_netscope_pton() to use void *.
2002-11-26 04:36:46 +00:00
Mark Andrews
41f5cf4ac1 check for the existance of if_nametoindex().
developer: jinmei
reviewer: marka
2002-11-26 03:53:42 +00:00
Mark Andrews
aebe37a461 ensure that zone id is set to zero.
only look for BSD internal scope if platform supports scope_id.
reviewer: marka
developer: jinmei
2002-11-26 03:16:31 +00:00
Mark Andrews
d92770e851 1401. [bug] adb wasn't clearing state when the timer expired. 2002-11-16 17:20:03 +00:00
Mark Andrews
c972e36de6 reversed timestamp sanity test on SIG 2002-11-15 21:25:21 +00:00
Michael Graff
e34efaccfa merge adb_race branch 2002-11-13 00:07:04 +00:00
Michael Graff
e903df2f01 merge 4319 2002-11-12 23:58:14 +00:00
Michael Graff
43ee20a821 merge rt4112 2002-11-12 23:38:12 +00:00
Michael Graff
6434457b0b merge 4090 2002-11-12 23:24:45 +00:00
Michael Graff
972cbaa79e merge rt3598 (code by marka, pullup by me) 2002-11-12 22:22:32 +00:00
Mark Andrews
59ab128c97 1400. [bug] Block the addition of wildcard NS records by IXFR
or UPDATE. [RT #3502]
developer: marka
reveiwer: ogud
2002-11-12 20:16:30 +00:00
Mark Andrews
90295f915c 1399. [bug] Use serial number arithmetic when testing SIG
timestamps. [RT #4268]
developer: marka
reviewer: ogud
2002-11-12 19:50:51 +00:00
Mark Andrews
142d155dd6 1397. [bug] J.ROOT-SERVERS.NET is now 192.58.128.30. 2002-11-05 22:21:28 +00:00
Mark Andrews
2ffb3eb384 1395. [port] OpenSSL 0.9.7 defines CRYPTO_LOCK_ENGINE but doesn't
have a working implementation.  [RT #4079]
2002-10-31 04:35:02 +00:00
Mark Andrews
aa39170da8 1394. [func] It is now possible to check if a particular element is
in a acl.  Remove duplicate entries from the localnets
                        acl.

1393.   [port]          Bind to individual IPv6 interfaces if IPV6_IPV6ONLY
                        is not available in the kernel to prevent accidently
                        listening on IPv4 interfaces.
developer: jinmei
reviewer: marka
2002-10-29 04:40:26 +00:00
Mark Andrews
2357adb0d4 use family specific socket to lookup interface flags, etc. 2002-10-28 06:12:13 +00:00
Mark Andrews
925c021f1f u_int32_t -> isc_uint32_t 2002-10-28 02:35:36 +00:00
Mark Andrews
e12b02b62c u_int32_t -> isc_uin32_t 2002-10-28 02:23:54 +00:00
Mark Andrews
a3bcfd4660 u_int#_t -> isc_uint#_t 2002-10-28 02:16:21 +00:00
Mark Andrews
cbc0becf05 isc_netaddr_fromsockaddr failed to set zone for AF_INET 2002-10-25 02:36:42 +00:00
Mark Andrews
6526fd032f 1391. [func] Add support for IPv6 scoped addresses in named. 2002-10-24 03:52:35 +00:00
Tatuya JINMEI 神明達哉
959cf5e112 (RT #3666) named could fail to rotate long log files.
developer: marka
reviewer: jinmei
2002-10-16 13:15:30 +00:00
Mark Andrews
bc50732bab remove repeated "keep" in comment. 2002-10-15 03:15:28 +00:00
Tatuya JINMEI 神明達哉
1e850a433a in dbiterator_destroy(), gained a reference to db before using an mctx
associated with the db, in case that we had the last reference.
[RT #3588]
2002-10-10 13:50:02 +00:00
Mark Andrews
2945ac15af 1385. [bug] Setting serial-query-rate to 10 would trigger a
REQUIRE failure.
2002-09-30 06:37:49 +00:00
Mark Andrews
ca70688bf6 1383. [func] Track the serial number in a IXFR response and log if
a mismatch occurs.  This is a more specific error than
                        "not exact". [RT #3445]
2002-09-24 01:04:03 +00:00
Mark Andrews
8b0ee8448b 1382. [bug] make install failed with --enable-libbind. [RT #3656]
top_srcdir was being defined via make/rules.in and was over riding that
correct definition from Makefile.in.  Use the abosolute version in
make/rules.in.
2002-09-18 05:18:18 +00:00
Mark Andrews
aec2d57d5b 1381. [bug] named failed to correctly process answers that
contained DNAME records where the resulting CNAME
                        resulted in a negative answer.
2002-09-12 04:52:13 +00:00
Mark Andrews
acfbd7a478 report type and class when logging failures via add_bad 2002-09-12 04:42:46 +00:00
Mark Andrews
c0c9d2b566 Remove layer violation. [RT #3615] 2002-09-12 02:44:29 +00:00
Mark Andrews
1a1148360e Add missing space to fprintf. 2002-09-12 00:28:52 +00:00
Mark Andrews
a29ef27b39 When a lookup resulted in an nxrrset match of a wildcard, the wildcard
attribute wasn't set on foundname.
Move "else" body to mainline, "if" body end in unconditional goto.
2002-09-10 13:35:54 +00:00
Mark Andrews
a9ae9d743c 1380. [func] 'rndc recursing' dump recursing queries to
'recursing-file = "named.recursing";'.
2002-09-10 04:45:54 +00:00
Mark Andrews
798c83548f add explict dependancies for the generated header files. 2002-09-10 04:45:06 +00:00
Mark Andrews
75ace6601e 1379. [func] 'rndc stats' now reports tcp and recursion quota
states.

1378.   [func]          Improved positive feedback for 'rndc {reload|refresh}.

1377.   [func]          dns_zone_load{new}() now reports if the zone was
                        loaded, queued for loading to up to date.

1376.   [func]          New function dns_zone_logc() to log to specified
                        category.
2002-09-10 02:23:46 +00:00
Mark Andrews
ba4aec8c18 1375. [func] 'rndc dumpdb' now dumps the adb cache along with the
data cache.
2002-09-10 02:06:49 +00:00
Mark Andrews
550085fed1 1374. [func] dns_adb_dump() now logs the lame zones associated
with each server.
* DP now supports debbugging at non-debug levels.
* log fetch failure reasons at DEF_LEVEL.
2002-09-10 02:01:15 +00:00
Mark Andrews
f411c2e81c 1373. [bug] Recovery from expired glue failed under certian
circumstances.
2002-09-10 00:53:31 +00:00
Michael Graff
de6aca419d Rework previous slightly, to only signal if we were using WAITUNTIL() and we
actually have a due time
2002-09-09 21:15:58 +00:00
Michael Graff
e5242f042b When scheduling a new timer, check to see if we missed our last wakeup
by more than 15 seconds.  If we have, SIGNAL().
2002-09-09 20:04:10 +00:00
Michael Graff
88f7da4690 add a new log module, timer 2002-09-09 20:02:22 +00:00
Mark Andrews
6125833e82 isc_timer_poke is thread specific 2002-09-09 06:01:06 +00:00
Mark Andrews
252cebc0fa developer: marka
reviewer: jinmei
TRIEDFIND test had wrong sence.
2002-09-09 02:54:18 +00:00
Michael Graff
c68b63e0be change many debug(3) to debug(1), and several debug(*) to info 2002-09-08 18:37:47 +00:00
Michael Graff
4f39334027 change a message about trailing garbage in a packet from debug(1) to debug(3) 2002-09-08 18:37:12 +00:00
Michael Graff
371147fdc5 add isc_timer_gettype() (useful in debugging code) and a temporary hack of isc_timermgr_poke 2002-09-08 18:35:55 +00:00
Michael Graff
3e42be4026 rename 'worklimited' to 'idle' 2002-09-08 18:35:20 +00:00
Michael Graff
8f7b56e275 add goo for error checking mutexes on (at least) tru64 2002-09-08 18:32:38 +00:00
Tatuya JINMEI 神明達哉
e992af4209 fixed a bug that named crashes with an assertion failure on exit when sharing
the same port for listening and querying, and changing listening addresses
several times. [RT# 3509]

additionally,
  + limited the canceled socket tasks in dispatch.c
  + made dns_dispatch_changeattributes() care about the NOLISTEN mask
  + described side effects of dns_dispatch_changeattributes() in its
    description comment
2002-09-04 02:26:13 +00:00
Mark Andrews
a39a2424bb '\0' terminate code.
All reasons for marking a server bad should be logged to the lame channel.
2002-08-29 07:01:49 +00:00
Mark Andrews
b6309ed962 developer: jinmei
reviewer: marka
1368.   [func]          remove support for bitstring labels.
2002-08-27 04:53:43 +00:00
Mark Andrews
39fe146f2a developer: marka
reviewed: jinmei
1364.  [func]          Use response times to select forwarders.
2002-08-23 00:27:10 +00:00
Mark Andrews
741a75f81b reviewed: marka
developer: mayer
relative paths
build against openssl 0.9.6g
2002-08-17 01:34:09 +00:00
Mark Andrews
d8ec783e6d reviewed: jinmei
who: marka
1359.   [bug]           remove IF_RUNNING test when scanning interfaces.
2002-08-16 00:05:57 +00:00
Danny Mayer
15e7c81d57 file changes as well as addition of the use of IpHlpApi from the MS Platform SDK 2002-08-11 03:32:56 +00:00
Danny Mayer
24e0175a62 Win32 version for using the registry or resolv.conf for resolver information 2002-08-11 03:29:32 +00:00
Danny Mayer
1433d8f5f4 changed keyword option to options for the resolv.conf file 2002-08-11 03:26:26 +00:00
Mark Andrews
5bd76af084 1358. [func] log the reason for rejecting a server when resolving
queries.
2002-08-09 06:12:50 +00:00
Mark Andrews
49d69bbad8 use lwres_inet_ntop instead of inet_ntop 2002-08-08 21:14:13 +00:00
Mark Andrews
8bcb0f297b 1257. [bug] --enable-libbind would fail when not built in the
source tree for certian OS's.
2002-08-08 05:54:12 +00:00
Mark Andrews
5c10f54fe3 1355. [bug] It was possible to trigger a INSIST when debugging
large dynamic updates. [RT #3390]
2002-08-06 14:33:08 +00:00
Danny Mayer
8c17b6f1e4 Updated code to support more than 63 accepts and connects by adding capability to add more event_wait threads on demand 2002-08-06 03:32:53 +00:00
Mark Andrews
1feb76edcb 1355. [tuning] Reduce the number events / quantum for zone tasks. 2002-08-06 02:16:09 +00:00
Mark Andrews
4c342614f8 1354. [bug] Fix DNSSEC wildcard proof for CNAME/DNAME. 2002-08-06 01:50:28 +00:00
Mark Andrews
cffb3284d6 add 'man' target 2002-08-05 05:06:07 +00:00
Mark Andrews
e72d4d8929 1354. [doc] lwres man pages had illegal nroff. 2002-08-05 04:56:50 +00:00
Danny Mayer
834aa90500 Change isc_win32_version_check name to isc_win32_versioncheck and fix return value to be as reported in the header 2002-08-03 01:36:24 +00:00
Danny Mayer
70406959df Fix NTReportError which needed an array of strings instead of just a pointer to a string 2002-08-03 01:34:14 +00:00
Mark Andrews
bb6936058e 1351. [bug] lwres_getipnodebyname() returned the wrong name
when given a IPv4 literal, af=AF_INET6 and AI_MAPPED
                        was set.
2002-08-02 12:16:57 +00:00
Danny Mayer
5da7016a6c Message header is per I/O and not per socket. Changes made to make them per I/O. 2002-08-02 03:45:56 +00:00
Mark Andrews
0ad5cb4782 1350. [bug] dns_name_fromtext() failed to handle too many labels
gracefully.
2002-08-02 00:25:15 +00:00
Danny Mayer
dd472802de ipv6 cleanup and reorganization of header information 2002-08-01 03:56:08 +00:00
Danny Mayer
5a18a1174d Version-specific functions 2002-08-01 03:54:30 +00:00
Danny Mayer
931e557ecf Fixed code to check for NULL before freeing buffer 2002-08-01 03:52:14 +00:00
Danny Mayer
1ceb6aa154 Added Windows-specific error codes to list 2002-08-01 03:50:24 +00:00
Danny Mayer
4d9aec9c8c Redesigned sockets to use I/O Completion Ports and Events and eliminating multiple socket bugs reported 2002-08-01 03:46:21 +00:00
Danny Mayer
de4f4b6c58 Added NTReportError to use when the Event Log is not open for updates 2002-08-01 03:43:31 +00:00
Danny Mayer
498e1c30b2 Moved Win32 Version information to Win32os.c 2002-08-01 03:41:49 +00:00
Danny Mayer
d3e0cb0000 Win32 Version information 2002-08-01 03:40:21 +00:00
Danny Mayer
ace73367af Added files and functions 2002-08-01 03:37:01 +00:00
Danny Mayer
59d1535572 casts required 2002-08-01 03:31:44 +00:00
Mark Andrews
87f4715d6c 1344. [func] Log if the serial number on the master has gone backwards.
If you have multiple machines specified in the masters
                        clause you may want to set 'multi-master yes;' to suppress
                        this warning.
2002-07-29 06:58:46 +00:00
Mark Andrews
3733c24efa 1342, [func] Log remote address with TCP dispatch failures. 2002-07-29 01:03:24 +00:00
Mark Andrews
c8b06dc2f9 "make install" failed to install grammar.h and namedconf.h 2002-07-29 00:43:40 +00:00
Mark Andrews
2ee2c1be18 EAI_NODATA is platform dependent. 2002-07-29 00:35:17 +00:00
Mark Andrews
012a2b979e 1341. [func] Allow a rate limiter to be stalled. 2002-07-26 06:42:02 +00:00
Mark Andrews
f6ff008101 1340. [bug] Delay and spread out the startup refresh load. 2002-07-26 06:27:31 +00:00
Mark Andrews
f0471ca4b7 1336. [func] Nibble lookups under IP6.ARPA are now supported by
dns_byaddr_create().  dns_byaddr_createptrname() is
                        deprecated, use dns_byaddr_createptrname2() instead.
2002-07-24 06:42:32 +00:00
Mark Andrews
03d337f54a For some zones, querying for a DS record before anything else would SERVFAIL. 2002-07-23 03:41:44 +00:00
Mark Andrews
638fe804a5 1255. [bug] When performing a nonexistence proof, the validator
should discard parent NXTs from higher in the DNS.
2002-07-22 03:00:49 +00:00
Mark Andrews
9db3d9d14e 1254. [bug] When signing/verifying rdatasets, duplicate rdatas
need to be suppressed.
2002-07-22 02:49:14 +00:00
Mark Andrews
0b75a2dd3b 1252. [func] Report the current serial with periodic commits when
rolling forward the journal.
2002-07-22 02:06:04 +00:00
Mark Andrews
c54c1eaf26 1251. [func] Generate DNSSEC wildcard proofs. 2002-07-19 03:50:42 +00:00
Mark Andrews
0d993c02ba 1250. [bug] When processing events (non-threaded) only allow
the task one chance to use to use its quantum.
2002-07-19 03:39:44 +00:00
Mark Andrews
ff30cdeb78 The validator didn't handle missing DS records correctly. 2002-07-19 03:29:15 +00:00
Mark Andrews
4d9f3f00d9 1249. [func] named-checkzone will now check if nameservers that
appear to be IP addresses.  Available modes "fail",
                        "warn" (default) and "ignore" the results of the
                        check.
2002-07-19 02:34:58 +00:00
Mark Andrews
d196b45738 1248. [bug] The validator could incorrectly verify an invalid
negative proof.
2002-07-15 03:27:44 +00:00
Mark Andrews
86f6b92e35 1248. [bug] The validator could incorrectly verify an invalid
negative proof.

When checking the range of the nxt record, the code needs to handle
the case where the 'next name' field points to the origin.  The way
that the origin was determined was looking at the 'signer' field
of the first SIG NXT, since NXTs are signed by the zone key.  This
doesn't work, because the first SIG could have been spoofed.  It
now defers checking the nxt range until both the SOA and NXT have
been verified, and uses the owner of the SOA name as the origin.
bwelling
2002-07-15 03:25:28 +00:00
Mark Andrews
25276bd1ec 1247. [bug] The validator would incorrectly mark data as insecure
when seeing a bogus signature before a correct
                        signature.
2002-07-15 02:57:14 +00:00
Mark Andrews
320d6ee24e 1246. [bug] DNAME/CNAME signatures were not being cached when
validation was not being performed. [RT #3284]
2002-07-15 02:23:58 +00:00
Mark Andrews
981e5046e0 max-journal-size is a zone option 2002-07-13 00:53:34 +00:00
Mark Andrews
0996973920 distclean 2002-07-12 01:42:22 +00:00
Mark Andrews
53f9ddf27c silence pointer mismatch 2002-07-04 04:19:54 +00:00
Mark Andrews
6244f49146 protect clua_context access w/ #ifdef 2002-07-03 06:25:32 +00:00
Mark Andrews
7fd9fd9e4c TRUCLUSTER support: isc_interfaceiter_first() should set clua_context. 2002-07-02 05:51:43 +00:00
Mark Andrews
89251e453b result undeclared, #include <isc/log.h> 2002-07-01 23:00:38 +00:00
Mark Andrews
ecf7a18125 isc_modules[2] not isc_modules[3] 2002-07-01 01:39:45 +00:00
Mark Andrews
fe4d3e1992 hpux: ioctl(SIOCGLIFCONF) failure -> debug(1) 2002-07-01 01:08:37 +00:00
Mark Andrews
54532c5413 1339. [func] libbind: log attempts to exploit #1338. 2002-06-28 06:12:42 +00:00
Mark Andrews
020f7361a4 1338. [bug] libbind: Remote buffer overrun. 2002-06-28 06:06:24 +00:00
Mark Andrews
e8fb857c20 consistant white space w/ BIND 8 2002-06-28 05:59:22 +00:00
Mark Andrews
1c0927d8a0 1337. [port] libbind: TrueUNIX 5.1 does not like __align as a
element name.
2002-06-28 05:46:10 +00:00
Mark Andrews
e817515a6c pullup: ns_r_badvers extended error code 2002-06-28 05:41:56 +00:00
Mark Andrews
446ff1959c pullup from BIND 8
1336.   [bug]           libbind: gethostans() could get out of sync parsing
                        the response if there was a very long CNAME chain.
2002-06-28 05:00:55 +00:00
Mark Andrews
33c5380153 1334. [port] Handle ECONNRESET from sendmsg() [unix]. 2002-06-26 00:12:54 +00:00
Mark Andrews
51ff296fef regen so both configures are built using the same autoconf 2002-06-24 23:41:06 +00:00
Mark Andrews
d9e0458a89 1331. [bug] lwres_getrrsetbyname leaked memory. [RT #3159] 2002-06-20 02:31:17 +00:00
Mark Andrews
880f50a1e6 Protect both the socket and fifo tests with #ifdef's. 2002-06-20 01:19:51 +00:00
Mark Andrews
de49761421 1330. [bug] 'rndc stop' failed to cause zones to be flushed
sometimes. [RT #3157]
2002-06-19 07:14:48 +00:00
Mark Andrews
5758e9adfb 1329. [func] Log that a zone transfer was covered by a TSIG. 2002-06-19 06:47:25 +00:00
Mark Andrews
b0d31c78bc uninitalised variable 2002-06-19 04:15:12 +00:00
Mark Andrews
0b09763c35 1328. [func] DS (delegation signer) support. 2002-06-17 04:01:37 +00:00
Mark Andrews
e0fa16fe19 1326. [bug] Badly encoded LOC record when the size, horizontal
precision or vertical precision was 0.1m.
2002-06-14 23:40:14 +00:00
Mark Andrews
5991ce4236 remove change #1284 2002-06-13 07:25:25 +00:00
Mark Andrews
7d389c324c 1324. [func] New function: dns_zone_name(). 2002-06-13 07:05:47 +00:00
Mark Andrews
e2cf63c5df 1218. [port] Compaq Trucluster support. 2002-06-07 00:03:50 +00:00
Mark Andrews
38ded52dbb Handle OS's with incomplete API's 2002-06-06 00:55:48 +00:00
Mark Andrews
c3184b4e2a 1219. [bug] Set AI_ADDRCONFIG when looking up addresses
via getaddrinfo() (affects dig, host, nslookup, rndc
                        and nsupdate).
2002-06-06 00:27:37 +00:00
Mark Andrews
9b7c023fe6 1218. [bug] The CINCLUDES macro in lib/dns/sec/dst/Makefile
could be left with a trailing "\" after configure
                        has been run.
2002-06-05 22:34:57 +00:00
Mark Andrews
918102a7d2 mask of mode format bits and compare result 2002-06-05 02:20:59 +00:00
Mark Andrews
5ddbaad44e || should have been && in #if test. 2002-06-04 23:26:16 +00:00
Mark Andrews
0a1fa37641 1217. [port] linux: make handling EINVAL from socket() no longer
conditional on #ifdef LINUX.
2002-06-03 06:31:16 +00:00
Mark Andrews
c61ec97ae0 1216. [bug] isc_log_closefilelogs() needed to lock the log
context.
2002-06-03 04:34:19 +00:00
Mark Andrews
49f7d1585e 1215. [bug] isc_log_setdebuglevel() needed to lock the log
context.
2002-06-03 03:39:56 +00:00
Mark Andrews
0b1af13f68 pullup:
1314.   [func]          libbind: no longer attempts bit string labels for
                        IPv6 reverse resolution.  Try IP6.ARPA then IP6.INT
                        for nibble style resolution.
2002-06-03 00:34:58 +00:00
Mark Andrews
945cb085b8 1213. [func] Entropy can now be retrieved from EGDs. [RT #2438] 2002-05-30 04:21:17 +00:00
Mark Andrews
5ed4b0d445 1212. [func] Enable IPv6 support when using ioctl style interface
scanning and OS supports SIOCGLIFADDR using struct
                        if_laddrreq.
2002-05-30 01:28:53 +00:00
Mark Andrews
c549b3a4d5 1211. [func] Enable IPv6 support when using sysctl style interface
scanning.
2002-05-30 01:24:12 +00:00
Mark Andrews
8f96645217 1208. [bug] Adjusted REQUIRE's in lib/dns/name.c to better
reflect written requirements.
2002-05-29 00:27:53 +00:00
Mark Andrews
da091cda77 1207. [bug] REQUIRE that DNS_DBADD_MERGE only be set when adding
a rdataset to a zone db in the rbtdb implementation of
                        addrdataset.
2002-05-28 05:49:20 +00:00
Mark Andrews
d8d489cd8e 1206. [bug] dns_name_downcase() enforce requirement that
target != NULL or name->buffer != NULL.
2002-05-28 03:39:46 +00:00
Mark Andrews
f93fad20d4 check location before dereference 2002-05-27 11:37:40 +00:00
Mark Andrews
5fdea8467e Define SETFAMILYFLAGS, tidy. 2002-05-27 07:54:35 +00:00
Mark Andrews
bdb1394788 1205. [func] lwres: probe the system to see what address families
are currently in use.
2002-05-27 06:54:48 +00:00
Mark Andrews
c8aa2c8311 1204. [bug] The RTT estimate on unused servers was not aged.
[RT #2569]
2002-05-27 06:30:25 +00:00
Mark Andrews
a1edcd1b8d 1203. [func] Use "dataready" accept filter if available. 2002-05-27 00:40:23 +00:00
Mark Andrews
5b1627d469 1302. [port] libbind: hpux 11.11 interface scaning. 2002-05-24 06:52:39 +00:00
Mark Andrews
8989de1059 1300. [bug] libbind: escape '(' and ')' when coverting to
presentation form.
2002-05-24 05:21:42 +00:00
Mark Andrews
acc8b7ac3d 1299. [port] Darwin uses (unsigned long) for size_t. [RT #2590] 2002-05-23 04:32:30 +00:00
Mark Andrews
a2734fa74a isc_file_renameunique() no longer used mkstemp(). 2002-05-22 05:57:17 +00:00
Mark Andrews
b9efcf0a37 1297. [func] You can now create your own customised printing
styles: dns_master_stylecreate() and
                        dns_master_styledestroy().
2002-05-21 06:12:45 +00:00
Mark Andrews
8e5893c36c 1296. [bug] libbind: const pointer conficts in res_debug.c. 2002-05-21 02:07:50 +00:00
Mark Andrews
e396939d49 1295. [port] libbind: hpux: treat all hpux systems as BIG_ENDIAN. 2002-05-20 04:29:29 +00:00
Mark Andrews
9549a96654 1294. [bug] Memory leak in lwres_gnbarequest_parse(). 2002-05-17 02:30:37 +00:00
Mark Andrews
3d822d111c 1293. [port] libbind: solaris: 64 bit binary compatability. 2002-05-16 04:47:56 +00:00
Mark Andrews
26cf4737b3 1288. [port] Openserver: the value FD_SETSIZE depends on whether
<sys/param.h> is included or not.  Be consistant.
2002-05-10 06:41:55 +00:00
Mark Andrews
34e5a08809 1287. [func] isc_file_openunique() now creates file using mode
0666 rather than 0600.
2002-05-09 09:08:56 +00:00
Mark Andrews
0cd36f1d15 1286. [bug] ISC_LINK_INIT, ISC_LINK_UNLINK, ISC_LIST_DEQUEUE,
__ISC_LINK_UNLINKUNSAFE and __ISC_LIST_DEQUEUEUNSAFE
                        are not C++ compatible, use *_TYPE versions instead.
2002-05-09 07:09:30 +00:00
Mark Andrews
93649589d4 1285. [bug] libbind: LINK_INIT and UNLINK were not compatible with
C++, use LINK_INIT_TYPE and UNLINK_TYPE instead.
2002-05-09 02:01:27 +00:00
Mark Andrews
29f5bb81e2 1284. [bug] Memory leak if dns_db_beginload() failed. 2002-05-08 06:51:52 +00:00
Mark Andrews
ddc592d128 1283. [bug] Reference after free error if dns_dispatchmgr_create()
failed.
2002-05-08 06:34:30 +00:00
Mark Andrews
bd6ad47c3d 1281. [func] libbind: ns_sign2() and ns_sign_tcp() now provide
support for compressed TSIG owner names.
2002-05-06 06:29:41 +00:00
Mark Andrews
c7c1bf7dc1 1280. [func] libbind: res_update can now update IPv6 servers,
new function res_findzonecut2().
2002-05-06 04:12:55 +00:00
Mark Andrews
9e205a3c51 1279. [bug] libbind: get_salen() IPv6 support was broken for OSs
w/o sa_len.
2002-05-03 06:13:27 +00:00
Mark Andrews
e823642ec0 1278. [bug] libbind: res_nametotype() and res_nametoclass() were
broken.
2002-05-03 06:04:55 +00:00
Mark Andrews
ac70982956 add ECONNREFUSED 2002-05-03 05:43:40 +00:00
Mark Andrews
ab36b9cfee add config.h 2002-05-02 06:55:23 +00:00
Mark Andrews
c99d9017ba 1275. [bug] When verifying that an NXT proves nonexistence, check
the rcode of the message and only do the matching NXT
                        check.  That is, for NXDOMAIN responses, check that
                        the name is in the range between the NXT owner and
                        next name, and for NOERROR NODATA responses, check
                        that the type is not present in the NXT bitmap.
2002-04-29 23:50:26 +00:00
Mark Andrews
c4a9ce445c 1274. [func] preferred-glue option from BIND 8.3. 2002-04-26 00:40:37 +00:00
Mark Andrews
984c39beed 1269. [bug] Missing masters clause was not handled gracefully.
[RT #2703]
2002-04-17 01:23:15 +00:00
Mark Andrews
59bbc667bc Use relative paths 2002-04-10 03:51:43 +00:00
Mark Andrews
c311ed52d4 1247. [bug] Don't reset the interface index for link/site local
addresses. [RT #2576]
2002-04-03 06:44:11 +00:00
Mark Andrews
79a6a33184 1246. [func] New functions isc_sockaddr_issitelocal(),
isc_sockaddr_islinklocal(), isc_netaddr_issitelocal()
                        and isc_netaddr_islinklocal().
2002-04-03 06:38:38 +00:00
Mark Andrews
5d26560e2b 1245. [bug] Treat ENOBUFS, ENOMEM and ENFILE as soft errors for
accept().

HPUX 11.11 returns ENOBUFS when the TCP connecting is closed before accept.
ENOMEM and ENFILE were also recommend by HP to be treated as soft for accept().
2002-04-03 05:41:20 +00:00
Mark Andrews
d6fbfd28ea 1243. [bug] It was possible to trigger a REQUIRE() in
dns_message_findtype(). [RT #2659]
2002-04-03 02:44:57 +00:00
Mark Andrews
2eeaed2812 missed one change 2002-04-02 08:04:42 +00:00
Mark Andrews
7791dd06ea 1242. [bug] named-checkzone failed if a journal existed. [RT #2657] 2002-04-02 06:54:07 +00:00
Mark Andrews
abc93ada82 rrset-order cyclic w/ sortlist broken. 2002-04-02 06:06:29 +00:00
Mark Andrews
091b098b49 1241. [bug] Drop received UDP messsages with a zero source port
as these are invariably forged. [RT #2621]
2002-04-02 04:36:52 +00:00
Mark Andrews
0bd9d19281 INSIST that there are no outstanding tasks when the task manager is
about to be destroyed (non-threaded).
2002-03-29 01:25:04 +00:00
Mark Andrews
9be230cfca make val unsigned as we are now using strtoul(). 2002-03-27 23:31:32 +00:00
Mark Andrews
f0ffc28f61 1238. [bug] It is possible to lockup the server when shutting down
if a notifies were being processed. [RT #2591]
2002-03-27 04:48:21 +00:00
Mark Andrews
beed6a0e22 Change 1236 was incorrect. [RT #2611] 2002-03-27 03:31:49 +00:00
Mark Andrews
18360f880c missed it part 2002-03-20 22:25:58 +00:00
Mark Andrews
21ca3480cd 4->5 2002-03-20 22:06:07 +00:00
Mark Andrews
8695d7b357 1236. [bug] dns_rdata{class,type}_fromtext() didn't handle non
NULL terminated text regions. [RT #2588]
2002-03-20 17:12:29 +00:00
Mark Andrews
f76c4ebaf5 1235. [func] Report 'out of memory' errors from openssl. 2002-03-19 04:30:57 +00:00
Mark Andrews
72b6ec6e5d lock mctx for DELETE_TRACE call in isc__mempool_put() 2002-03-19 02:40:16 +00:00
Brian Wellington
d56fa53141 Only allow hex or decimal when parsing key flags, not octal. 2002-03-17 18:59:43 +00:00
Brian Wellington
81e302788a 1233. [bug] The flags field of a KEY record can be expressed in
hex as well as decimal.
2002-03-17 18:50:21 +00:00
Mark Andrews
c00a1eb423 1232. [bug] unix/errno2result() didn't handle EADDRNOTAVAIL. 2002-03-15 05:01:33 +00:00
Mark Andrews
1e258716ac 1231. [port] HPUX 11.11 recvmsg() can return spurious EADDRNOTAVAIL. 2002-03-15 04:59:03 +00:00
Mark Andrews
d972fa3178 1230. [bug] isccc_cc_isreply() and isccc_cc_isack() were broken. 2002-03-15 04:54:58 +00:00
Brian Wellington
4b171ebd70 1229. [bug] named would crash if it received a TSIG signed
query as part of an AXFR response. [RT #2570]
2002-03-14 18:34:48 +00:00
Brian Wellington
17a2a1d3c1 fix invalid format string 2002-03-14 00:43:00 +00:00
Brian Wellington
6585d8782b the region passed to dns_name_fromregion() can be const. 2002-03-14 00:36:07 +00:00
Mark Andrews
fd0528d19d remove dead code 2002-03-12 04:10:57 +00:00
Mark Andrews
80b469ae8c silence compiler 2002-03-12 04:07:37 +00:00
Mark Andrews
03fae7ef21 1227. [bug] dns_lex_getmastertoken() now returns ISC_R_BADNUMBER
if a number was expected and some other token was
                       found. [RT#2532]
2002-03-11 05:38:29 +00:00
Mark Andrews
ad611e746d 1226. [func] Use EDNS for zone refresh queries. [RT #2551] 2002-03-11 04:41:53 +00:00
Mark Andrews
603d1d1e20 1225. [func] dns_message_setopt() no longer requires that
dns_message_renderbegin() to have been called.
2002-03-11 01:59:16 +00:00
Mark Andrews
9de92818ae warn that rrset-order 'fixed' is not implemented. 2002-03-10 23:40:31 +00:00
Brian Wellington
861cef1397 default_fromtext_callback should print a newline 2002-03-08 01:58:10 +00:00
Brian Wellington
231ffa6c85 add a new result code so that parsing a bad KEY record doesn't result in
"unknown class/type".
2002-03-08 01:38:57 +00:00
Mark Andrews
412e65017e rrset-order checks 2002-03-08 00:54:48 +00:00
Mark Andrews
6f49c3e315 rrset-order is nolonger not implemented.
rrset-order should be a view level option.
2002-03-07 13:48:02 +00:00
Mark Andrews
2dd99c098c 1234. [bug] 'rrset-order' and 'sortlist' should be additive
not exclusive.

1223.   [func]          'rrset-order' partially works 'cyclic' and 'random'
                        are supported.
2002-03-07 13:46:41 +00:00
Brian Wellington
df5e0316a7 - add the missing typedef for dns_order_t
- change the order of parameters to dns_order_create() for consistency
- add multiple inclusion protection to order.h
- fix a couple of typos
2002-03-07 07:48:48 +00:00
Mark Andrews
f4ea263511 rrset-order support. 2002-03-07 06:29:37 +00:00
Mark Andrews
1fb264ed3a 1222. [bug] Specifying 'port *' did not always result in a system
selected (non-reserved) port being used. [RT #2537]
2002-03-07 00:07:27 +00:00
Brian Wellington
a615e9a446 ALP -> APL 2002-03-06 18:33:13 +00:00
Mark Andrews
feb8ae0931 1220. [func] Support for APL rdata type. 2002-03-06 07:41:25 +00:00
Mark Andrews
8133c5d6ae We could select on a closed file descriptor. 2002-03-05 06:41:08 +00:00
Brian Wellington
aa05bbdef7 When printing a warning about a value not being a valid decimal dotted
quad, it seems excessive to print "warning" when the message is already logged
at log level WARNING by the warn() callback.
2002-03-05 01:02:06 +00:00
Brian Wellington
da362f71bd warning messages generated by dns_master_load* should not print
dns_master_load, since it violates the "don't print function names in
error messages" rule.
2002-03-05 00:59:42 +00:00
Mark Andrews
95b604c5e9 1218. [bug] Named incorrectlty SERVFAIL rather than NOTAUTH on
when there was a BADTIME error. [RT #2519]
2002-03-05 00:06:02 +00:00
Mark Andrews
2211bec6a0 1217. [func] Report locations of previous key definition when a
duplicate is detected.
2002-03-04 05:27:31 +00:00
Mark Andrews
89f7901415 INSIST -> RUNTIME_CHECK 2002-03-04 05:24:33 +00:00
Mark Andrews
fcb2ecdb52 1216. [bug] Multiple server clauses for the same server were not
reported.  [RT #2514]
2002-03-04 05:07:06 +00:00
Brian Wellington
65c709f4de add isc_parse_uint16() and isc_parse_uint8() 2002-02-28 20:08:06 +00:00
Mark Andrews
ce24330566 <isc/print.h> for snprintf 2002-02-28 05:13:57 +00:00
Mark Andrews
b9c80c8bdd 1214. [bug] Win32: isc_file_renameunique() could leave zero length
files behind.
2002-02-28 00:23:34 +00:00
Brian Wellington
9e6286de2a add dst_key_privatefrombuffer(), which coverts a public key into a private
key.
2002-02-27 22:12:06 +00:00
Mark Andrews
f82e386bfc remove dead code 2002-02-27 04:05:02 +00:00
Mark Andrews
27269e9dd4 pullup from BIND 8:
1212.   [port]          libbind: 64k answer buffers were causing stack space
                        to be exceeded for certian OS.  Use heap space instead.
2002-02-27 04:03:11 +00:00
Mark Andrews
f38c274c21 1211. [bug] dns_name_fromtext() incorrectly handled certian
valid octal bitlabels. [RT #2483]
2002-02-26 12:43:38 +00:00
Mark Andrews
2e8d4fabc2 #1204 failed to set sin_len 2002-02-26 05:03:10 +00:00
Mark Andrews
84ef147b1f pullup:
1210.  [bug]           libbind: getnameinfo() failed to lookup IPv4 mapped /
                       compatible addresses. [RT #2461]
2002-02-26 03:15:00 +00:00
Brian Wellington
f9f2e770a9 add REQUIREs 2002-02-21 23:51:49 +00:00
Andreas Gustafsson
3806b4e01e removed unused struct field isc_lex_t::options 2002-02-21 20:04:01 +00:00
Mark Andrews
fcde24ec36 LOGIT not LOGITFILE 2002-02-21 01:00:41 +00:00
Brian Wellington
26bb3b1733 oops, forgot to assign lctx->keep_lex. 2002-02-21 00:56:14 +00:00
Mark Andrews
fc7fbdf6e6 1208. [bug] dns_master_load*() failed to log a error message if
an error was detected when parsing the ownername of
                        a record.  [RT #2448]
2002-02-21 00:51:22 +00:00
Brian Wellington
011dc51eee dns_master_loadlexer[inc], to load master files from existing lexers 2002-02-21 00:45:11 +00:00
Brian Wellington
02e5f92113 isc_lex_setsourcename(), for use when lexing buffers or streams 2002-02-21 00:44:16 +00:00
Brian Wellington
8cf24d101a add dns_rdataslab_tordataset() 2002-02-20 22:57:13 +00:00
Mark Andrews
a7038d1a05 copyrights 2002-02-20 03:35:59 +00:00
Andreas Gustafsson
6a8832f784 There are four "i":s in "initialize" 2002-02-20 01:45:15 +00:00
Brian Wellington
8d87d1d81c DNS_R_NOMEM -> ISC_R_NOMEMORY 2002-02-19 23:46:32 +00:00
Andreas Gustafsson
2d6ff29a07 spelling 2002-02-19 22:58:29 +00:00
Mark Andrews
3023a2fb9d Don't mark a server as not supporting a EDNS on SERVFAIL. There are too
many other potential causes.
2002-02-19 06:16:36 +00:00
Mark Andrews
986be654fe pullup from BIND8:
1207.   [bug]           libbind: getaddrinfo() could call freeaddrinfo() with
                        an invalid pointer.
2002-02-19 03:45:07 +00:00
Danny Mayer
966cd6ced9 Undo previous checkin which was for v9_2 branch 2002-02-19 03:04:26 +00:00
Mark Andrews
c26c65b7a0 1206. [bug] SERVFAIL and NOTIMP responses to a EDNS should trigger
a non-EDNS retry.
2002-02-19 00:48:21 +00:00
Danny Mayer
e2759ff73a Fixes for error handling that were missing in previous commit 2002-02-18 22:20:13 +00:00
Danny Mayer
b19179cdd2 Added libdns to link as check.c now references DNS functions 2002-02-18 22:04:22 +00:00
Mark Andrews
43733a83ed 1205. [bug] OPT, TSIG and TKEY cannot be used to set the "class"
of the message. [RT #2449]
2002-02-18 04:20:53 +00:00
Mark Andrews
bda64555f6 1204. [bug] libbind: res_nupdate() failed to update the name
servers addresses before sending the update.
2002-02-15 04:17:35 +00:00
Mark Andrews
39c2b74142 1203. [func] Report locations of previous acl and zone definitions
when a duplicate is detected.
2002-02-13 04:36:52 +00:00
Mark Andrews
ca9eb5fd16 memory leak 2002-02-13 03:56:57 +00:00
Mark Andrews
9727d74064 report line of previous acl definition. 2002-02-13 03:43:09 +00:00
Mark Andrews
de36c606c5 1202. [func] New functions: cfg_obj_line() and cfg_obj_file().
This should allow duplicate reports to identify the location of both objects.
2002-02-13 03:32:56 +00:00
Mark Andrews
d368d43ec7 Allocate and free key used to check for duplicate zones. 2002-02-12 13:17:23 +00:00
Mark Andrews
d7e2b53041 make distclean should remove "rules", "includes" and "mkdep". 2002-02-12 05:42:04 +00:00
Mark Andrews
9ef64d35b7 only issue warning if callbacks is none NULL. 2002-02-12 03:57:59 +00:00
Mark Andrews
23cb957a81 1201. [bug] Require that if 'callbacks' is passed to
dns_rdata_fromtext(), callbacks->error and
                        callbacks->warn are initalised.
2002-02-12 03:45:54 +00:00
Mark Andrews
c73c1c33ec 1193. [bug] dig +besteffort parsing didn't handle packet
truncation.  dns_message_parse() has new flag
                        DNS_MESSAGE_IGNORETRUNCATION.
2002-02-12 02:10:33 +00:00
Mark Andrews
b6a0341bcb don't reference through potentially NULL callback pointers. 2002-02-11 22:30:28 +00:00
Andreas Gustafsson
28e509b145 const correctness 2002-02-11 18:19:26 +00:00
Mark Andrews
28d8b4118d 1200. [bug] Log 'errno' that we are unable to convert to
isc_result_t. [RT #2404]
2002-02-11 05:11:07 +00:00
Mark Andrews
5d7b81d2a4 1198. [bug] OPT printing style was not consistant with the way the
header fields are printed.  "do" was not reported if
                        set.  Report is any of the MBZ bits are set.
2002-02-11 02:03:23 +00:00
Mark Andrews
8f63de3029 1197. [bug] Attempts to define the same acl multiple times were not
detected.
2002-02-11 00:46:26 +00:00
Mark Andrews
9aa1fb4861 1192. [bug] The seconds fields in LOC records were restricted
to three decimal places.  More decimal places should
                        be allowed but warned about.

Paul requested that this be a warned about.
2002-02-10 23:52:26 +00:00
Brian Wellington
08102bb28c consistency - all of the other arrays of checking-related stuff are not
null-terminated.
2002-02-06 06:54:31 +00:00
Mark Andrews
9ae90732df 1195. [bug] Attempts to redefine builtin acls should be caught.
[RT #2403]
2002-02-06 06:45:40 +00:00
Mark Andrews
f3222d48cc 1194. [bug] Not all duplicate zone definitions were being detected
at the named.conf stage. [RT #2431]
2002-02-06 05:58:06 +00:00
Mark Andrews
e95cc59f90 1193. [bug] best effort parsing didn't handle packet truncation. 2002-02-06 04:20:23 +00:00
Brian Wellington
60e9e70654 1024 -> DNS_NAME_FORMATSIZE 2002-02-05 21:41:31 +00:00
Brian Wellington
47db0efda1 spacing 2002-02-05 20:02:47 +00:00
Brian Wellington
8839b6acbf clean up the shutdown "logic". 2002-02-05 19:46:30 +00:00
Brian Wellington
db462c020e spacing 2002-02-05 19:44:55 +00:00
Brian Wellington
32dd66cc5e spacing 2002-02-05 07:54:08 +00:00
Brian Wellington
ecb55f9962 The code for parsing non-answer messages could get confused if it saw a SIG NS
before an NS.
2002-02-05 01:15:21 +00:00
Danny Mayer
c6d29fbd5f Added isc_fsaccess_changeowner function similar to the code to set file access attributes 2002-02-02 01:01:15 +00:00
Brian Wellington
18b7133679 more minor cleanups 2002-02-01 20:18:33 +00:00
Brian Wellington
23e4260821 minor cleanup 2002-02-01 20:08:56 +00:00
Andreas Gustafsson
45ddf396e9 spacing 2002-02-01 02:33:26 +00:00
Brian Wellington
9ecd36e0de RFC 2065 -> RFC 2535 2002-01-31 01:50:46 +00:00
Brian Wellington
0062c1ddfe 1192. [bug] The seconds fields in LOC records were restricted
to three decimal places.  More decimal places should
			be allowed and silently truncated.
2002-01-27 20:52:47 +00:00
Danny Mayer
6fedbb60b2 Change freebuf flag to be local to calls to NTstrerror() and be threadsafe 2002-01-25 03:39:25 +00:00
Danny Mayer
efd263562b Removed C++ "//" comment lines 2002-01-24 23:43:28 +00:00
Danny Mayer
d7979cbb6c Removed errno references (except for pipe) and used WSAGetLastError() instead, changed logging to use isc__strerror() (adding function in this file for now), changed select timeout to 400 Milleseconds from 2 seconds. This reduces the wait when adding a socket at the cost of CPU usage. 2002-01-24 23:19:35 +00:00
Mark Andrews
db18d1997e DNS_ZONEFLG_FLUSH was not being cleared.
dns_zone_flush() could return a misleading result.
If the zone was being dumped incrementaly when dns_zone_flush() was
called ensure that it gets redumped if the were still outstanding
changes.
2002-01-24 13:45:36 +00:00
Brian Wellington
b6279d0b4b Don't freeze an already frozen zone. 2002-01-24 09:58:42 +00:00
Brian Wellington
b2ca6fd3a8 #1187 was both unclean and broken. Fix it and clean it up. 2002-01-23 08:46:40 +00:00
Mark Andrews
7e715a0fc5 alignment 2002-01-23 03:42:23 +00:00
Andreas Gustafsson
b6e20238b6 Fix RT #2309 differently, allowing rather than rejecting empty
also-notify clauses
2002-01-23 02:03:05 +00:00
Mark Andrews
de619d1e81 remove also-notify empty checks. 2002-01-23 01:51:16 +00:00
Andreas Gustafsson
93aba2cb04 The comment saying that the string passed to isc_log_settag()
may not be altered after the call no longer applies
2002-01-23 01:27:52 +00:00
Brian Wellington
cde7dfea4c 1190. [func] Add the "rndc freeze" and"rndc unfreeze" commands.
[RT #2394]

Basically, "freeze" disables dynamic updates to a zone, syncs the journal
file into the master file, and removes the journal.  This allows manual
edits of a dynamic zone file without stopping the server, since the
zone is temporarily considered non-dynamic.  "unfreeze" re-enables dynamic
updates to a zone.

So, instead of the old:
	rndc stop
	edit master file
	remove journal
	restart server
you can now do:
	rndc freeze zone
	edit master file
	rndc reload zone
	rndc unfreeze zone
which doesn't require stopping the server.

About everyone here at the secure dynamic update workshop wanted this.
It will be documented soon.
2002-01-22 22:05:59 +00:00
Andreas Gustafsson
915c16e8aa typo in comment 2002-01-22 21:52:32 +00:00
Andreas Gustafsson
47af71b523 use token.value.as_textregion.base, not token.value.pointer 2002-01-22 19:31:57 +00:00
Brian Wellington
fca9cc33ad 1189. [bug] On some systems, malloc(0) returns NULL, which
could cause the caller to report an out of memory
			error. [RT #2398]
2002-01-22 15:40:24 +00:00
Brian Wellington
2ca2e1a1ce 1188. [bug] Dynamic updates of a signed zone would fail if
some of the zone private keys were unavailable.
2002-01-22 13:04:45 +00:00
Brian Wellington
84185d19c7 1187. [bug] named was incorrectly returning DNSSEC records
in negative responses when the DO bit was not set.
2002-01-22 09:07:30 +00:00
Mark Andrews
5da1e589c2 pullup from BIND 8:
1185.   [bug]           libbind: don't assume statp->_u._ext.ext is valid
                        unless RES_INIT is set when calling res_*init().

1184.   [bug]           libbind: call res_ndestroy() if RES_INIT is set
                        when res_*init() is called.
2002-01-22 03:16:28 +00:00
Mark Andrews
852fa3b2e3 1183. [bug] Handle ENOSR error when writing to the internal
control pipe. [RT #2395]
2002-01-22 02:38:34 +00:00
Brian Wellington
8569ab045a 1182. [bug] The server could throw an assertion failure when
constructing a negative response packet.
2002-01-21 16:26:06 +00:00
Brian Wellington
a5c077e40c 1181. [func] Add the "key-directory" configuration statement,
which allows the server to look for online signing
			keys in alternate directories.
2002-01-21 11:00:25 +00:00
Brian Wellington
930ecd3756 style 2002-01-21 09:47:09 +00:00
Brian Wellington
97527fc03c 1179. [func] Add SIG(0) support to nsupdate. 2002-01-21 07:59:15 +00:00
Mark Andrews
c46f10e4a1 Use as_textregion.base not as_pointer. [RT #2385] 2002-01-21 01:07:32 +00:00
Mark Andrews
e1c2a8b9c1 1178. [func] Follow and cache (if appropriate) A6 and other
data chains to completion in the additional section.
2002-01-17 00:16:30 +00:00
Brian Wellington
3a8d4a316e openssl 0.9.6a and higher don't have the RSA locking bug that earlier versions
did, so don't disable precomputation.  Note that while this was fixed for
RSA, other algorithms still don't do locking when performing precomputation,
and thus we still disable it.
2002-01-15 22:09:45 +00:00
Mark Andrews
b7064914ca 1177. [func] Report view when loading zones if it is not a
standard view (_default or _bind). [RT #2270]
2002-01-15 06:42:15 +00:00
Brian Wellington
6e8b843125 When parsing a hex string of unknown length, properly unget the EOL token
at the end.  This doesn't affect any existing code, since the one caller
passes a known length, but it's still a bug.
2002-01-15 02:10:10 +00:00
Mark Andrews
b627356826 re-do:
1168.   [bug]           Empty also-notify clauses were not handled. [RT #2309]
2002-01-14 04:16:03 +00:00
Andreas Gustafsson
9cf6d43887 cut-and-paste-o:s 2002-01-11 01:30:32 +00:00
Mark Andrews
d073663cb4 1174. [bug] Win32: add WSAECONNRESET to the expected errors
from connect(). [RT #2308]
2002-01-10 03:50:13 +00:00
Mark Andrews
cad61731f8 1173. [bug] Potential leaks in isc_log_create() and
isc_log_settag(). [RT #2336]
2002-01-09 06:16:10 +00:00
Brian Wellington
e74100e3f4 move isc_region_compare to isc/region.[ch], not isc/buffer.[ch] 2002-01-05 07:28:44 +00:00
Olafur Gudmundsson
90e303b114 Adding function isc_region_compare and using in instead of compare_region in lib/dns 2002-01-05 07:05:28 +00:00
Mark Andrews
9c827a3997 initalise warning
initalise token
only print known token types.
2002-01-04 06:19:20 +00:00
Mark Andrews
adbb11147c 1170. [bug] Don't attempt to print the token when a I/O error
occurs when parsing named.conf.  [RT #2275]
2002-01-04 05:42:12 +00:00
Andreas Gustafsson
6a2a7fbfd1 oops, forgot this file in last commit 2002-01-04 04:34:51 +00:00
Andreas Gustafsson
669e9657c7 Split off the named.conf grammar into a source module separate
from the configuration parser, to facilitate reuse of the latter for
parsing non-BIND configuration files
2002-01-04 02:32:16 +00:00
Mark Andrews
77467267d9 1168. [bug] Empty also-notify clauses were not handled gracefully.
[RT #2309]
2001-12-29 04:49:51 +00:00
Brian Wellington
b7dca533e0 avoid calling set_offsets() in dns_name_copy() if possible. 2001-12-28 20:59:27 +00:00
Mark Andrews
0fa218cc7c reduce the log level of connection reset from error to info. 2001-12-27 05:07:26 +00:00
Mark Andrews
da5d1cf1b1 1164. [bug] "Not Implemented" should be reported as NOTIMP. 2001-12-19 12:16:47 +00:00
Mark Andrews
df1415d1e8 Out of date comment. 2001-12-19 05:51:34 +00:00
Mark Andrews
82107a8889 reference after free in error path. 2001-12-19 05:44:54 +00:00
Danny Mayer
13f20ab1fa Update isc_time_formattimestamp to use the 12-Dec-2001 style of datestamp. Fix badtime to be 99-Bad-9999 2001-12-19 03:46:57 +00:00
Mark Andrews
66291de206 1165. [bug] We were rejecting notify-source{-v6} in zone clauses. 2001-12-18 23:23:32 +00:00
Brian Wellington
0118965e19 fix large DH key generation, hopefully for the last time. 2001-12-18 06:05:41 +00:00
Mark Andrews
6c06bc591a 1164. [bug] Empty masters clauses in slave / stub zones were not
handled gracefully.  [RT #2262]
2001-12-17 22:56:58 +00:00
Mark Andrews
c36f45e354 1163. [func] isc_time_formattimestamp() will now reports the year.
The format matches BIND 8 date stamp.
2001-12-17 02:55:06 +00:00
Andreas Gustafsson
9cec4ca6ca 1162. [bug] The allow-notify option was not accepted in slave
zone statements.
2001-12-13 06:31:00 +00:00
Brian Wellington
19f0d00107 check that allow-notify is only specified for slave zones 2001-12-13 06:20:40 +00:00
Mark Andrews
23fb770906 1161. [bug] named-checkzone looped on unbalanced brackets.
[RT #2248]
2001-12-13 06:13:44 +00:00
Brian Wellington
1898837a5e Add the well-known 1536 bit prime from draft-ietf-dnsext-rfc2539bis-dhk-01.txt 2001-12-12 17:18:52 +00:00
Brian Wellington
9af8851b85 whitespace style 2001-12-12 17:09:39 +00:00
Brian Wellington
0cb27602e5 1160. [bug] Generating Diffie-Hellman keys longer than 1024
bits could fail. [RT #2241]
2001-12-12 16:43:24 +00:00
Mark Andrews
5af6873693 tag slave zones when loading 2001-12-11 20:52:41 +00:00
Mark Andrews
ff1b064f5e 1159. [bug] MD and MF are not permitted to be loaded by RFC1123. 2001-12-11 20:37:16 +00:00
Brian Wellington
efc01ed4ad fix comment 2001-12-08 02:14:46 +00:00
Brian Wellington
708f3fd049 Added the DNS_DBFIND_FORCENXT flag to dns_db_find, which causes the lookup
to search for NXT records, even if the zone is not marked as secure.
2001-12-08 00:37:07 +00:00
Mark Andrews
880723fb13 1157. [func] match-clients and match-destinations now accept
keys. [RT #2045]
2001-12-06 04:38:51 +00:00
Brian Wellington
e128be1387 track the size of memory blocks when debugging is enabled. 2001-12-05 19:13:26 +00:00
Mark Andrews
e23cb8a303 RUNTIME_CHECK(dns_rdata_tostruct())
if isc_time_add() fails, issue warning message and retry with a half interval,
this should only happen if we are approaching time wrap around (2038 for UNIX
systems).
2001-12-05 03:21:23 +00:00
Andreas Gustafsson
ee515ce130 commented 2001-12-05 03:05:30 +00:00
Mark Andrews
fefbb64a75 1155. [func] Recover from master files being removed from under
us.
2001-12-04 05:17:53 +00:00
Brian Wellington
41e50ece38 add dns_name_hashbylabel() and make the rbt use it. 2001-12-04 01:32:44 +00:00
Andreas Gustafsson
5d727330e4 brace style 2001-12-03 19:44:08 +00:00
Mark Andrews
111e3433d2 1154. [bug] When scanning interfaces skip the interface
if address no address is configured.  [RT #2176]
2001-12-03 04:41:42 +00:00
Brian Wellington
b7415ddd79 let isc_lex_destroy() close sources. 2001-11-30 18:26:46 +00:00
Mark Andrews
5e8f2512a6 leave isc_lex_destroy() to close any open streams. 2001-11-30 03:14:50 +00:00
Brian Wellington
2e4bec457d Before signing with a key, make sure that it's not the public-only part.
A sane crypto toolkit would catch this and return an error, but openssl
unceremoniously seg faults.
2001-11-30 02:11:04 +00:00
Andreas Gustafsson
1f1d36a87b Check return values or cast them to (void), as required by the coding
standards; add exceptions to the coding standards for cases where this is
not desirable
2001-11-30 01:59:49 +00:00
Mark Andrews
9ac8796f16 1152. [bug] libbind: read buffer overflows. 2001-11-30 01:19:02 +00:00
Andreas Gustafsson
242bba8991 1151. [bug] nslookup failed to check that the arguments to
the port, timeout, and retry options were
                        valid integers and in range. [RT #2099]

1150.   [bug]           named incorrectly accepted TTL values
                        containing plus or minus signs, such as
                        1d+1h-1s.

1149.   [func]          New function isc_parse_uint32().
2001-11-30 01:02:18 +00:00
Mark Andrews
ef29912666 1147. [func] Set IPV6_IPV6ONLY on IPv6 sockets if supported by
the OS.  listen-on-v6 { any; }; should no longer
                        result in IPv4 queries be accepted.  Similarly
                        control { inet :: ... }; should no longer result
                        in IPv4 connections being accepted.  This can be
                        overridden at compile time by defining
                        ISC_ALLOW_MAPPED=1.
2001-11-29 13:14:33 +00:00
Mark Andrews
0cfa2fb26d 1146. [func] Allow IPV6_IPV6ONLY to be set/cleared on a socket if
supported by the OS by a new function
                        isc_socket_ipv6only().
2001-11-29 07:31:25 +00:00
Andreas Gustafsson
bfbea562e6 new function dns_diff_applysilently() [RT #2157] 2001-11-29 00:15:35 +00:00
Brian Wellington
3638017bd3 1143. [bug] When a trusted-keys statement was present and named
was built without crypto support, it would leak memory.
2001-11-28 02:35:02 +00:00
Mark Andrews
6737b6ebf0 shutup bogus ambiguous else compiler warning. 2001-11-27 22:53:55 +00:00
Mark Andrews
60213f2815 1139. [func] It is now possible to flush a given name from the
caches via 'rndc flushname name [view]'.  [RT #2051]
2001-11-27 04:06:17 +00:00
Mark Andrews
6c8abf481d 1138. [func] It is now possible to flush given names from the
cache dns_cache_flushname().
2001-11-27 03:10:32 +00:00
Mark Andrews
1e4bfff185 1137. [func] It is now possible to flush given names from the
adb cache dns_adb_flushname().
2001-11-27 03:00:50 +00:00
Andreas Gustafsson
91cd0f93ad sizeof style 2001-11-27 01:56:32 +00:00
Andreas Gustafsson
f1b6872550 Do not put a space before ';' when terminating a statement or in a 'for' statement. 2001-11-27 00:56:32 +00:00
Andreas Gustafsson
4d1d37a19d out-of-range SOA timers were silently clamped [RT #2081] 2001-11-26 23:51:21 +00:00
Andreas Gustafsson
751af0ee2f duplicate code consistently 2001-11-26 23:37:24 +00:00
Danny Mayer
022dd8775a Added dns_sdb_putrdata to list of visible functions 2001-11-22 04:33:33 +00:00
Danny Mayer
d67b892041 isc__strerror was being used incorrectly. Return value is the result and not a pointer to the error message 2001-11-22 03:08:12 +00:00
Andreas Gustafsson
d9d6d2f77f 1134. [bug] Multithreaded servers could deadlock in ferror()
when reloading zone files. [RT #1951, #1998]
2001-11-21 22:26:46 +00:00
Mark Andrews
eb2c518a38 1133. [bug] IN6_IS_ADDR_LOOPBACK not portably defined on platforms
without IN6_IS_ADDR_LOOPBACK. [RT #2106]
2001-11-21 13:06:20 +00:00
Danny Mayer
d5f394f4c4 Change strerror references to use isc__strerror [RT #1689] 2001-11-21 05:07:25 +00:00
Andreas Gustafsson
4f30395c97 Suppress compiler warnings about empty translation units 2001-11-20 21:28:41 +00:00
Brian Wellington
81f6192a0c spacing 2001-11-20 18:42:26 +00:00
Andreas Gustafsson
945f7311ca Don't return a value from isc__strerror(); it was never used, and
casting it to void everywhere as required by the coding standards would have been silly
and pointless
2001-11-20 01:45:49 +00:00
Andreas Gustafsson
17453368fa Reimplemented the built-in CHAOS zones using sdb. 2001-11-20 01:18:15 +00:00
Andreas Gustafsson
6cd7bd1fb5 spacing 2001-11-19 22:32:04 +00:00
Andreas Gustafsson
459d31fa83 consistently put the LIBDNS_EXTERNAL_DATA before the const 2001-11-19 21:34:31 +00:00
Danny Mayer
e61793f086 Added LIB*_EXTERNAL_DATA Macros necessary to make lib extern variables globally visible in Win32 2001-11-19 03:08:44 +00:00
Danny Mayer
33b8775d3a Updated to support tree organization changes and to support the lib/bind9 library code 2001-11-18 03:11:06 +00:00
Danny Mayer
74dfe6155f Add win32 support for bind9 library 2001-11-17 03:57:12 +00:00
Mark Andrews
d1abb8bb02 1130. [bug] Out of range serial number were not being logged.
[RT #2076]
2001-11-16 10:50:00 +00:00
Brian Wellington
db0e722d83 oops, remove the other call to freehostent() 2001-11-16 06:48:22 +00:00
Brian Wellington
09ce736e9a unitialized variable [RT #2075] 2001-11-16 04:43:04 +00:00
Brian Wellington
d972554740 mismatched parens, missing failure return, remove incorrect use of
freehostent() [RT #2075]
2001-11-16 04:41:58 +00:00
Andreas Gustafsson
db40c6bfdf don't unlock the node lock in no_references() [RT #2018] 2001-11-16 00:17:07 +00:00
Andreas Gustafsson
307ba34fa0 1128. [func] sdb drivers can now provide RR data in either text
or wire format, the latter using the new functions
                        dns_sdb_putrdata() and dns_sdb_putnamedrdata().
(in preparation for sdb-izing the built-in CHAOS zones)
2001-11-15 20:32:05 +00:00
Brian Wellington
d9af67ef70 add RSA to the secalgs list in rdata.c (as a synonym for RSAMD5), remove the
special case code in dnssec-keygen to parse RSA.
2001-11-15 19:44:52 +00:00
Andreas Gustafsson
36d8518388 indentation 2001-11-15 19:06:04 +00:00
Andreas Gustafsson
3179bab5b8 extra text after #else 2001-11-15 01:58:28 +00:00
Brian Wellington
00c8cf21f0 simplify #ifdef mess 2001-11-15 01:29:42 +00:00
Andreas Gustafsson
20c21edada deal with the NO_DATA/NO_ADDRESS mess using a bunch
of #ifs and #ifdefs, as recommended by Mark
2001-11-15 01:20:16 +00:00