Commit graph

10345 commits

Author SHA1 Message Date
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
Andreas Gustafsson
cef23f1f01 no need to include <isccfg/cfg.h>; include <isc/net.h> to define in_port_t 2001-11-15 01:04:06 +00:00
Andreas Gustafsson
06364bcf06 did not compile on systems lacking getaddrinfo() due to typos 2001-11-15 00:58:00 +00:00
Andreas Gustafsson
a79f12ba46 remove NO_ADDRESS, not NO_DATA 2001-11-15 00:53:05 +00:00
Andreas Gustafsson
78f0b08d54 duplicate switch case on systems defining NO_ADDRESS and NO_DATA with the same value 2001-11-15 00:51:10 +00:00
Andreas Gustafsson
452606f147 forgot to remove a function declaration in previous change 2001-11-14 23:15:44 +00:00
Brian Wellington
0f1938c982 set ai_socktype in the hints to getaddrinfo, so that the result doesn't
contain duplicate addresses.
2001-11-14 23:03:42 +00:00
Andreas Gustafsson
ca50fa0230 Partial fix for RT #2053. The potential for deadlock still exists,
but it is much less likely to occur because we now only take the ADB lock when the
external reference count reaches zero, not every time it is decremented.
Althought this does not actually fix the bug, it at least lets us make
progress on testing fixes for other bugs affecting shutdown of multithreaded
servers.
2001-11-14 22:32:10 +00:00
Brian Wellington
a873540eb6 When in singlethreaded mode, don't drain the event queue before exiting
isc_app_run().  The events will be delivered when the taskmgr is destroyed.
This will allow, for example, dnssec-signzone to be aborted with ^C.
I think this works, and the system tests pass, but it might break something.
2001-11-14 22:11:58 +00:00
Brian Wellington
b493dfe8bc Add bind9_getaddresses(), a consistent version of the get_address function
from dig/host/nslookup, nsupdate, and rndc.  This should make it
easier to have the various programs support multiple addresses for a hostname.
2001-11-14 22:08:38 +00:00
Andreas Gustafsson
cab27680d6 change 1077. introduced a locking hierarchy violation; fix by
introducing a separate lock for resolver->nfctx.
2001-11-14 22:05:05 +00:00
Brian Wellington
f109354dce copyright 2001-11-14 22:01:40 +00:00
Andreas Gustafsson
2869504d83 1122. [tuning] Resolution timeout reduced from 90 to 30 seconds.
[RT #2046]
2001-11-14 01:31:12 +00:00
Andreas Gustafsson
138cc7f283 1121. [bug] The server could attempt to access a NULL zone
table if shutting down while resolving.
                        [RT #1587, #2054]
2001-11-14 01:01:28 +00:00
Mark Andrews
ae29b66fbf BIND 8.3 compat "suppress-initial-notify". 2001-11-13 06:57:11 +00:00
Mark Andrews
aa51fc8106 1119. [bug] Errors in options were not fatal. [RT #2002] 2001-11-13 06:34:59 +00:00
Mark Andrews
0316cd0c04 NODE_VALID -> DNS_RBTNODE_VALID 2001-11-13 06:19:55 +00:00
Danny Mayer
5c4e92b973 Added support for NTFS disks 2001-11-13 05:07:57 +00:00
Andreas Gustafsson
f3ca27e9fe sizeof style 2001-11-12 19:05:39 +00:00
Andreas Gustafsson
e3e94dd137 1118. [bug] On multithreaded servers, a race condition
could cause an assertion failure in resolver.c
                        during resolver shutdown. [RT #2029]
2001-11-12 18:48:50 +00:00
Andreas Gustafsson
c0bf2b179a When DNS_RBT_USEMAGIC is defined as true, do magic number
checking of RBT nodes
2001-11-10 01:37:44 +00:00
Brian Wellington
9fbcea8dba install soa.h 2001-11-09 23:09:29 +00:00
Mark Andrews
3e42bdfdc9 1116. [bug] Setting transfers in a server clause, transfers-in,
or transfers-per-ns to a value greater than
                        2147483647 disabled transfers.  [RT #2002]
2001-11-09 04:21:58 +00:00
Mark Andrews
b20eef7ab0 1115. [func] Set maximum values for cleaning-interval,
heartbeat-interval, interface-interval,
                        max-transfer-idle-in, max-transfer-idle-out,
                        max-transfer-time-in, max-transfer-time-out,
                        statistics-interval of 28 days and
                        sig-validity-interval of 3660 days. [RT #2002]
2001-11-09 03:34:55 +00:00
Andreas Gustafsson
a571ebca8b style 2001-11-09 01:53:20 +00:00
Mark Andrews
f498427f17 theoretically potential file descriptor leak. 2001-11-09 00:37:10 +00:00
Andreas Gustafsson
bad3251d3f Undo the parts of 1113. pertaining to the allow-update option; simplify grammar 2001-11-08 21:13:42 +00:00
Andreas Gustafsson
ea01b618d9 1114. [port] Ignore more accept() errors. [RT #2021] 2001-11-08 20:24:25 +00:00
Danny Mayer
afce5ee1c8 On a successful connect need to clear the except_fds bit for the socket. except_fds is only set for a connect call, so it is always safe to clear 2001-11-08 03:29:05 +00:00
Brian Wellington
bcf53cf8d0 Move the memory allocation wrappers into openssl_link.c, since they're
openssl specific.
2001-11-07 23:03:54 +00:00
Andreas Gustafsson
78bf1ca895 1111. [bug] Multithreaded servers could deadlock processing
recursive queries due to a locking hieararchy
                        violation in adb.c. [RT #2017]
2001-11-07 22:40:33 +00:00
Mark Andrews
773e64ec15 try-edns is no more 2001-11-07 04:25:19 +00:00
Danny Mayer
e209942448 Fix select to set and check for exception fds for the connect() function for the socket. Miscellaneous error handling cleanup. [RT #1870] 2001-11-07 04:24:38 +00:00
Mark Andrews
be9932698b max-adb-size is no more.
1073.  [bug]           The adb cache should also be space driven.
                       [RT #1915, #1938]
2001-11-07 03:52:20 +00:00
Brian Wellington
51e66e5dee missing static 2001-11-06 23:10:34 +00:00
Brian Wellington
88d64279bb if the function table entry already exists when _init() is called, don't
overwrite it.
2001-11-06 22:51:00 +00:00
Brian Wellington
f368466f81 Creating a NULL KEY shouldn't trigger a "no crypto" error. 2001-11-06 22:27:52 +00:00
Brian Wellington
ba45e16a66 Clean up the implementation cleanup mechanism. Also remove ->issymmetric,
since it's easier to just do it in dst_api.c.
2001-11-06 20:47:59 +00:00
Brian Wellington
2f93757751 Rework the "no crypto support" test. Rather than explicitly checking whether
built without openssl, instead return NOCRYPTO if the algorithm is not
supported but known.
2001-11-06 18:08:07 +00:00
Brian Wellington
3bc4de1f1b memory leaks on errors 2001-11-06 17:59:50 +00:00
Brian Wellington
7b5bf4bea4 a key could be freed twice in an unlikely error case. 2001-11-06 03:02:48 +00:00
Andreas Gustafsson
06278dd28a grammar summary output for named maps was missing the name field 2001-11-05 22:24:31 +00:00
Andreas Gustafsson
ca08f931b9 regenerated 2001-11-05 21:36:27 +00:00
Andreas Gustafsson
569b52d136 don't try to insert the nonexistent file lib/bind/COPYRIGHT into configure.in 2001-11-05 21:34:51 +00:00
Andreas Gustafsson
ff303bcf27 Begin comments with capital letter; misc other
comment cleanup
2001-11-05 20:02:41 +00:00
Andreas Gustafsson
67145f44e5 don't say "'foo' unexpected near 'foo'" - once is enough 2001-11-05 18:21:22 +00:00
Andreas Gustafsson
7e2f4ceafa 1104. [bug] Invalid arguments to the transfer-format option
could cause an assertion failure. [RT #1995]
2001-11-05 18:19:46 +00:00
Andreas Gustafsson
0902c53969 typo in debug message [RT #1989] 2001-11-04 19:20:39 +00:00
Mark Andrews
50c7ddaa5e pullup from BIND 8.3:
1284.   [bug]           struct __res_state was still broken after #1265.
2001-11-02 23:23:34 +00:00
Andreas Gustafsson
7c6f960a20 remove empty line 2001-11-02 22:31:38 +00:00
Danny Mayer
93c498f0c6 ntfile.c now unnecessary as the iob array is now properly referenced 2001-11-02 05:22:05 +00:00
Danny Mayer
e5cba9f559 Win32 I/O - remove ntfile routines and _iob from .def files. Standard calls now work 2001-11-02 05:02:15 +00:00
Mark Andrews
552a117791 1101. [bug] Array bounds read error in lwres_gai_strerror. 2001-11-02 00:48:06 +00:00
Andreas Gustafsson
785d1541b6 yet another in6addr_loopback change 2001-11-01 23:20:21 +00:00
Andreas Gustafsson
9f6c66e1b3 Deal with AIX defining in6addr_any but not in6addr_loopback
in libc, even though both are declared in <netinet/in.h>.  This caused
named to fail to link on AIX after change 1083, which introduced
the first actual use of in6addr_loopback.
2001-11-01 22:39:30 +00:00
Mark Andrews
9d34aaa2bd silence compiler the same way 2001-11-01 07:15:28 +00:00
Mark Andrews
f3e4c3d6c5 1100. [bug] libbind: DNSSEC key ids were computed incorrectly. 2001-11-01 06:51:25 +00:00
Mark Andrews
6fb633bc3f 1099. [cleanup] libbind: defining REPORT_ERRORS in lib/bind/dst caused
compile time errors.
2001-11-01 06:24:39 +00:00
Mark Andrews
ca033e166c 1098. [bug] libbind: HMAC-MD5 key files are now mode 0600. 2001-11-01 06:11:43 +00:00
Mark Andrews
ca6cee1837 gettimeofday.h is no longer require (prototype in port_after.h). 2001-11-01 05:50:19 +00:00
Mark Andrews
c82af3a7f1 1094. [func] libbind: add support gcc's format string checking. 2001-11-01 05:15:27 +00:00
Mark Andrews
e82a62f172 spelling and order 2001-11-01 05:09:41 +00:00
Mark Andrews
f9321a16fb 1096. [func] libbind: RES_PRF_TRUNC for dig. 2001-11-01 05:07:54 +00:00
Mark Andrews
c8bedec446 1096. [func] libbind: "DNSSEC OK" (DO) support. 2001-11-01 04:59:18 +00:00
Mark Andrews
7a104af70f 1095. [func] libbind: resolver option: no-tld-query. disables
trying unqualified as a tld.  no_tld_query is also
                        supported for FreeBSD compatability.
2001-11-01 04:51:00 +00:00
Mark Andrews
923de3bb9c 1094. [func] libbind: add support gcc's format string checking. 2001-11-01 04:21:15 +00:00
Mark Andrews
2359261a25 1093. [doc] libbind: miscellaneous nroff fixes. 2001-11-01 04:06:38 +00:00
Mark Andrews
769cd7d5dd 1092. [bug] libbind: get*by*() failed to check if res_init() had
been called.
2001-11-01 04:03:40 +00:00
Mark Andrews
6bad645917 1091. [bug] libbind: misplaced va_end(). 2001-11-01 04:00:57 +00:00
Mark Andrews
11931cc68d 1090. [bug] libbind: dns_ho.c:add_hostent() was not returning
the amount of memory consumed resulting in garbage
                        address being returned.  Alignment calculations were
                        wasting space.  We wern't suppressing duplicate
                        addresses.
2001-11-01 03:55:57 +00:00
Mark Andrews
d91d025def 1089. [func] libbind: inet_{cidr,net}_{pton,ntop}() now have IPv6
support.
2001-11-01 03:52:16 +00:00
Mark Andrews
985b4f1c86 1088. [port] libbind: MPE/iX C.70 (incomplete) 2001-11-01 03:49:00 +00:00
Mark Andrews
1d556695ef 1087. [bug] libbind: struct __res_state to large on 64 bit arch. 2001-11-01 03:37:18 +00:00
Mark Andrews
e9ca87459a 1086. [port] libbind: sunos: old sprintf. 2001-11-01 00:57:49 +00:00
Mark Andrews
4b711da3c2 regen 2001-11-01 00:49:46 +00:00
Mark Andrews
ca690f9802 1085. [port] libbind: solaris: sys_nerr and sys_errlist do not
exist when compiling in 64 bit mode.
2001-11-01 00:48:05 +00:00
Mark Andrews
137a1f98e3 1084. [cleanup] libbind: gai_strerror() re-written. 2001-11-01 00:30:41 +00:00
Andreas Gustafsson
65775fe205 1081. [bug] Multicast queries were incorrectly identified
based on the source address, not the destination
                        address.
(from JINMEI Tatuya)
2001-10-31 01:24:58 +00:00
Andreas Gustafsson
30e3e23338 replaced the name RLIMIT_NOFILE by WIN32_MAX_OPEN_FILES, since
it was used for something completely unrelated to the Unix meaning of
RLIMIT_NOFILE
2001-10-31 00:32:42 +00:00
Mark Andrews
bc508906db 1078. [bug] We failed to correct bad tv_usec values in one case.
[RT #1966]
2001-10-30 02:39:33 +00:00
Andreas Gustafsson
b352902413 1077. [func] Do not accept further recursive clients when
the total number of of recursive lookups being
                        processed exceeds max-recursive-clients, even
                        if some of the lookups are internally generated.
                        [RT #1915, #1938]
2001-10-29 19:02:48 +00:00
Mark Andrews
72e8c079c4 1076. [bug] A badly defined global key could trigger an assertion
on load/reload if views were used. [RT #1947]
2001-10-29 06:09:05 +00:00
Andreas Gustafsson
7923de0ddd consistently begin debug log messages with a lower case letter 2001-10-27 00:32:31 +00:00
Andreas Gustafsson
d3f58baf38 log a debug log message when reaching a memory water mark 2001-10-27 00:29:35 +00:00
Andreas Gustafsson
6b07de6abf document the rdatasetheader next and down pointers 2001-10-27 00:27:54 +00:00
Andreas Gustafsson
c8ab83c08e 1075. [bug] Out-of-range network prefix lengths were not
reported. [RT #1954]
2001-10-26 19:35:03 +00:00
Danny Mayer
7e7bede4bd Fix indentation 2001-10-26 02:29:43 +00:00
Danny Mayer
339335189b Added support for max open files for Win32 2001-10-26 01:25:29 +00:00
Andreas Gustafsson
4e57d3ff7d 1074. [bug] Running out of memory in dump_rdataset() could
cause an assertion failure. [RT #1946]
2001-10-25 23:18:05 +00:00
Brian Wellington
06289aeea8 comment fix 2001-10-25 21:39:48 +00:00
Andreas Gustafsson
66bea4d912 if() condition in check_expire_entry did not have
the effect I think was intended due to operator precedence: || binds tighter than ?:.
Rewrote it without :?.
2001-10-25 17:47:16 +00:00
Brian Wellington
6a4c22bc4d style 2001-10-25 17:07:21 +00:00
Mark Andrews
081cff0c33 1073. [bug] The adb cache should also be space driven,
max-adb-size.  [RT #1915, #1938]
2001-10-25 04:57:46 +00:00
Mark Andrews
a7cb695600 1070. [bug] Copy DNSSEC OK (DO) to response as specified by
draft-ietf-dnsext-dnssec-okbit-03.txt.
2001-10-24 21:47:12 +00:00
Andreas Gustafsson
897f762e3c Fixed a race condition in the new request retransmission code:
if a machine is slow or busy enough, the retransmission timer could theoretically fire
again before the first transmission has finished.  This could cause us to lose track
of whether a send is in progress or not, since that information is stored in a boolean
flag (DNS_REQUEST_F_SENDING), not a counter
2001-10-23 23:10:14 +00:00
Andreas Gustafsson
1a32d316dd add a version.h for liblwres, too 2001-10-23 18:45:53 +00:00
Andreas Gustafsson
1ae369c9d2 some variables that should have been static weren't 2001-10-23 01:49:35 +00:00
Mark Andrews
3476dfe9d7 mutex leak 2001-10-23 01:21:44 +00:00
Andreas Gustafsson
ce3c351d81 eliminated race condition in water() [RT #1932] 2001-10-23 00:56:33 +00:00
Andreas Gustafsson
40a31ba506 strerror.c did not compile if HAVE_STRERROR was not defined 2001-10-22 22:17:30 +00:00
Andreas Gustafsson
8bdf7f2972 stdtime.@O@ was listed twice in OBJS 2001-10-22 21:37:28 +00:00
Andreas Gustafsson
a9bc22bf37 if() statement needs braces after isc__strerror() call added 2001-10-22 20:57:41 +00:00
Andreas Gustafsson
3931325c6d spacing 2001-10-22 18:18:34 +00:00
Mark Andrews
1255d388f0 1067. [func] Allow quotas to be soft, isc_quota_soft(). 2001-10-22 07:09:25 +00:00
Mark Andrews
31d3464c0c 1065. [func] Runtime support to select new / old style interface
scanning using ioctls.
2001-10-22 04:01:32 +00:00
Mark Andrews
ea7b38cd1e 1063. [bug] libbind: irix "make install" was failing. 2001-10-22 00:40:47 +00:00
Mark Andrews
31e12a627d add 2001-10-22 00:32:56 +00:00
Andreas Gustafsson
b8685833f1 expand the qstringornone type in the grammar summary 2001-10-19 18:08:27 +00:00
Andreas Gustafsson
0e27dac042 spacing 2001-10-19 01:29:41 +00:00
Andreas Gustafsson
059a29a179 when using the system malloc, isc__mempool_get(), isc__mempool_put(),
and isc_mempool_destroy() failed to update memory statistics. [RT #1915]
2001-10-19 01:29:09 +00:00
Andreas Gustafsson
eb7f938194 style 2001-10-19 00:38:18 +00:00
Andreas Gustafsson
dfafc36515 style 2001-10-19 00:17:17 +00:00
Mark Andrews
07eaf0b8d0 1060. [func] Move UDP retry processing into dns_request. 2001-10-18 06:12:04 +00:00
Mark Andrews
cf70df7d0e 1059. [func] dns_request now support will now retry UDP queries,
dns_request_createvia2() and dns_request_createraw2().
2001-10-18 06:09:39 +00:00
Mark Andrews
9234d92d4e 1058. [func] Limited lifetime ticker timers are now available,
isc_timertype_limited.
2001-10-18 06:06:13 +00:00
Andreas Gustafsson
86a292d459 added more logging to help track down RT #1912 if not fixed by previous commit 2001-10-18 01:48:35 +00:00
Andreas Gustafsson
937ccb270e The call to incremental_cleaning_action() added to cleaning_timer_action()
in revision 1.40 is clearly incorrect.  If the cleaner is already in the busy state, a call to
incremental_cleaning_action() has already been scheduled as an event, and there is no
need to do an extra call.  Furthermore, the call passed the timer event as an argument
to incremental_cleaning_action(), which would ultimately cause it to be passed
to end_cleanin() and assigned to cleaner->resched_event rather than freed.
This commit may or may not fix RT #1912.
2001-10-18 01:40:56 +00:00
Andreas Gustafsson
dcfc52bbba Added a version.h file for each library; made version
variables const
2001-10-16 23:21:07 +00:00
Andreas Gustafsson
3c3fe07225 1055. [func] Version and hostname queries can now be disabled
using "version none;" and "hostname none;",
                        respectively.
(for consistency with "pid-file none" and each other)
2001-10-16 22:18:59 +00:00
Andreas Gustafsson
8d2b885018 The option for disabling the PID file is now pid-file none, not pid-file "none" 2001-10-16 20:04:41 +00:00
Mark Andrews
c8b58baa78 Change #1042 was incomplete. cfg_categories and cfg_modules need to be
visible outside of the DLL.
2001-10-16 05:28:14 +00:00
Mark Andrews
1094dec52a 1052. [bug] Journals were not being created in binary mode
resulting in "journal format not recognized" error
                        under Windows NT/2000.  [RT #1889]
2001-10-15 04:47:55 +00:00
Andreas Gustafsson
b38ab99bdc patch from Danny:
Fixed formattimestamp to use locale specific dates and times, the same way
as Unix format
2001-10-13 01:57:37 +00:00
Andreas Gustafsson
6e93e6ea45 if the sdb lookup function fails at the zone origin for reasons other
than nonexistence of the domain name, the failure should be propagated
to the caller
2001-10-13 01:37:58 +00:00
Andreas Gustafsson
01818a424a document return value of the sdb lookup function 2001-10-13 01:32:34 +00:00
Andreas Gustafsson
62a3dbe63e 1050. [bug] Log messages reporting malformed IP addresses in
address lists such as that of the forwarders option
                        failed to include the correct error code, file
                        name, and line number. [RT #1890]
2001-10-12 22:00:31 +00:00
Andreas Gustafsson
e69b9ffb0f 1048. [bug] Servers built with -DISC_MEM_USE_INTERNAL_MALLOC=1
didn't work.
2001-10-12 00:35:11 +00:00
Mark Andrews
ada9b8ab20 1045. [bug] It was possible to skip saving glue for a nameserver
for a stub zone.
2001-10-11 06:12:42 +00:00
Mark Andrews
3a92768cad 1044. [buf] Specifying allow-transfer, notify-source or
notify-source-v6 in a stub zone was not treated as
                        a error.
2001-10-11 04:52:21 +00:00
Andreas Gustafsson
bb60abb445 1043. [bug] Specifying a transfer-source or transfer-source-v6
option in the zone statement for a master zone was
                        not treated as an error. [RT #1876]
2001-10-11 01:55:03 +00:00
Andreas Gustafsson
024face21c 1042. [bug] The "config" logging category did not work properly.
[RT #1873]
2001-10-11 01:16:18 +00:00
Andreas Gustafsson
78d811f8fb spacing 2001-10-11 01:07:50 +00:00
Andreas Gustafsson
247b6de61b Some comments referred to DNS_R_NOTVERIFIEDYET as
DNS_R_SIGNOTVERIFIEDYET
2001-10-10 21:39:16 +00:00
Mark Andrews
13f2c161db 1039. [bug] We cached an incorrect negative response if there were
CNAMES in the answer section.  [RT#1862]
2001-10-10 04:11:32 +00:00
Brian Wellington
173a45b43c fix assertion in tkey code [RT #1866] 2001-10-09 17:26:33 +00:00
Mark Andrews
3fc4c1434d 1037. [bug] We failed to reject some self inconsistant answers.
[RT #1862]
2001-10-09 08:03:32 +00:00
Andreas Gustafsson
6c6ceac1bc reverted incorrect commit 2001-10-08 18:58:11 +00:00
Mark Andrews
df7596a03e 1032. [func] hostname.bind/txt/chaos now returns the name of
the machine hosting the nameserver.  This is useful
                        in diagnosing problems with anycast servers.
2001-10-08 07:46:11 +00:00
Danny Mayer
f3fcde886c Fixed formattimestamp to use locale specific dates and times, the same way as Unix format 2001-10-08 01:20:08 +00:00
Mark Andrews
f08782f092 1031. [bug] libbind.a: isc__gettimeofday() infinite recursion.
[RT #1858]
2001-10-08 00:33:45 +00:00
Danny Mayer
4186249fea Eliminate unnecessary macro and increase buffer length MAX_NAME_LENGTH 2001-10-06 01:10:06 +00:00
Danny Mayer
5ea492b94d Restore Andrea's changes along with the updates 2001-10-05 22:25:54 +00:00
Bob Halley
8db00cd940 add 2001-10-05 20:57:24 +00:00
Danny Mayer
49d23a92a9 Check for malloc out-of-memory conditions, changed return codes to provide more meaningful error codes. Minor cleanup 2001-10-05 05:51:50 +00:00
Brian Wellington
61e30d3194 the wrong result code was checked [RT #1847] 2001-10-04 18:22:57 +00:00
Mark Andrews
b09f4e054c 1025. [bug] Don't use multicast addresses to resolve iterative
queries.  [RT #101]
2001-10-03 07:43:03 +00:00
Mark Andrews
40dd9cb8cc 1024. [port] HP and Sun decided to use the same macros and
structures for different things.
2001-10-03 05:08:32 +00:00
Andreas Gustafsson
6bebabb376 Also disallow creation of TYPE0 records from wire data 2001-10-03 00:51:38 +00:00
Andreas Gustafsson
de5247ae16 Disallow creation of TYPE0 records from master files, since the server reserves type 0 for
internal purposes related to negative caching
2001-10-02 23:33:04 +00:00
Mark Andrews
c54091c8ed IPv6 addresses containing mapped IPv4 addresses generate the same hash
value as the equivalent IPv4 address.  This is now true regardless of
the value of address_only.  Document.
2001-10-02 06:06:15 +00:00
Andreas Gustafsson
1b8eaf4143 style 2001-10-01 20:58:51 +00:00
Andreas Gustafsson
24dd4582a2 install check.h in include/bind9, not include/isccfg 2001-10-01 20:53:48 +00:00
Andreas Gustafsson
9066d09c3e Removed all code within #ifdef DNS_OPT_NEWCODES*.
It was the last thing being sanitized out of releases; removing
it makes it possible to eliminate the sanitation process.
2001-10-01 18:54:05 +00:00
Mark Andrews
96ea98af24 1023. [func] Accept hints without TTLs. 2001-09-30 04:31:28 +00:00
Mark Andrews
54c4aa0f62 1022. [bug] Allow hints to be completely empty. [RT #1802] 2001-09-30 03:02:47 +00:00
Danny Mayer
37f08fab28 Timestamp was one month later than it should have been. SYSTEMTIME starts with January=1 2001-09-30 02:41:11 +00:00
Bob Halley
3e1f3de348 check.h has moved to libbind9 2001-09-29 20:00:39 +00:00
Bob Halley
6d7c0fd73b add 2001-09-29 19:59:29 +00:00
Bob Halley
27ef660057 cfg.h and log.h are not in libbind9 2001-09-29 19:59:11 +00:00
Bob Halley
e83e8e7734 libtool is generated 2001-09-29 19:58:52 +00:00
Andreas Gustafsson
513dd4a616 style 2001-09-28 23:34:55 +00:00
Brian Wellington
ff7b9eede9 dns_tsigkey_createfromkey wasn't checking that the key algorithm matched the
key name.
2001-09-27 17:49:11 +00:00
Andreas Gustafsson
82c168127c When retrying with AXFR after a failed IXFR, don't do a SOA query
over TCP before the AXFR request.  Doing so has not been
necessary since zone maintenance using UDP SOA queries was
implemented in zone.c a long time ago.
2001-09-27 01:01:46 +00:00
Brian Wellington
c9b3f64262 fix comment 2001-09-25 22:45:02 +00:00
Danny Mayer
7e351cd18f Added named service location in Registry 2001-09-25 01:41:43 +00:00
Danny Mayer
ecde762a60 Code to fetch list of NT Groups for a given account. This is used for retrieving privilege information and rights for an account as well as for NTFS File system and other object security 2001-09-25 01:37:02 +00:00
Mark Andrews
8296690f17 DNS_EVENT_QUERYABORTED is no longer gemerated. 2001-09-21 14:00:06 +00:00
Mark Andrews
595a14576e 1013. [bug] It was possible to cancel a query twice when marking
a server as bogus or by having a blackhole acl.
                        [RT #1776]
2001-09-21 13:31:55 +00:00
Brian Wellington
8f674b13e8 dns_time*_fromtext should take "const char *"s, not "char *"s. 2001-09-21 00:11:30 +00:00
Andreas Gustafsson
1299e93989 1011. [cleanup] Removed isc_dir_current(). 2001-09-20 21:21:53 +00:00
Andreas Gustafsson
d6baaf3649 added INSISTs to help diagnose RT #1775 2001-09-20 16:48:20 +00:00
Mark Andrews
c2bc56dc65 Move configuration checking to libbind9. 2001-09-20 15:17:07 +00:00
Mark Andrews
ae5df22719 iadd missing const 2001-09-20 06:50:34 +00:00
Mark Andrews
ad8e6236a4 add missing const to declaration. 2001-09-20 06:50:08 +00:00
Andreas Gustafsson
01446841be 1006. [bug] If a KEY RR was found missing during DNSSEC validation,
an assertion failure could subsequently be triggered
                        in the resolver. [RT #1763]
2001-09-19 21:25:46 +00:00
Brian Wellington
21825a8d00 Sync up the dnssec key algorithms listed in include/dns/keyvalues.h and
rdata.c.
2001-09-19 00:14:48 +00:00
Andreas Gustafsson
1de63e34f1 1004. [port] Deal with recvfrom() returning EHOSTDOWN. [RT #1770] 2001-09-18 22:54:02 +00:00
Andreas Gustafsson
9b009c9f5a reverted previous change since it doesn't compile after make clean 2001-09-18 18:43:16 +00:00
Mark Andrews
2bb3d8bdfe Make casting easier in symbolic debuggers by using different names
for the 64 bit version.
2001-09-18 14:30:10 +00:00
Andreas Gustafsson
67298a4b2f "data" is plural 2001-09-17 20:24:13 +00:00
Mark Andrews
36a91ab163 Don't send notifies to mapped addresses. 2001-09-17 14:04:32 +00:00
Mark Andrews
8138bb315d The hash of IPv6 isc_sockaddr_t containing mapped IPv4 addresses should be
the same as the hash of the corresponding IPv4 isc_sockaddr_t.
2001-09-17 06:58:18 +00:00
Mark Andrews
f0261e88a8 check view/zone classes. 2001-09-17 02:48:58 +00:00
Danny Mayer
8423b244ec doio_recv was not catching a ECONNRESET error. Fixed this and added code to catch other possible errors. Miscellaneous errno handling cleanup [RT #1745] 2001-09-16 06:19:22 +00:00
Mark Andrews
e6f17474cb 1000. [func] Accept "HESIOD" as a alias for class "HS". 2001-09-16 05:27:04 +00:00
Mark Andrews
5fe1a246cf replace common code in dns_journal_commit by calling index_to_disk().
remove redundant call to index_to_disk() from dns_journal_compact().
2001-09-15 07:16:39 +00:00
Brian Wellington
4fb42a8382 unused #defines 2001-09-15 00:27:26 +00:00
Brian Wellington
36e37042c6 997. [func] Add support for RSA-SHA1 keys. 2001-09-15 00:01:58 +00:00
Andreas Gustafsson
4a20a92f4f replaced 994. with alternative fix:
994.   [func]          Treat non-authoritative responses to queries for type
                        NS as referrals even if the NS records are in the
                        answer section, because BIND 8 servers incorrectly
                        send them that way.  This is necessary for DNSSEC
                        validation of the NS records of a secure zone to
                        succeed when the parent is a BIND 8 server. [RT #1706]
2001-09-14 21:04:35 +00:00
Andreas Gustafsson
34aa790937 reverted 994. 2001-09-14 20:53:33 +00:00
Mark Andrews
56d69016f4 994. [bug] If the unsecure proof fails for unsigned NS records
attempt a secure proof using the NS records found as
                        glue to find the NS records from the zone's servers
                        along with associated glue rather than from parent
                        servers.  [RT #1706]
2001-09-13 07:23:39 +00:00
Brian Wellington
ee3555e8c0 A message could be leaked when a segment of an incoming zone transfer
failed to verify.
2001-09-12 20:39:36 +00:00
Andreas Gustafsson
db3822841c failures in dns_db_diff() could cause the server to leak
memory
2001-09-12 18:45:02 +00:00
Andreas Gustafsson
115019ee2c replay the journal on the initial load only,
as it is not needed on subsequent loads and will fail
if the zone is a newly edited zone with ixfr-on-differences
enabled
2001-09-12 18:44:54 +00:00
Mark Andrews
da4535c4b4 991. [func] Lower UDP refresh timeout messages to DEBUG(1). 2001-09-12 03:46:32 +00:00
Mark Andrews
9de04a5713 LOGIT -> LOGITFILE 2001-09-11 05:09:41 +00:00
Mark Andrews
1592bf7349 989. [bug] Report filename if $INCLUDE fails for file related
errors.  [RT #1736]
2001-09-11 04:56:06 +00:00
Mark Andrews
f3352b9bec compare: a REQUIRE() was comparing a variable against itself not agaist the
other arguement as it should have been.
2001-09-10 23:47:26 +00:00
Andreas Gustafsson
8cccaeaee1 New named.conf option "ixfr-from-differences" [RT #1727] 2001-09-08 00:21:49 +00:00
Mark Andrews
e0806ab5ed Correct comment saying that 'max_size' is ignored. 2001-09-07 00:51:51 +00:00
Andreas Gustafsson
50a8312c9f #define ISC_MEM_TRACKLINES 1 2001-09-06 23:03:17 +00:00
Andreas Gustafsson
f8dbd659d0 When ISC_MEM_TRACKLINES=1, don't calle {add,delete}_trace_entry()
for every alloc/free if neither ISC_MEM_DEBUGTRACE nor
ISC_MEM_DEBUGRECORD is turned on.  This removes my
last objection to setting ISC_MEM_TRACKLINES=1 by default.
2001-09-06 23:03:01 +00:00
Andreas Gustafsson
6d858e75d4 more documentation; indentation 2001-09-06 22:13:47 +00:00
Andreas Gustafsson
fe5146716e host-statistics is not implemented,
maintain-ixfr-base is obsolete [RT #1717]
2001-09-06 21:52:46 +00:00
Andreas Gustafsson
18159f6f60 document what ISC_MEM_DEBUG does; clarify descriptions of other
memory debugging options
2001-09-06 18:23:35 +00:00
Andreas Gustafsson
eb70ba210b spacing 2001-09-06 01:06:24 +00:00
Andreas Gustafsson
847169dab2 980. [bug] Incoming zone transfers restarting after an error
could trigger an assertion failure. [RT #1692]
2001-09-05 23:02:28 +00:00
Brian Wellington
ed29aefe31 [RT #1709]
Change isc_entropy_usebestsource() to have saner semantics:
 - If an invalid file is specified, an error will be returned instead of the
   keyboard being used.
 - If no file is specified but a random device is present, the keyboard will
   be used if there is an error opening the random device.
 - ISC_ENTROPY_KEYBOARDYES indicates that the keyboard should be the
   only device used.  Otherwise, passing '-r keyboard' is meaningless
   on a machine with a random device, since the keyboard will not be used.

Change the callers in the dnssec tools and rndc-confgen to check for the
special file "keyboard" and call isc_entropy_usebestsource() with the right set
of parameters.
2001-09-05 22:32:09 +00:00
Brian Wellington
aba9f3dd7e remove an invalid close paren 2001-09-05 21:05:36 +00:00
Andreas Gustafsson
26f327f1f5 const correctness 2001-09-05 17:22:55 +00:00
Andreas Gustafsson
ff6e834f7d check return value of strftime() 2001-09-05 17:05:47 +00:00
Andreas Gustafsson
33f87146a8 needs #include <isc/print.h> 2001-09-05 17:03:42 +00:00
Andreas Gustafsson
e282509475 80 columns 2001-09-05 16:55:05 +00:00
Mark Andrews
e6e233e73f remove extranous debugging 2001-09-05 15:01:52 +00:00
Mark Andrews
ec495a6ade Call dns_master_dumpinc() for "regular" dumps. 2001-09-05 14:13:29 +00:00
Mark Andrews
ed03e26c44 Add dns_dumpctx_db() and dns_dumpctx_version(). 2001-09-05 10:28:55 +00:00
Mark Andrews
7f006841fc Assertion failure when ISC_MEM_DEBUGRECORD set. 2001-09-05 06:26:07 +00:00
Mark Andrews
1d32e01f17 testing wrong variable 2001-09-05 06:04:58 +00:00
Danny Mayer
e78a28ffb5 isc_time_formattimestamp() created static const for bad time string 2001-09-05 04:18:15 +00:00
Danny Mayer
fdacf913e1 isc_file_getmodtime() does not need write access to file 2001-09-05 04:17:13 +00:00
Mark Andrews
c6b5faa001 remove extraneous UNUSED(). 2001-09-04 14:27:42 +00:00
Mark Andrews
9aba20edee 979. [func] Incremental master file dumping. dns_master_dumpinc(),
dns_master_dumptostreaminc(), dns_dumpctx_attach(),
                        dns_dumpctx_detach() and dns_dumpctx_cancel().
2001-09-04 14:18:31 +00:00
Mark Andrews
e8d86192fc 978. [bug] dns_db_attachversion() had an invalid REQUIRE()
condition.
2001-09-04 12:17:13 +00:00
Danny Mayer
aa7638fce5 Fix some signed/unsigned mismatches when comparing offsets 2001-09-04 04:14:31 +00:00
Danny Mayer
6f2e507e7e Added support for isc__strerror, moving the message code handling from errno2result.c to strerror.c. updated routines to use it and updated makes to include additional files 2001-09-04 03:22:23 +00:00
Danny Mayer
7c7b389ae0 Added isc_file_truncate routine 2001-09-04 03:10:33 +00:00
Danny Mayer
dcc35bf6a4 Previous update was missing the release version of telling how to build the resource file [RT #1668] 2001-09-04 03:05:55 +00:00
Mark Andrews
bae5d9fcb4 977. [bug] Improve "not at top of zone" error message. 2001-09-04 00:35:19 +00:00
Mark Andrews
a9c2c07c96 zone_settimer() nolonger needs to calculate the interval between two times.
[RT #1691]
2001-09-03 01:21:19 +00:00
Danny Mayer
a22a4084dd Update to change path to resolv.conf and define RESOLV_CONF 2001-09-01 05:22:04 +00:00
Andreas Gustafsson
847ed3fccf new configuration data type cfg_type_sizenodefault,
which can be a size or the string 'unlimited' but not the string
'default'.  This is used for max-cache-size and max-journal-size,
and obsoletes the special check for 'default' in check.c.
2001-09-01 01:41:40 +00:00
Andreas Gustafsson
0c5233171f allow setting a default max-journal-size in the options or view 2001-09-01 01:24:29 +00:00
Andreas Gustafsson
cb8fd52bbe call the new option for setting the maximum journal
size 'max-journal-size', not 'journal-size', in the tradition of the
historical option 'max-ixfr-log-size'
2001-09-01 01:13:41 +00:00
Andreas Gustafsson
355cc22e32 The epoch is once again zero in Win32;
removed win32 implementations of isc_time_set(), isc_time_seconds() and
isc_time_secondsastimet() as they are no longer needed
2001-09-01 00:55:27 +00:00
Andreas Gustafsson
43f117d5f0 typo in comment 2001-09-01 00:46:04 +00:00
Andreas Gustafsson
b3034d815c isc_time_formattimestamp() declaration should go before ISC_LANG_ENDDECLS, not after 2001-09-01 00:18:43 +00:00
Andreas Gustafsson
bdec94477c isc_file_getmodtime() should call GetFileTime(), not file_stats(),
so that the time returned is a native win32 FILETIME
2001-09-01 00:05:38 +00:00
Andreas Gustafsson
528baec07b removed C++ comments; comment and indentation style 2001-08-31 23:57:05 +00:00
Andreas Gustafsson
ff8cd3afa7 implemented isc_time_formattimestamp() for Win32.
I have no way of testing this.
2001-08-31 22:31:18 +00:00
Andreas Gustafsson
6184f9fc1e REQUIRE(len > 0) 2001-08-31 21:58:49 +00:00
Andreas Gustafsson
c8563aaf86 added isc_time_formattimestamp() (Unix only so far);
call it from log.c [RT #1687]
2001-08-31 21:51:27 +00:00
Andreas Gustafsson
0674850fcb in dns_zone_notifyreceive(), the variable 'now' was
set but never used
2001-08-31 19:27:22 +00:00
Andreas Gustafsson
130904d648 in zone_settimer(), it seems cleaner to check whether
the variable 'next' is set to the epoch (which is used as a sentinel value
meaning 'not set') before comparing it to another time value rather than
after, since the other comparison is meaningless when 'next' is the epoch
2001-08-31 19:25:51 +00:00
Mark Andrews
4b87939256 strerror() -> isc__strerror() [RT #1689] 2001-08-31 05:57:58 +00:00
Mark Andrews
6db92bd107 string formats 2001-08-31 04:47:59 +00:00
Mark Andrews
cfa3ab7f89 Timers now use isc_time_t rather than isc_stdtime_t.
zone->expiretime now has a consistant epoch [RT #1686]
2001-08-31 02:01:56 +00:00
Andreas Gustafsson
39125379e5 made mkstemp() static 2001-08-30 21:16:41 +00:00
Andreas Gustafsson
faa96aba6d removed empty line 2001-08-30 20:55:37 +00:00
Andreas Gustafsson
c2df80e759 lower case 2001-08-30 20:40:27 +00:00
Andreas Gustafsson
9ec3c7b42d mem.c did not compile when ISC_MEM_TRACKLINES was not defined 2001-08-30 20:23:44 +00:00
Mark Andrews
6668eca26b 972. [bug] The file modification time code in zone.c was using the
wrong epoch.  [RT #1667]
2001-08-30 06:48:43 +00:00
Mark Andrews
06a960c681 971. [func] 'try-edns' can be use to disable edns on all queries. 2001-08-30 05:52:18 +00:00
Mark Andrews
90989375ca Improve time taken to free memory when ISC_MEM_DEBUGRECORD is set. 2001-08-30 05:40:04 +00:00
Mark Andrews
bd3091eb7d compact journals on succesful dumps to the zone file. 2001-08-30 05:24:44 +00:00
Mark Andrews
cc0a5f7142 journal-size can now be set from named.conf 2001-08-30 05:23:00 +00:00
Mark Andrews
fa59c08f71 abort transfer if SOA response is not authoritative. 2001-08-30 05:12:39 +00:00
Mark Andrews
2c64908ae0 DNS_R_NOTAUTHORITATIVE 2001-08-30 05:10:55 +00:00
Mark Andrews
53e3724e23 dns_journal_compact() 2001-08-30 05:04:18 +00:00
Mark Andrews
59251c9e9c isc_file_truncate() 2001-08-30 04:55:36 +00:00
Mark Andrews
91579a2424 add isc_strerror to build 2001-08-30 04:49:36 +00:00
Mark Andrews
c654449ccf isc__strerror 2001-08-30 04:33:20 +00:00
Danny Mayer
b602bf9e8b RT #1667. File modification dates were wrong due to the isc_time_set routine not adding back the epoch to give the absolute Windows time and isc_file_settime not correctly making the right calls to modify the file date 2001-08-30 04:31:31 +00:00
Danny Mayer
e2a35f7524 RT #1675 resolv.conf was specified to be in an invalid directory. Location was changed to be in the same etc directory as all of the other configuration files 2001-08-30 04:28:24 +00:00
Andreas Gustafsson
8068ceb2a9 The request object would fail to send its completion event
when the control event was delivered if a response was received between sending and delivery
of the completion event [RT #1676]
2001-08-29 23:52:28 +00:00
Andreas Gustafsson
9cb39bbe40 fix locking hierarchy violation [RT #1672] 2001-08-29 21:15:56 +00:00
Mark Andrews
7231717254 Ensure that the files contents have been synced to disk prior to renaming. 2001-08-29 05:52:49 +00:00
Danny Mayer
06b47b13db Bug #1671 isc_time_now was erroneously calling strtime() 2001-08-29 05:13:42 +00:00
Danny Mayer
9559bf89b1 Bug #1668 resource file was missing in link 2001-08-29 05:08:58 +00:00
Mark Andrews
28fc90e6c8 #857 was incomplete, ISC_MAGIC was not being used everwhere it should have been.
'magic' was not being declared consistantly.
some #include <isc/magic.h> were missing from other include files.
NS_SERVER_VALID was not using ISC_MAGIC_VALID.
2001-08-28 03:58:29 +00:00
Andreas Gustafsson
9c067741f1 don't #define DNS_STATS_NCOUNTERS in two different places [RT #1666] 2001-08-27 21:47:00 +00:00
Andreas Gustafsson
fba21fcab9 regenerated 2001-08-27 18:53:29 +00:00
Andreas Gustafsson
b495fd2992 each AC_MSG_CHECKING should be balanced with an
AC_MSG_RESULT
2001-08-27 18:52:59 +00:00
Andreas Gustafsson
c7eb99970e consistently use single quotes around varying text
in log messages
2001-08-27 17:21:56 +00:00
Andreas Gustafsson
135c1c53b8 don't INSIST() that calling dns_db_find() on the root hints
only binds the rdataset when returning ISC_R_SUCCESS, because that's not the case -
for example, if the root hints are '. 300 IN CNAME .', DNS_R_CNAME is returned and
the rdataset is bound
2001-08-27 17:20:10 +00:00
Mark Andrews
89555ff443 965. [bug] Using non root hints caused a rbtdb node reference
leak.    [RT #1581, RT #1618]
2001-08-27 06:10:17 +00:00
Mark Andrews
440906ce59 INSIST that the rdataset is unassociated. 2001-08-27 03:58:44 +00:00
Mark Andrews
73ac1894ea 964. [func] Warn if non root hints data is found in hints file. 2001-08-27 03:36:00 +00:00
Mark Andrews
330b421487 963. [bug] bad ISC_LANG_ENDDECLS. [RT #1645] 2001-08-20 23:56:25 +00:00
Mark Andrews
9b30c8e8f0 regen 2001-08-20 07:47:05 +00:00
Mark Andrews
e22dca2a9a 962. [bug] libbind: bad "#undef", don't attempt to install
non-existant nlist.h.  [RT #1640]
2001-08-20 07:44:53 +00:00
Mark Andrews
d7728fcf85 add nlist.h 2001-08-20 07:29:47 +00:00
Mark Andrews
2c0b26955e 961. [bug] Tried to use a IPV6 feature when ISC_PLATFORM_HAVEIPV6
was not defined.  [RT #1482]
2001-08-16 07:27:48 +00:00
Mark Andrews
2449f41e75 960. [port] liblwres failed to build on systems with support for
getrrsetbyname() in the OS.  [RT #1592]
2001-08-16 06:39:33 +00:00
Mark Andrews
6f7660093e 959. [port] freebsd: ncpus via sysctlbyname(). [RT #1584] 2001-08-16 06:19:58 +00:00
Mark Andrews
8ff4edd14e silence format warning: remove unused arg. 2001-08-12 00:12:14 +00:00
Mark Andrews
a28db387fc full copyrights 2001-08-09 06:15:34 +00:00
Mark Andrews
2861ab6188 regen 2001-08-09 06:09:30 +00:00
Mark Andrews
8e6813696a support running configure in a directory other than the source directory 2001-08-09 05:59:58 +00:00
Danny Mayer
51ac5c28de Changed win32 code to remove references to named.key 2001-08-09 02:55:41 +00:00
Andreas Gustafsson
76c8294c81 format string bugs and improved format string checking [RT #1578] 2001-08-08 22:54:55 +00:00
Andreas Gustafsson
b21320abb5 brace style 2001-08-08 20:52:34 +00:00
Danny Mayer
66352c0a05 Added support for key for win32 2001-08-06 05:34:26 +00:00
Mark Andrews
907ec2c618 952. [bug] The server required manual intervention to serve the
affected zones if it died between creating a journal
                        and committing the first change to it.
2001-08-06 02:10:59 +00:00
Andreas Gustafsson
66ff5b7d78 cut-and-paste-o 2001-08-03 23:19:01 +00:00
Andreas Gustafsson
7dac8d231c the server would catch an assertion failure if the key statement in rndc.key
was missing the algorithm or secret clause
2001-08-03 17:24:11 +00:00
Mark Andrews
326bcfa0e2 rndc.key support 2001-08-03 05:56:22 +00:00
Andreas Gustafsson
5c213fcd1d mark rrset-order as unimplemented [RT #1561] 2001-08-02 23:36:23 +00:00
Danny Mayer
a59a1d313a Updated .mak files to remove dependancies 2001-08-02 07:05:43 +00:00
Andreas Gustafsson
23a020bc13 950. [bug] Explicit TTLs did not properly override
due to a bug in change 834. [RT #1558]
2001-08-01 17:58:45 +00:00
Andreas Gustafsson
ab54086529 print detailed description of grammar of socket addresses instead
of obscure names like 'v6addrportwild'; misc cleanup
2001-07-31 20:07:48 +00:00
Mark Andrews
43e2ec89d8 redundate #include 2001-07-31 03:45:04 +00:00
Andreas Gustafsson
9f5a862a90 lwres.h should be installed, and net.h should not 2001-07-31 01:32:45 +00:00
Mark Andrews
c38b92000c 947. [bug] dns_rdata_soa_t had a badly name element "mname" which
was really the RNAME field from RFC1035.  To avoid
                        confusion and silent errors that would occur it ther
                        "origin" and "mname" elements were given their correct
                        names "mname" and "rname" respectively, the "mname"
                        element is renamed to "contact".
2001-07-30 01:09:14 +00:00
Danny Mayer
b59115de5f Updated config information 2001-07-28 02:50:39 +00:00
Andreas Gustafsson
321fd0ceb4 in named-checkconf, pass in the complete path of named.conf
as NAMED_CONFFILE instead of constructing it by compile-time concatenation of NS_SYSCONFDIR
and /named.conf, to facilitate win32 support
2001-07-27 17:45:29 +00:00
Danny Mayer
0794ffffee Added paths info 2001-07-27 05:17:39 +00:00
Danny Mayer
075a7534a8 Added path information - retry 2001-07-27 05:16:55 +00:00
Danny Mayer
61e561c2ca Added path information 2001-07-27 05:15:27 +00:00
Andreas Gustafsson
90e289c59f A6 has an RFC now 2001-07-26 21:34:02 +00:00
Andreas Gustafsson
657a6a6f3c some unimplemented options were not marked as such in the grammar summary output 2001-07-26 21:27:51 +00:00
Brian Wellington
26a5f97dd8 Don't refer to keys as "TSIG keys", since they might be used for rndc only,
and this could be confusing.
2001-07-26 20:54:35 +00:00
Brian Wellington
ee3ab6063d 945. [func] Add the new view-specific options
"match-destinations" and "match-recursive-only".
2001-07-26 20:42:46 +00:00
Andreas Gustafsson
e5b18854e3 define RNDC_AUTOCONFFILE on win32 so that the code again
compiles on win32 and behaves like it did before.
2001-07-26 20:40:01 +00:00
Andreas Gustafsson
38f0e0520c tabified 2001-07-26 20:31:48 +00:00
Andreas Gustafsson
dcfaeabc63 renamed RNDC_SYSCONFPATH to RNDC_CONFFILE; there's
nothing specifically SYS about it
2001-07-26 20:06:22 +00:00
Danny Mayer
922a15c7c0 Changes to support win32 2001-07-26 03:15:16 +00:00
Brian Wellington
d81622b537 944. [func] Check for expired signatures on load. 2001-07-24 18:49:06 +00:00
Danny Mayer
b61c97cebd Changed initialize to include void. This keeps the VC++ compiler from complaining about the isc_once_do code arguments 2001-07-24 05:23:38 +00:00
Andreas Gustafsson
831bbce008 commented trust levels 2001-07-23 17:55:37 +00:00
Andreas Gustafsson
2fa436a15c 80 columns 2001-07-23 16:58:18 +00:00
Mark Andrews
90228beed3 regen 2001-07-23 07:03:10 +00:00
Mark Andrews
af898946e4 osf 4.0 support 2001-07-23 07:02:48 +00:00
Mark Andrews
3ef9b0c10f regen 2001-07-23 05:22:22 +00:00
Mark Andrews
a1a421899e BSDI 4.2 support [RT #1529] 2001-07-23 05:21:56 +00:00
Danny Mayer
dfca19a1aa Added LIBISCCFG_EXTERNAL_DATA macros to 3 declarations 2001-07-23 05:00:44 +00:00
Danny Mayer
1bf250400e Make file for bindevt 2001-07-23 03:04:32 +00:00
Danny Mayer
2b9debd520 syslog for win32 2001-07-23 03:03:22 +00:00
Danny Mayer
10266aa76f Conditionalize declaration of LIBLWRES_EXTERNAL_DATA 2001-07-23 03:01:56 +00:00
Mark Andrews
06596f0ec7 wrog prototype for getnetbyaddr_r under glibc 2001-07-23 00:48:51 +00:00
Andreas Gustafsson
33654a83db const correctness [RT #1011] 2001-07-23 00:23:30 +00:00
Mark Andrews
75b3a86c57 regen 2001-07-23 00:05:04 +00:00
Mark Andrews
ab35bf14bd osf getnetent_r changes 2001-07-23 00:04:28 +00:00
Danny Mayer
72dc0b0824 Added make file 2001-07-22 06:30:18 +00:00
Danny Mayer
1186577d90 Updated scripts and added make file 2001-07-22 06:28:49 +00:00
Danny Mayer
e056d87076 Updated scripts 2001-07-22 06:26:47 +00:00
Danny Mayer
138fc7eeba Created makefile 2001-07-22 06:25:34 +00:00
Danny Mayer
22a0a2c432 Fixed variable declarations 2001-07-22 06:22:28 +00:00
Danny Mayer
71542eaf04 Added make file and updated scripts 2001-07-22 06:21:05 +00:00
Mark Andrews
4bec81d388 regen 2001-07-20 11:06:19 +00:00
Mark Andrews
2da0b7dfbd 942. [port] libbind: GETNETBYADDR_ADDR_T was not correctly
defined on some platforms.
2001-07-20 11:06:05 +00:00
Andreas Gustafsson
7faa8f35e5 coding style 2001-07-19 17:13:54 +00:00
Andreas Gustafsson
001d1ceec6 coding style 2001-07-19 16:59:32 +00:00
Brian Wellington
1cb6e8cbe4 941. [bug] The configuration checker crashed if a slave
zone didn't contain a masters statement. [RT #1514]
2001-07-19 16:29:14 +00:00
Danny Mayer
3316814025 Added support for win32 2001-07-19 06:11:31 +00:00
Mark Andrews
2033e30585 940. [bug] Double zone locking failure on error path. [RT #1510] 2001-07-19 05:08:03 +00:00
Mark Andrews
3489d64bde "or equals" rather than "not equals" 2001-07-19 04:57:46 +00:00
Danny Mayer
7181165333 Add support for win32 2001-07-19 02:50:12 +00:00
Andreas Gustafsson
7ecaf69507 need <lwres/platform.h> 2001-07-18 20:14:52 +00:00
Andreas Gustafsson
3abbed44db coding style 2001-07-18 18:29:59 +00:00
Mark Andrews
aac5a28f1f LIBISCCFG_EXTERNAL_DATA should be in lwres/platform.h 2001-07-18 08:15:23 +00:00
Mark Andrews
964a14ad23 regen 2001-07-18 05:50:18 +00:00
Mark Andrews
f24920422d we don't need to know about rlim_t 2001-07-18 05:49:13 +00:00
Mark Andrews
9c1a4265ad regen 2001-07-18 05:42:07 +00:00
Mark Andrews
51bb20b0d7 report the results of "checking for socket length type..." 2001-07-18 05:40:52 +00:00
Mark Andrews
29493eee3d paths.h 2001-07-18 05:13:27 +00:00
Danny Mayer
5236050c0f Add support for win32 2001-07-18 02:37:15 +00:00
Andreas Gustafsson
d2a7d7e26c all failures opening /dev/random were reported as
'I/O error'.  This was highly confusing.
2001-07-18 01:31:13 +00:00
Brian Wellington
8b8812c41d regen 2001-07-17 22:29:27 +00:00
Brian Wellington
5aaf43590f lib/bind doesn't actually use linux/capability.h or sys/prctl.h 2001-07-17 22:29:16 +00:00
Andreas Gustafsson
07dcadc6e2 update_copyrights 2001-07-17 20:29:36 +00:00
Andreas Gustafsson
4954945531 coding style 2001-07-17 19:17:02 +00:00
Mark Andrews
15903c9f3a memory allocation failure would cause INSIST(ctx->stats[i].gets == 0) failure.
use consistant arguement name for MEMRECORD
2001-07-17 10:02:46 +00:00
Danny Mayer
fd0ec4bfad Initial win32 Release 2001-07-17 06:13:59 +00:00
Danny Mayer
c84e68d720 Initial win32 Release 2001-07-17 06:10:24 +00:00
Mark Andrews
0176adc7c5 937. [bug] A race when shutting down a zone could trigger a
INSIST() failure. [RT #1034]
2001-07-17 02:49:44 +00:00
Andreas Gustafsson
ba35e9924e added isc_file_ischdiridempotent() 2001-07-16 18:33:02 +00:00
Andreas Gustafsson
a548a3c20c added unix implementation of isc_file_absolutepath() 2001-07-16 17:26:44 +00:00
Andreas Gustafsson
dee69dd3aa renamed isc_file_getabsolutepath() to isc_file_absolutepath()
to be more consistent with established naming conventions
2001-07-16 17:22:17 +00:00
Andreas Gustafsson
5827c8e0a6 80 columns 2001-07-16 17:15:08 +00:00
Andreas Gustafsson
83018d6cf9 removed spurious empty line inserted in previous commit 2001-07-16 17:14:38 +00:00
Mark Andrews
ac1f768061 regen 2001-07-16 14:43:49 +00:00
Mark Andrews
47dfc702de glibc getserv*_r() 2001-07-16 14:43:40 +00:00
Brian Wellington
cabaeca9ae missing assertion checks 2001-07-16 09:48:05 +00:00
Mark Andrews
e88c4a4917 regen 2001-07-16 08:38:06 +00:00
Mark Andrews
101e6adfe0 glibc getproto*_r() 2001-07-16 08:37:45 +00:00
Mark Andrews
fd61f111a8 regen 2001-07-16 08:05:43 +00:00
Mark Andrews
16b5ecc6f3 glibc getnet*_r() 2001-07-16 08:05:20 +00:00
Danny Mayer
1336066b63 Added support for Win32 2001-07-16 05:48:16 +00:00
Mark Andrews
acee1ae35c glibc prototypes 2001-07-16 05:23:28 +00:00
Mark Andrews
7c7c717788 HOST_R_SETANSWER 2001-07-16 05:17:13 +00:00
Mark Andrews
8c8d889d10 glibc prototypes for gethost*_r(). 2001-07-16 05:16:33 +00:00
Danny Mayer
f621719829 Added support for Win32 2001-07-16 05:10:30 +00:00
Mark Andrews
5deaff6621 regen 2001-07-16 05:02:58 +00:00
Mark Andrews
3024819c2e int -> size_t 2001-07-16 05:01:27 +00:00
Mark Andrews
692d2a9c7e regen 2001-07-16 04:55:31 +00:00
Mark Andrews
4ccd54f3af in 2001-07-16 04:54:23 +00:00
Mark Andrews
42f476472a regen 2001-07-16 04:24:38 +00:00
Mark Andrews
6cf48dea49 glibc's gethost*_r() is different to anyone elses. 2001-07-16 04:23:00 +00:00
Andreas Gustafsson
9115330256 coding style 2001-07-16 04:09:45 +00:00
Danny Mayer
3bd4083e48 Updates to support win32 2001-07-16 03:52:14 +00:00
Mark Andrews
f73c8fffee pullup from BIND 8:
1242.   [bug]           inet_pton() failed to reject octal input.
2001-07-16 03:31:45 +00:00
Mark Andrews
bddfe77128 936. [func] Warn when non dotted decimal quad's are used.
[RT #1084]

 935.   [bug]           inet_pton failed to reject leading zeros.
2001-07-16 03:06:53 +00:00
Mark Andrews
bd12be6e88 spelling 2001-07-15 23:29:48 +00:00
Andreas Gustafsson
aa0dc8d920 934. [port] Deal with systems where accept() spuriously returns
ECONNRESET.
2001-07-15 22:50:24 +00:00
Mark Andrews
9ec26a1862 regen 2001-07-15 22:23:13 +00:00
Mark Andrews
159b83ff18 unixware [RT #1496] 2001-07-15 22:20:43 +00:00
Mark Andrews
5c2551db52 regen 2001-07-14 23:16:50 +00:00
Mark Andrews
47d48791fc 933. [bug] configure failed doing libbind on platforms not
supported by BIND 8.  [RT #1496]
2001-07-14 23:14:09 +00:00
Brian Wellington
b9be76ed89 lwres.h wasn't installed [RT #1494] 2001-07-14 18:41:33 +00:00
Andreas Gustafsson
86a733bc74 use ISC_PLATFORM_RLIMITTYPE unconditionally, eliminating
the need for the HAVE_RLIM_T macro
2001-07-14 01:55:08 +00:00
Mark Andrews
0792e396ea regen 2001-07-13 02:46:21 +00:00
Mark Andrews
5e68d98eff add libtool support to libbind [RT #1491] 2001-07-13 02:38:28 +00:00
Danny Mayer
c4958494a9 Updates to support LIBISC_EXTERNAL_DATA and misc. cleanup 2001-07-12 05:58:28 +00:00
Mark Andrews
c70896e026 namespace collision [RT #1399] 2001-07-12 03:51:14 +00:00
Mark Andrews
39ebcd5955 #927
check for DUMPNEEDED in dns_zone_flush.
check for zone->masterfile != NULL in zone_dump().
2001-07-11 23:15:14 +00:00
Andreas Gustafsson
dc9b928cf6 net.h has moved 2001-07-11 21:42:25 +00:00
Brian Wellington
b6d7e96688 LOCK_ZONE/UNLOCK_ZONE, not LOCK/UNLOCK 2001-07-11 19:12:53 +00:00
Brian Wellington
529017a705 The testing framework didn't handle T_UNTESTED at all. It also sucks. 2001-07-11 18:51:22 +00:00
David Lawrence
37aa910318 ISC_PLATFORM_USEDECLSPEC hook for Microsoft DLL declaration junk 2001-07-11 05:32:55 +00:00
Mark Andrews
e9596e1fb3 927. [bug] Don't hold the zone lock for the entire dump to disk.
[RT #1423]
2001-07-11 05:20:26 +00:00
Danny Mayer
ad38e19578 Fix isabsolute for absolute path names 2001-07-11 04:32:15 +00:00
Bob Halley
c54210716e avoid deadlock with the ADB when shutting down [RT #1324] 2001-07-11 01:19:56 +00:00
Brian Wellington
9a43e47721 ordering 2001-07-10 23:38:44 +00:00
Brian Wellington
3fcf6b956f 925. [cleanup] Remove openssl from the distribution; require that
--with-openssl be specified if DNSSEC is needed.
2001-07-10 21:40:10 +00:00
Brian Wellington
6614bac268 oops, don't return an isc_boolean_t as an isc_result_t. 2001-07-10 21:27:59 +00:00
Andreas Gustafsson
1858039a0e spacing 2001-07-10 21:13:07 +00:00
Andreas Gustafsson
3d4d93c35b misplaced cast could cause EDNS extended RCODE bits to be lost [RT #1483] 2001-07-10 20:09:24 +00:00
Andreas Gustafsson
55a96dbea0 need sys/time.h on some platforms 2001-07-10 19:54:01 +00:00
Brian Wellington
5939aa7265 wording 2001-07-10 19:08:28 +00:00
Brian Wellington
3b31ce9da9 functions can now return DST_R_NOCRYPTO 2001-07-10 19:05:53 +00:00
Andreas Gustafsson
34729dbcb3 split lwres/net.h into separate Unix and Win32 version to facilitate
porting; rely on that header for networking definitions rather than redundantly
including OS-dependent headers from the various lwres .c files
2001-07-10 18:26:12 +00:00
Andreas Gustafsson
5d97773191 rewrote isc_file_isabsolute() 2001-07-10 17:31:05 +00:00
Danny Mayer
14597c218d Fix memory leak [RT 1478] 2001-07-10 06:27:44 +00:00
Danny Mayer
bb48ac4f81 array bounds error in isc_file_isabsolute and REQUIRE != NULL fixes [RT 1470] 2001-07-10 06:24:15 +00:00
Brian Wellington
28e2058c5f macro style 2001-07-10 05:12:43 +00:00
Brian Wellington
9622173ccb only create a memory pool if OPENSSL is defined. 2001-07-10 05:00:42 +00:00
Brian Wellington
4f0187f10c DST_R_NOCRYPTO 2001-07-10 04:34:36 +00:00
Brian Wellington
bb5de15290 REQUIRE that parameters are not NULL in many functions [RT #1470] 2001-07-10 04:23:01 +00:00
Brian Wellington
024550401d #if defined(OPENSSL) ==> #ifdef OPENSSL
remove unused #include <openssl/rand.h>
2001-07-10 04:01:19 +00:00
Andreas Gustafsson
a8f94d29b3 compile the version number into the isccfg and isccc libraries,
like we do with all other libraries
2001-07-09 22:25:29 +00:00
Andreas Gustafsson
38fed7505d do multiple inclusion protection in all header files, and using the established ISC style 2001-07-09 21:34:44 +00:00
Andreas Gustafsson
ec4f2e859f 80 columns 2001-07-09 21:27:45 +00:00
Andreas Gustafsson
e76d4c91bf coding style 2001-07-09 21:06:30 +00:00
Mark Andrews
9d99e3fda1 924. [port] Extend pre-RFC2133 support. [RT #987] 2001-07-09 08:07:41 +00:00
Mark Andrews
de18d9daa6 regen 2001-07-09 07:35:03 +00:00
Mark Andrews
752b0c0fa7 install as ${prefix}/bind/*. [RT #1472] 2001-07-09 07:33:11 +00:00
Danny Mayer
36d26b9d26 add export for isc_ntfile_printf 2001-07-08 07:22:42 +00:00
Danny Mayer
11045ab3d1 code style cleanup 2001-07-08 05:16:13 +00:00
Danny Mayer
68c2ccc953 code style cleanup 2001-07-08 05:09:35 +00:00
Brian Wellington
0a2d5c9905 924. [port] Apply #910 to lib/lwres. [RT #987] 2001-07-07 00:03:26 +00:00
Andreas Gustafsson
f2ee3341c7 spacing 2001-07-06 22:53:48 +00:00
Andreas Gustafsson
886db6ade3 make install failed in lib/bind/include due to lack of a mkinstalldirs script
in lib/bind
2001-07-06 22:23:42 +00:00
Andreas Gustafsson
305795c093 finish app.h move 2001-07-06 22:12:21 +00:00
Andreas Gustafsson
1e71bc82b8 coding style 2001-07-06 21:57:22 +00:00
Andreas Gustafsson
718d6eadd4 spacing 2001-07-06 21:47:15 +00:00
Andreas Gustafsson
96ed624253 923. [bug] Multiline TSIG secrets (and other multiline strings)
were not accepted in named.conf. [RT #1469]
2001-07-06 20:34:12 +00:00
Andreas Gustafsson
ad493ef9dd spacing 2001-07-06 20:15:08 +00:00
Andreas Gustafsson
675a191f43 moved <isc/app.h> to OS-independent include directory 2001-07-06 19:50:05 +00:00
Andreas Gustafsson
8e3366bd7c simplified 2001-07-06 19:40:33 +00:00
Andreas Gustafsson
19b34f979c removed initializations of nonexistent variables at Danny's request 2001-07-06 17:35:04 +00:00
Mark Andrews
221a206115 IN6_IS_ADDR_V4COMPAT and IN6_IS_ADDR_V4MAPPED are also broken in glibc 2.1 2001-07-06 07:25:51 +00:00
Mark Andrews
f5af89cdee IN6_ARE_ADDR_EQUAL and IN6_IS_ADDR_UNSPECIFIED are broken in glibc 2.1 2001-07-06 06:13:19 +00:00
Danny Mayer
2c50ab702f stat routines 2001-07-06 06:00:17 +00:00
Danny Mayer
7fb411cfd1 plaform specific header 2001-07-06 05:59:09 +00:00
Danny Mayer
b02635aa75 offset header 2001-07-06 05:58:00 +00:00
Danny Mayer
1ee7ce8fbd win32-specific runtime path header 2001-07-06 05:57:19 +00:00
Danny Mayer
b22d62aa69 ntfile FILE replacement headers 2001-07-06 05:56:25 +00:00
Danny Mayer
bcf5804255 win32 keyboard routines 2001-07-06 05:51:45 +00:00
Danny Mayer
a0f854291f IPv6 on Win32 header 2001-07-06 05:50:42 +00:00
Danny Mayer
12d08bf91e win32-specific integer definitions 2001-07-06 05:49:22 +00:00
Danny Mayer
c15033634e Initial win32 release 2001-07-06 05:48:27 +00:00
Danny Mayer
83a373fc81 BIND Event information header 2001-07-06 05:46:37 +00:00
Danny Mayer
f950ce9932 BIND registry header information 2001-07-06 05:45:21 +00:00
Danny Mayer
c5e84ff0e4 app headers 2001-07-06 05:44:32 +00:00
Danny Mayer
f210fb51ef Version information for libisc module 2001-07-06 05:43:17 +00:00
Danny Mayer
d4cfec8537 I/O header definitions 2001-07-06 05:42:24 +00:00
Danny Mayer
39a1539c7a Header file for win32 emulation of syslog use the event log 2001-07-06 05:40:41 +00:00
Danny Mayer
f3f064ba86 win32 emulation of syslog use the event log 2001-07-06 05:39:57 +00:00
Danny Mayer
9ecea05b89 stdio routines 2001-07-06 05:38:47 +00:00
Danny Mayer
fd61d0cab1 Initial release of socket code 2001-07-06 05:37:46 +00:00
Danny Mayer
ca5c761cde Resources Available 2001-07-06 05:37:10 +00:00
Danny Mayer
1c456bcdb4 O/S specific code 2001-07-06 05:36:13 +00:00
Danny Mayer
72c0894efa functions to determine locations of configuration files at runttime 2001-07-06 05:35:09 +00:00
Danny Mayer
e397736476 win32 overrides of FILE function to centralize I/O stream and avoid problems with iob array 2001-07-06 05:34:06 +00:00
Danny Mayer
48b785fe6b win32 version of netdb.h headers 2001-07-06 05:32:44 +00:00
Danny Mayer
602f0b8e48 net routines 2001-07-06 05:30:51 +00:00
Danny Mayer
e1bdeeadb3 libisc workspace file 2001-07-06 05:29:58 +00:00
Danny Mayer
fc72de271b libisc project file 2001-07-06 05:29:24 +00:00
Danny Mayer
1d7574a6de Export link File 2001-07-06 05:28:32 +00:00
Danny Mayer
0b38e0a117 Keyboard Routines 2001-07-06 05:27:37 +00:00
Danny Mayer
e2d579a021 ipv6 variables initialization 2001-07-06 05:26:58 +00:00
Danny Mayer
3d8c1213d9 Interface Iteration routines 2001-07-06 05:25:20 +00:00
Danny Mayer
fc4bae7e83 header file for error routines 2001-07-06 05:24:22 +00:00
Danny Mayer
9fe3c2060d error routines 2001-07-06 05:23:58 +00:00
Danny Mayer
a38e51e5ef Fixed duplicate routines 2001-07-06 05:22:46 +00:00
Danny Mayer
6f5d6e3f8c isc_app_* routines 2001-07-06 05:21:44 +00:00
Danny Mayer
1e36937976 Entry point routine for libisc 2001-07-06 05:20:33 +00:00
Danny Mayer
e35c1bb3ec Initial win32 Release 2001-07-06 05:08:39 +00:00
Danny Mayer
2773eae702 Fix variable declarations and remove initializations 2001-07-06 02:57:40 +00:00
Danny Mayer
4da4fef481 Fix printf's to use fprintf(stdout... to be consistent and set data initializations in main since they are runtime addresses 2001-07-06 02:56:47 +00:00
Brian Wellington
ed95ebaa42 remove references to vms_idhacks.h, since VMS doesn't seem to need it.
[RT #1432]
2001-07-05 19:06:07 +00:00
Brian Wellington
b6d5ee2fb2 ignore lib/bind/timestamp and lib/bind/port/*/include/Makefile 2001-07-05 18:50:39 +00:00
Mark Andrews
c8366d92f7 add port_before.h/port_after.h 2001-07-05 06:18:43 +00:00
Mark Andrews
3b8c76cb25 regen 2001-07-05 06:13:15 +00:00
Mark Andrews
9565793aed pullup BIND 8.
1239.   [bug]           call res_ndestroy() in net_data_destroy().
2001-07-04 08:10:23 +00:00
Mark Andrews
e598df739d Add getnetgrent_r.c prototype 2001-07-04 05:32:42 +00:00
Mark Andrews
93373a8c3c silence broken IN6ADDR_{ANY,LOOPBACK}_INIT macros 2001-07-04 05:18:12 +00:00
Mark Andrews
60d17e54ea singed/unsigned 2001-07-04 04:51:05 +00:00
Mark Andrews
567fb9c5e7 silence __sputaux 2001-07-04 03:48:43 +00:00
Brian Wellington
64b92523f9 check for getc_unlocked() 2001-07-04 00:34:44 +00:00
Andreas Gustafsson
37c961df41 extra space in error message string 2001-07-03 17:12:19 +00:00
Mark Andrews
2ef189c6d7 missed one 2001-07-03 13:44:53 +00:00
Mark Andrews
7cbf7d6613 nsprom() was unused. 2001-07-03 08:11:51 +00:00
Mark Andrews
5a20525ef3 unreachable statement 2001-07-03 07:53:36 +00:00
Mark Andrews
b8c618c852 remove unreachable code.
move&correct error statement.
2001-07-03 07:43:02 +00:00
Mark Andrews
7fff9e8cea unused variable 2001-07-03 06:55:04 +00:00
Mark Andrews
2b959a1fad regen 2001-07-03 06:52:15 +00:00
Mark Andrews
7050586959 silence aix (+others) compiler warnings re accept, getsockname, getpeername,
recvfrom etc.
2001-07-03 06:49:55 +00:00
Mark Andrews
265c5051d7 cp was being assign from the wrong pointer 2001-07-03 06:47:32 +00:00
Mark Andrews
b0a599b02e regen 2001-07-03 03:56:47 +00:00
Mark Andrews
a1703aa367 ISC_SOCKADDR_LEN_T 2001-07-03 03:55:42 +00:00
Andreas Gustafsson
00380255bd regenerated 2001-07-02 21:29:16 +00:00
Andreas Gustafsson
47ad4fad77 922. [func] Added two new lwres_getrrsetbyname() result codes,
ERR_NONAME and ERR_NODATA.
2001-07-02 21:28:56 +00:00
Brian Wellington
5733d25b06 921. [bug] lwres returned an incorrect error code if it received
a truncated message.

 920.	[func]		Increase the lwres receive buffer size to 16K.
			[RT #1451]
2001-07-02 20:46:31 +00:00
Andreas Gustafsson
5f62432db2 removed extraneous empty line 2001-07-02 20:44:30 +00:00
Andreas Gustafsson
2b8e5a5254 errors were logged as warnings and vice versa 2001-07-02 17:48:27 +00:00
Andreas Gustafsson
207c7c1ea3 added ISC_FORMAT_PRINTF checks 2001-07-02 17:05:46 +00:00
Mark Andrews
1f90214bb4 pullup from BIND 8:
1236.   [bug]           ignore white space after address of nameserver.
2001-07-02 02:33:45 +00:00
Mark Andrews
8eca454f9f regen 2001-07-02 02:03:54 +00:00
Mark Andrews
9e80f632c8 pullup BIND 8:
Solaris 2.4 (and earlier) USE_FIONBIO_IOCTL support.
2001-07-02 02:02:27 +00:00
Mark Andrews
d4e535315d pullup from BIND 8:
1237.   [bug]           buffer overrun, access mode read.
2001-07-02 00:44:50 +00:00
Danny Mayer
cddd0ddf07 rdclass and rdtype size misdeclaration 2001-06-30 04:13:50 +00:00
Andreas Gustafsson
97e1692460 New function cfg_print_grammar(), which generates a human-readable
summary of the grammar for a given configuration type from its syntax
tables.  Running bin/tests/cfg_test --grammar --named will print a
named.conf grammar summary, and bin/tests/cfg_test --grammar --rndc
will print the rndc.conf grammar summary.
2001-06-29 18:36:13 +00:00
Mark Andrews
545be70a4d regen 2001-06-29 15:26:15 +00:00
Mark Andrews
b0b4e03da5 "make install" should now work. 2001-06-29 15:25:25 +00:00
Andreas Gustafsson
7d8c3693d0 914. [bug] Gobal 'server' statements were rejected when
using views, even though they were accepted
                        in 9.1. [RT #1368]
2001-06-28 21:58:54 +00:00
Andreas Gustafsson
389677e152 removed empty line 2001-06-28 21:34:54 +00:00
Andreas Gustafsson
dcc7ea9717 spacing 2001-06-28 21:34:39 +00:00
Andreas Gustafsson
60dcbecf04 Instead of choosing between memcpy and memmove at run time, call
memmove unconditionally since any reasonable implementation of
memmove will perform such a choice internally, and also doing it
in the caller duplicates the effort.
2001-06-28 21:34:11 +00:00
Andreas Gustafsson
b1a7fea53c brace style 2001-06-28 21:21:39 +00:00
Brian Wellington
ff8335f908 regen 2001-06-28 17:45:05 +00:00
Brian Wellington
ea562e4401 Properly set _GNU_SOURCE on linux 2001-06-28 17:44:53 +00:00
Brian Wellington
cab94c1516 'make distclean' should remove files created by configure. 2001-06-28 17:35:49 +00:00
Mark Andrews
dee489d6c1 incremental_cleaning_action() is now re-called as a result of normal event
processing, not as the result of timer action.
2001-06-28 13:51:40 +00:00
Danny Mayer
f47c41b5fe htons expects an unsigned short for the argument 2001-06-28 06:02:18 +00:00
Mark Andrews
1e34f21f4c regen 2001-06-28 04:29:07 +00:00
Mark Andrews
93810b1ace add aix 2001-06-28 04:27:56 +00:00
Mark Andrews
73620f726a regen 2001-06-28 02:58:27 +00:00
Mark Andrews
c3a5709c2b autoconf swallowed the [ ] in case statement 2001-06-28 02:57:23 +00:00
Mark Andrews
c18d42b96b use MEM_RECORD rather than debugging > 1 2001-06-28 01:57:34 +00:00
Mark Andrews
594a685c8d Add ISC_MEM_DEBUGGING to set default compile time flags.
Remember ISC_MEM_DEBUGRECORD state when isc_mem_create() is called as
it is dangerous to change this afterwards.
2001-06-28 01:51:20 +00:00
Mark Andrews
950d71eee3 allow maximum inuse memory to be tracked. 2001-06-27 23:29:29 +00:00
David Lawrence
6817b32d2c Revert "incremental cleaning should actually clean" because it already did.
dns_dbiterator_setcleanmode(cleaner->iterator, ISC_TRUE) causes
dns_dbiterator_current() to do node expiry.
2001-06-27 20:18:03 +00:00
Mark Andrews
ba94ff2e56 incremental cleaning should actually clean.
end_cleaning wants busy not idle
2001-06-27 14:48:21 +00:00
Mark Andrews
c86b6051b6 hp cleanup 2001-06-27 12:29:41 +00:00
Danny Mayer
53bc020d74 modified to use isc_file_rename instead of rename 2001-06-27 04:37:11 +00:00
Danny Mayer
11c7a43642 type needed to be defined as dns_rdatatype_t instead of int in rdataset_totext() 2001-06-27 04:30:37 +00:00
Brian Wellington
f215881bb0 removed unnecessary const [RT #1440] 2001-06-27 04:21:18 +00:00
Mark Andrews
b6f0efbf3e aix namespace collision ERR -> EV_ERRR 2001-06-27 03:55:48 +00:00
Mark Andrews
98b2d12313 rejen 2001-06-25 13:27:29 +00:00
Mark Andrews
51cb4eba54 aix & hp 2001-06-25 13:22:33 +00:00
Mark Andrews
2bc98b7d91 910. [port] Some pre-RFC2133 IPv6 do not define IN6ADDR_ANY_INIT. 2001-06-25 03:56:58 +00:00
Mark Andrews
9432c5ee8b pullup:
64 bit alignment is only required on 64 bit machines
2001-06-25 00:30:46 +00:00
Mark Andrews
768d8c0ceb _SOCKADDR_LEN 2001-06-23 04:02:24 +00:00
Mark Andrews
14c32141f7 regen 2001-06-23 03:45:35 +00:00
Mark Andrews
008616624a extra commas 2001-06-23 03:44:11 +00:00
Mark Andrews
0cbda00d11 regen 2001-06-23 02:17:13 +00:00
Mark Andrews
bf92294d2a osf sethostent_r 2001-06-23 02:16:13 +00:00
Mark Andrews
a4786a3117 uint#_t 2001-06-23 02:11:08 +00:00
Mark Andrews
5f229adf3a regen 2001-06-23 02:03:26 +00:00
Mark Andrews
8264cdf2f1 add port/decunix 2001-06-23 02:02:01 +00:00
Mark Andrews
3d112f226f regen 2001-06-23 01:50:27 +00:00
Mark Andrews
cd7564646e OSF 5.0 setpwent_r() support 2001-06-23 01:49:21 +00:00
David Lawrence
9bfa90768a 907. [func] The ability to get entropy from either the
random device, a user-provided file or from
			the keyboard was migrated from the DNSSEC tools
			to libisc as isc_entropy_usebestsource().
2001-06-22 17:05:54 +00:00
Mark Andrews
de8e172e44 regen 2001-06-22 05:11:52 +00:00
Mark Andrews
7ae2ccb5d1 linux netbsd 2001-06-22 05:11:05 +00:00
David Lawrence
2d67c24744 906. [port] Separated the system independent portion of
lib/isc/unix/entropy.c into lib/isc/entropy.c
			and added lib/isc/win32/entropy.c.
2001-06-21 14:19:20 +00:00
Mark Andrews
2ef3e44fc8 regen 2001-06-21 09:04:21 +00:00
Mark Andrews
45a0264e76 alternate getnetgrent_r signature 2001-06-21 09:03:16 +00:00
Mark Andrews
e481f1dd57 distclean -> config.cache 2001-06-21 08:53:15 +00:00
Mark Andrews
c288005389 add IN6ADDR_LOOPBACK_INIT 2001-06-21 08:51:21 +00:00
Mark Andrews
e2935ef152 clean/distclean to remove libbind.a 2001-06-21 08:50:34 +00:00
Mark Andrews
527302c4fe BIND 8.3.0-T1A sync 2001-06-21 08:26:27 +00:00
Mark Andrews
74f16d58a3 regen 2001-06-21 08:04:16 +00:00
Mark Andrews
800764304d spelling of HAVE_SOCKADDR_STORAGE 2001-06-21 08:03:21 +00:00
Mark Andrews
85bdc128fc Relax REQUIRES() in *fromstruct() and unconditionally call
mem_maybedup() in *tostruct().
TXT is one or more (not zero or more) strings.
2001-06-21 04:00:47 +00:00
Andreas Gustafsson
77efdc854b spacing; typo 2001-06-21 01:30:22 +00:00
Andreas Gustafsson
08a44b06ef the length of the NULL record RDATA can be zero;
do not assert the contrary
2001-06-20 17:43:31 +00:00
Andreas Gustafsson
ac299c4f5c Removed statements to the effect that certain functions
perform assertion checks.  Such statements are inappropriate as they
document the implementation rather than the public interface.  The
functions are not required to perform assertion checks, but the caller
is required to pass arguments that conform to the API requirements.
2001-06-18 22:56:35 +00:00
Andreas Gustafsson
d748172fd7 added one end tag too many 2001-06-18 22:11:59 +00:00
Andreas Gustafsson
86b0285d7e missing end tags; other cleanup 2001-06-18 22:07:02 +00:00
Andreas Gustafsson
474a81662f missing end tags; other cleanup 2001-06-18 17:56:54 +00:00
Andreas Gustafsson
19872fdfb7 convert more socket errors to specific ISC error codes, notably ECONNRESET 2001-06-15 22:07:51 +00:00
Brian Wellington
2196128fc2 When doing best-effort parsing (in dig, for example) on a message with multiple
questions where an unrecoverable error is seen after 2 or more questions have
been parsed, memory would be leaked from msg->namepool, and would trigger an
ENSURE() in dns_message_destroy().
2001-06-15 05:24:24 +00:00
Brian Wellington
0a9a3d8c6d 904. [bug] The server would leak memory if attempting to use
an expired TSIG key. [RT #1406]
2001-06-15 02:24:02 +00:00
Andreas Gustafsson
d1ecee17a5 remove the other blank line before .TH, too 2001-06-14 19:10:14 +00:00
Andreas Gustafsson
23ac0d8259 comments for dns_message_parse() referred to
nonexistent arguments
2001-06-14 18:38:48 +00:00
Mark Andrews
9a6573e16b sys/select.h not sys/socket.h 2001-06-12 01:35:42 +00:00
Andreas Gustafsson
509ef0c871 Keep track of the number of times the system malloc() has
failed, to help determine whether a server crash resulted
from a bug in the handling of an out-of-memory condition
or not.
2001-06-11 20:27:16 +00:00
Andreas Gustafsson
8de7014e56 removed CVS Id from machine-generated man page files -- it is no longer needed
now that they are ignored by update_copyrights
2001-06-11 19:02:45 +00:00
Andreas Gustafsson
c44072c299 uninitialized pointer could potentially (but not likely)
be passed to free_adbfind(); if it happened, it would look like RT #1393
(caught by bwelling)
2001-06-11 04:26:41 +00:00
David Lawrence
eda73d8aad redo 1.64 "potential null pointer dereference" more consistent with the style
of the function and file (i.e., not returning from the middle of a function)
2001-06-10 17:06:45 +00:00
David Lawrence
95e8c0f8f5 removed blank line before .TH 2001-06-10 13:58:29 +00:00
David Lawrence
2b403f22d4 Removed an obsolete XXXMLG comment, with the assent of Michael Graff. 2001-06-08 23:53:41 +00:00
David Lawrence
04260c5c48 895. [func] New function, isc_dir_current(), akin to POSIX's
getcwd().
2001-06-08 23:50:32 +00:00
Brian Wellington
ba9e9a88c8 The last change didn't compile due to faulty cut&paste. 2001-06-08 22:48:28 +00:00
David Lawrence
504f7802d4 893. [func] Removed isc_file_test() and added isc_file_exists()
for the basic functionality that was being added
			with isc_file_test().
2001-06-08 21:53:49 +00:00
Brian Wellington
3b6bcedffe 891. [bug] Return an error when a SIG(0) signed response to
an unsigned query is seen.  This should actually
			do the verification, but it's not currently
			possible. [RT #1391]
2001-06-08 19:37:29 +00:00
Andreas Gustafsson
841179549b 889. [port] Eliminated blank lines before .TH in nroff man
pages since they cause problems with some versions
                        of nroff. [RT #1390]
2001-06-08 19:33:02 +00:00
Brian Wellington
01535cfb3a removed erroneous UNUSED macro 2001-06-08 19:16:15 +00:00
Brian Wellington
9af6e1c548 Don't die when trying to delete a nonexistent key [RT #1392] 2001-06-08 18:29:31 +00:00